/* Home 2026 — direção visual inspirada em instituições sociais contemporâneas. */

.home-page {
  --home-navy: #071126;
  --home-blue: #071126;
  --home-blue-dark: #071126;
  --home-accent: #071126;
  --home-ink: #01071a;
  --home-paper: #f7f7f2;
  --home-white: #fff;
  --navy: #071126;
  --navy-soft: #071126;
  --heading: #02091a;
  --heading-blue: #00235a;
  background: var(--home-paper);
  color: #4d5666;
}

.home-page .container {
  width: min(100% - 36px, 1180px);
}

.home-page .section-title {
  color: var(--home-ink);
  font-size: clamp(2.2rem, 6.5vw, 4.5rem);
  line-height: 0.98;
  text-wrap: balance;
}

.home-page .section-title--light {
  color: var(--home-white);
}

.home-page .eyebrow {
  margin-bottom: 12px;
  color: var(--home-blue-dark);
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.home-page .button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-family: "Yantramanav", sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.home-page .button:hover {
  transform: translateY(-2px);
}

.home-page .button--accent {
  background: var(--home-accent);
  color: var(--home-white);
}

.home-page .button--accent:hover {
  background: #18213a;
}

.home-page .button--ghost {
  border-color: currentColor;
  color: var(--home-white);
}

.home-page .button--ghost:hover {
  background: var(--home-white);
  color: var(--home-ink);
}

.home-page .button--dark {
  background: var(--home-navy);
  color: var(--home-white);
}

/* Cabeçalho */
.home-page .site-header {
  position: sticky;
  top: 0;
  display: block;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 3px 22px rgb(1 7 26 / 8%);
  pointer-events: auto;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.home-page .site-nav {
  width: min(100% - 32px, 1180px);
  min-height: 74px;
  margin-inline: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 10px 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-page .site-header.is-scrolled .site-nav {
  background: transparent;
  box-shadow: none;
}

.home-page .nav-brand {
  display: block;
  width: 148px;
  flex: 0 0 auto;
}

.home-page .nav-brand img {
  width: 100%;
  height: auto;
  filter: brightness(0) saturate(100%) invert(8%) sepia(31%) saturate(2066%) hue-rotate(187deg) brightness(86%);
}

.home-page .nav-toggle {
  display: inline-grid;
  color: var(--home-navy);
}

.home-page .nav-links {
  top: calc(100% + 1px);
  border: 0;
  border-radius: 0 0 16px 16px;
  background: var(--home-white);
  box-shadow: 0 18px 32px rgb(1 7 26 / 14%);
  padding: 10px 16px 18px;
}

.home-page .nav-links a {
  color: var(--home-ink);
  font-weight: 700;
}

.home-page .nav-links a:hover,
.home-page .nav-links a[aria-current="page"] {
  background: rgb(1 7 26 / 8%);
  color: var(--home-blue-dark);
}

.home-page .nav-links .nav-cta {
  margin-top: 5px;
  border-radius: 999px;
  background: var(--home-accent);
  color: var(--home-white);
  text-align: center;
}

/* Hero */
.home-page .hero {
  min-height: min(760px, calc(100svh - 74px));
  align-items: end;
  background: var(--home-navy) url("../assets/images/aula-2-selecao/aula-2-mentoria-horizontal-img-7664.jpg") 57% center / cover no-repeat;
}

.home-page .hero::after {
  background:
    linear-gradient(180deg, rgb(1 7 26 / 12%) 0%, rgb(1 7 26 / 42%) 100%),
    linear-gradient(90deg, rgb(1 7 26 / 18%) 0%, rgb(1 7 26 / 28%) 38%, rgb(1 7 26 / 68%) 66%, rgb(1 7 26 / 96%) 100%);
}

.home-page .hero__inner {
  display: flex;
  align-items: end;
  padding-block: 100px 76px;
}

.home-page .hero__content {
  max-width: 900px;
}

.home-page .hero h1 {
  max-width: 900px;
  font-size: clamp(2.6rem, 9vw, 5rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.home-page .hero__lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 84%);
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  line-height: 1.55;
}

/* Programas */
.home-page .mission {
  background: var(--home-blue);
  padding-block: 84px 92px;
}

.home-page .mission__heading {
  max-width: 840px;
  margin: 0 auto 44px;
}

.home-page .mission__heading .eyebrow {
  color: var(--home-white);
}

.home-page .mission__heading .section-title {
  color: var(--home-white);
  font-size: clamp(2.8rem, 9vw, 5.6rem);
}

.home-page .section-intro {
  max-width: 700px;
  margin: 22px auto 0;
  color: rgb(255 255 255 / 88%);
  font-weight: 600;
}

.home-page .mission-grid {
  gap: 18px;
}

.home-page .mission-card {
  overflow: hidden;
  border-radius: 16px;
  background: var(--home-white);
  box-shadow: 0 18px 50px rgb(1 7 26 / 13%);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.home-page .mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgb(1 7 26 / 20%);
}

.home-page .mission-card__media {
  aspect-ratio: 16 / 10;
}

.home-page .mission-card__body {
  position: relative;
  min-height: 300px;
  padding: 28px 25px 30px;
}

.home-page .mission-card h3 {
  position: relative;
  margin: 0 0 18px;
  color: var(--home-navy);
  font-size: 1.65rem;
}

.home-page .mission-card p {
  position: relative;
  color: #576071;
  font-size: 0.91rem;
  line-height: 1.72;
}

/* Instituto */
.home-page .about {
  overflow: hidden;
  background: var(--home-paper);
  padding-block: 92px;
}

.home-page .about__inner {
  gap: 60px;
}

.home-page .about__media {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.home-page .about__shape {
  position: absolute;
  z-index: -1;
  width: min(92%, 480px);
  aspect-ratio: 1;
  border-radius: 48% 52% 55% 45% / 44% 45% 55% 56%;
  background: var(--home-blue);
  transform: rotate(-8deg);
}

.home-page .about__video {
  width: min(76%, 380px);
  border: 10px solid var(--home-white);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgb(1 7 26 / 20%);
}

.home-page .about__copy {
  max-width: 550px;
}

.home-page .about__copy p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.75;
}

.home-page .about__signature {
  border-left: 4px solid var(--home-accent);
  padding-left: 18px;
}

.home-page .about__copy .button {
  margin-top: 26px;
}

/* Galeria */
.home-page .gallery {
  background: #f3f3f0;
  padding-block: 88px 96px;
}

.home-page .gallery__heading {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.home-page .gallery__heading > div {
  max-width: 800px;
}

.home-page .gallery__heading .section-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
}

.home-page .gallery__heading .text-link {
  margin: 0;
}

.home-page .gallery__grid {
  display: grid;
  grid-auto-rows: 260px;
  gap: 12px;
}

.home-page .gallery__item {
  overflow: hidden;
  margin: 0;
  border-radius: 14px;
  background: #dddeda;
}

.home-page .gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.home-page .gallery__item:hover img {
  transform: scale(1.035);
}

/* Apoiadores */
.home-page .supporters {
  background: var(--home-navy);
  padding-block: 54px 62px;
}

.home-page .supporters h2 {
  margin-bottom: 36px;
  font-family: "Yantramanav", sans-serif;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 900;
}

.home-page .logo-carousel {
  width: min(100%, 1380px);
  margin-inline: auto;
  padding-inline: 24px;
}

.home-page .logo-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scroll-behavior: auto;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  touch-action: auto;
  mask-image: none;
  -webkit-mask-image: none;
}

.home-page .logo-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.home-page .logo-carousel__viewport:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.home-page .logo-carousel__viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.home-page .logo-carousel__track {
  width: max-content;
  padding-inline: 8px;
  animation: none;
  transform: none;
}

.home-page .supporter-logo {
  width: 188px;
}

.home-page .supporter-logo img {
  width: 158px;
  max-height: 80px;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 640px) {
  .home-page .logo-carousel {
    padding-inline: 14px;
  }

  .home-page .supporter-logo {
    width: 154px;
    margin-inline: 8px;
  }
}

/* Apoie */
.home-page .join {
  min-height: 0;
  background: var(--home-white);
}

.home-page .join__copy {
  width: min(100% - 36px, 560px);
  margin-inline: auto;
  padding-block: 76px 64px;
}

.home-page .join__copy p:last-of-type {
  max-width: 540px;
  margin-top: 24px;
  font-size: 1rem;
  line-height: 1.75;
}

.home-page .join__copy .button {
  margin-top: 26px;
}

.home-page .join__image {
  aspect-ratio: 3 / 2;
  object-position: center;
}

/* Time */
.home-page .team {
  background: var(--home-navy);
  padding-block: 88px 98px;
}

.home-page .team__heading {
  max-width: 700px;
  margin: 0 auto 42px;
}

.home-page .team__heading .eyebrow {
  color: var(--home-white);
}

.home-page .team__heading > p:last-child {
  margin: 20px auto 0;
  color: #bec5d2;
}

.home-page .team-grid {
  gap: 16px;
}

.home-page .person {
  border-radius: 14px;
  background: #dce1e5;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 420ms ease;
}

.home-page .person:hover,
.home-page .person:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgb(0 0 0 / 35%);
}

.home-page .person > img {
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), filter 420ms ease;
}

