.research-page {
  padding: clamp(64px, 9vw, 118px) 0;
}

.research-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(40px, 8vw, 108px);
  align-items: end;
  padding-bottom: clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}

.research-hero h1 {
  max-width: 850px;
  margin-top: 18px;
  font-size: clamp(3.3rem, 8vw, 7.2rem);
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.research-lede {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.7;
}

.research-boundary {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.research-boundary strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-boundary p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.research-section {
  padding: clamp(58px, 9vw, 112px) 0;
  border-bottom: 1px solid var(--line);
}

.research-section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.research-section-heading h2 {
  margin-top: 12px;
  font-family: "Newsreader", serif;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.research-section-heading p:last-child {
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.research-flow,
.research-route-grid,
.record-field-grid {
  display: grid;
  gap: 16px;
}

.research-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: flow;
}

.research-flow-card,
.research-route-card,
.record-field-card {
  min-width: 0;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.research-flow-card {
  counter-increment: flow;
}

.research-flow-card::before {
  content: "0" counter(flow);
  display: block;
  margin-bottom: 34px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.research-flow-card h3,
.research-route-card h3,
.record-field-card h3 {
  font-family: "Newsreader", serif;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.research-flow-card p,
.research-route-card p,
.record-field-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.research-route-card {
  display: grid;
  min-height: 270px;
  grid-template-rows: auto auto 1fr auto;
}

.research-route-card .route-label {
  margin-bottom: 28px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.research-route-card a,
.research-links a {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.research-route-card a {
  align-self: end;
  min-height: 44px;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
}

.record-field-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.record-field-card {
  min-height: 220px;
}

.field-number {
  display: block;
  margin-bottom: 30px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.research-method {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
}

.research-method div {
  min-width: 0;
  padding: clamp(22px, 3vw, 30px);
  border-right: 1px solid var(--line);
}

.research-method div:last-child {
  border-right: 0;
}

.research-method dt {
  font-weight: 700;
}

.research-method dd {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.research-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.research-links a {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
  text-decoration: none;
}

.research-page a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .research-hero,
  .research-flow,
  .research-route-grid,
  .record-field-grid {
    grid-template-columns: 1fr;
  }

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

  .research-method div:nth-child(2) {
    border-right: 0;
  }

  .research-method div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .record-field-card,
  .research-route-card {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .research-method,
  .research-links {
    grid-template-columns: 1fr;
  }

  .research-method div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .research-method div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 360px) {
  .research-hero h1,
  .research-section-heading h2,
  .research-flow-card h3,
  .research-route-card h3,
  .record-field-card h3 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .research-page * {
    scroll-behavior: auto;
  }
}
