:root {
  --ink: #1d1830;
  --ink-soft: #33284a;
  --forest: #5266d6;
  --lime: #48c9b7;
  --amber: #f2a154;
  --sand: #eee8f5;
  --paper: #faf8fc;
  --white: #ffffff;
  --muted: #6f6a7c;
  --line: #dfd9e9;
  --max-width: 1180px;
  --shadow: 0 24px 60px rgba(29, 24, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
}

h1 {
  max-width: 850px;
  margin-bottom: 1.6rem;
  font-size: clamp(3.35rem, 7vw, 7.2rem);
  letter-spacing: -0.065em;
}

h1 em {
  color: var(--lime);
  font-style: normal;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.8vw, 4.7rem);
  letter-spacing: -0.055em;
}

h3 {
  font-size: 1.35rem;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--white);
  transform: translateY(-150%);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  height: 80px;
  background: rgba(250, 248, 252, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 25px rgba(29, 24, 48, 0.07);
}

.navigation {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.75rem;
}

.brand {
  width: 220px;
  margin-right: auto;
}

.brand img {
  display: block;
  width: 100%;
}

nav {
  display: flex;
  gap: 1.4rem;
}

nav a {
  font-size: 0.76rem;
  font-weight: 800;
}

nav a:hover {
  color: var(--forest);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.35rem;
  color: var(--white);
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: 180ms ease;
}

.button:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  padding: 0.4rem;
  background: transparent;
  border: 0;
}

.menu-button span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px;
  background: var(--ink);
  transition: 180ms ease;
}

.hero {
  position: relative;
  padding: 7rem 0;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 48%, rgba(184, 217, 107, 0.09) 48%),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: auto, 100% 44px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 4.5rem;
}

