:root {
  --ink: #1f2328; --muted: #5b6470; --accent: #0b5394;
  --uci-blue: #0b3d6e; --uci-blue-2: #1c5d99; --uci-gold: #f1c400;
  --card: #e9eef3; --card-edge: #c9d3dd; --rule: #dfe3e8; --page-bg: #eef0f2;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page-bg); color: var(--ink);
  font: 16.5px/1.55 "Source Sans 3", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* frame */
.page { max-width: 1060px; margin: 18px auto 40px; background: #fff;
  border: 1px solid #d5dae0; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.banner { background: #aab9ce; line-height: 0; border-bottom: 3px solid var(--uci-gold); }
.banner img { display: block; height: 81px; width: auto; max-width: 100%; }

/* header card */
.card { display: flex; gap: 22px; margin: 18px 20px 6px; background: var(--card);
  border: 1px solid var(--card-edge); border-radius: 0 12px 12px 0; overflow: hidden; }
.card img { width: 180px; height: auto; object-fit: cover; display: block; flex: none; }
.card-text { padding: 14px 16px 14px 0; font-size: 15px; line-height: 1.45; }
.card-name { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; font-size: 24px;
  color: #16324f; margin-bottom: 4px; }
.card .gap { height: 9px; }
.card-links { margin-top: 9px; }

/* body: menu + content */
.body { display: flex; gap: 30px; padding: 16px 24px 30px 20px; }
.side { flex: 0 0 210px; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li a { display: block; padding: 6px 8px; font-size: 17px; color: #1d4f80;
  border-bottom: 1px dotted #b8c2cc; }
.side li a:hover { background: #f2f5f8; text-decoration: none; }
.side li a.current { background: var(--card); color: #102a44; font-weight: 600; }

.content { flex: 1; min-width: 0; }
h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; color: #16324f; line-height: 1.25; }
h1 { font-size: 24px; margin: 4px 0 14px; }
h2 { font-size: 20px; margin: 28px 0 10px; padding-bottom: 4px; border-bottom: 1px solid var(--rule); }
h3 { font-size: 17px; margin: 20px 0 6px; }
.content > p { text-align: left; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
li > p { margin: 0 0 8px; }

/* photo with text beside it */
.fig { display: flow-root; margin: 0 0 20px; }
.fig > p:first-child { margin: 0; }
.fig img { float: left; margin: 4px 18px 8px 0; max-width: 100%; height: auto; border-radius: 3px; }
.fig p { margin: 0 0 6px; }

/* featured: book covers */
.fig.book img { border: 1px solid #d5dae0; border-radius: 0; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.small { font-size: 14px; color: var(--muted); }

/* people list (alumni / group): two columns on wide screens */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 4px 24px; }
.people .fig img { width: 100px; margin-right: 14px; }

/* photo gallery: grid of captioned photos */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px 20px; }
.gallery .fig { margin: 0; }
.gallery .fig img { float: none; display: block; width: 100%; height: 175px; object-fit: cover; margin: 0 0 7px; }
.gallery .fig p { font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.gallery .fig strong { color: var(--ink); }

/* publications page */
.pubhead { margin: -6px 0 22px; color: var(--muted); line-height: 1.45; }
.pubhead p { margin: 0; }
.pubs h2 { margin-top: 26px; }
.pubs ul { list-style: none; padding-left: 0; }
.pubs li { margin: 0 0 12px; line-height: 1.4; }
.pubs li p { margin: 0; }
.pubs .au { color: #3d4650; }
.pubs .ve { color: var(--muted); font-style: italic; font-size: 15px; }

footer { margin-top: 44px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--muted); }

@media (max-width: 820px) {
  .page { margin: 0; border: 0; }
  .banner img { height: auto; width: 100%; }
  .card { margin: 12px; border-radius: 10px; gap: 12px; }
  .card img { width: 96px; }
  .card-text { padding: 10px 10px 10px 0; font-size: 14px; }
  .card-name { font-size: 20px; }
  .body { display: block; padding: 8px 14px 24px; }
  .side ul { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-bottom: 14px; }
  .side li a { border: 1px solid #c9d3dd; border-radius: 14px; padding: 3px 10px; font-size: 14.5px; }
  .fig img { float: none; display: block; margin: 0 0 8px; }
  .people .fig img { float: left; margin: 2px 12px 6px 0; width: 80px; }
}
