@charset "UTF-8";
/* Shared Michigan palette and generous spacing echo the PI website. */
body {
  background: linear-gradient(160deg, #fbfcff, #eef3f9 55%, #e4edf7);
}

header.background {
  background: #eef3f9;
  border-bottom: 3px solid #ffcb05;
  padding: 14px max(16px, (100% - 1600px) / 2);
  box-shadow: 0 8px 28px rgba(0, 39, 76, 0.0509803922);
}

header.background::before {
  display: none;
}

header .home {
  flex-basis: auto;
  gap: 18px;
}

header .logo {
  height: 68px;
  flex-shrink: 0;
}

header .logo img {
  mix-blend-mode: multiply;
  border-radius: 0;
}

header .title {
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: 1.25rem;
}

header nav {
  padding: 0;
  gap: 4px;
}

header nav > a {
  border: 0;
  background: transparent;
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

header nav > a:hover {
  background: rgba(255, 203, 5, 0.1882352941);
}

main > section {
  background: transparent !important;
}

h1, h2, h3 {
  letter-spacing: -0.025em;
}

p {
  text-align: left;
}

.home-main-grid {
  gap: 32px;
  grid-template-columns: minmax(0, 1.75fr) minmax(270px, 0.85fr);
}

.home-left-column {
  padding: 30px;
  border: 1px solid var(--edge);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: 0 18px 50px rgba(0, 39, 76, 0.0431372549);
}

.lab-eyebrow {
  color: var(--gray);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 0 12px !important;
}

.home-left-column > h2:first-of-type {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  border: 0;
}

.home-left-column > p {
  line-height: 1.7;
}

.home-sub-grid {
  display: block;
}

.home-compact-list ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: questions;
}

.home-compact-list li {
  position: relative;
  padding: 12px 14px 12px 44px;
  border-radius: 10px;
  background: var(--background);
  text-align: left;
  font-size: 0.95rem;
}

.home-compact-list li::before {
  counter-increment: questions;
  content: "0" counter(questions);
  position: absolute;
  left: 12px;
  color: var(--gray);
  font-size: 0.8rem;
  top: 14px;
}

.home-compact-list:empty {
  display: none;
}

.home-side-list .news-card {
  padding: 16px;
  border-radius: 14px;
  box-shadow: none;
  border-left: 3px solid #ffcb05;
}

.home-side-list .news-title {
  line-height: 1.5;
}

.news-description a {
  display: inline-block;
  margin-right: 10px;
}

.demo-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  text-align: left;
  margin: 18px 0;
}

.demo-links span {
  font-size: 0.8rem;
  color: var(--gray);
}

.demo-links a {
  padding: 7px 12px;
  background: rgba(255, 203, 5, 0.1568627451);
  border: 1px solid rgba(255, 203, 5, 0.5019607843);
  border-radius: 8px;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 600;
}

.carousel {
  border-radius: 14px;
  background: #edf3fa;
}

.home-main-grid .carousel__figure-title {
  background: rgba(0, 39, 76, 0.88);
  font-size: 0.9rem;
  padding-bottom: 30px;
}

.home-main-grid .carousel__indicators {
  bottom: 5px;
  z-index: 4;
}

.home-main-grid .carousel__indicator {
  width: 9px;
  height: 9px;
}

.carousel__control {
  filter: drop-shadow(0 1px 3px #00274c);
}

.research-section-card, .research-lead-card {
  padding: 26px;
  box-shadow: 0 12px 30px rgba(0, 39, 76, 0.031372549);
}

.research-topic-card {
  box-shadow: none;
}

.citation-publisher strong {
  color: var(--primary);
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(145px, 145px));
  gap: 18px;
}

.team-grid .portrait {
  width: 145px;
  max-width: 145px;
  padding: 12px;
}

