/* V107: fine-tune the welcome logo 3px above the previous alignment. */
.home-hero .home-heading-subline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.home-hero .home-welcome-logo {
  display: block;
  flex: 0 1 320px;
  width: 320px;
  min-width: 0;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  /* The band is centered at y=801.5 in the 1951px asset. Source Sans Pro's
     lowercase center sits .108em below the center of its line box. */
  transform: translateY(calc(8.92% + .108em - 3px));
}

@media (max-width: 760px) {
  .home-hero .home-heading-subline {
    gap: 12px;
  }

  .home-hero .home-welcome-logo {
    flex-basis: 250px;
    width: 250px;
  }
}

/* V139: club motto between the existing preview cards and the daily verse. */
.home-motto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 44px;
  padding: 28px;
  border-radius: 16px;
  background: #f5f2ee;
}
.home-motto-art {
  min-width: 0;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  border-radius: 10px;
}
.home-motto-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.home-motto-content { min-width: 0; }
.home-motto-content h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
}
.home-motto-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.home-motto-links .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  border-radius: 12px;
}
@media (max-width: 760px) {
  .home-motto {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 30px;
    padding: 18px;
  }
  .home-motto-content h2 { margin-bottom: 20px; }
}

/* V141: equal widths for the three club links, bounded on small screens. */
.home-motto-links {
  width: 100%;
  max-width: 280px;
  align-items: stretch;
}
.home-motto-links .btn {
  box-sizing: border-box;
  width: 100%;
}

/* V144: the complete mirrored footer pattern, at the existing triangle scale. */
.home-motto {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.home-motto::before {
  content: "";
  position: absolute;
  right: 0;
  transform: translateX(16%);
  bottom: -5px;
  width: min(340px, 40%);
  aspect-ratio: 44 / 37;
  z-index: 0;
  pointer-events: none;
  background: url("home-motto-triangles.svg?v=144") no-repeat right bottom / contain;
}
.home-motto-art,
.home-motto-content {
  position: relative;
  z-index: 1;
}
@media (max-width: 760px) {
  .home-motto::before { width: min(230px, 65%); }
}