.home-page .person figcaption {
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.94);
  clip-path: circle(0% at 50% 54%);
  background: linear-gradient(155deg, rgb(1 7 26 / 88%), rgb(7 17 38 / 96%));
  padding: 24px 14px;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: clip-path 680ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: clip-path, transform;
}

.home-page .person figcaption > * {
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 260ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .person:hover figcaption,
.home-page .person:focus-within figcaption {
  transform: scale(1);
  clip-path: circle(80% at 50% 54%);
  opacity: 1;
  pointer-events: auto;
}

.home-page .person:hover > img,
.home-page .person:focus-within > img {
  transform: scale(1.075);
  filter: saturate(0.86) contrast(1.08);
}

.home-page .person:hover figcaption > *,
.home-page .person:focus-within figcaption > * {
  transform: translateY(0);
  opacity: 1;
}

.home-page .person:hover .person__role,
.home-page .person:focus-within .person__role {
  transition-delay: 55ms;
}

.home-page .person:hover .person__instagram,
.home-page .person:focus-within .person__instagram {
  transition-delay: 240ms;
}

.home-page .person:hover .person__instagram svg,
.home-page .person:focus-within .person__instagram svg {
  animation: person-instagram-pulse 1.25s ease-in-out 700ms infinite;
}

.home-page .person__role {
  color: var(--home-white);
}

.home-page .person__bio {
  display: none;
}

.home-page .person__instagram {
  display: inline-flex;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--home-white);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 260ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .person__instagram svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.home-page .person__instagram span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .person__instagram:hover,
.home-page .person__instagram:focus-visible {
  border-color: var(--home-white);
  background: var(--home-white);
  color: var(--home-navy);
}

@keyframes person-instagram-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.18);
  }
}

