/* Homepage visual/SEO finishing pass, 2026-09-13. Page-scoped by design. */
.home-p1 .home-p1-hero-image {
  width: 64%;
  object-position: 50% 43%;
}

.home-p1 .home-p1-hero-scrim {
  background:
    linear-gradient(90deg, transparent 0%, transparent 35%, rgba(8, 14, 12, 0.2) 45%, rgba(8, 14, 12, 0.82) 57%, rgba(8, 14, 12, 0.98) 66%, #080e0c 73%, #080e0c 100%),
    linear-gradient(0deg, rgba(8, 14, 12, 0.46) 0%, transparent 34%);
}

.home-p1 .home-p1-hero-inner {
  width: min(500px, calc(100% - 48px));
}

.home-p1 .home-p1-hero h1 {
  font-size: clamp(3rem, 4.25vw, 4.8rem);
}

.home-p1 .home-release-actions {
  align-items: center;
}

.home-p1 .home-hero-support-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 4px;
  color: var(--aqua);
  font-weight: 850;
  text-underline-offset: 4px;
}

.home-p1 .home-p1-proof .claim-date a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 780;
  text-underline-offset: 3px;
}

.home-p1 .home-p1-story-card {
  display: flex;
  flex-direction: column;
}

.home-p1 .home-p1-story-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-p1 .home-p1-story-body .text-link {
  margin-top: auto;
}

.home-topic-links {
  width: min(100%, 980px);
  margin: 26px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.home-topic-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(16, 21, 20, 0.17);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.home-topic-links a:hover,
.home-topic-links a:focus-visible {
  border-color: var(--green);
  background: #fff;
  color: var(--green);
}

.home-p1 .home-p1-process {
  padding-block: clamp(60px, 7vw, 88px);
}

.home-p1 .home-p1-process-heading > p,
.home-p1 .home-p1-process-grid p {
  color: rgba(255, 255, 255, 0.8);
}

.home-p1 .home-p1-process-grid {
  margin-top: 34px;
}

.home-p1 .home-p1-process-grid li {
  min-height: 190px;
}

.home-p1 .home-p1-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-p1 .home-p1-about-card figure picture,
.home-p1 .home-p1-about-card figure img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-p1 .home-p1-about-card figure img {
  object-fit: cover;
  object-position: center 24%;
}

.home-p1 .home-about-structure-note {
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.96rem !important;
}

.home-p1 .home-p1-credibility h2 {
  max-width: 720px;
}

.home-p1 .home-p1-work-card .text-link {
  margin-right: 14px;
}

.home-p1 .home-p1-action-list a::after {
  content: "→";
  color: var(--green);
  font-weight: 900;
}

.home-p1 .home-p1-action-list a {
  grid-template-columns: minmax(140px, 0.42fr) minmax(0, 1fr) auto;
}

@media (max-width: 900px) {
  .home-p1 .home-p1-hero-inner {
    width: min(460px, calc(100% - 40px));
  }
}

@media (max-width: 600px) {
  .home-p1 .home-p1-hero-image {
    width: 100%;
    object-position: center center;
  }

  .home-p1 .home-p1-hero-scrim {
    background: linear-gradient(0deg, rgba(8, 14, 12, 0.52) 0%, transparent 54%);
  }

  .home-p1 .home-p1-hero-inner {
    width: min(100% - 32px, var(--max));
  }

  .home-p1 .home-release-actions {
    grid-template-columns: 1fr 1fr;
  }

  .home-p1 .home-release-actions .donation-primary {
    grid-column: auto;
  }

  .home-p1 .home-hero-support-link {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .home-topic-links {
    justify-content: flex-start;
  }

  .home-topic-links a {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    text-align: center;
  }

  .home-p1 .home-p1-process {
    padding-block: 54px;
  }

  .home-p1 .home-p1-process-grid li {
    min-height: 0;
  }

  .home-p1 .home-p1-action-list a {
    grid-template-columns: 1fr auto;
  }

  .home-p1 .home-p1-action-list a span {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-p1 .home-p1-story-image img,
  .home-p1 .home-topic-links a,
  .home-p1 .home-hero-support-link {
    transition: none !important;
  }
}
