@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #16202a;
  --paper: #faf9f6;
  --navy: #1d3f66;
  --navy-dark: #122a45;
  --muted: #5b636b;
  --tint: #eef2f6;
  --rule: #e4e1d8;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }

a { color: var(--navy); }
a:hover { color: var(--navy-dark); }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 30;
  padding: 8px 14px;
  background: #ffffff;
  color: var(--navy);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* Banner */

.hero {
  position: relative;
  height: 40rem;
  overflow: hidden;
  background: #24323d;
  color: #ffffff;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 30, 0) 45%, rgba(10, 20, 30, 0.7) 100%);
}

.hero-logo {
  position: absolute;
  top: 32px;
  right: 40px;
  z-index: 1;
  width: 28%;
  min-width: 130px;
  max-width: 230px;
  height: auto;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.35));
}

.hero-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-text .wrap { padding-bottom: 44px; }

.eyebrow {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 3.75rem);
  line-height: 1.05;
}

.tagline {
  margin: 14px 0 0;
  max-width: 960px;
  font-size: 20px;
  text-wrap: balance;
}

.hero a:focus-visible { outline-color: #ffffff; }

/* Menu */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
}

.nav-spacer { grid-column: 1; grid-row: 1; }

.nav-links {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 16px 0 14px;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover { color: var(--navy); }

.nav-links a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.nav-instagram {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  color: var(--navy);
  text-decoration: none;
}

.nav-instagram img,
.footer-instagram img {
  width: 29px;
  height: 29px;
  flex: none;
}

.nav-instagram:hover span { text-decoration: underline; }

.menu-toggle { display: none; }

@media (max-width: 899px) {
  .nav-inner { grid-template-columns: auto 1fr; }

  .nav-spacer { display: none; }

  .menu-toggle {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    cursor: pointer;
  }

  .bars,
  .bars::before,
  .bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
  }

  .bars { position: relative; }

  .bars::before,
  .bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .bars::before { top: -6px; }
  .bars::after { top: 6px; }

  .nav-instagram {
    grid-column: 2;
    padding: 12px 0;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    gap: 0;
    padding-bottom: 8px;
  }

  .js .nav-links { display: none; }
  .js .nav-open .nav-links { display: flex; }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
  }

  .nav-links a[aria-current="page"] { border-bottom-color: var(--rule); }
}

/* Page sections */

main { flex: 1 0 auto; width: 100%; padding-top: 60px; }

.lede {
  margin: 0;
  max-width: 900px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.5;
}

main section { margin-top: 60px; }

h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.2;
}

.threads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.thread {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 10px;
  padding: 24px 28px;
  background: var(--tint);
  border-top: 4px solid var(--navy);
}

.thread h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.2;
  color: var(--navy);
}

.thread p { margin: 0; font-size: 16px; }

.more { margin: 16px 0 0; font-size: 16px; }

.photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.photos figure { margin: 0; }

.photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
}

.photos figcaption {
  margin-top: 8px;
  font-size: 15px;
  color: #4b5560;
}

.people {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.person { width: 140px; }

.person img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
}

.person .name { margin: 10px 0 0; font-weight: 600; }
.person .role { margin: 0; font-size: 14px; color: var(--muted); }

.join {
  padding: 32px 36px;
  background: var(--tint);
  border-top: 4px solid var(--navy);
}

.join h2 { margin-bottom: 10px; font-size: 28px; }
.join p { margin: 0; max-width: 820px; font-size: 16px; }

.pub {
  margin: 0 0 14px;
  max-width: 900px;
  font-size: 16px;
}

.pub a { font-weight: 600; }

.pub-meta { font-size: 15px; color: var(--muted); }

.note { margin: 0; font-size: 15px; color: var(--muted); }

/* Inner pages */

.page-banner {
  position: relative;
  height: clamp(14rem, 30vw, 26rem);
  overflow: hidden;
  background: #24323d;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-fill {
  background: #24323d var(--fill) 50% 50% / cover no-repeat;
}
.banner-fill img {
  display: block;
  max-width: calc(clamp(14rem, 30vw, 26rem) * var(--ratio, 2.4));
  margin: 0 auto;
}
@media (min-width: 560px) {
  .banner-fill img {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent);
  }
}

main.inner { padding-top: 0; }

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 48px;
}

.page-head h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1.1;
}

.page-head .lede { font-size: 21px; max-width: 760px; }

.page-head .links { margin: 14px 0 0; font-size: 16px; }

.page-logo { flex: none; width: 150px; height: auto; }

h3 {
  margin: 32px 0 14px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.2;
  color: var(--navy);
}

.prose p { margin: 0 0 14px; max-width: 860px; }

.thread-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 32px;
  align-items: start;
  margin-top: 36px;
}

.thread-row img { width: 100%; height: auto; border-radius: 4px; grid-area: img; }
.thread-row { grid-template-areas: "head quote" "img text"; row-gap: 0; }
.theme-head { display: contents; }
.theme-head h3 { grid-area: head; margin: 0 0 18px; }
.theme-head .pull {
  grid-area: quote;
  margin: 0 0 18px;
  padding-left: 16px;
  border-left: 3px solid var(--navy);
  font-size: 21px;
  color: var(--ink);
}
.theme-text { grid-area: text; align-self: start; }

.thread-row h3 { margin-top: 0; }

.thread-row p { margin: 0 0 14px; }

.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.35;
  color: var(--navy);
}

