#hero-title > span { display: block; }

.photo-board { padding-top: 0; }

.board-grid {
  columns: 4;
  column-gap: .75rem;
  margin-top: 2rem;
}
.board-grid img {
  width: 100%;
  height: auto;
  margin-bottom: .75rem;
  break-inside: avoid;
}

.quotes { grid-template-columns: 1fr; }
.quotes figure {
  display: grid;
  grid-template-columns: clamp(105px, 17vw, 200px) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(.85rem, 3vw, 2rem);
  padding: clamp(1rem, 1.8vw, 1.5rem);
}
.quotes figure > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 0;
  object-position: 50% 35%;
}
.quotes strong { font-size: 1.15rem; line-height: 1.2; }
.quotes blockquote { margin-top: .55rem; font-size: 1.075rem; line-height: 1.45; }
.quotes figcaption { display: block; font-weight: inherit; }
.quotes .runner-name { display: block; margin-top: .55rem; font-weight: 750; }

@media (max-width: 850px) {
  .board-grid { columns: 3; }
}
@media (max-width: 540px) {
  .board-grid { columns: 2; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-content > .eyebrow { animation: rise-in .7s cubic-bezier(.2,.7,.2,1) both; }
  #hero-title > span { animation: rise-in .55s cubic-bezier(.2,.7,.2,1) .12s both; }
  #hero-title > span:nth-child(2) { animation-delay: .58s; }
  #hero-title > span:nth-child(3) { animation-delay: 1.04s; }
  .hero-content > p:nth-of-type(2),
  .hero-content > a { animation: fade-in .55s ease-out 1.64s both; }
  .hero-content > a:focus-visible { animation: none; }
  .hero figure img { animation: photo-in 1s ease-out both; }
  .button { transition: background-color .2s ease, transform .2s ease; }
  .button:hover { transform: translateY(-3px); }
  .reveal { animation: rise-in .65s cubic-bezier(.2,.7,.2,1) var(--entrance-delay, 0ms) both; }
  .feature-grid > .awaiting-scroll { opacity: 0; }
  .feature-grid > .reveal { animation-name: fade-in; }
}
@keyframes rise-in {
  from { opacity: .2; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes photo-in {
  from { opacity: .5; transform: scale(1.09); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.photo-sets.is-rotating .board-grid + .board-grid { display: none; }
.photo-sets.is-rotating img {
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.photo-sets.is-rotating img[data-shape="landscape"] { aspect-ratio: 4 / 3; }

@media (prefers-reduced-motion: no-preference) {
  .board-grid img.is-entering { animation: fade-in .45s ease-out; }
}
