/* "Logos and documents": the two kinds of board, side by side on the home page (stacked on a phone). Site colours throughout. */
.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.kind { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 22px; border-radius: 28px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 28px 60px -44px rgba(10, 14, 30, .45); }
/* the picture: a calm panel with the drawing on top and its labels underneath, so nothing can overlap or be clipped */
.kind-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 250px; margin-bottom: 8px; padding: 22px 20px 18px; border-radius: 20px; background: var(--paper-2); overflow: hidden; }
.kind-art svg { display: block; width: min(100%, 360px); height: auto; overflow: visible; }
.ka-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ka-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 650; color: var(--ink); white-space: nowrap; }
.ka-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.ka-chip b { font-size: 13px; line-height: 1; }
.ka-chip.ok { background: color-mix(in srgb, var(--good) 14%, var(--card)); color: var(--good); box-shadow: 0 0 0 1px color-mix(in srgb, var(--good) 30%, transparent); }
.kind .eyebrow { margin: 4px 6px 0; }
.kind .h3 { margin: 0 6px; text-wrap: balance; }
.kind-pts { list-style: none; margin: 4px 6px 0; padding: 0; display: grid; gap: 9px; }
.kind-pts li { position: relative; padding-left: 26px; color: var(--ink-2); line-height: 1.45; }
.kind-pts li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); }
.kind-pts li::after { content: ""; position: absolute; left: 5px; top: calc(.2em + 4px); width: 6px; height: 4px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.kind-go { align-self: flex-start; margin: auto 6px 0; padding-top: 14px; font-weight: 650; color: var(--accent-ink, var(--accent)); text-decoration: none; }
.kind-go span { display: inline-block; transition: transform .2s ease; }
.kind-go:hover span, .kind-go:focus-visible span { transform: translateX(4px); }
.kind-go:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.kind-types { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.kind-types li { padding: 6px 14px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* the little scenes: shapes rise into place, a pin lands, the labels pop in */
.kind-art .k-pop { transform-box: fill-box; transform-origin: center; animation: k-pop .5s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: var(--d, 0s); }
@keyframes k-pop { from { transform: scale(0); opacity: 0; } }
.kind-art .k-rise { animation: k-rise .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
@keyframes k-rise { from { transform: translateY(10px); opacity: 0; } }
.kind-art .ka-chip { animation: k-pop .45s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: var(--d, 0s); }
.reveal:not(.in) .kind-art .k-pop, .reveal:not(.in) .kind-art .k-rise, .reveal:not(.in) .kind-art .ka-chip { animation-play-state: paused; }

@media (max-width: 760px) {
  .kinds { grid-template-columns: 1fr; gap: 16px; }
  .kind { padding: 14px 14px 20px; border-radius: 24px; }
  .kind-art { min-height: 0; padding: 20px 14px 16px; }
}
@media (prefers-reduced-motion: reduce) { .kind-art .k-pop, .kind-art .k-rise, .kind-art .ka-chip, .kind-go span { animation: none; transition: none; } }