.methods-line { font-size: 15px; color: var(--muted); }
.join-video { margin-top: 56px; }
.methods-line .label { margin-right: 0.6em; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 32px 28px;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.card h3 {
  margin: 14px 0 6px;
  font-family: var(--sans);
  font-size: 18px;
  color: var(--ink);
}

.card p { margin: 0; font-size: 15.5px; }

.callout {
  padding: 28px 32px;
  background: var(--tint);
  border-top: 4px solid var(--navy);
}

.callout h2 { margin-bottom: 10px; font-size: 28px; }
.callout p { margin: 0 0 10px; max-width: 820px; font-size: 16px; }
.callout p:last-child { margin-bottom: 0; }

.member {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}

.member img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
}

.member h4 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.2;
}

.member p { margin: 0 0 6px; font-size: 16px; }
.member .role { color: var(--muted); }
.member .degree { color: var(--muted); font-size: 15px; }
.member .tags { color: var(--navy); font-weight: 600; font-size: 15px; margin-top: 10px; text-wrap: pretty; }
@media (min-width: 380px) { .member .tags .kw { white-space: nowrap; } }
@media (max-width: 440px) { .member .tags { font-size: 14px; } }
.name-years {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 8px 32px;
  font-size: 16px;
}
.name-years span { color: var(--muted); font-size: 15px; white-space: nowrap; }
.member .profile-link { margin-top: 10px; font-size: 17px; font-weight: 600; }
.member .profile-link a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.member .contact { margin-top: 10px; overflow-wrap: anywhere; }

.alumni {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr));
  gap: 32px 24px;
}

.alum img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
}

.alum h4 { margin: 12px 0 0; font-size: 17px; font-weight: 600; }
.alum .year { margin: 0; font-size: 14px; color: var(--muted); }
.alum .topic { margin: 4px 0 0; font-size: 15px; }

.name-list { margin: 0; padding-left: 20px; }
.name-list li { margin-bottom: 6px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 32px;
}

.contact-grid h3 { margin-top: 0; }
.contact-grid p { margin: 0 0 12px; }

.video { max-width: 900px; }
.video video { display: block; width: 100%; height: auto; border-radius: 4px; background: #000000; }
.video p { margin: 8px 0 0; font-size: 15px; color: #4b5560; }

.media-list { margin: 0; padding: 0; list-style: none; }
.media-list li { margin: 0 0 22px; max-width: 860px; }
.media-list .title { font-weight: 600; }
.media-list .source { display: block; font-size: 15px; color: var(--muted); }

.pub-year {
  margin: 36px 0 14px;
  font-size: 26px;
}

#orcid-publications .pub-year:first-child { margin-top: 0; }

/* Footer */

.site-footer {
  margin-top: 64px;
  background: var(--ink);
  color: #d3d8de;
  font-size: 15px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 36px;
  padding-bottom: 36px;
}

.site-footer p { margin: 0; }
.site-footer .lab { margin-bottom: 4px; color: #ffffff; font-weight: 600; }
.site-footer a { color: #ffffff; }

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.footer-instagram:hover span { text-decoration: underline; }
.site-footer a:focus-visible { outline-color: #ffffff; }

/* Not found page */

.notfound { padding: 80px 0 40px; }
.notfound img { width: 180px; height: auto; margin-bottom: 28px; }
.notfound h1 { margin: 0 0 12px; font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1.15; }
.notfound p { margin: 0 0 12px; max-width: 620px; }

/* Phones */

@media (max-width: 600px) {
  body { font-size: 16px; }

  .wrap { padding-left: 20px; padding-right: 20px; }

  .hero { height: 36rem; }

  .hero::after {
    background: linear-gradient(180deg, rgba(10, 20, 30, 0) 18%, rgba(10, 20, 30, 0.72) 62%, rgba(10, 20, 30, 0.8) 100%);
  }

  .hero-logo { top: 20px; right: 20px; }

  .hero-text .wrap { padding-bottom: 32px; }

  .eyebrow { font-size: 12px; }

  .tagline { font-size: 18px; }

  main { padding-top: 44px; }

  .lede { font-size: 20px; }

  main section { margin-top: 48px; }

  h2 { font-size: 28px; }

  .thread { padding: 20px 22px; }

  .thread h3 { font-size: 22px; }

  .photos { grid-template-columns: 1fr 1fr; gap: 16px 12px; }

  .photos img { height: 120px; }

  .photos figcaption { font-size: 13px; line-height: 1.4; }

  .people { gap: 24px 16px; }

  .join { padding: 24px 22px; }

  .join h2 { font-size: 24px; }

  .page-head {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
    padding-top: 32px;
  }

  .page-logo { width: 96px; }

  .page-head .lede { font-size: 19px; }

  h3 { font-size: 22px; }

  .thread-row { grid-template-columns: 1fr; grid-template-areas: "head" "quote" "img" "text"; grid-template-rows: auto; gap: 0; }
  .theme-head h3 { margin-bottom: 10px; }
  .theme-head .pull { margin: 0 0 16px; }
  .thread-row > img { margin-bottom: 16px; }

  .pull { font-size: 21px; }

  .callout { padding: 22px 22px; }

  .callout h2 { font-size: 24px; }

  .member { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; }

  .member img { width: 96px; height: 96px; }

  .member h4 { font-size: 20px; }

  .alumni { grid-template-columns: 1fr 1fr; gap: 24px 16px; }

  .alum img { width: 96px; height: 96px; }
}
