/* resources.css: the Resources page (F2): a quiet head over fine grid lines, the newest post wide, the rest in a grid. */
.res-head { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--c-line); }
.res-head__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 100% at 80% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 100% at 80% 0%, #000 20%, transparent 75%); }
.res-head__in { padding-top: clamp(3rem, 2.4rem + 3vw, 5rem); padding-bottom: clamp(2.5rem, 2rem + 2.4vw, 4rem); }
.res-head h1 { max-width: 760px; font-size: var(--fs-h1); }
.res-head__lead { max-width: 640px; margin: 16px 0 0; font-size: 1.125rem; line-height: 1.55; color: var(--c-ink-soft); }

.res-blog { padding-top: clamp(2.5rem, 2rem + 2.4vw, 4rem); }
.res-blog__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.res-blog__head h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; }
.res-blog__head p { margin: 0; font-size: 0.875rem; color: var(--c-ink-soft); }
.res-feature { margin-bottom: 20px; }
.res-feature .post-card { padding: clamp(26px, 3vw, 40px); background-color: var(--c-paper-alt); background-image: linear-gradient(var(--grid-line-fine) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line-fine) 1px, transparent 1px); background-size: 28px 28px; }
.res-feature .post-card h3 { max-width: 760px; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.res-feature .post-card p:not(.post-card__meta) { max-width: 680px; font-size: 1.0625rem; }

.res-close__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.res-close h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); }
.res-close p { margin: 8px 0 0; color: var(--c-ink-soft); }
