@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
  --purple: #4E2A84;
  --purple-light: #6b3fa0;
  --purple-pale: #f0ebf8;
  --text: #1a1a1a;
  --text-muted: #555;
  --border: #e0e0e0;
  --max-width: 860px;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}

header {
  background: var(--purple);
  color: #fff;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
}

nav {
  display: flex;
  gap: 1.6rem;
}

nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}

nav a:hover,
nav a.active {
  color: #fff;
}

.hero {
  background: var(--purple-pale);
  border-bottom: 1px solid #d8cce8;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.hero h1 {
  font-family: 'EB Garamond', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--purple);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero .subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.btn {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 1.2rem;
  transition: background 0.15s;
}

.btn:hover {
  background: var(--purple-light);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--purple);
  color: var(--purple);
  margin-top: 0;
}

.btn-outline:hover {
  background: var(--purple-pale);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

h2 {
  font-family: 'EB Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--purple);
  margin-top: 2.5rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--border);
}

h2:first-child {
  margin-top: 0;
}

h3 {
  font-family: 'EB Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.3rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--purple);
}

.organizers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.8rem;
}

.organizer-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.2rem 1.4rem;
}

.organizer-card .name {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 0.15rem;
}

.organizer-card .affiliation {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.organizer-card a {
  font-size: 0.88rem;
  color: var(--purple);
  text-decoration: none;
}

.organizer-card a:hover {
  text-decoration: underline;
}

.organizer-card .grant {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.minicourse-cards {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.8rem;
}

.minicourse-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.minicourse-card .speaker {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.minicourse-card .course-title {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.funding {
  background: var(--purple-pale);
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.88rem;
}

.funding p {
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.funding p:first-child {
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.tba-notice {
  background: #f9f9f9;
  border: 1px dashed #ccc;
  border-radius: 6px;
  padding: 2.5rem;
  text-align: center;
  color: var(--text-muted);
  margin-top: 1rem;
  font-style: italic;
}

.schedule-day {
  margin-bottom: 2rem;
}

.schedule-day h3 {
  background: var(--purple-pale);
  color: var(--purple);
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  margin-top: 0;
}

.schedule-block {
  display: flex;
  gap: 1.2rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}

.schedule-block .time {
  width: 110px;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding-top: 0.05rem;
}

.registration-box {
  background: var(--purple-pale);
  border-radius: 6px;
  padding: 1.8rem 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.registration-box p {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.placeholder-section {
  border: 1px dashed #ccc;
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

footer {
  background: #f5f5f5;
  border-top: 1px solid var(--border);
  padding: 1.4rem;
  text-align: center;
  font-size: 0.83rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .hero h1 { font-size: 1.85rem; }
  .header-inner { flex-direction: column; gap: 0.8rem; text-align: center; }
  nav { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .minicourse-card { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .schedule-block { flex-direction: column; gap: 0.2rem; }
  .schedule-block .time { width: auto; }
}
