/* DIGITHRONEX · The Cut · media: frames for work, their captions, and stand-in slots.
   Work shows in its native format with no platform interface. Every piece carries one caption line:
   client · format · runtime · role. Load after base.css. */

/* Caption line under a frame */
.media { display: grid; gap: 10px; align-content: start; min-width: 0; }
.media-cap { display: flex; flex-wrap: wrap; gap: 0 .9em; font-family: var(--font-mono); font-stretch: 87.5%; font-size: 11.5px; line-height: 1.5; letter-spacing: .02em; color: var(--text3); }
.media-cap b { font-weight: 450; color: var(--text); }
.media-cap span + span::before { content: "·"; margin-right: .9em; opacity: .6; }

/* A work frame: ND 2 stops at rest, lifting to clear on hover or focus, with the runtime in mono */
.work-frame { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: #050607; }
.work-frame > img, .work-frame > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-frame .nd { position: absolute; inset: 0; background: rgba(11, 12, 14, .55); transition: opacity calc(4 * var(--f)) var(--ease-snap); }
.work-frame .runtime { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--font-mono); font-stretch: 87.5%; font-size: 11px; opacity: 0; transition: opacity calc(4 * var(--f)) var(--ease-snap); }
.work-frame:hover .nd, .work-frame:focus-visible .nd { opacity: 0; }
.work-frame:hover .runtime, .work-frame:focus-visible .runtime { opacity: 1; }

/* A contextual label over media, beside the native cursor ("Play · 0:32", "Drag to scrub") */
.media-label { position: absolute; z-index: 5; pointer-events: none; padding: 7px 10px; border-radius: var(--radius-control); font-family: var(--font-mono); font-stretch: 87.5%; font-size: 11px; color: #fff; transform: translate(14px, 14px); }

/* Stand-in slot: where a shot will go, labeled like a slate. Honest about being a placeholder. */
.slot { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 20%, #1c2027, #0d0f12 70%); }
.slot::before { content: ""; position: absolute; inset: 10%; border: 1px solid rgba(241, 242, 244, .09); pointer-events: none; }
.slot::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(calc(180deg - var(--angle)), transparent 0 22px, rgba(241, 242, 244, .025) 22px 23px); pointer-events: none; }
.slot-slate, .slot-note { position: absolute; left: clamp(12px, 3%, 24px); right: clamp(12px, 3%, 24px); z-index: 1; font-family: var(--font-mono); font-stretch: 87.5%; font-size: 11px; line-height: 1.5; color: rgba(241, 242, 244, .7); }
.slot-slate { top: clamp(10px, 3%, 20px); }
.slot-note { bottom: clamp(10px, 3%, 20px); color: rgba(241, 242, 244, .5); max-width: 40ch; }