/* Blog */
.home-page .home-blog {
  background: var(--home-blue);
  padding-block: 88px 96px;
}

.home-page .home-blog__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
  text-align: left;
}

.home-page .home-blog__heading .eyebrow {
  color: var(--home-white);
}

.home-page .home-blog__heading .section-title {
  color: var(--home-white);
}

.home-page .home-blog__heading .button--ghost {
  flex: 0 0 auto;
  border-color: var(--home-white);
  color: var(--home-white);
}

.home-page .home-blog__heading .button--ghost:hover {
  background: var(--home-white);
  color: var(--home-blue);
}

.home-page .featured-post {
  overflow: hidden;
  gap: 0;
  border-radius: 18px;
  padding: 0;
}

.home-page .featured-carousel__slides {
  display: grid;
}

.home-page .featured-post--slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(28px) scale(0.985);
  transition:
    opacity 480ms ease,
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 560ms;
}

.home-page .featured-post--slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 80ms, 80ms, 0s;
}

.home-page .featured-carousel__controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.home-page .featured-carousel__arrow {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 50%;
  background: transparent;
  color: var(--home-white);
  font: inherit;
  font-size: 1.15rem;
  cursor: pointer;
  place-items: center;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.home-page .featured-carousel__arrow:hover,
.home-page .featured-carousel__arrow:focus-visible {
  background: var(--home-white);
  color: var(--home-blue);
  transform: translateY(-2px);
}

.home-page .featured-carousel__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-page .featured-carousel__dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgb(255 255 255 / 38%);
  cursor: pointer;
  transition: width 260ms ease, background-color 260ms ease;
}

