.paper-texture {
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    radial-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 24px 24px, 8px 8px;
  background-position: 0 0, 4px 4px;
}

.card-svc {
  background: #fbf8f1;
  border: 1px solid rgba(42, 42, 42, 0.1);
  border-radius: 0.625rem;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-svc:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -10px rgba(45, 74, 58, 0.25);
}

.field {
  border: 1px solid rgba(42, 42, 42, 0.2);
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  background: #fdfaf3;
  font-family: inherit;
  font-size: 1rem;
  color: #2a2a2a;
}
.field:focus {
  outline: 2px solid rgba(45, 74, 58, 0.35);
  outline-offset: 1px;
  border-color: #2d4a3a;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: #fdfaf3;
  border: 1px solid rgba(42, 42, 42, 0.15);
  font-size: 0.875rem;
  color: #2d4a3a;
}

html {
  scroll-behavior: smooth;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(42, 42, 42, 0.12);
  background: #f0eadb;
  cursor: zoom-in;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-tile:hover img {
  transform: scale(1.03);
}
.gallery-tile .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.6rem 0.85rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: #f5f0e6;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-tile:hover .cap,
.gallery-tile:focus-within .cap {
  opacity: 1;
}

#lightbox.show {
  display: flex;
}
