/* Homepage-only evidence cards; original research pages and visuals stay unchanged. */
.page-home div.home-container {
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
}

.page-home div.home-container .home-intro {
  justify-content: flex-start;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.page-home div.home-container .home-intro p {
  padding: 0;
}

@media (min-width: 769px) {
  .page-home div.home-container {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    column-gap: clamp(3rem, 6vw, 7rem);
  }

  /* Only the intro sets the row height; the torus follows it instead of expanding it. */
  .page-home div.home-container .home-profile {
    position: relative;
    min-height: 0;
  }

  .page-home div.home-container .home-profile .home-kinetic-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    max-width: 100%;
    height: 100%;
    min-height: 0;
  }
}

.page-home .home-evidence {
  flex: 0;
  padding-bottom: clamp(3rem, 7vh, 5rem);
}

.page-home .home-evidence > h2 {
  padding: 0;
  margin-bottom: 1.25rem;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.3;
}

.page-home .home-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.5rem);
}

.page-home .home-evidence-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1rem, 1.4vw, 1.4rem);
  border: 1px solid #dce3e2;
  border-radius: 18px;
  background: #fafcfb;
  color: #353535;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.page-home .home-evidence-card--alpha {
  background: linear-gradient(145deg, #f0f8f6, #fff 80%);
}

.page-home .home-evidence-card--surface {
  background: linear-gradient(145deg, #f8f3eb, #fff 80%);
  border-color: #e5dfd5;
}

.page-home .home-evidence-card--hamjepa {
  background: linear-gradient(145deg, #f1f5f9, #fff 80%);
}

.page-home .home-evidence-card:hover {
  border-color: #8eaaa3;
  box-shadow: 0 8px 24px rgba(25, 56, 51, 0.07);
}

.page-home .home-evidence-card:focus-visible {
  outline: 3px solid #2a64d6;
  outline-offset: 4px;
}

.page-home .home-evidence-card h3 {
  margin: 0;
  padding: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.page-home .home-evidence-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.page-home .home-evidence-acceptance {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.4rem 0.65rem;
  border: 1px solid #bad9c4;
  border-radius: 999px;
  background: #e6f3e9;
  color: #24603a;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.page-home .home-evidence-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  align-items: center;
  gap: 0.9rem;
}

.page-home .home-evidence-body p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

.page-home .home-evidence-visual {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  background: #e8eeee;
}

.page-home .home-evidence-visual .pkv {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: inherit;
}

.page-home .home-evidence-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  color: #3d6359;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .page-home .home-evidence-grid {
    grid-template-columns: 1fr;
  }

  .page-home .home-evidence-body {
    grid-template-columns: minmax(0, 1fr) 104px;
  }
}

@media (max-width: 480px) {
  .page-home .home-evidence-body {
    grid-template-columns: minmax(0, 1fr) 80px;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-evidence-card {
    transition: none;
  }
}