.kicker {
  margin-bottom: 1.1rem;
  color: var(--forest);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero .kicker {
  color: var(--lime);
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero .lead {
  color: #c7d2e9;
}

.actions {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  margin-top: 2.2rem;
}

.text-link {
  font-size: 0.8rem;
  font-weight: 800;
}

.signal-board {
  position: relative;
  min-width: 390px;
  aspect-ratio: 0.9;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.signal-board img {
  position: absolute;
  z-index: 3;
  width: 150px;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow);
}

.signal-line {
  position: absolute;
  border: 1px solid rgba(184, 217, 107, 0.5);
}

.line-one {
  inset: 12%;
}

.line-two {
  inset: 25%;
  border-color: rgba(242, 177, 75, 0.58);
}

.line-three {
  inset: 38%;
  border-style: dashed;
}

.tag {
  position: absolute;
  z-index: 4;
  padding: 0.45rem 0.7rem;
  color: var(--ink);
  background: var(--sand);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-a {
  top: 7%;
  left: 8%;
}

.tag-b {
  top: 7%;
  right: 8%;
}

.tag-c {
  right: 8%;
  bottom: 7%;
}

.tag-d {
  bottom: 7%;
  left: 8%;
}

.marquee {
  padding: 1.05rem 0;
  color: var(--ink);
  background: var(--lime);
  border-bottom: 1px solid rgba(16, 35, 29, 0.16);
}

.marquee .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee i {
  color: var(--forest);
  font-style: normal;
}

.section {
  padding: 7rem 0;
}

.section-head,
.archive-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.section-head > p {
  max-width: 500px;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.axis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.axis {
  min-height: 390px;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.axis > b {
  display: block;
  margin-bottom: 4.5rem;
  color: var(--forest);
  font-size: 0.72rem;
}

.axis-label {
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.axis p:not(.axis-label),
.axis li {
  color: var(--muted);
  font-size: 0.88rem;
}

.axis ul {
  padding-left: 1rem;
  margin: 1.4rem 0 0;
}

.framework {
  color: var(--white);
  background: var(--forest);
}

.section-head.inverse .kicker {
  color: var(--lime);
}

.section-head.inverse > p {
  color: #dce5f5;
}

.question-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.question-strip article {
  min-height: 300px;
  padding: 2rem 1.8rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.question-strip article:last-child {
  border-right: 0;
}

.question-strip span {
  display: block;
  margin-bottom: 4.5rem;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 900;
}

.question-strip p {
  color: #dce5f5;
  font-size: 0.88rem;
}

.academics {
  background: #eef2fb;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.person {
  min-height: 430px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.35);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.person.public {
  background: rgba(239, 231, 213, 0.58);
}

.portrait {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  height: 105px;
  margin-bottom: 2rem;
  padding: 1rem;
  color: var(--white);
  background: var(--ink-soft);
  font-size: 2.15rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.person:nth-child(2n) .portrait {
  color: var(--ink);
  background: var(--lime);
}

.person:nth-child(3n) .portrait {
  background: var(--forest);
}

.portrait span {
  font-size: 0.65rem;
  letter-spacing: 0;
}

.specialty {
  margin-bottom: 0.7rem;
  color: var(--forest);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.institution {
  margin-top: -0.35rem;
  color: #4a587d;
  font-size: 0.8rem;
  font-weight: 800;
}

.person > p:not(.specialty):not(.institution) {
  color: var(--muted);
  font-size: 0.88rem;
}

.person a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.person a:hover {
  color: var(--forest);
}

.person-links {
  display: grid;
  align-items: start;
  gap: 0.25rem;
}

.person-links a {
  margin-top: 0.55rem;
}

.person-links .orcid-link {
  color: var(--forest);
  font-size: 0.71rem;
}

.notice {
  max-width: 980px;
  margin: 2rem 0 0;
  padding: 1.15rem 1.3rem;
  color: #5a6688;
  background: #fbfcff;
  border-left: 4px solid var(--amber);
  font-size: 0.82rem;
}

.archive {
  background: var(--paper);
}

.archive-head {
  align-items: center;
}

.search {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border-bottom: 2px solid var(--ink);
}

.search > span:first-child {
  color: var(--forest);
  font-size: 1.5rem;
}

.search input {
  width: 100%;
  padding: 0.35rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font: inherit;
}

.search input:focus {
  outline: none;
}

.resources {
  border-top: 1px solid var(--line);
}

.resources details {
  border-bottom: 1px solid var(--line);
}

.resources summary {
  display: grid;
  grid-template-columns: 52px 1fr 40px;
  align-items: center;
  min-height: 88px;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 800;
}

.resources summary::-webkit-details-marker {
  display: none;
}

.resources summary b {
  color: var(--forest);
  font-size: 0.7rem;
}

.resources summary i {
  color: var(--forest);
  font-size: 1.3rem;
  font-style: normal;
  text-align: center;
  transition: transform 180ms ease;
}

.resources details[open] summary i {
  transform: rotate(45deg);
}

.resources details > p {
  max-width: 760px;
  margin: -0.5rem 0 2rem 52px;
  color: var(--muted);
}

.empty-results {
  padding: 2rem 0;
  color: var(--muted);
}

.about {
  color: var(--white);
  background: var(--ink-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 5rem;
}

.symbol {
  display: grid;
  place-items: center;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(45deg, rgba(184, 217, 107, 0.06) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(242, 177, 75, 0.05) 25%, transparent 25%);
  background-size: 52px 52px;
}

.symbol img {
  width: min(220px, 65%);
}

.about .kicker {
  color: var(--lime);
}

.about .lead,
.about p {
  color: #cdd8ed;
}

footer {
  padding: 4.5rem 0 1.5rem;
  color: var(--ink);
  background: var(--lime);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 4rem;
}

.footer-grid img {
  width: 220px;
  max-width: 100%;
}

.footer-grid p {
  color: #3d4c73;
}

.footer-grid h3 {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-grid a {
  font-size: 0.84rem;
  font-weight: 700;
}

.copyright {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(16, 35, 29, 0.22);
  color: #53618a;
  font-size: 0.76rem;
}

.to-top {
  position: fixed;
  z-index: 30;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--forest);
  border: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 180ms ease;
}

.to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .header-action {
    display: none;
  }

  nav {
    gap: 1rem;
  }

  .hero-grid,
  .section-head,
  .archive-head,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 3rem;
  }

  .signal-board {
    width: min(560px, 100%);
    min-width: 0;
  }

  .axis-grid,
  .question-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head,
  .archive-head {
    gap: 1.5rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 70px;
  }

  .brand {
    width: 190px;
  }

  .menu-button {
    display: block;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.7rem 1.25rem 1.2rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(16, 35, 29, 0.08);
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    padding: 5rem 0;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

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

  .marquee .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section {
    padding: 5rem 0;
  }

  .axis-grid,
  .question-strip,
  .people-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .axis,
  .question-strip article,
  .person {
    min-height: auto;
  }

  .axis > b,
  .question-strip span {
    margin-bottom: 2rem;
  }

  .question-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .question-strip article:last-child {
    border-bottom: 0;
  }

  .symbol {
    min-height: 320px;
  }

  .resources summary {
    grid-template-columns: 40px 1fr 30px;
    min-height: 78px;
    font-size: 0.94rem;
  }

  .resources details > p {
    margin-left: 40px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .brand {
    width: 170px;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .signal-board {
    aspect-ratio: 1;
  }

  .signal-board img {
    width: 118px;
  }

  .tag {
    font-size: 0.55rem;
  }

  .search {
    padding-inline: 0;
  }
}
