/* Gallery only: use the current homepage typography without changing its cards. */
.sp-page .sp-gallery {
  --sp-ink: var(--syn-section-ink);
  color: var(--sp-ink);
  font-family: var(--syn-section-font);
  background: linear-gradient(155deg, #fff 4%, #f0fdf4 100%);
}
.sp-page .sp-gallery .sp-heading h1 {
  font-size: var(--syn-section-size);
  font-weight: var(--syn-section-weight);
  line-height: var(--syn-section-leading);
  letter-spacing: var(--syn-section-tracking);
  margin-top: var(--syn-section-gap);
}
.sp-page .sp-gallery .sp-heading-centered {
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
}
.sp-page .sp-gallery .sp-heading-centered h1 {
  max-width: 680px;
  margin-inline: auto;
}
.sp-page .sp-gallery .sp-kicker {
  font-size: var(--syn-label-size);
  font-weight: var(--syn-label-weight);
  letter-spacing: var(--syn-label-tracking);
  line-height: 16px;
  padding: var(--syn-label-padding);
  border-radius: var(--syn-label-radius);
  color: #065f46;
  background: #ecfdf5;
  border-color: #a7f3d0;
  box-shadow: 0 1px 2px rgb(0 0 0 / .05);
}
.sp-page .sp-gallery .sp-kicker:before { background: #059669; box-shadow: none; }
.sp-page .sp-gallery .sp-project {
  border-color: #d1e5db;
  box-shadow: 0 16px 42px -30px rgb(6 78 59 / .3);
}
.sp-page .sp-gallery .sp-project-info { padding: 28px; }
.sp-page .sp-gallery h3 {
  color: var(--syn-section-ink);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: var(--syn-section-tracking);
}
.sp-page .sp-gallery .sp-description,
.sp-page .sp-gallery .sp-ending p { color: #475569; font-size: 15px; line-height: 1.75; }
.sp-page .sp-gallery .sp-industry {
  color: #475569; font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .1em;
}
.sp-page .sp-gallery .sp-tags li {
  color: #475569; font-size: 11px; font-weight: 500; border-color: #cbd5d1; background: #f6faf7;
}
.sp-page .sp-gallery .sp-browser { color: #475569; }
.sp-page .sp-gallery .sp-demo-label { color: #065f46; }
.sp-page .sp-gallery .sp-project-link,
.sp-page .sp-gallery .sp-button {
  color: #fff; background: #059669; border-color: #059669;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 8px 22px rgb(5 150 105 / .14), inset 0 1px 1px rgb(255 255 255 / .2);
  transition: background .2s, border-color .2s;
}
@media (hover: hover) {
  .sp-page .sp-gallery .sp-project-link:hover,
  .sp-page .sp-gallery .sp-button:hover { background: #047857; border-color: #047857; }
}
@media (max-width: 639px) {
  .sp-page .sp-gallery .sp-project-info { padding: 24px; }
  .sp-page .sp-gallery h3 { font-size: 26px; }
  .sp-page .sp-gallery .sp-description { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-page .sp-gallery .sp-project-link,
  .sp-page .sp-gallery .sp-button { transition: none; }
}
