/* Shared home-page footer and image-wall styles for every static page. */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 100; font-display: swap; src: url('../fonts/poppins/poppins-100-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 100; font-display: swap; src: url('../fonts/poppins/poppins-100-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.hero-image-wall {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--hero-wall-columns, 4), minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: #09090b;
  transform: translate3d(0, var(--parallax-shift, 0px), 0);
  will-change: transform;
}

.hero-image-wall__column,
.hero-image-wall__track,
.hero-image-wall__sequence,
.hero-image-wall__image {
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-image-wall__column {
  min-width: 0;
  overflow: hidden;
}

.hero-image-wall__track {
  display: flex;
  flex-direction: column;
  animation: hero-image-wall-scroll var(--hero-wall-duration) linear infinite;
  will-change: transform;
}

.hero-image-wall__track--reverse {
  animation-direction: reverse;
}

.hero-image-wall__sequence {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 0;
}

.hero-image-wall__image {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* White margin around each card; set after the reset above so it wins */
.hero-image-wall .hero-image-wall__image {
  padding: clamp(2.4rem, 4.8vw, 6.4rem);
  background-color: #fff;
}

@keyframes hero-image-wall-scroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-wall {
    transform: none;
  }

  .hero-image-wall__track {
    animation-play-state: paused;
    will-change: auto;
  }
}

/* ── Yarn-to-Hey stop-motion mark ────────────────────────────────── */
.yarn-hey-animation-root {
  display: flex;
  width: clamp(8rem, 11vw, 11rem);
  aspect-ratio: 2 / 1;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.yarn-hey-animation {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  appearance: none;
}

.yarn-hey-animation:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 0.25rem;
}

.yarn-hey-animation__frame {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

@media only screen and (max-width: 768px) {
  .yarn-hey-animation-root {
    width: 8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yarn-hey-animation {
    cursor: default;
  }
}

.footer.site-footer {
  --parallax-speed: 0.58;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 8rem;
  margin: 3rem 0 0;
  padding: 1.6rem 0;
  overflow: hidden;
  isolation: isolate;
  background-color: #09090b;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.colorscheme-dark .footer.site-footer {
  background-color: #09090b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.site-footer__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(9, 9, 11, 0.64);
}

.site-footer .hero-image-wall {
  min-height: 32rem;
  opacity: 0.82;
  transform: translate3d(
    0,
    calc(-12rem + var(--parallax-shift, 0px)),
    0
  );
}

.site-footer .hero-image-wall .hero-image-wall__image {
  padding: clamp(0.5rem, 1vw, 1.2rem);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem 2.4rem;
  max-width: none;
  margin: 0;
  padding-inline: clamp(1.2rem, 2vw, 2.4rem);
}

.site-footer__copy,
.site-footer__updated {
  margin: 0;
}

.site-footer__copy {
  justify-self: start;
}

.site-footer__updated {
  justify-self: end;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.site-footer__updated i {
  margin-right: 0.4em;
  color: #fff;
}

@media only screen and (max-width: 768px) {
  .footer.site-footer {
    --parallax-speed: 0.44;
    padding: 1.4rem 0;
    font-size: 1.4rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer__updated {
    justify-self: center;
  }
}


.site-footer__copy,
.site-footer__updated {
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 100;
}
