/* ============================================================
   SERVICES PAGE
   ============================================================ */

/* --- Video Hero --- */
.services-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: var(--space-16);
}

.services-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-surface-1);
}

.services-hero__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.48) saturate(1.1);
}

.services-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(13,9,7,0.92) 0%, rgba(13,9,7,0.1) 60%, transparent 100%),
    linear-gradient(to right, rgba(13,9,7,0.4) 0%, transparent 60%);
}

.services-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-12);
}

/* When no video — show atmospheric dark gradient */
.services-hero__video-wrap:not(:has(video[src])) {
  background: linear-gradient(160deg, #1a1410 0%, #2a1e16 50%, #0d0907 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  padding-bottom: var(--space-32);
  margin-top: var(--space-4);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--color-surface-1);
  padding: var(--space-12) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: background var(--transition);
  min-height: 360px;
}

.service-card:hover {
  background: var(--color-surface-2);
}

.service-card__number {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-coral);
}

.service-card__name {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
  color: var(--color-heading);
}

.service-card__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}

.service-card__description {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.75;
  flex: 1;
}

/* --- Event Styling Gallery --- */
.services-gallery {
  padding: var(--space-24) 0 var(--space-16);
  border-top: 1px solid var(--color-border);
}

.services-gallery__header {
  margin-bottom: var(--space-10);
}

.services-gallery__label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-coral);
  margin-bottom: var(--space-2);
}

.services-gallery__title {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 300;
  font-style: italic;
  color: var(--color-heading);
  line-height: 1.1;
}

.services-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 6px;
}

@media (min-width: 768px) {
  .services-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 260px 260px;
  }

  .gallery-item--tall {
    grid-row: span 2;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }
}

.gallery-item {
  overflow: hidden;
  background: var(--color-surface-1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.92) saturate(1.05);
  aspect-ratio: 1 / 1;
}

@media (min-width: 768px) {
  .gallery-item img {
    aspect-ratio: unset;
  }
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1.1);
}

/* --- Services Note --- */
.services-note {
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-border);
  max-width: 72ch;
}

.services-note p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.services-note p + p {
  margin-top: var(--space-4);
}
