.hero::after {
  background:
    radial-gradient(ellipse at 78% 9%, rgb(201 162 94 / 18%), rgb(201 162 94 / 5%) 31%, transparent 61%),
    linear-gradient(90deg, rgb(28 28 28 / 93%) 0%, rgb(28 28 28 / 88%) 27%, rgb(28 28 28 / 69%) 52%, rgb(28 28 28 / 8%) 84%),
    linear-gradient(0deg, rgb(28 28 28 / 80%), transparent 49%);
  box-shadow: inset 0 -1px rgb(201 162 94 / 36%);
}

.hero h1 {
  text-shadow: 0 .16rem 1.45rem rgb(0 0 0 / 65%);
}

.collection {
  background: radial-gradient(ellipse at 85% 0%, rgb(245 243 238 / 76%), transparent 52%), var(--paper);
}

.service-link {
  border-color: var(--gold);
  border-radius: .55rem;
  background: var(--white);
  box-shadow: 0 1px 3px rgb(0 0 0 / 4%), 0 6px 16px rgb(0 0 0 / 3%);
}

.service-link:is(:hover, :focus-visible) {
  border-color: var(--accent);
  box-shadow: 0 2px 6px rgb(0 0 0 / 4%), 0 13px 29px rgb(0 0 0 / 11%);
}

.service-image {
  position: relative;
}

.service-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(0 0 0 / 13%), transparent 44%);
  box-shadow: inset 0 -1px rgb(201 162 94 / 21%);
  content: '';
  pointer-events: none;
}

.service-copy h3 {
  font: 400 clamp(1.35rem, 2.15vw, 1.85rem)/1.03 var(--display);
  letter-spacing: -.012em;
  text-wrap: pretty;
}

.service-link:focus-visible img {
  transform: scale(1.055);
}

.gallery-preview {
  padding: clamp(.36rem, .85vw, .7rem);
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: var(--sand);
  box-shadow: 0 6px 25px rgb(0 0 0 / 5%);
}

.gallery-cover::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: inherit;
  box-shadow: inset 0 0 28px rgb(0 0 0 / 11%);
  content: '';
  pointer-events: none;
  transition: border-color .3s ease, box-shadow .45s ease;
}

.gallery-cover:is(:hover, :focus-visible)::after {
  border-color: rgb(255 255 255 / 65%);
  box-shadow: inset 0 0 18px rgb(0 0 0 / 5%);
}

@media (max-width: 700px) {
  .hero::after {
    background:
      radial-gradient(ellipse at 90% 17%, rgb(201 162 94 / 14%), transparent 58%),
      linear-gradient(70deg, rgb(28 28 28 / 96%) 0%, rgb(28 28 28 / 85%) 47%, rgb(28 28 28 / 48%) 100%),
      linear-gradient(0deg, rgb(28 28 28 / 78%), transparent 44%);
  }

  .service-copy {
    padding: .9rem .75rem 2.55rem;
  }

  .card-arrow {
    inset: auto .68rem .63rem auto;
    width: 1.62rem;
    height: 1.62rem;
  }
}

@media (max-width: 520px) {
  .gallery-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    aspect-ratio: auto;
  }

  .gallery-cover {
    aspect-ratio: 4 / 3;
  }

  .gallery-cover-main {
    grid-row: auto;
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-link:is(:hover, :focus-visible) img,
  .gallery-cover:is(:hover, :focus-visible) img {
    transform: none;
  }
}
