/* SELECTED WORK cards — shared by index.html and selected.html (Nov 2026). Same card component on both pages.
   The base rules are the homepage's own (home61.css); repeated here so selected.html can use the cards without the
   homepage-only rules. The lead project is a wide card. */
.sw-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:1240px;margin:0 auto}
.card.sw{padding:12px 12px 22px;display:flex;flex-direction:column}
.card.sw:hover,.card.sw:focus-visible{transform:rotate(-1deg) translateY(-3px)}
.sw-well{aspect-ratio:16/10!important;position:relative}
.sw-well img.cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.card.sw:hover .sw-well img.cover{transform:scale(1.04)}
.sw-well img.cover.sw-contain{object-fit:contain}   /* wide artwork shown whole; the well colour matches its background */
.sw-pos-hand{object-position:50% 38%}
.sw-note{position:absolute;right:12px;bottom:10px;font:400 11px/1 var(--mono);text-transform:uppercase;color:rgba(255,255,255,.85);letter-spacing:.02em}
.card .well img.sw-finn-word{position:absolute;left:9%;top:50%;width:46%;height:auto;transform:translateY(-50%)}
.card .well img.sw-finn-fox{position:absolute;right:9%;bottom:-6%;height:96%;width:auto;max-width:none;transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.card.sw:hover .sw-finn-fox{transform:translateX(-4%) rotate(-2deg)}
.sw-cap{position:relative;z-index:1;display:grid;gap:8px;padding:18px 10px 0;text-align:left;flex:1;align-content:start}
.sw-tag{font:400 13px/1.2 var(--mono);text-transform:uppercase;color:var(--eyebrow);letter-spacing:0}
.sw-t{font:600 clamp(20px,calc(14px + .8vw),26px)/1.15 var(--sans);letter-spacing:-.03em;color:#000}
.sw-d{font:500 clamp(15px,calc(13px + .25vw),17px)/1.45 var(--sans);color:var(--body);max-width:52ch}
.card .pill.sw-go{position:static;transform:none;justify-self:start;margin-top:8px;font-weight:600}
.card.sw:hover .sw-t,.card.sw:focus-visible .sw-t{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.sw-sec .more{margin-top:clamp(24px,2.6vw,36px)}
/* lead project: full width, cinematic crop */
.sw-grid .sw-wide{grid-column:1/-1}
.sw-wide .sw-well{aspect-ratio:21/9!important}
.sw-wide .sw-d{max-width:68ch}
/* selected.html page body */
.sel-main{padding-top:clamp(28px,3vw,44px)}
.sel-intro{max-width:62ch;margin:0 auto clamp(22px,2.4vw,34px);text-align:center;font:500 clamp(16px,calc(13px + .35vw),19px)/1.5 var(--sans);color:var(--body)}
@media (prefers-reduced-motion:reduce){.sw-well img,.sw-finn-fox{transition:none}}
@media (max-width:1023px){.sw-cap{padding:16px 6px 0}}
@media (max-width:719px){
 .sw-grid{grid-template-columns:minmax(0,1fr)}
 .sw-well,.sw-wide .sw-well{aspect-ratio:4/3!important}
 .card .well img.sw-finn-word{width:50%;left:6%}.card .well img.sw-finn-fox{right:4%;height:90%}
}
