.services {
  background: linear-gradient(180deg, var(--brand-secondary) 0, var(--brand-surface) 10rem);
}

.services__grid {
  display: grid;
  border-top: 1px solid var(--brand-border);
  border-left: 1px solid var(--brand-border);
}

.service-card {
  position: relative;
  min-height: 19rem;
  padding: 1.5rem;
  border-right: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
  transition: background .25s,transform .25s;
}

.service-card:hover {
  z-index: 1;
  background: var(--brand-primary);
  color: var(--brand-dark-text);
  transform: translateY(-4px);
}

.service-card__number {
  font-size: .72rem;
  color: var(--brand-muted);
}

.service-card svg {
  width: 3rem;
  margin: 3rem 0 2rem;
  fill: none;
  stroke: var(--brand-primary);
  stroke-width: 1.5;
}

.service-card:hover svg {
  stroke: currentColor;
}

.service-card h3 {
  font-size: 1.25rem;
}

.service-card p {
  margin-top: .8rem;
  color: var(--brand-muted);
  font-size: .88rem;
}

.service-card:hover p, .service-card:hover .service-card__number {
  color: rgba(10,10,10,.68);
}

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

@media(min-width:960px) {
  .services__grid {
    grid-template-columns: repeat(4,1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 22rem;
}

.service-card:focus-visible {
  z-index: 1;
  background: var(--brand-primary);
  color: var(--brand-dark-text);
  transform: translateY(-4px);
  outline: 0;
}

.service-card__action {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brand-primary);
}

.service-card:hover .service-card__action, .service-card:focus-visible .service-card__action {
  color: var(--brand-dark-text);
}

.sunday-service {
  position: relative;
  display: grid;
  gap: 2rem;
  margin-top: clamp(2rem,5vw,4rem);
  padding: clamp(1.5rem,4vw,3rem);
  overflow: hidden;
  border: 1px solid rgba(255,215,0,.35);
  border-radius: var(--radius);
  background: linear-gradient(120deg,rgba(255,215,0,.12),rgba(255,215,0,.025) 55%),var(--brand-secondary);
  box-shadow: var(--shadow);
}

.sunday-service::before {
  content: "DOM";
  position: absolute;
  right: -.04em;
  top: -.2em;
  color: rgba(255,215,0,.055);
  font: 800 clamp(6rem,18vw,13rem)/1 var(--font-heading);
  pointer-events: none;
}

.sunday-service__content,
.sunday-service__action {
  position: relative;
  z-index: 1;
}

.sunday-service h3 {
  max-width: 16ch;
  margin-top: 1rem;
  font-size: clamp(1.8rem,4vw,3rem);
}

.sunday-service__content>p:not(.eyebrow) {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--brand-muted);
}

.sunday-service__content .sunday-service__note {
  color: var(--brand-text);
  font-size: .88rem;
}

.sunday-service__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1rem;
}

.sunday-service__action>span {
  color: var(--brand-muted);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media(min-width:860px) {
  .sunday-service {
    grid-template-columns: minmax(0,1.5fr) minmax(15rem,.5fr);
    align-items: end;
  }
}
