:root {
  color-scheme: light;
  --ink: #1b282b;
  --muted: #536064;
  --paper: #fff1e6;
  --white: #ffffff;
  --accent: #bd472e;
  --header: #355451;
  --header-highlight: #ffd1ad;
  --line: #d9d9cf;
  --display: "Newsreader", Georgia, serif;
  --body: "DM Sans", "Avenir Next", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  z-index: 5;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
}

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

.site-header {
  min-height: 76px;
  padding: 0 7vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: var(--header);
  color: var(--white);
}

.wordmark {
  flex: 0 0 auto;
  text-decoration: none;
  font-family: var(--display);
  font-size: 27px;
  line-height: 1;
}

.wordmark span {
  color: var(--accent);
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 27px;
}

.site-header nav a,
.back-to-top {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.site-header nav a[aria-current="page"] {
  color: var(--header-highlight);
}

.site-header nav a:hover {
  color: var(--header-highlight);
}

.back-to-top:hover {
  color: var(--accent);
}

.eyebrow,
.section-number {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
}

.section-wrap {
  width: min(1080px, 100% - 48px);
  margin-inline: auto;
}

.intro {
  padding-block: 64px 30px;
  text-align: center;
}

.intro-heading {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.intro-headshot {
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  display: block;
  overflow: hidden;
  border-radius: 50%;
}

.intro-headshot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.25);
}

.intro h1 {
  font-size: 56px;
  text-align: left;
}

.intro-role {
  margin: 14px 0 0;
  color: var(--ink);
  font-weight: 600;
}

.intro-copy {
  max-width: 800px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.page-grid {
  max-width: 800px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 76px;
}

.page-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1.6;
  overflow: hidden;
  background: #e4e8e5;
  color: var(--ink);
  text-decoration: none;
}

.page-card > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 300ms ease;
}

.page-card:hover > img {
  transform: scale(1.035);
}

.page-card:focus-visible {
  outline-offset: 4px;
}

.page-card-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  min-height: 70px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgb(255 255 255 / 94%);
}

.page-card-kicker,
.page-card-title {
  display: block;
}

.page-card-kicker {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.page-card-title {
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.15;
}

.page-card-arrow {
  color: var(--accent);
  font-size: 22px;
}

.internship-callout {
  width: min(1080px, 100% - 48px);
  margin: 0 auto 76px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #e8efeb;
}

.internship-callout .page-card-kicker {
  margin: 0 0 4px;
}

.internship-callout h2 {
  font-size: 28px;
}

.text-link {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.page-main {
  width: min(880px, 100% - 48px);
  margin-inline: auto;
  padding-block: 58px 88px;
}

.page-heading {
  margin-bottom: 36px;
}

.page-heading h1 {
  font-size: clamp(44px, 6vw, 68px);
}

.page-heading--compact h1 {
  font-size: 48px;
}

.page-heading--internship h1 {
  font-size: 42px;
}

.page-heading p {
  max-width: 700px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.page-heading--internship p {
  margin-top: 4px;
  font-family: var(--display);
  font-size: 36px;
  line-height: 1.15;
}

.archive-note {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: #f4e9e4;
  color: var(--ink);
}

.archive-note strong {
  display: block;
  margin-bottom: 4px;
}

.darkskies-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  margin: 12px 0 28px;
}

.darkskies-intro .page-image {
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  object-fit: initial;
}

.darkskies-intro h2 {
  margin: 0 0 12px;
}

.page-main h2 {
  margin: 40px 0 12px;
  font-size: 34px;
}

.research-page {
  width: min(1040px, 100% - 48px);
}

.research-banner {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 54px;
}

.research-overview {
  margin: 0 0 76px;
}

.research-overview .eyebrow,
.research-section-heading .eyebrow,
.project-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.research-overview h2,
.research-section-heading h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 50px);
}

.research-role {
  margin: 0 0 8px !important;
  color: var(--ink) !important;
  font-weight: 600;
}

.research-overview > p:last-child {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.research-section {
  margin-top: 70px;
  padding-top: 38px;
  border-top: 1px solid rgb(27 40 43 / 18%);
}

.research-section-heading {
  margin-bottom: 30px;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 38px;
  padding: 0 0 36px;
}

.project-feature + .project-feature {
  padding-top: 36px;
  border-top: 1px solid rgb(27 40 43 / 14%);
}

.project-feature--reverse .project-visual {
  order: 2;
}

.project-feature--reverse .project-copy {
  order: 1;
}

.project-visual {
  min-width: 0;
  aspect-ratio: 1.65;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #152124;
}

.project-visual--omegacat {
  aspect-ratio: 2.96;
}

.project-visual--reveallagn {
  aspect-ratio: 2.38;
}

.project-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.project-copy h3,
.past-project-copy h3,
.cluster-searches h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
}

.project-copy h3 a {
  text-decoration: none;
}

.project-copy h3 a:hover {
  color: var(--accent);
}

.project-copy p:not(.project-kicker),
.past-project-copy p,
.cluster-searches > p,
.past-context {
  color: var(--muted);
}

