* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #808080; color: #1a1a1a; }
body { font: 400 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }

.bar { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 28px; padding: 16px; }
.brand { font-weight: 600; font-size: 20px; line-height: 1; letter-spacing: .08em; text-decoration: none; }
.bar nav { display: flex; gap: 20px; }
.bar nav a { font-weight: 600; letter-spacing: .08em; text-decoration: none; }
.bar nav a:hover, .bar nav a:focus-visible, .bar nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

main { max-width: 1080px; margin: 0 auto; padding: 32px 16px 64px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 24px; }
.card { display: block; text-decoration: none; }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 2px solid #1a1a1a; }
.card h2 { margin: 10px 0 2px; font-size: 16px; font-weight: 600; letter-spacing: .08em; }
.card p { margin: 0; color: #2b2b2b; }
.card:hover h2, .card:focus-visible h2 { text-decoration: underline; text-underline-offset: 3px; }

.note { margin-top: 48px; font-size: 13px; }
