:root {
  --font-serif:    'DM Serif Display', Georgia, serif;
  --color-accent:  #1c3f5e;
  --color-accent-gold: #c97d10;
  --color-border:  #e8e8e6;
  --color-bg:      #fafaf9;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #111;
  background: var(--color-bg);
}

a { color: inherit; }

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  font-size: 1.1rem;
  padding: 0.2rem;
  line-height: 1;
}

.nav-toggle:hover { color: #111; }

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--color-accent-gold); }


/* LAYOUT */
.page-col {
  width: 50%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* HERO */
.hero {
  margin-top: 5rem;
  margin-bottom: 4.5rem;
  text-align: center;
}

.hero-acronym {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.3;
  color: #222;
  margin-bottom: 0.75rem;
}

.hero-tagline {
  color: #777;
  font-size: 0.9rem;
}

.hero-venue {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-accent);
}

.hero-venue a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.15s;
}

.hero-venue a:hover { color: var(--color-accent-gold); }

.hero-word {
  white-space: nowrap;
}

.hero-letter {
  display: inline-block;
  color: var(--color-accent);
}

.hero-subtitle.is-hopping .hero-letter {
  animation: hero-letter-hop 1.1s cubic-bezier(.5,-0.5,.5,1.5) both;
  animation-delay: var(--hop-delay, 0s);
}

.hero-letter:hover {
  animation: hero-letter-hop 0.6s cubic-bezier(.5,-0.5,.5,1.5);
}

@keyframes hero-letter-hop {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-0.4em); }
  70% { transform: translateY(0); }
  85% { transform: translateY(-0.12em); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-subtitle.is-hopping .hero-letter,
  .hero-letter:hover { animation: none; }
}

/* CONTENT */
.content {
  padding-bottom: 6rem;
}

section {
  margin-bottom: 4rem;
  scroll-margin-top: 4.5rem;
}

h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.prose p {
  color: #444;
  font-size: 0.95rem;
}

.prose p + p {
  margin-top: 0.85rem;
}

/* SUBSECTION HEADING */
.subsection-heading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-accent);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* THEMES LIST */
.theme-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.85rem;
}

.theme-list li {
  font-size: 0.95rem;
  color: #444;
  padding: 0.75rem 0 0.75rem 1.1rem;
  border-left: 3px solid var(--color-accent);
  margin-bottom: 0.6rem;
}

.theme-list li strong {
  display: block;
  color: #111;
  margin-bottom: 0.2rem;
}

/* TABLES (dates & program) */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

thead th {
  text-align: left;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: #333;
  border-bottom: 2px solid var(--color-border);
}

thead th:first-child,
tbody td:first-child { padding-left: 0; }

tbody tr { transition: background 0.12s; }

tbody tr:hover { background: #f0efed; }

tbody td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: #333;
}

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

/* PROGRAM — type badges */
.prog-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: #eef1f4;
  color: #555;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ORGANIZER CARDS */
.org-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.org-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: box-shadow 0.15s;
  text-align: left;
}

.org-card:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.org-card-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #e8e8e6;
}

.org-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.org-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  margin-left: auto;
}

.org-card-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-accent-gold);
  text-decoration: none;
  line-height: 1.3;
}

.org-card-name:hover { text-decoration: underline; }

.org-card-affil {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.35;
}

.org-card-email {
  font-size: 0.78rem;
  color: #888;
  text-decoration: none;
}

.org-card-email:hover { color: var(--color-accent-gold); text-decoration: underline; }

.org-card-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.1rem;
}

.org-icon {
  display: inline-flex;
  align-items: center;
  color: #aaa;
  text-decoration: none;
  transition: color 0.15s;
  font-size: 1.1rem;
}

.org-icon:hover { color: var(--color-accent-gold); }

/* PROGRAM table cells */
.prog-time { white-space: nowrap; color: #666; }
.prog-speaker { color: #888; font-size: 0.85em; }

/* SHARED */
.data-error,
.tba-notice { color: #aaa; font-size: 0.9rem; }
.tba-notice { font-style: italic; }

/* FOOTER */
footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #bbb;
}

@media (max-width: 768px) {
  .page-col { width: 90%; }
  .hero-acronym { font-size: 3.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-venue-sep { display: none; }
  .hero-venue-place { display: block; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0.5rem 0 0.75rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 0.45rem 0;
    font-size: 0.9rem;
  }
  .org-card { flex-direction: column; text-align: center; }
  .org-card-info { align-items: center; }
  .org-card-right { align-items: center; margin-left: 0; }
  .org-card-icons { justify-content: center; }
}
