/* Shared layout and accessibility rules. Navigation is plain HTML. */
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: #656565; color: #333; font: 18px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.site-container { width: calc(100% - 24px); max-width: 1120px; margin: 12px auto; padding: 0 22px 28px; background: white; overflow-wrap: anywhere; }
.page-home .site-container { max-width: 940px; }
.page-cv .site-container { max-width: 1040px; }
.page-prospective .site-container, .page-201 .site-container, .page-particle .site-container { max-width: 980px; }
.site-nav { border-bottom: 3px solid #ccc; margin-bottom: 24px; font: 700 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.site-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 6px; list-style: none; margin: 0; padding: 0; }
.site-nav li { display: block; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 12px 10px; color: #555; text-decoration: none; }
.site-nav a[aria-current="page"] { color: #17647b; text-decoration: underline; text-underline-offset: 5px; }
.site-nav a:hover { color: #17647b; background: #f1f7f9; }
a { color: #17647b; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #17647b; outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -100px; padding: 10px; background: white; z-index: 10; }
.skip-link:focus { top: 8px; }
.site-container h1 { font-size: clamp(1.65rem, 3.6vw, 2.2rem); line-height: 1.2; margin: 20px 0; color: #17647b; }
h2 { font-size: 1.3rem; line-height: 1.35; margin: 1.5em 0 .6em; color: #17647b; }
h3 { font-size: 1.1rem; margin: 1.25em 0 .5em; }
.content { min-width: 0; }
.content p, .content li { overflow-wrap: anywhere; }
.content li { margin-bottom: .4em; }
.content h2 { font-family: 'HelveticaNeue-Bold', 'Helvetica Neue', Arial, sans-serif; font-size: 1.3rem; line-height: 1.35; font-weight: 700; color: #17647b; text-decoration: underline; margin: 1.5em 0 .6em; padding: 0; }
.content h2 span { color: inherit; font-size: inherit; }
.content h3 { font-size: 1.1rem; line-height: 1.35; font-weight: 700; color: #333; }
.content .blueheading { display: block; margin: 1.5em 0 .6em; }
img { max-width: 100%; height: auto; }
.home-hero, .event-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; align-items: start; margin: 24px 0; }
.home-hero img { width: 100%; border: 10px solid #525252; }
.home-hero h1 { margin-top: 0; }
.home-hero p { margin: 0 0 12px; }
.home-hero p, .home-hero p span, .event-hero p, .event-hero p span { color: #333; }
.home-hero a, .home-hero a:visited { color: #17647b; }
.home-hero .paragraph_style_6, .home-hero .paragraph_style_7 { line-height: 1.4; }
.home-art { display: block; margin: 28px auto 0; border: 10px solid #525252; }
.book-layout { display: flex; align-items: flex-start; gap: 24px; }
.book-layout img { flex: 0 0 auto; width: 120px; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
td, th { border: 1px solid #ddd; text-align: left; padding: 8px; vertical-align: top; }
th { font-weight: 700; }
tr:nth-child(even) { background: #f1f1f1; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 1em 0; }
.table-scroll table { min-width: 640px; }
.syllabus { border: 1px solid #ddd; padding: 16px; }
details { margin: 24px 0; }
summary { cursor: pointer; padding: 16px; background: #d7f0f5; font-weight: 600; }
.archive-content { padding: 16px; background: #f5fafb; }
@media (max-width: 640px) {
 .site-container { width: 100%; margin: 0; padding: 0 16px 24px; }
 .site-nav ul { justify-content: flex-start; }
 .site-nav a { padding: 12px 8px; }
 .home-hero, .event-hero { grid-template-columns: 1fr; }
 .home-hero img { max-width: 420px; }
 .book-layout { flex-direction: column; }
 .content ul, .content ol { padding-left: 24px; }
 .syllabus { padding: 12px; }
}
@media print {
 body { background: white; }
 .site-container { width: 100%; max-width: none !important; margin: 0; padding: 0; }
 .site-nav, .skip-link { display: none; }
 .table-scroll { overflow: visible; }
 .table-scroll table { min-width: 0; }
}

/* Restore the homepage's gray contact panel and light lettering. */
.home-hero { align-items: stretch; gap: 0; }
.home-hero > img { align-self: start; }
.home-hero > div { background: #515151; padding: 20px; }
.home-hero h1 { color: #a2d3e1; }
.home-hero p, .home-hero p span,
.home-hero a, .home-hero a:visited { color: #fff; }
.home-hero p .style_7 { color: #a2d3e1; }
.home-hero a:hover { color: #a2d3e1; }
.home-hero a:focus-visible { outline-color: #a2d3e1; }
