/* Display cards: the standard displays and starting templates, on the landing page and start.html. */
:root { --card: #343c45; --card-hi: #3b444e; --line: rgba(255,255,255,.1); }
.grid { list-style: none; padding: 0; margin: 20px 0 48px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.card { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
overflow: hidden; text-decoration: none; transition: transform .2s ease, background .2s ease, opacity .2s ease; }
.card:hover { transform: translateY(-3px); background: var(--card-hi); }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--bg); }
.body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 28px; line-height: 1.05; margin: 0; letter-spacing: .01em; }
.card p { margin: 0; font-size: 18px; line-height: 1.3; color: var(--muted); }
.needs { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.needs li { font-size: 15px; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; color: var(--ink); }
.needs li.no { border-style: dashed; color: var(--muted); }
.meta { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; color: var(--muted); }
.go { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.go::after { content: " →"; color: var(--accent-text); }
.card.missing { opacity: .5; }
.card.missing:hover, .card.missing:focus-visible { opacity: .85; }
.scratch .art { aspect-ratio: 1; display: grid; place-items: center; background:
linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 28px 28px, var(--bg); }
.scratch .art b { font: 400 64px/1 Anton, Impact, sans-serif; color: var(--muted); }
.price { font-family: Anton, Impact, sans-serif; font-size: 30px; line-height: 1; color: var(--ink); }
.price small { font-family: "Barlow Condensed", system-ui, sans-serif; font-size: 15px; color: var(--muted); margin-left: 6px; }
.grid.std { margin-bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }
.card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