.home-page .featured-carousel__dots button.is-active {
  width: 28px;
  background: var(--home-white);
}

.home-page .featured-post__image-link {
  min-height: 360px;
  border-radius: 0;
}

.home-page .featured-post__copy {
  padding: 34px 28px;
}

.home-page .featured-post h3 {
  font-size: clamp(2rem, 7vw, 3.2rem);
}

/* Doações */
.home-page .donation {
  border-top: 1px solid rgb(255 255 255 / 10%);
  background: var(--navy-soft);
  padding-block: 88px 96px;
  color: var(--home-white);
}

.home-page .donation__heading {
  max-width: none;
  margin-bottom: 42px;
}

.home-page .donation__heading .eyebrow {
  color: rgb(255 255 255 / 65%);
}

.home-page .donation__heading .section-title {
  font-size: clamp(2.1rem, 4.2vw, 3.75rem);
}

.home-page .donation__layout {
  display: grid;
  gap: 48px;
}

.home-page .donation__image-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
}

.home-page .donation__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-page .donation__pix {
  display: grid;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 18px;
  background: rgb(255 255 255 / 5%);
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
}

.home-page .donation__qr {
  width: 160px;
  overflow: hidden;
  border: 6px solid var(--home-white);
  border-radius: 18px;
  background: var(--home-white);
}

.home-page .donation__qr img {
  display: block;
  width: 100%;
  height: auto;
}