.project-copy p:not(.project-kicker) {
  margin: 0 0 18px;
}

.project-copy .text-link {
  display: inline-block;
}

.past-project {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: 34px;
}

.past-project-visual {
  margin: 0;
  padding: 18px;
  background: #111;
}

.past-project-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.past-project-visual figcaption {
  margin-top: 12px;
  color: #e7e7e7;
  font-size: 11px;
  line-height: 1.45;
}

.past-project-copy h3 {
  font-size: 30px;
}

.past-project-copy p {
  margin: 0 0 14px;
}

.cluster-searches {
  margin-top: 38px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  border-top: 1px solid rgb(27 40 43 / 14%);
}

.cluster-search-copy,
.cluster-search-image {
  min-width: 0;
}

.cluster-search-image {
  display: block;
  width: 100%;
  height: auto;
}

.cluster-searches h3 {
  font-size: 25px;
}

.cluster-searches > p {
  margin: 0;
}

.project-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-links li + li {
  margin-top: 10px;
}

.project-links a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 4px;
}

.past-context {
  margin: 32px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}

.press-section {
  margin-bottom: 20px;
}

.press-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: press;
}

.press-list li {
  counter-increment: press;
  padding: 17px 0 17px 42px;
  position: relative;
  border-bottom: 1px solid rgb(27 40 43 / 14%);
}

.press-list li::before {
  content: "0" counter(press);
  position: absolute;
  top: 19px;
  left: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.press-list a {
  color: var(--ink);
  font-family: var(--display);
  font-size: 23px;
  text-decoration: none;
}

.press-list a:hover {
  color: var(--accent);
}

.press-list span {
  margin-left: 12px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.page-main h3 {
  margin: 28px 0 8px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
}

.page-main p,
.page-main li {
  color: var(--muted);
}

.page-main p {
  margin: 14px 0;
}

.page-main ul,
.page-main ol {
  padding-left: 22px;
}

.page-main .student-inline-list {
  padding: 0;
  list-style: none;
  line-height: 2;
}

.student-inline-list li {
  display: inline;
}

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

.student-inline-list li:not(:last-child)::after {
  content: "  \2022  ";
  color: var(--accent);
  white-space: pre;
}

.page-main li + li {
  margin-top: 8px;
}

.page-main a:not(.wordmark) {
  text-underline-offset: 3px;
}

.page-image {
  width: 100%;
  max-height: 400px;
  margin: 12px 0 26px;
  display: block;
  object-fit: cover;
}

.photo-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.photo-row img {
  width: auto;
  height: 210px;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.resource-list {
  padding-left: 0 !important;
  list-style: none;
}

.resource-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.page-footer-nav {
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-footer-nav a {
  font-weight: 600;
}

.site-footer {
  min-height: 100px;
  padding: 26px 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 720px) {
  .site-header {
    align-items: center;
    flex-direction: column;
    gap: 14px;
    padding: 20px 24px;
  }

  .site-header nav {
    justify-content: center;
    gap: 7px 18px;
  }

  .section-wrap {
    width: calc(100% - 48px);
  }

  .intro {
    padding-block: 48px 24px;
  }

  .intro-heading {
    gap: 14px;
  }

  .intro-headshot {
    width: 68px;
    height: 68px;
  }

  .intro h1 {
    font-size: 34px;
  }

  .page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-bottom: 52px;
  }

  .page-card {
    aspect-ratio: 1.2;
  }

  .page-card-label {
    right: 8px;
    bottom: 8px;
    left: 8px;
    min-height: 62px;
    padding: 8px 10px;
  }

  .page-card-title {
    font-size: 20px;
  }

  .page-main {
    padding-block: 40px 64px;
  }

  .page-heading--compact h1 {
    font-size: 36px;
  }

  .page-heading--internship h1 {
    font-size: 32px;
  }

  .page-heading--internship p {
    font-size: 28px;
  }

  .darkskies-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .research-page {
    width: calc(100% - 40px);
  }

  .research-overview {
    margin-bottom: 54px;
  }

  .research-section {
    margin-top: 48px;
    padding-top: 28px;
  }

  .project-feature,
  .project-feature--reverse,
  .past-project {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-feature--reverse .project-visual,
  .project-feature--reverse .project-copy {
    order: initial;
  }

  .project-visual {
    aspect-ratio: 1.45;
  }

  .project-visual--omegacat {
    aspect-ratio: 2.96;
  }

  .project-visual--reveallagn {
    aspect-ratio: 2.38;
  }

  .project-copy h3,
  .past-project-copy h3 {
    font-size: 30px;
  }

  .past-project-visual {
    padding: 10px;
  }

  .cluster-searches {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .press-list li {
    padding-left: 34px;
  }

  .press-list a {
    font-size: 20px;
  }

  .press-list span {
    display: block;
    margin: 4px 0 0;
  }

  .internship-callout {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 54px;
    padding: 22px;
  }

  .photo-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 26px 24px;
  }
}

@media (max-width: 420px) {
  .page-grid {
    grid-template-columns: 1fr;
  }

  .page-card {
    aspect-ratio: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}