:root { color-scheme: light; --paper: #fcfbf8; --ink: #292b2c; --navy: #294e64; --muted: #676d6b; --line: #dedfd9; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: 18px; line-height: 1.72; -webkit-font-smoothing: antialiased; }
::selection { background: #d7e4e9; color: #122e40; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: #94a8b0; transition: color 150ms, text-decoration-color 150ms; }
a:hover { color: #102d40; text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 5px; border-radius: 1px; }
.page { max-width: 828px; margin: 0 auto; padding: 0 24px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 41px 0 28px; font-size: 15px; }
.wordmark { text-decoration: none; color: var(--ink); font-size: 18px; }
nav { display: flex; gap: 22px; }
nav a { text-decoration: none; color: #61665f; }
nav a:hover { color: var(--navy); text-decoration: underline; }
.hero { height: 310px; overflow: hidden; background: #042438; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 65%; display: block; }
article { padding-top: 38px; }
h1, h2 { font-weight: 400; color: #24292b; letter-spacing: -0.045em; line-height: 1.2; }
h1 { font-size: 46px; margin: 0 0 19px; }
h2 { font-size: 29px; margin: 0 0 25px; }
p { margin: 0 0 24px; }
.intro { margin-bottom: 29px; }
.lead { font-size: 21px; line-height: 1.6; max-width: 640px; }
.scholarships { margin: -2px 0 28px; border-left: 1px solid #c8d1d4; padding: 2px 0 2px 19px; font-size: 16px; }
summary { cursor: pointer; list-style: none; color: var(--navy); width: fit-content; }
summary::-webkit-details-marker { display: none; }
.toggle { display: inline-block; font-family: Arial, sans-serif; font-size: 17px; margin-left: 10px; transition: transform 150ms; }
details[open] .toggle { transform: rotate(45deg); }
.scholarships ul { padding-left: 20px; margin: 14px 0 8px; color: #555b59; }
.scholarships li { margin-bottom: 4px; }
.service-photo { margin: 33px 0 35px; }
.photo-link { position: relative; display: block; overflow: hidden; cursor: zoom-in; }
.service-photo img { display: block; width: 100%; height: 365px; object-fit: cover; object-position: center 47%; transition: transform 400ms ease; }
.photo-link:hover img { transform: scale(1.015); }
.enlarge { position: absolute; right: 14px; bottom: 14px; width: 33px; height: 33px; display: grid; place-items: center; color: #fff; background: #0c243aab; border: 1px solid #ffffff50; }
.enlarge svg { width: 18px; height: 18px; }
figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 9px; color: #676d6b; font-size: 13px; }
.caption-hint { color: #676d6b; }
.projects { margin-top: 49px; border-top: 1px solid var(--line); padding-top: 33px; }
.project-list { border-top: 1px solid var(--line); }
.project { border-bottom: 1px solid var(--line); }
.project-summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; min-height: 52px; padding: 12px 0; font-size: 16px; }
.project-summary:hover { color: #102d40; }
.project-summary .toggle { flex: none; margin: 0 2px 0 0; font-size: 0; }
.project-summary .toggle::before { content: '+'; font-size: 17px; }
.project[open] .toggle { transform: none; }
.project[open] .toggle::before { content: '−'; }
.project-body { padding: 2px 0 20px; font-size: 16px; line-height: 1.7; }
.project-body p { margin-bottom: 10px; }
.project-link { display: inline-block; padding: 5px 0; font-size: 14px; }
body.editing .project-summary [data-edit] { flex: 1; }
body.editing p > [data-edit] { display: block; }
body.editing p > [data-edit] + [data-edit] { margin-top: 16px; }
.elsewhere { padding-top: 40px; }
.elsewhere h2 { margin-bottom: 16px; }
footer { margin-top: 61px; padding: 23px 0 35px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; color: var(--muted); }
footer a { color: #686f6d; text-decoration: none; }
.skip-link { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 5px 12px; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
dialog { background: transparent; color: white; border: 0; padding: 0; max-width: min(1100px, 94vw); max-height: 96dvh; overflow: auto; }
dialog::backdrop { background: #07131aee; }
.dialog-inner { display: flex; flex-direction: column; align-items: flex-end; }
.dialog-inner img { display: block; width: 100%; height: auto; max-height: 80dvh; object-fit: contain; }
.close-dialog { display: flex; align-items: center; gap: 12px; color: white; background: transparent; border: 0; cursor: pointer; padding: 8px 0 12px 16px; font-family: Arial, sans-serif; font-size: 14px; }
.close-dialog span { font-size: 29px; font-weight: 300; line-height: 1; }
.close-dialog:focus-visible { outline-color: white; outline-offset: 1px; }
#photo-title { align-self: flex-start; font-size: 14px; margin: 10px 0; color: #d5dddf; }
body.photo-open { overflow: hidden; }
@media (max-width: 600px) {
  body { font-size: 17px; line-height: 1.73; }
  .page { padding: 0 23px; }
  .site-header { padding: 25px 0 21px; gap: 12px; }
  .wordmark { font-size: 16px; }
  nav { gap: 14px; font-size: 12px; }
  .hero { height: 220px; }
  .hero img { object-position: 74% 60%; }
  article { padding-top: 31px; }
  h1 { font-size: 39px; margin-bottom: 17px; }
  .lead { font-size: 20px; }
  .intro { margin-bottom: 26px; }
  p { margin-bottom: 22px; }
  .scholarships { font-size: 14px; padding-left: 14px; }
  .service-photo img { height: 255px; object-position: 42% center; }
  figcaption { font-size: 11px; gap: 8px; }
  .caption-hint { white-space: nowrap; }
  h2 { font-size: 27px; }
  .projects { margin-top: 37px; padding-top: 28px; }
  .project-link { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
  footer { margin-top: 45px; }
}
@media (max-width: 370px) { .page { padding: 0 18px; } nav { gap: 10px; } .caption-hint { display: none; } .wordmark { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