.home-page .donation__label {
  display: block;
  color: rgb(255 255 255 / 58%);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-page .donation__pix-action {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 16px;
}

.home-page .donation__pix-logo {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  margin: 0;
  object-fit: contain;
}

.home-page .donation__copy {
  min-height: 38px;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 999px;
  background: var(--home-white);
  padding: 8px 14px;
  color: var(--home-navy);
  font-family: "Yantramanav", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.home-page .donation__copy:hover {
  transform: translateY(-2px);
  background: #eef0f5;
}

.home-page .donation__copy:focus-visible {
  outline: 2px solid var(--home-white);
  outline-offset: 3px;
}

.home-page .donation__org {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}

.home-page .donation__org-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.home-page .donation__org strong,
.home-page .donation__org span {
  display: block;
}

.home-page .donation__org strong {
  color: var(--home-white);
}

.home-page .donation__org span {
  margin-top: 3px;
  color: rgb(255 255 255 / 68%);
  font-size: 0.76rem;
}

.home-page .donation__instructions {
  align-self: start;
}

.home-page .donation__instructions h3 {
  margin: 0 0 8px;
  color: var(--home-white);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.home-page .donation__instructions > p {
  max-width: 520px;
  color: rgb(255 255 255 / 72%);
  line-height: 1.7;
}

.home-page .donation__instructions ol {
  display: grid;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: donation-step;
  gap: 24px;
}

.home-page .donation__instructions li {
  position: relative;
  min-height: 38px;
  padding-left: 54px;
  color: rgb(255 255 255 / 76%);
  line-height: 1.55;
  counter-increment: donation-step;
}

.home-page .donation__instructions li::before {
  position: absolute;
  top: -4px;
  left: 0;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 50%;
  color: var(--home-white);
  content: counter(donation-step, decimal-leading-zero);
  font-family: "Yantramanav", sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
}

.home-page .donation__instructions strong {
  color: var(--home-white);
}

/* Rodapé */
.home-page .site-footer {
  border-top: 1px solid rgb(255 255 255 / 12%);
  background: var(--home-blue-dark);
  padding-block: 52px;
}

.home-page .footer__brand img {
  width: 190px;
  filter: brightness(0) invert(1);
}

.home-page .footer__nav a:hover {
  color: var(--home-white);
}

@media (min-width: 620px) {
  .home-page .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-page .gallery__item--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  .home-page .donation__heading .section-title {
    white-space: nowrap;
  }

  .home-page .donation__instructions {
    transform: translateY(-18px);
  }

  .home-page .site-nav {
    width: max-content;
    max-width: calc(100% - 32px);
    min-height: 82px;
    justify-content: center;
    gap: 22px;
  }

  .home-page .nav-brand {
    display: block;
    width: 148px;
  }

  .home-page .nav-toggle {
    display: none;
  }

  .home-page .nav-links {
    position: static;
    display: flex;
    align-items: center;
    gap: 2px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .home-page .nav-links a {
    padding: 9px 11px;
    font-size: 0.83rem;
  }

  .home-page .nav-links .nav-cta {
    margin: 0 0 0 8px;
    padding-inline: 18px;
  }

  .home-page .hero {
    min-height: min(760px, calc(100svh - 82px));
    background-position: center;
  }

  .home-page .hero__inner {
    display: flex;
    padding-block: 110px 88px;
  }

  .home-page .hero h1 {
    font-size: clamp(3.2rem, 4.4vw, 4.2rem);
  }

  .home-page .hero h1 span {
    display: block;
    white-space: nowrap;
  }

  .home-page .hero__lead span {
    white-space: nowrap;
  }

  .home-page .mission {
    padding-block: 104px 112px;
  }

  .home-page .mission-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-page .mission-card__body {
    min-height: 365px;
  }

  .home-page .about {
    padding-block: 110px;
  }

  .home-page .about__inner {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .home-page .about__copy {
    padding: 0;
  }

  .home-page .gallery__heading {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .home-page .gallery__grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 250px);
  }

  .home-page .gallery__item:nth-child(1) {
    grid-column: span 7;
  }

  .home-page .gallery__item:nth-child(2) {
    grid-column: span 5;
    grid-row: span 2;
  }

  .home-page .gallery__item:nth-child(3),
  .home-page .gallery__item:nth-child(4) {
    grid-column: span 3;
  }

  .home-page .gallery__item:nth-child(4) {
    grid-column: span 4;
  }

  .home-page .join {
    grid-template-columns: 1fr 1fr;
    min-height: min(640px, calc(100vw / 3));
  }

  .home-page .join__copy {
    width: min(100% - 56px, calc(590px - 28px));
    margin-right: 28px;
    margin-left: max(48px, calc((100vw - 1600px) / 2));
    padding-block: 84px;
  }

  .home-page .join__image {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .home-page .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-page .featured-post {
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  }

  .home-page .featured-post__copy {
    padding: 44px;
  }

  .home-page .donation__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: start;
  }

  .home-page .footer__inner {
    grid-template-columns: auto 1fr auto;
    text-align: left;
  }

  .home-page .footer__brand,
  .home-page .footer__nav {
    justify-content: flex-start;
  }
}

@media (min-width: 1050px) {
  .home-page .site-nav {
    gap: 0;
    transform: translateX(-7px);
  }

  .home-page .nav-brand {
    width: 158px;
  }

  .home-page .nav-links {
    gap: 8px;
  }

  .home-page .nav-links a {
    padding-inline: 13px;
    font-size: 0.9rem;
  }

  .home-page .mission-card__body {
    min-height: 320px;
  }

  .home-page .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 767px) {
  .home-page .home-blog__heading {
    display: grid;
    align-items: start;
  }

  .home-page .home-blog__heading .button {
    justify-self: start;
  }

  .home-page .join__image {
    height: auto;
  }

  .home-page .donation__pix {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 18px;
  }

  .home-page .donation__qr {
    width: 128px;
  }
}

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

  .home-page .donation__qr {
    width: min(100%, 200px);
  }

}

@media (prefers-reduced-motion: reduce) {
  .home-page .mission-card,
  .home-page .gallery__item img,
  .home-page .button,
  .home-page .person,
  .home-page .person > img,
  .home-page .person figcaption,
  .home-page .person figcaption > * {
    transition: none;
  }

  .home-page .person:hover .person__instagram svg,
  .home-page .person:focus-within .person__instagram svg {
    animation: none;
  }
}
