/* Generic research/dossier presentation. Project-specific extensions belong in separate CSS files. */

body {
  line-height: 1.64;
}

a {
  color: #405b70;
}

.site-header {
  background: var(--slate);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}

.mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(219,227,229,.55);
  border-radius: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  color: #f4f5f3;
  background: rgba(255,255,255,.04);
}

.brand-copy strong {
  display: block;
  font-size: 1.22rem;
  letter-spacing: -.02em;
}

.brand-copy span {
  display: block;
  margin-top: 2px;
  color: #dbe3e5;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-link {
  color: #f4f5f3;
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .92rem;
  font-weight: 680;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.10);
}

.nav-link.home {
  border-color: rgba(219,227,229,.28);
}

.hero {
  background:
    radial-gradient(circle at 88% 24%, rgba(219,227,229,.30), transparent 31%),
    linear-gradient(102deg, #32383d 0%, #3b434a 44%, #667078 100%);
  color: #fff;
  border-bottom: 4px solid var(--warm);
}

.hero-inner {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: #e7dfd6;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .78rem;
  font-weight: 800;
}

h1,
h2,
h3,
h4 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(2.45rem, 5.4vw, 4.7rem);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 600;
}

.hero-text {
  margin: 20px 0 0;
  max-width: 850px;
  color: rgba(255,255,255,.86);
  font-size: 1.06rem;
}

.working {
  background: #fff7e6;
  border-bottom: 1px solid rgba(122,104,87,.18);
  color: #67594b;
  padding: 11px 0;
  font-size: .9rem;
}

.research-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.research-nav .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding-top: 12px;
  padding-bottom: 12px;
}

.research-nav a {
  white-space: nowrap;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--slate);
  font-size: .82rem;
  font-weight: 720;
  background: #f8f9f8;
}

.research-nav a.active {
  background: var(--slate);
  color: #fff;
  border-color: var(--slate);
}

.section {
  padding: 48px 0;
}

.section.tight {
  padding: 30px 0;
}

.section-kicker {
  margin: 0 0 9px;
  color: var(--warm);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 800;
}

.section-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.1;
  font-weight: 600;
}

.section-intro {
  max-width: 900px;
  color: var(--stone);
  margin: 14px 0 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  margin-top: 26px;
}

.card,
.research-block {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(48,45,43,.055);
}

.card {
  padding: 24px;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--stone);
}

.card a.more {
  font-weight: 760;
  text-decoration: none;
}

.research-block {
  padding: clamp(22px,4vw,38px);
  margin: 20px 0;
}

.research-block > h2:first-child {
  margin-top: 0;
  font-size: clamp(1.65rem,2.8vw,2.45rem);
}

.notice {
  margin: 18px 0;
  border-left: 4px solid var(--warm);
  background: #f8f6f2;
  padding: 14px 16px;
  border-radius: 0 10px 10px 0;
}

.tag {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef2f2;
  border: 1px solid rgba(59,67,74,.12);
  font-size: .72rem;
  font-weight: 760;
  color: var(--slate);
}

.tag.hard {
  background: #e7f2eb;
  color: var(--hard);
}

.tag.strong,
.tag.hyp {
  background: #f3ecdf;
  color: var(--strong);
}

.tag.open {
  background: #f4eee8;
  color: var(--open);
}

.tag.weak {
  background: #f4e8e8;
  color: var(--weak);
}

.status-legend {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 0;
}

.status-legend .tag {
  font-size: .76rem;
}

footer {
  margin-top: 36px;
  background: #333638;
  color: rgba(255,255,255,.78);
}

.footer-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: .9rem;
  flex-wrap: wrap;
}

.footer-inner a {
  color: #e9e2da;
}

p,
li,
.notice {
  overflow-wrap: anywhere;
}

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

  .nav {
    align-items: flex-start;
    padding: 18px 0;
    flex-direction: column;
  }

  .research-nav .shell {
    flex-wrap: nowrap;
    overflow: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 560px) {
  .hero-inner {
    min-height: 340px;
  }
}

@media (max-width: 720px) {
  .research-block {
    padding: 20px 18px;
  }
}
