@font-face {
  font-family: Manrope;
  src: url("manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  src: url("manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  font-family: Manrope, "Segoe UI", sans-serif;
  color: #101f38;
  background: #f4f6fa;
  color-scheme: light;
  --navy: #122649;
  --muted: #51647b;
  --line: #d6dfed;
  --blue: #254b8d;
  --gold: #ffc86b;
  --gutter: clamp(1rem, 4vw, 3.25rem);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid #285eb5;
  outline-offset: 4px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 75rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 10;
  inset: 1rem auto auto 1rem;
  transform: translateY(-200%);
  padding: .75rem 1rem;
  background: white;
  border-radius: .5rem;
}

.skip-link:focus { transform: translateY(0); }

.site-header { background: #fff; }

.topbar {
  min-height: 7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding-block: 1.15rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 3.65rem;
  height: auto;
  flex: none;
}

.brand-name, .brand-detail { display: block; }

.brand-name {
  font-size: 1.03rem;
  font-weight: 800;
  line-height: 1.35;
}

.brand-detail {
  margin-top: .27rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.45;
}

.header-contacts {
  display: grid;
  gap: .25rem;
  text-align: right;
  font-size: .9rem;
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
}

.header-contacts a { text-decoration: none; }
.header-contacts a:hover { color: var(--blue); text-decoration: underline; }

.header-contact-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .8rem;
}

.header-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.header-contact-links svg { flex: none; }

.navigation {
  background: #f4f6fa;
  border-top: 1px solid #e5eaf1;
}

.menu {
  display: grid;
  grid-template-columns: auto repeat(6, minmax(0, 1fr));
  gap: .65rem;
  padding-block: 1.15rem 1.3rem;
}

.menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: .6rem .45rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: white;
  text-align: center;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.menu a:hover { background: #e9eff9; border-color: #a8bcdd; }

.menu a[aria-current] {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.menu a[aria-current]:hover { background: #203c64; }

.menu .menu-home { width: 2.85rem; }

main { flex: 1; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-areas: "intro portrait" "quote portrait";
  column-gap: clamp(2rem, 4.8vw, 4.6rem);
  row-gap: 2.2rem;
  padding: clamp(2.25rem, 5vw, 4.5rem);
  border-radius: 1.35rem;
  background: radial-gradient(ellipse at 95% 25%, #203f71 0%, transparent 55%), #102244;
  color: #fff;
}

.hero-intro {
  grid-area: intro;
  align-self: end;
}

.hero-intro h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(2.5rem, 5.25vw, 5rem);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.065em;
}

.hero-intro > p {
  max-width: 33rem;
  margin: 1.5rem 0 0;
  color: #d7e1f1;
  font-size: 1rem;
  line-height: 1.65;
}

.hero-portrait {
  grid-area: portrait;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 24rem;
  padding: 1.3rem;
  overflow: hidden;
  border: 1px solid #536e99;
  border-radius: .85rem;
  background: #243e66;
}

.portrait-frame {
  position: relative;
  width: min(100%, 17.25rem);
  padding: .45rem;
  border: 1px solid #acc0db;
  background: #233c62;
  box-shadow: 0 1.15rem 2.5rem #07132966;
}

.portrait-frame::after {
  position: absolute;
  content: "";
  bottom: -.25rem;
  right: -.25rem;
  width: 2.1rem;
  height: 2.1rem;
  border-right: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  pointer-events: none;
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.05);
}

.quotation {
  grid-area: quote;
  display: flex;
  align-items: flex-start;
  align-self: start;
  gap: .8rem;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid #566e95;
}

.quote-mark {
  color: var(--gold);
  font: 700 3.45rem/.95 Georgia, serif;
}

.quotation blockquote,
.quotation blockquote p { margin: 0; }

.quotation blockquote {
  color: #f0f4fc;
  font-size: clamp(1rem, 1.55vw, 1.17rem);
  font-weight: 500;
  line-height: 1.55;
}

.quotation figcaption {
  margin-top: .75rem;
  color: var(--gold);
  font-size: .9rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  padding-block: 1.45rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
}

.site-footer a {
  text-decoration-color: #8b9cb1;
  text-underline-offset: .2em;
}

.site-footer a:hover { color: var(--blue); }

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
  margin: .15rem 0 1rem;
  color: var(--muted);
  font-size: .875rem;
}

.breadcrumbs a { text-underline-offset: .2em; }

.placeholder {
  padding: clamp(1.7rem, 5vw, 3.8rem);
  border: 1px solid var(--line);
  border-top: 4px solid #254b8d;
  border-radius: 1rem;
  background: white;
}

.placeholder h1 {
  max-width: 30ch;
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 3.55rem);
  line-height: 1.12;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}

.placeholder p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.subnavigation ul {
  display: grid;
  gap: .6rem;
  margin: 1.5rem 0 0;
  padding-left: 1.2em;
}

.subnavigation a {
  color: var(--blue);
  text-underline-offset: .2em;
  line-height: 1.5;
}

.staff-directory h1,
.courses-page h1,
.department-article h1:not(.visually-hidden) {
  margin: 0 0 1.25rem;
  padding: clamp(1.35rem, 4vw, 2.7rem);
  border-radius: 1rem;
  background: linear-gradient(110deg, #102244, #203f71);
  color: white;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.staff-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.staff-card {
  display: grid;
  grid-template-columns: clamp(4.5rem, 8vw, 6.5rem) minmax(0, 1fr);
  align-items: start;
  gap: .9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: white;
}

.staff-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: .45rem;
  background: #e5eaf1;
}

.staff-card h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.staff-card h2 a { text-decoration-color: #a7b8ce; text-underline-offset: .15em; }
.staff-card h2 a:hover { color: var(--blue); }

.staff-position {
  margin: .45rem 0 0;
  color: var(--blue);
  font-size: .94rem;
  font-weight: 750;
  line-height: 1.45;
}

.staff-detail {
  margin: .35rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.5;
}

.staff-profile,
.course-block,
.article-content {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: white;
}

.article-content {
  padding: clamp(1rem, 4vw, 2.5rem);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.article-content > :first-child { margin-top: 0; }
.article-content > :last-child { margin-bottom: 0; }

.article-content h2 {
  margin: 2rem 0 .75rem;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  line-height: 1.3;
}

.article-content h3 {
  margin: 1.2rem 0 .3rem;
  font-size: 1rem;
}

.article-content p { max-width: 78ch; }
.article-content a { color: var(--blue); text-underline-offset: .18em; }
.article-content ol { margin-block: .4rem 1rem; padding-inline-start: 1.65rem; }
.article-content li + li { margin-top: .3rem; }

.library-list {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.library-list li + li { margin-top: 0; }

.library-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem clamp(.75rem, 2.5vw, 1.3rem);
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: #f8faff;
  text-decoration: none;
}

.library-entry:hover { background: #edf2fa; }
.library-entry:focus-visible { outline-offset: -3px; }
.library-entry-name { display: block; font-weight: 800; line-height: 1.4; }
.library-entry:hover .library-entry-name { text-decoration: underline; }
.library-entry-meta { display: block; margin-top: .3rem; color: var(--muted); font-size: .875rem; }

.library-entry-format {
  flex: none;
  padding: .22rem .5rem;
  border-radius: .35rem;
  background: #eaf0f9;
  color: var(--navy);
  font-size: .875rem;
  font-weight: 800;
}

.article-sections {
  display: grid;
  gap: .4rem;
  margin-block: 1rem;
  padding: .9rem 1.1rem;
  border-left: 3px solid var(--blue);
  background: #edf2fa;
}

.research-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  font-weight: 750;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-list > li {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: #f8faff;
}

.project-list > li + li { margin-top: 0; }
.project-list h3,
.project-list p { margin: 0; }
.project-list p { color: var(--muted); }

.project-illustration {
  --illustration-height: clamp(8rem, 24vw, 12rem);

  display: grid;
  place-items: center;
  box-sizing: content-box;
  height: var(--illustration-height);
  margin-top: auto;
  padding: .55rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: white;
}

/* Show the visual region of each original slide at its native aspect ratio. */
.project-crop {
  position: relative;
  overflow: hidden;
  width: min(100%, calc(var(--illustration-height) * var(--crop-width) / var(--crop-height)));
  aspect-ratio: var(--crop-width) / var(--crop-height);
}

.project-crop img {
  position: absolute;
  top: calc(-100% * var(--top) / var(--crop-height));
  left: calc(-100% * var(--left) / var(--crop-width));
  width: calc(100% * 960 / var(--crop-width));
  max-width: none;
  height: auto;
}

.employer-agreements {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.employer-agreements thead { background: #eaf0f9; }
.employer-agreements tbody tr:nth-child(even) { background: #f8faff; }

.employer-agreements th,
.employer-agreements td {
  padding: .7rem clamp(.4rem, 2vw, 1rem);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.45;
}

.employer-agreements :is(th, td):last-child {
  width: 1%;
  white-space: nowrap;
}

.article-content figure { margin: 1.65rem 0; }
.article-content figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: .55rem;
}

.article-content figcaption {
  margin-top: .5rem;
  color: var(--muted);
  font-size: .9rem;
}

.article-content .history-portrait { width: min(100%, 12rem); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.history-header {
  margin: 0 0 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: white;
}

.history-header img {
  display: block;
  width: 100%;
  height: auto;
}

.history-header figcaption {
  padding: .65rem 1rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.profile-header {
  display: grid;
  grid-template-columns: clamp(5.5rem, 16vw, 9rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(.9rem, 3vw, 2rem);
  padding: clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: #edf2fa;
}

.profile-header h1 {
  margin: 0;
  font-size: clamp(1.55rem, 4.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.profile-header .staff-position { font-size: 1rem; }
.profile-header .staff-detail { font-size: .94rem; }

.profile-content {
  display: grid;
  gap: 1.35rem;
  max-width: 60rem;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.profile-content h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.profile-content p {
  margin: .45rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.profile-publications {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  background: #f4f6fa;
}

.profile-publications a {
  padding: .55rem .9rem;
  border-radius: .55rem;
  background: var(--navy);
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.profile-publications a:hover { background: var(--blue); }
.profile-publications span { color: var(--muted); font-size: .9rem; }

.course-block + .course-block { margin-top: 1.25rem; }

.course-block h2 {
  margin: 0;
  padding: clamp(1rem, 3vw, 1.65rem);
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  line-height: 1.35;
  letter-spacing: -.025em;
}

.course-block table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.course-block thead {
  background: #eaf0f9;
  color: var(--navy);
}

.course-block th,
.course-block td {
  padding: .85rem clamp(.48rem, 2.4vw, 1.65rem);
  border-top: 1px solid var(--line);
  line-height: 1.45;
}

.course-block tbody th { font-weight: 700; }
.course-block tbody tr:nth-child(even) { background: #f8faff; }
.course-block :is(th, td):nth-child(2) { text-align: center; }
.course-block :is(th, td):last-child { text-align: right; }
.course-semester,
.course-program { width: 1%; }

.course-semester span {
  display: inline-grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: .48rem;
  background: #eaf0f9;
  color: var(--navy);
  font-weight: 800;
}

.course-program a {
  color: var(--blue);
  font-weight: 750;
  text-underline-offset: .2em;
}

.course-program { font-size: .9rem; }
.course-program a:hover { color: var(--navy); }

@media (max-width: 67rem) {
  .staff-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 42rem) {
  .staff-list { grid-template-columns: minmax(0, 1fr); }
  .project-list { grid-template-columns: minmax(0, 1fr); }
  .employer-agreements { font-size: .9rem; }
}

@media (max-width: 52rem) {
  .menu { grid-template-columns: auto repeat(3, minmax(0, 1fr)); }
  .menu .menu-home { grid-row: span 2; align-self: start; }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    grid-template-areas: "intro portrait" "quote quote";
    gap: 1.6rem;
  }

  .hero-intro { align-self: center; }
  .hero-portrait { min-height: 0; }
  .hero-intro h1 { font-size: clamp(2.1rem, 5.65vw, 3.5rem); }
}

@media (max-width: 35rem) {
  .course-block table { font-size: .9rem; }
  .course-program { font-size: .875rem; }

  .topbar { flex-wrap: wrap; gap: .4rem .65rem; padding-block: .9rem; min-height: 0; }
  .brand { gap: .48rem; }
  .brand img { width: 2.4rem; }
  .brand-name { font-size: .875rem; }
  .brand-detail { font-size: .8125rem; }
  .header-contacts { margin-left: auto; font-size: .8125rem; }
  .menu { grid-template-columns: auto repeat(2, minmax(0, 1fr)); padding-block: .85rem; gap: .45rem; }
  .menu .menu-home { grid-row: span 3; }
  .menu a { font-size: .875rem; padding-inline: .2rem; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "portrait" "quote";
    gap: 1.35rem;
    padding: 1.45rem;
    border-radius: 1rem;
  }

  .hero-intro h1 { font-size: clamp(1.9rem, 8.3vw, 3.25rem); }
  .hero-intro > p { margin-top: .9rem; }
  .hero-portrait { padding: 1.05rem; }
  .portrait-frame { width: min(100%, 12.65rem); }
  .site-footer { padding-block: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .menu a { transition: none; }
}
