:root{
  --ink:#1a1a1a;
  --muted:#4a4a4a;
  --line:#000000;
  --paper:#f4f5f7;
  --accent:#27408b;
  --accent-hover:#8895b8;
  --accent-soft:#e7ebf3;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:Georgia,"Times New Roman",Times,serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.45;
  font-size:17px;
}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--accent-hover)}
.wrap{max-width:1100px;margin:0 auto;padding:0 40px}

/* Header block: repeated on every page */
header{padding:40px 0 0;border-bottom:2px solid var(--line)}
.masthead{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:start;padding-bottom:16px}
.masthead h1{font-family:Georgia,"Times New Roman",Times,serif;font-weight:bold;font-size:2.4rem;line-height:1.1;margin-bottom:12px}
.masthead .affil{font-size:1.05rem;color:var(--ink);max-width:52ch;text-align:left}
.masthead .welcome{font-family:Georgia,"Times New Roman",Times,serif;font-style:italic;font-size:1.3rem;color:var(--muted);margin-top:10px}
.masthead .affil strong{font-weight:bold}
.portrait{
  width:auto;height:200px;max-width:300px;object-fit:cover;
}

/* Nav tabs */
nav{border-bottom:2px solid var(--line);padding:10px 0}
.nav-inner{display:flex;gap:8px;flex-wrap:wrap}
nav a{
  display:inline-block;padding:5px 0 3px;margin-right:40px;
  font-family:Georgia,"Times New Roman",Times,serif;
  font-size:1rem;font-weight:bold;color:var(--ink);
  border-bottom:2px solid transparent;
}
nav a:hover{color:var(--accent-hover);text-decoration:none;border-bottom-color:var(--accent-hover)}
nav a.active{color:var(--ink);border-bottom-color:var(--line)}

/* Content */
main{padding:30px 0 20px}
h2{font-family:Georgia,"Times New Roman",Times,serif;font-weight:bold;font-size:1.6rem;margin:0 0 18px}
h2:not(:first-child){margin-top:44px}
h3{
  font-family:Georgia,"Times New Roman",Times,serif;
  font-size:1.2rem;font-weight:bold;color:var(--ink);
  margin:28px 0 12px;
}
p{margin-bottom:14px;max-width:80ch;text-align:justify}
.lead{max-width:80ch}
strong{font-weight:bold}
em{font-style:italic}

.callout{
  background:var(--accent-soft);border:1px solid #c6cad6;
  padding:16px 20px;max-width:80ch;margin:6px 0 8px;
}

ul.items{list-style:disc;display:grid;gap:11px;max-width:84ch;padding-left:22px}
ul.items .meta{color:var(--muted)}

ul.simple{list-style:disc;display:grid;gap:8px;max-width:80ch;padding-left:22px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:34px}

.contact-block{max-width:80ch}
.contact-block .addr{color:var(--muted);line-height:1.5;margin:10px 0}

footer{padding:28px 0 36px;margin-top:26px;border-top:2px solid var(--line);color:var(--muted);font-size:.9rem}

@media(max-width:760px){
  .wrap{padding:0 20px}
  .masthead{grid-template-columns:1fr;gap:22px}
  .masthead h1{font-size:1.9rem}
  .portrait{height:180px;order:-1}
  .two-col{grid-template-columns:1fr;gap:18px}
  nav a{margin-right:24px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
