.research-project-shell {
  width: min(1080px, calc(100% - 40px));
}

.research-project-hero {
  max-width: 820px;
  margin-bottom: 56px;
}

.research-project-index .page-title,
.research-project-page .page-title {
  font-size: 72px;
  letter-spacing: 0;
}

.research-project-index .page-kicker,
.research-project-page .page-kicker,
.research-project-type,
.research-note-label {
  letter-spacing: 0;
}

.research-project-list {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(248, 213, 140, 0.24);
  background: rgba(3, 7, 12, 0.42);
}

.research-project-list li {
  margin: 0;
}

.research-project-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 24px;
  min-height: 150px;
  padding: 24px 4px;
  color: var(--page-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(248, 213, 140, 0.20);
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.research-project-row:hover,
.research-project-row:focus-visible {
  color: #fff7df;
  border-color: rgba(248, 213, 140, 0.52);
  background: rgba(248, 213, 140, 0.035);
}

.research-project-row:focus-visible {
  outline: 2px solid rgba(248, 213, 140, 0.9);
  outline-offset: 4px;
}

.research-project-no,
.research-project-type,
.research-project-action,
.research-note-label {
  font-family: var(--page-mono);
  color: var(--page-accent);
}

.research-project-no {
  align-self: start;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 700;
}

.research-project-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.research-project-copy strong {
  display: block;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: 0;
}

.research-project-copy > span:last-child {
  max-width: 680px;
  color: var(--page-muted);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.research-project-type,
.research-note-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.research-project-action {
  font-size: 22px;
  text-align: right;
}

.research-project-notes,
.research-domain-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(248, 213, 140, 0.24);
  border-bottom: 1px solid rgba(248, 213, 140, 0.20);
  background: rgba(3, 7, 12, 0.42);
}

.research-project-notes article,
.research-domain {
  min-width: 0;
  padding: 28px 24px;
  border-right: 1px solid rgba(248, 213, 140, 0.16);
}

.research-project-notes article:last-child,
.research-domain:nth-child(2n) {
  border-right: 0;
}

.research-project-notes h2,
.research-domain h2 {
  margin: 12px 0 10px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}

.research-project-notes p,
.research-domain p {
  margin: 0;
  color: var(--page-muted);
  font-size: 15px;
  line-height: 1.65;
}

.research-domain-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.research-domain:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(248, 213, 140, 0.16);
}

.research-domain-links {
  display: grid;
  margin-top: 18px;
}

.research-domain-links a,
.research-back-link {
  color: rgba(244, 247, 251, 0.88);
  text-decoration: none;
}

.research-domain-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 10px 0;
  border-top: 1px solid rgba(248, 213, 140, 0.12);
}

.research-domain-links a:hover,
.research-domain-links a:focus-visible,
.research-back-link:hover,
.research-back-link:focus-visible {
  color: var(--page-accent);
}

.research-domain-links a:focus-visible,
.research-back-link:focus-visible {
  outline: 2px solid rgba(248, 213, 140, 0.9);
  outline-offset: 3px;
}

.research-boundary {
  max-width: 780px;
  margin: 32px 0 0;
  color: var(--page-muted);
  font-size: 14px;
  line-height: 1.65;
}

.research-back-link {
  display: inline-flex;
  margin-top: 36px;
  min-height: 44px;
  align-items: center;
  font-family: var(--page-mono);
  font-size: 13px;
}

@media (max-width: 860px) {
  .research-project-shell {
    width: min(720px, calc(100% - 28px));
  }

  .research-project-row {
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    gap: 16px;
    padding: 22px 0;
  }

  .research-project-notes,
  .research-domain-grid {
    grid-template-columns: 1fr;
  }

  .research-project-notes article,
  .research-domain,
  .research-domain:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid rgba(248, 213, 140, 0.16);
  }

  .research-project-notes article:last-child,
  .research-domain:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .research-project-hero {
    margin-bottom: 34px;
  }

  .research-project-index .page-title,
  .research-project-page .page-title {
    font-size: 44px;
  }

  .research-project-row {
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    gap: 12px;
    min-height: 0;
    padding: 24px 0;
  }

  .research-project-copy strong {
    font-size: 28px;
  }

  .research-project-copy > span:last-child {
    font-size: 15px;
  }

  .research-project-notes article,
  .research-domain {
    padding: 24px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .research-project-row {
    transition: none;
  }
}

