/* Shared palette and typography. Page content lives in the HTML files. */
:root {
  --background: #fdfdfe;
  --ink: #24383f;
  --body: #42514b;
  --muted: #667879;
  --accent: #305b68;
  --accent-hover: #1d3c4e;
  --line: #dce3db;
  --serif: Helvetica, 'Times New Roman', serif;
  --helv: Georgia, Helvetica, serif;
  --sans: 'Verdana', Helvetica,  sans-serif; /*-apple-system, BlinkMacSystemFont, 'Segoe UI', Arial*/
  --width: 1120px;
}

* { box-sizing: border-box; }

/* Default scale of the whole website. Set this to 100% for full size. */
 html { zoom: 90%; } 

body {
  margin: 0;
  color: var(--body);
  background: var(--background);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: #dbe9de; color: var(--ink); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--ink); font-weight: 400; }
h1, h2 { font-family: var(--serif); }
h1 { margin: 0 0 22px; font-size: clamp(34px, 4.4vw, 46px); letter-spacing: -1.1px; line-height: 1.15; }
h2 { margin: 26px 0 12px; font-size: 28px; letter-spacing: -.5px; line-height: 1.25; }
h3 { margin: 20px 0 10px; font-size: 19px; }
p { margin: 0 0 14px; }
ul { margin: 12px 0; padding-left: 23px; }
li { margin: 7px 0; padding-left: 2px; }
li::marker { color: var(--accent); }
.container { width: min(var(--width), calc(100% - 96px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-name { color: var(--ink); text-decoration: none; font-family: var(--helv); font-size: 21px; letter-spacing: -.4px; white-space: nowrap; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.site-nav a { position: relative; display: block; padding: 35px 0 33px; color: var(--muted); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after { content: ''; position: absolute; bottom: -1px; height: 2px; left: 0; right: 0; background: var(--accent); }

/* Uncomment this rule to make News red when there is something to announce.
.site-nav a.news-link {
  color: #b00000;
  font-weight: bold;
}
*/

/* Alternatively, uncomment this rule to hide News from every page's menu.
*/
.site-nav a.news-link {
  display: none;
}

main { padding-top: 40px; padding-bottom: 48px; }
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 60px; align-items: start; }
.home-text { min-width: 0; }
.home-text h1 { font-size: clamp(36px, 4.7vw, 50px); }
.research-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 60px; align-items: start; }
.research-text { min-width: 0; }
.research-text h1 { font-size: clamp(36px, 4.7vw, 50px); }
.pronunciation { color: var(--muted); font-size: 15px; margin: -8px 0 25px; }
.photo { margin: 4px 0 0; }
.photo img { width: 350px; height: auto; border-radius: 7px; }
.photo figcaption { /*color: var(--muted);*/ margin-top: 12px; }
.photo-caption {
  font-size: 18px;
  text-align: center;
}
.research-photo { margin: 35px 0 0; }
.research-photo img { width: 350px; height: auto; border-radius: 5px; }
.research-photo figcaption { /*color: var(--muted);*/ margin-top: 12px; }

/* Subtle horizontal rules separate successive sections. */
.section-divider { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 28px; }
.section-divider > h2:first-child { margin-top: 0; }
.section-divider > :last-child { margin-bottom: 0; }
#address { margin-top: 28px; }
#address h2 { margin-top: 0; }

.skip-link { position: fixed; left: 20px; top: -80px; z-index: 10; padding: 10px 18px; color: white; background: var(--ink); }
.skip-link:focus { top: 12px; color: white; }

@media (max-width: 1050px) {
  .container { width: calc(100% - 64px); }
  .home-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .research-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .photo img { width: 300px; }
  .research-photo img { width: 300px; }
  .site-nav { gap: 18px; }
}
@media (max-width: 980px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 0; min-height: auto; padding-top: 19px; }
  .site-nav { gap: 22px; }
  .site-nav a { padding: 15px 0 13px; font-size: 12px; }
}
@media (max-width: 720px) {
  .home-layout { grid-template-columns: 1fr; gap: 28px; }
  .research-layout { grid-template-columns: 1fr; gap: 28px; }
  .photo { max-width: 350px; }
  .photo img { width: 100%; }
  .research-photo { max-width: 350px; }
  .research-photo img { width: 100%; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .site-nav { gap: 0 19px; padding-bottom: 5px; }
  .site-nav a { padding: 10px 0 8px; font-size: 11px; }
  main { padding-top: 28px; padding-bottom: 32px; }
  body { font-size: 15px; }
  .section-divider { padding-top: 20px; margin-top: 24px; }
  h2 { font-size: 26px; }
  a { overflow-wrap: anywhere; }
}
@media print {
  body { color: black; background: white; }
  .container { width: 100%; }
  .site-header, .skip-link { display: none; }
  main { padding: 0; }
  a { color: inherit; }
  li { break-inside: avoid; }
}
