/* ===== Shared tinted photo (.photo-tint), Oct 22. First used on /erai/ (design "eRAI (new) images 5").
   Decorative photos get one brand cast: a teal/navy multiply tint over an object-fit image.
   Markup: <span class="photo-tint" aria-hidden="true" style="--photo-pos: center 30%"><picture><source type="image/webp" srcset="….webp">
           <img src="….jpg" alt="" width="…" height="…" loading="lazy" decoding="async"></picture></span>
   Give the wrapper its size (height and radius) where it is used; the image never changes the layout.
   Spec tint: rgba(15,124,133,.28) -> rgba(11,31,51,.18) = --teal 28% -> --navy 18%. ===== */
.photo-tint { position: relative; display: block; overflow: hidden; background: var(--light-blue); }
.photo-tint picture { display: contents; }
.photo-tint img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--photo-pos, center); }
.photo-tint::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, color-mix(in srgb, var(--teal) 28%, transparent), color-mix(in srgb, var(--navy) 18%, transparent)); mix-blend-mode: multiply; pointer-events: none; }