/* Each section fills a screen; content may grow on smaller screens or at zoom. */
main > section {
  min-height: 100svh;
  scroll-margin-top: calc(-1 * var(--anchor-offset));
}

.hero {
  max-height: none;
}

.work-stage {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--anchor-offset) 40px;
}

.work-section {
  border-top: 0;
}

.services-stage {
  padding-block: var(--anchor-offset);
}

.services-gallery {
  margin-top: clamp(48px, 10svh, 96px);
}

.service-art {
  max-width: min(100%, 28svh);
}

@media (min-width: 1024px) and (max-height: 680px) {
  .services-gallery { margin-top: 48px; }
  .service-art { max-width: min(100%, 24svh); }
  .service-copy { margin-top: 16px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .service-art { max-width: min(100%, 20svh); }
  .service-copy { margin-top: 16px; }
}

@media (min-width: 768px) and (max-width: 1023px) and (max-height: 800px) {
  .service-art { max-width: min(100%, 14svh, 145px); }
  .service-copy h3 { font-size: 18px; min-height: 2.6em; }
  .service-copy p { font-size: 12px; }
}

@media (max-width: 1023px) {
  .services-gallery { margin-top: 32px; }
}

@media (max-width: 767px) {
  .service-art { max-width: min(100%, 14svh, 145px); }
  .service-copy { margin-top: 8px; }
  .service-copy h3 { font-size: 16px; min-height: 2.6em; }
  .service-copy p { margin-top: 6px; min-height: 4.5em; }

}
