/* The Whitaker Fellowship — shared stylesheet */
:root {
  --ink: #2a2622;
  --muted: #5e564d;
  --paper: #fbf8f1;
  --rule: #d9cfbd;
  --navy: #1f2f4d;
  --crimson: #7a1f2b;
  --gold: #a8843a;
}

* { box-sizing: border-box; }

html { font-size: 18px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "EB Garamond", Garamond, "Times New Roman", Georgia, serif;
  line-height: 1.6;
}

a { color: var(--crimson); }
a:hover { color: var(--navy); }

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 2.2rem 1rem 0;
  border-bottom: 4px solid var(--gold);
}
.site-title {
  margin: 0;
  font-family: "Cormorant Garamond", "EB Garamond", Garamond, Georgia, serif;
  font-weight: 600;
  font-size: 2.6rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.site-title a { color: #fff; text-decoration: none; }
.motto {
  margin: 0.35rem 0 0;
  font-style: italic;
  color: #e4d6b5;
  font-size: 1.1rem;
}

nav ul {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
nav a {
  display: block;
  padding: 0.75rem 1.3rem;
  color: #fff;
  text-decoration: none;
  font-variant: small-caps;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}
nav a:hover { color: #e4d6b5; }
nav a[aria-current="page"] {
  color: #e4d6b5;
  box-shadow: inset 0 -3px 0 var(--gold);
}

/* Content */
main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
}

h2 {
  font-family: "Cormorant Garamond", "EB Garamond", Garamond, Georgia, serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 2.4rem 0 0.6rem;
}
h2:first-child { margin-top: 0; }

h3 {
  color: var(--crimson);
  font-variant: small-caps;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 1.8rem 0 0.4rem;
}

p { margin: 0 0 1rem; }

.ornament {
  text-align: center;
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 0.6em;
  margin: 2.2rem 0;
}

/* Fellowship details */
dl.details {
  margin: 1.5rem 0;
  border-top: 1px solid var(--rule);
}
dl.details div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
}
dl.details dt {
  font-weight: 600;
  color: var(--navy);
}
dl.details dd { margin: 0; }
dl.details ul { margin: 0; padding-left: 1.2rem; }

/* Past fellows */
.cohort {
  margin-bottom: 2rem;
}
.cohort ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.cohort li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.cohort .school {
  color: var(--muted);
  font-style: italic;
}

/* Footer */
footer {
  border-top: 1px solid var(--rule);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1.5rem 1rem 2rem;
}
footer p { margin: 0.2rem 0; }

@media (max-width: 560px) {
  html { font-size: 17px; }
  .site-title { font-size: 2rem; }
  nav a { padding: 0.6rem 0.8rem; }
  dl.details div { grid-template-columns: 1fr; gap: 0.15rem; }
}
