* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "greycliff-cf", sans-serif;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.92);
  background: #823730 url("/SpatioTemporal_Background_v2.png") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

body {
  overflow-x: hidden;
}

.research-page {
  min-height: 100vh;
}

.research-overlay {
  min-height: 100vh;
  /*background: rgba(40, 8, 5, 0.24);*/
  background: transparent;
}

.site-nav-small {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 100;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.site-nav-small a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-nav-small a:hover {
  color: rgba(255, 255, 255, 0.96);
}

.site-nav-small .nav-dot {
  color: rgba(255, 255, 255, 0.38);
}

.research-hero,
.research-article,
.research-index-hero,
.research-list {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
}

.research-hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 112px 0 72px;
}

.research-index-hero {
  min-height: 38vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 112px 0 36px;
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 12px !important;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.62);
}

.research-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(36px, 10vw, 90px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
}

.research-index-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(2.0rem, 4.5vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
  text-align: center;
  color: rgba(255, 255, 255, 0.96);
}

.research-index-hero h1 span {
  font-weight: 200;
}

.research-hero h2 {
  margin: 0 0 32px;
  font-size: clamp(18px, 4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}

.dek {
  margin: 0 0 32px;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
}

.hero-line {
  max-width: 760px;
  margin: 0;
  font-size: clamp(16px, 2vw, 20px) ;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.50);
  padding-top: 50px;
}

.research-article {
  padding-bottom: 160px;
}

.research-article section {
  float: none;
  display: block;
  height: auto;
  padding: 80px 0;
}

.research-article h2 {
  margin: 0 0 32px;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
}

.research-article h3 {
  margin: 40px 0 12px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.research-article p,
.research-article li,
.research-index-hero p,
.research-card p {
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.research-article p,
.research-index-hero p,
.research-card p {
  margin: 0 0 24px;
}

.research-article ul {
  margin: 24px 0 32px;
  padding-left: 1.2em;
}

.research-article li {
  margin-bottom: 12px;
}

blockquote {
  margin: 48px 0;
  padding-left: 28px;
  border-left: 2px solid rgba(255, 255, 255, 0.45);
}

blockquote p {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.94);
}

pre {
  white-space: pre-wrap;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px;
  margin: 28px 0;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.image-placeholder {
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  padding: 48px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
}

.image-placeholder p {
  font-size: 16px;
  line-height: 1.5;
}

.closing {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.closing-line {
  margin: 0 0 28px;
  font-size: clamp(36px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.94);
}

.research-list {
  padding-bottom: 160px;
}

.research-card {
  display: block;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: inherit;
    text-align: center !important;

  text-decoration: none;
}

.research-card:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.research-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.08;
    text-align: center;

  letter-spacing: 0;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
}

.research-card:hover h2 {
  color: #fff;
}

@media (max-width: 720px) {
  html,
  body {
    background-attachment: scroll;
  }

  .site-nav-small {
    top: 18px;
    right: 20px;
    font-size: 11px;
  }

  .research-hero,
  .research-article,
  .research-index-hero,
  .research-list {
    width: min(100% - 32px, 860px);
  }

  .research-hero {
    min-height: 84vh;
    padding-top: 88px;
  }

  .research-article section {
    padding: 56px 0;
  }

  .image-placeholder {
    padding: 28px;
  }
}
