/* Developer sites directory page */
.ds-body {
  min-height: 100%;
  background:
    radial-gradient(ellipse 70% 45% at 8% 0%, rgba(196, 92, 38, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 40% at 95% 4%, rgba(10, 122, 111, 0.14), transparent 50%),
    linear-gradient(168deg, #e8f3f0 0%, #f4faf8 42%, #fffef9 100%);
}

.ds-shell {
  padding-bottom: 2.5rem;
}

.ds {
  margin-top: 1.25rem;
  color: var(--ink);
}

.ds-hero {
  max-width: 36rem;
  margin-bottom: 2rem;
  animation: ds-rise 0.65s ease both;
}

.ds-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: #c45c26;
}

.ds h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ds-lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
}

.ds-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 720px) {
  .ds-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ds-card article {
  height: 100%;
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: ds-rise 0.6s ease calc(0.1s + var(--i) * 0.05s) both;
}

.ds-card:hover article {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(16, 24, 32, 0.08);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.ds-card.is-here article {
  border-color: color-mix(in srgb, #c45c26 45%, var(--line));
  background: rgba(255, 252, 246, 0.95);
}

.ds-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

.ds-card-short {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.ds-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #c45c26;
}

.ds-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
}

.ds-blurb {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.ds-long {
  margin: 0.1rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.ds-go {
  margin-top: 0.4rem;
  justify-self: start;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #c45c26;
}

a.ds-go:hover {
  text-decoration: underline;
}

.ds-go.is-here {
  color: var(--accent);
}

@keyframes ds-rise {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-hero,
  .ds-card article {
    animation: none;
  }
}
