/* Static-site extras layered on top of ace.css (ace.css is a straight copy of wwwroot/css/ace.css). */
html { scroll-padding-top: 76px; }

/* gallery */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: .75rem; }
.work-grid a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.work-grid a.wide { grid-column: span 2; }
.work-grid a.tall { grid-row: span 2; }
.work-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-grid a:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } }
@media (max-width: 480px) { .work-grid { grid-auto-rows: 130px; gap: .5rem; } }

/* small note row */
.note { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; padding: 1.1rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-top: 1.25rem; }
.note i { color: var(--accent-text); }
.note p { margin: 0; color: var(--muted); flex: 1 1 260px; }
