.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.artstation-section {
  margin-top: 96px;
}

.artstation-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.artstation-intro .section-intro {
  margin-bottom: 0;
}

.artstation-intro .button {
  flex: 0 0 auto;
}

.artstation-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.artstation-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0e14;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .18);
  isolation: isolate;
}

.artstation-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(3, 5, 9, .94), rgba(3, 5, 9, .08) 62%);
}

.artstation-card-link {
  display: block;
  width: 100%;
  height: 100%;
}

.artstation-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.artstation-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    radial-gradient(circle at 72% 24%, rgba(99, 102, 241, .34), transparent 36%),
    radial-gradient(circle at 26% 76%, rgba(56, 189, 248, .28), transparent 38%),
    linear-gradient(145deg, #111826, #080b11);
}

.artstation-card-placeholder::before {
  content: "";
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid rgba(125, 211, 252, .22);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(56, 189, 248, .08);
}

.artstation-card-placeholder span {
  color: rgba(255, 255, 255, .14);
  font: 700 clamp(54px, 8vw, 92px) / 1 "Space Grotesk", sans-serif;
  letter-spacing: -.08em;
}

.artstation-card:hover img,
.artstation-card:focus-within img {
  transform: scale(1.045);
  filter: brightness(.82);
}

.artstation-card-copy {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 21px;
  left: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}

.artstation-card-copy h3 {
  max-width: 90%;
  margin: 0;
  font: 650 clamp(19px, 2.2vw, 25px) / 1.08 "Space Grotesk", sans-serif;
  letter-spacing: -.035em;
}

.artstation-card-arrow {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  color: #061018;
  background: var(--accent);
  border-radius: 50%;
  font-size: 17px;
  transition: transform .25s ease, background .25s ease;
}

.artstation-card:hover .artstation-card-arrow,
.artstation-card:focus-within .artstation-card-arrow {
  transform: translate(2px, -2px);
  background: #7dd3fc;
}

.artstation-card-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -4px;
}

.artstation-skeleton {
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(110deg, rgba(255, 255, 255, .035) 28%, rgba(255, 255, 255, .085) 42%, rgba(255, 255, 255, .035) 56%);
  background-size: 240% 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  animation: artstation-shimmer 1.35s linear infinite;
}

.artstation-message {
  grid-column: 1 / -1;
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}

.artstation-message h3 {
  margin: 0 0 8px;
  font: 650 25px / 1.15 "Space Grotesk", sans-serif;
}

.artstation-message p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
}

.artstation-message .button {
  margin-top: 22px;
}

@keyframes artstation-shimmer {
  to { background-position: -140% 0; }
}

@media (max-width: 900px) {
  .artstation-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .artstation-section { margin-top: 78px; }
  .artstation-intro { align-items: stretch; flex-direction: column; }
  .artstation-intro .button { align-self: flex-start; }
  .artstation-gallery { grid-template-columns: 1fr; }
  .artstation-card { aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  .artstation-skeleton { animation: none; }
}
