/* Seahawks navy and green, with light and dark reading modes. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #263543;
  --muted: #586570;
  --brand: #002244;
  --accent: #69be28;
  --line: #dce2e5;
  --wash: #f3f7f0;
  --selection: #d9edca;
  --header-rule: #002244;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #071b2d;
  --ink: #e8edf2;
  --muted: #afbdc9;
  --brand: #e0eaf3;
  --accent: #69be28;
  --line: #294053;
  --wash: #102a3e;
  --selection: #284925;
  --header-rule: #69be28;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #071b2d;
    --ink: #e8edf2;
    --muted: #afbdc9;
    --brand: #e0eaf3;
    --accent: #69be28;
    --line: #294053;
    --wash: #102a3e;
    --selection: #284925;
    --header-rule: #69be28;
  }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
::selection { background: var(--selection); color: var(--brand); }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 5px; border-radius: 1px; }
p { margin: 0 0 1rem; }
strong, b { font-weight: 600; }
img { display: block; max-width: 100%; height: auto; border-radius: 2px; }
.container { width: min(980px, calc(100% - 64px)); margin-inline: auto; }
.site-header { border-top: 3px solid var(--header-rule); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 69px; }
.home-link { font-size: 14px; text-decoration: none; font-weight: 500; white-space: nowrap; }
.header-right { display: flex; align-items: center; gap: 25px; }
nav { display: flex; flex-wrap: wrap; gap: 8px 21px; }
nav a { text-decoration: none; color: var(--muted); font-size: 14px; padding: 6px 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--brand); }
nav a[aria-current="page"] { border-bottom: 2px solid var(--accent); }
.appearance { display: flex; align-items: center; gap: 12px; padding-left: 20px; border-left: 1px solid var(--line); }
.appearance button { border: 0; border-bottom: 2px solid transparent; background: none; padding: 8px 0; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.appearance button[aria-pressed="true"] { color: var(--brand); border-bottom-color: var(--accent); }
.appearance svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.5; fill: none; }
main { padding-top: 49px; padding-bottom: 36px; }
h1 { margin: 0 0 7px; color: var(--brand); font-size: clamp(36px, 4.6vw, 48px); font-weight: 300; letter-spacing: -1.5px; line-height: 1.18; }
h1 strong { font-weight: 650; }
.affiliation { margin: 13px 0 3px; font-size: 17px; }
.contact-line { font-size: 14px; color: var(--muted); }
.contact-line .separator { margin: 0 9px; color: var(--accent); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 45px; align-items: start; margin-top: 29px; }
.intro-text { padding-top: 0; }
.intro-text p:last-child { margin-bottom: 0; }
.intro figure, .group figure, .bio-intro figure { margin: 0; }
.intro img { width: 310px; aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.text-link { font-size: 14px; }
section { margin-top: 44px; }
h2 { margin: 0 0 18px; color: var(--brand); font-size: 25px; font-weight: 400; letter-spacing: -.5px; line-height: 1.3; }
h2::before { content: ""; display: inline-block; width: 20px; height: 2px; background: var(--accent); vertical-align: middle; margin: 0 12px 5px 0; }
h3 { margin: 0 0 9px; font-size: 15px; font-weight: 600; }
.course-list { margin: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 9px 22px; font-size: 15px; }
.course-list dt { color: var(--muted); }
.course-list dd { margin: 0; }
.course-list dd a { text-decoration: underline; }
.course-list dd a:hover { text-decoration: underline; }
.course-list .course-years a { text-decoration: underline; }
.course-list .note { color: var(--muted); font-size: 13px; }
.course-code { color: var(--muted); font-size: 12px; margin-left: 7px; white-space: nowrap; }
.group { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 45px; }
.group img { width: 280px; aspect-ratio: 4 / 3; object-fit: cover; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.section-heading h2 { margin-bottom: 12px; }
.section-note { margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.papers { margin: 0; padding: 0; list-style: none; }
.paper { margin: 0; padding: 21px 0; border-top: 1px solid var(--line); }
.paper-title { margin: 0 0 4px; font-size: 17px; line-height: 1.45; font-weight: 500; letter-spacing: -.12px; color: var(--ink); }
.paper-title a { color: inherit; text-decoration: none; }
.paper-title::before { content: none; }
.paper-title a:hover { color: var(--brand); text-decoration: underline; }
.paper-authors { margin: 0 0 2px; font-size: 14px; color: var(--muted); }
.paper-venue { margin: 0 0 6px; font-size: 13px; }
.paper-venue b { font-weight: 600; color: var(--brand); }
.paper-links { display: flex; flex-wrap: wrap; gap: 4px 17px; font-size: 12px; }
.paper-links a { text-decoration-color: var(--accent); }
details { margin-top: 11px; font-size: 13px; }
summary { cursor: pointer; color: var(--brand); width: fit-content; }
details ol { padding-left: 22px; margin: 13px 0 6px; }
details li { padding: 3px 0; }
details[open] { padding: 10px 15px; border-left: 2px solid var(--accent); background: var(--wash); }
.resource-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.resource-grid section { margin-top: 0; }
.resource-grid ul { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.resource-grid li { margin: 7px 0; }
.resource-grid a { text-decoration: none; }
.resource-grid a:hover { text-decoration: underline; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; font-size: 13px; color: var(--muted); }
address { font-style: normal; }
.footer { padding: 20px 0 26px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer a { color: var(--muted); text-decoration: none; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 8px 15px; background: var(--paper); z-index: 10; }
.skip-link:focus { top: 10px; }
.page-heading { margin-bottom: 30px; }
.page-heading h1 { font-size: 42px; }
.page-heading p { margin-top: 15px; font-size: 14px; color: var(--muted); }
.bio-intro { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 45px; }
.bio-intro img { width: 240px; }
.timeline { padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 22px; margin: 20px 0; font-size: 15px; }
.timeline .date { font-size: 13px; color: var(--muted); }
.small-copy { font-size: 14px; }
.talk-list { padding-left: 23px; font-size: 14px; }
.talk-list > li { padding: 8px 0; }
.talk-list ol { margin: 10px 0; }
@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; gap: 3px; padding-block: 12px; }
  .header-right { width: 100%; justify-content: space-between; gap: 18px; }
  .intro { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
  .intro img { width: 260px; }
  .group { grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 40px); }
  body { font-size: 15px; }
  .header-right { flex-wrap: wrap; gap: 4px 16px; }
  nav { gap: 6px 17px; }
  nav a { font-size: 13px; }
  .appearance { padding-left: 0; border-left: 0; gap: 12px; }
  main { padding-top: 33px; }
  h1 { font-size: 38px; }
  .affiliation { font-size: 15px; }
  .contact-line { font-size: 12px; }
  .intro, .group, .bio-intro { grid-template-columns: 1fr; gap: 22px; }
  .intro img, .group img { width: 100%; }
  .intro figure { max-width: 440px; }
  .group figure { max-width: 400px; }
  .bio-intro figure { max-width: 260px; }
  section { margin-top: 35px; }
  h2 { font-size: 23px; }
  .course-list { grid-template-columns: 90px minmax(0, 1fr); gap: 13px 12px; font-size: 14px; }
  .course-code { display: block; margin-left: 0; }
  .section-heading { display: block; margin-bottom: 12px; }
  .resource-grid, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .timeline li { grid-template-columns: 90px 1fr; gap: 12px; }
  .footer-inner { flex-wrap: wrap; gap: 5px; }
  .paper-title { font-size: 16px; }
  .paper-links { gap: 5px 15px; }
}
@media print {
  :root, :root[data-theme] { --paper: white; --ink: black; --brand: #002244; --muted: #444444; --line: #dddddd; --wash: white; }
  body { background: white; color: black; }
  .site-header, .skip-link, .footer { display: none; }
  .container { width: 100%; }
  main { padding-top: 0; }
  .paper { break-inside: avoid; }
}
