:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  --ink: #132b45;
  --muted: #46596c;
  --line: #d8e1e9;
  --link: #12517c;
  color: var(--ink);
  background: #f7f9fb;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.site-header { background: #fdfdfd; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .75rem; padding-block: .25rem; }
.brand-logo { display: block; width: clamp(4rem, 9vw, 5rem); height: auto; flex: none; }
.brand-title { margin: 0; font-weight: 700; line-height: 1.25; }
.institution { margin: .25rem 0 0; font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.hero { padding-block: clamp(2rem, 5vw, 3rem) 1.5rem; }
.hero p { margin: .75rem 0 0; color: var(--muted); }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.15; letter-spacing: -.025em; margin: 0; }
h2 { margin: 0 0 1rem; font-size: 1.25rem; line-height: 1.2; }
.directory { padding-bottom: 3rem; }
.controls { display: grid; gap: 1rem; margin-bottom: 1rem; }
[hidden] { display: none !important; }
label { display: grid; gap: .35rem; min-width: 0; font-size: .875rem; font-weight: 600; }
input, select { width: 100%; min-height: 2.75rem; padding: .5rem .75rem; font: inherit; color: inherit; background: white; border: 1px solid #687c90; border-radius: .5rem; }
.status { margin: 0; color: var(--muted); font-size: .875rem; }
.status:empty { display: none; }
.cards { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.cards > li { min-width: 0; }
.card { display: flex; height: 100%; min-height: 11rem; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1rem .75rem; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: .75rem; text-align: center; text-decoration: none; overflow-wrap: anywhere; transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
.card img { width: 2.75rem; height: 2.75rem; flex: none; }
.card h3 { margin: 0; font-size: .9375rem; line-height: 1.35; font-weight: 600; }
.card strong { padding: .125rem .375rem; background: #eef3f8; border-radius: .25rem; font-size: .75rem; line-height: 1.35; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid #245d95; outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: 1rem; padding: .5rem; background: white; color: #132b45; transform: translateY(-200%); }
.skip:focus { transform: none; }
@media (hover: hover) {
  .card:hover { transform: translateY(-2px); border-color: #8699ac; box-shadow: 0 3px 10px #132b450a; }
}
@media (min-width: 42rem) {
  .controls { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 60rem) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 72rem) {
  .cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
}