a:focus-visible, label:focus-visible {
  outline: 3px solid #b08600;
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .home-main-grid {
    grid-template-columns: 1fr;
  }
  header .title {
    font-size: 1.05rem;
  }
}
@media (max-width: 600px) {
  main > section {
    padding: 24px 16px;
  }
  .home-left-column {
    padding: 20px;
  }
  header .logo {
    height: 48px;
  }
  header .home {
    gap: 10px;
  }
  header .title {
    max-width: 170px;
  }
  .research-section-card, .research-lead-card {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.research-aims {
  display: grid;
  gap: 12px;
  margin: 24px 0 32px;
}

.research-aim {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 12px;
  background: var(--background);
  text-align: left;
}

.aim-number {
  color: var(--gray);
  font-size: 0.85rem;
  padding-top: 3px;
}

.research-aim h3 {
  margin: 0 0 6px;
  padding: 0;
  font-size: 1.1rem;
  text-transform: none;
}

.research-aim p {
  margin: 0;
  color: var(--gray);
  line-height: 1.5;
}

.research-aim-description {
  margin: 0 0 16px;
  color: var(--gray);
  line-height: 1.5;
}

/* Night mode follows the page theme, including the header and research cards. */
html[data-dark=true] {
  color-scheme: dark;
}

html[data-dark=false] {
  color-scheme: light;
}

html[data-dark=true] body {
  background: linear-gradient(160deg, #07172a, #0b2038 55%, #102a43);
}

html[data-dark=true] header.background {
  background: #0b2038;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1882352941);
}

html[data-dark=true] header .logo img {
  filter: invert(1) hue-rotate(188deg) saturate(2) brightness(2.5);
  mix-blend-mode: screen;
}

html[data-dark=true] .carousel {
  background: #0b2038;
}

html[data-dark=true] .research-topic-links {
  border-color: rgba(255, 255, 255, 0.1490196078);
}

html[data-dark=true] .research-topic-copy li::marker,
html[data-dark=true] .research-topic-links li::marker,
html[data-dark=true] .research-topic-nav-sublinks li::marker {
  color: #8ed8ff;
}

html[data-dark=true] .research-topic-placeholder {
  color: #ffde66;
}

html[data-dark=true] a:focus-visible,
html[data-dark=true] label:focus-visible {
  outline-color: #ffcb05;
}

.dark-toggle::after {
  color: var(--background);
}

/* Keep each aim and its explanation together, wrapping naturally on phones. */
.research-aim > div {
  line-height: 1.6;
}

.research-aim h3, .research-aim p {
  display: inline;
}

.research-aim p::before {
  content: " — ";
}

.research-aim-line {
  text-align: left;
  margin-bottom: 16px;
  line-height: 1.6;
}

.research-aim-line > .research-topic-nav-link,
.research-aim-line > h2,
.research-aim-line > .research-aim-description {
  display: inline;
  margin: 0;
}

.research-aim-line > .research-aim-description::before {
  content: " — ";
}

/* Highlight the channel beside the research section title. */
.research-highlight-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 14px;
  border-bottom: 1px solid var(--edge);
  padding-bottom: 12px;
}

.home-left-column .research-highlight-heading h2 {
  margin: 0;
  padding: 0;
  border: 0;
}

.youtube-channel-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 9px;
  background: #ffcb05;
  color: #00274c;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.youtube-channel-button .icon {
  color: #00274c;
  font-size: 1.2em;
}

.youtube-channel-button:hover {
  background: #ffdb50;
  color: #00274c;
  box-shadow: 0 3px 12px rgba(255, 203, 5, 0.2);
}

.aim-publications {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
}

.aim-publications a {
  font-size: 0.85rem;
  line-height: 1.6;
  text-decoration: none;
}

.aim-publications a:hover {
  text-decoration: underline;
}

.aim-publications span {
  color: var(--gray);
  font-size: 0.92em;
  white-space: nowrap;
}

/* Fluid outer layout with safe wrapping at narrow widths. */
main, .home-main-grid > *, .research-topic-card > * {
  min-width: 0;
}

.research-aim, .research-highlight-heading {
  min-width: 0;
}

.research-aim > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.youtube-channel-button {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
}

header .home {
  min-width: 0;
}

@media (max-width: 380px) {
  header .title {
    font-size: 0.95rem;
    max-width: 150px;
  }
  header .logo {
    height: 40px;
  }
  header {
    gap: 10px;
  }
  .home-left-column {
    padding: 16px;
  }
  .research-aim {
    padding: 12px;
    gap: 10px;
  }
}

/*# sourceMappingURL=z-refresh.css.map */