:root {
  --ink: #232D4B;
  --accent: #E57200;
  --paper: #F2F3F5;
  --line: #D8DBE0;
  --muted: #5C6570;
  --white: #ffffff;
}

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

/* —— Departments (clean cards + transparent hoverable names) —— */
.departments {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.departments__intro {
  margin-bottom: 1.75rem;
  text-align: center;
}

.departments__intro h2 {
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 1.875rem);
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem;
}

.departments__intro p {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.5;
}

.school-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.school-card:last-child {
  margin-bottom: 0;
}

.school-card__header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(35, 45, 75, 0.03);
}

.school-card__name {
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.school-card__body {
  padding: 0.5rem 0.75rem 0.75rem;
}

.school__links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .school__links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .school__links {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dept-link {
  display: block;
  padding: 0.55rem 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.dept-link:hover {
  background: rgba(35, 45, 75, 0.06);
  color: var(--accent);
}

.school__soon {
  margin: 0.5rem 0.65rem 0.75rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--muted);
}
