:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --accent: #b31b1b;
  --accent-hover: #8f1515;
  --border: #e6e4df;
  --nav-height: 3.5rem;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-hover);
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: var(--accent);
}

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

nav.primary-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0.65rem;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 500;
}

nav.primary-nav a:hover {
  background: rgba(179, 27, 27, 0.08);
  color: var(--accent);
}

nav.primary-nav a.active {
  color: var(--accent);
  background: rgba(179, 27, 27, 0.1);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font-size: 0.85rem;
}

main {
  flex: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  width: 100%;
}

.hero {
  margin-bottom: 2.25rem;
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.hero-sub {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.hero-photo {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-top: 1rem;
}

.lead {
  font-size: 1.05rem;
  max-width: 42rem;
}

.banner {
  background: #fff8f0;
  border: 1px solid #f0e6d8;
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--muted);
}

h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}

ul.plain {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}

ul.plain li {
  margin: 0.35rem 0;
}

.organizers {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.organizers li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
}

.organizers li:last-child {
  border-bottom: none;
}

.org-name {
  font-weight: 600;
}

.org-role {
  font-size: 0.88rem;
  color: var(--muted);
}

footer.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem 1.25rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--muted);
}

.stub-note {
  font-style: italic;
  color: var(--muted);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  -webkit-overflow-scrolling: touch;
}

table.symposia {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

table.symposia th,
table.symposia td {
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

table.symposia th {
  font-weight: 600;
  background: rgba(179, 27, 27, 0.06);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

table.symposia tbody tr:last-child td {
  border-bottom: none;
}

table.symposia td.num {
  white-space: nowrap;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

table.symposia caption {
  caption-side: top;
  text-align: left;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  nav.primary-nav {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 0.75rem;
    gap: 0;
    display: none;
  }

  nav.primary-nav.open {
    display: flex;
  }

  nav.primary-nav a {
    padding: 0.65rem 0.5rem;
    border-radius: 4px;
  }

  header.site-header {
    position: relative;
  }
}
