:root {
  --navy: #1e3a5f;
  --navy-dark: #152a45;
  --accent: #b8862b;
  --text: #1f2933;
  --muted: #52606d;
  --bg: #f7f8fa;
  --card: #ffffff;
  --border: #e1e5ea;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.container { max-width: 880px; margin: 0 auto; padding: 0 1.5rem; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: #fff; color: var(--navy); padding: .5rem 1rem; z-index: 10;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}
.monogram {
  width: 84px; height: 84px; margin: 0 auto 1.25rem;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 2rem; font-weight: 700; letter-spacing: .04em;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 700;
  margin: 0 0 .35rem;
  letter-spacing: .01em;
}
.affiliation { margin: 0; font-size: 1.15rem; color: #dbe4ee; }
.hero nav { margin-top: 2rem; display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.hero nav a {
  color: #fff; text-decoration: none;
  padding: .45rem 1.1rem;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  font-size: .95rem;
}
.hero nav a:hover, .hero nav a:focus-visible { background: #fff; color: var(--navy); }

main.container { flex: 1; padding-top: 3rem; padding-bottom: 3rem; }
section { margin-bottom: 3rem; }
h2 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.6rem;
  margin: 0 0 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--border);
  position: relative;
}
h2::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 56px; height: 2px; background: var(--accent);
}
.courses {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.course {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  display: flex; flex-direction: column; gap: .2rem;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.code {
  font-size: .85rem; font-weight: 700; letter-spacing: .08em;
  color: #8a6420;
}
.title { font-size: 1.1rem; font-weight: 600; color: var(--text); }

.contact-line { font-size: 1.1rem; margin: 0; }
a { color: var(--navy); }
.contact-line a { font-weight: 600; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

footer {
  border-top: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
  padding: 1.25rem 0;
}
footer p { margin: 0; }

@media (max-width: 600px) {
  .hero { padding: 3.25rem 0 2.75rem; }
  .courses { grid-template-columns: 1fr; }
  main.container { padding-top: 2.25rem; }
}
