/* doers: self-hosted portfolio video player (replaces YouTube embeds).
   Wrapper classes set the layout box: 16x9 landscape, 9x16 portrait.
   Videos letterbox inside the box (object-fit: contain on black), never crop. */
.doers-video-16x9,
.doers-video-9x16 {
	position: relative;
	margin: 0 auto;
	background: #000;
}
.doers-video-16x9 {
	width: min(100% - 2rem, 1100px);
	aspect-ratio: 16 / 9;
}
.doers-video-9x16 {
	width: min(100% - 2rem, 400px);
	aspect-ratio: 9 / 16;
}
.doers-video-16x9 video,
.doers-video-9x16 video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: contain;
	background: #000;
}
/* Caption shown under a single video within a multi-video page (e.g. Concept). */
.doers-video-caption {
	text-align: center;
	margin: 1rem auto 0;
	max-width: 1100px;
}

/* ============ doers custom player skin (see player.js) ============
   Always dark (video context), in light and night mode alike. */
.dp {
	position: relative;
	overflow: hidden;
	background: #000;
	color: #fff;
	container-type: inline-size;
	outline: 0;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
	-webkit-user-select: none;
}
.dp:focus-visible { box-shadow: 0 0 0 2px #fff inset; }
.dp .dp-ui { position: absolute; inset: 0; z-index: 2; cursor: pointer; font-family: 'Space Grotesk', sans-serif; }
.dp.is-playing:not(.is-hidectl) .dp-ui, .dp .dp-ui:hover { cursor: pointer; }
.dp .dp-shade {
	position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
	background: linear-gradient(to top, rgba(0,0,0,.78) 0, rgba(0,0,0,.28) 38%, rgba(0,0,0,.12) 62%, rgba(0,0,0,.4) 100%);
}
.dp.is-idle .dp-shade { opacity: 1; }
.dp:not(.is-idle):not(.is-hidectl) .dp-shade {
	opacity: 1;
	background: linear-gradient(to top, rgba(0,0,0,.72) 0, rgba(0,0,0,0) 34%);
}
.dp.is-paused:not(.is-idle) .dp-shade {
	background: linear-gradient(to top, rgba(0,0,0,.72) 0, rgba(0,0,0,.2) 40%, rgba(0,0,0,.25) 100%);
}
.dp .dp-title {
	position: absolute; left: clamp(14px, 3cqw, 28px); bottom: clamp(14px, 3cqw, 26px); right: 90px;
	margin: 0; padding: 0; pointer-events: none;
	font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .08em;
	font-size: clamp(13px, 2.2cqw, 20px); line-height: 1.25; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6);
	opacity: 0; transition: opacity .3s;
}
.dp .dp-mark {
	position: absolute; top: clamp(12px, 2.4cqw, 22px); right: clamp(14px, 2.6cqw, 26px); pointer-events: none;
	font-family: 'Oswald', sans-serif; font-weight: 500; letter-spacing: .28em; font-size: 11px; color: #fff; opacity: 0;
	transition: opacity .3s;
}
.dp.is-idle .dp-title { opacity: 1; }
.dp.is-idle .dp-mark { opacity: .55; }
.dp.is-idle .dp-title { right: 14px; }

/* reset theme button styles */
.dp button {
	-webkit-appearance: none; appearance: none; box-sizing: border-box; margin: 0; padding: 0; border: 0; border-radius: 0;
	background: none; color: #fff; font: inherit; text-transform: none; letter-spacing: 0; line-height: 1; cursor: pointer;
	box-shadow: none; text-shadow: none; min-width: 0; min-height: 0;
}
.dp button:focus { outline: none; }
.dp button:focus-visible, .dp .dp-seek:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px rgba(0,0,0,.55); }
.dp svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.dp svg .f { fill: currentColor; stroke: currentColor; stroke-width: 1.2; }

/* big round play button (same look as the homepage reel tiles) */
.dp .dp-big {
	position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
	background: rgba(0,0,0,.45); border: 1.5px solid rgba(255,255,255,.85);
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	display: none; align-items: center; justify-content: center;
	transition: transform .25s, background-color .25s, border-color .25s;
}
.dp .dp-big svg { width: 30px; height: 30px; margin-left: 4px; }
.dp.is-paused:not(.is-wait) .dp-big { display: flex; }
.dp .dp-big:hover, .dp:hover .dp-big { transform: scale(1.07); background: rgba(0,0,0,.62); border-color: #fff; }
.dp.is-drag .dp-big { display: none; }

/* spinner */
.dp .dp-spin {
	position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
	border: 2px solid rgba(255,255,255,.25); border-top-color: #fff; pointer-events: none; display: none;
	animation: dp-spin .8s linear infinite;
}
.dp.is-wait:not(.is-paused) .dp-spin { display: block; }
@keyframes dp-spin { to { transform: rotate(360deg); } }

/* control bar */
.dp .dp-bar {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(8px, 1.6cqw, 16px) 4px; cursor: default;
	transition: opacity .3s, transform .3s;
}
.dp.is-idle .dp-bar { opacity: 0; pointer-events: none; }
.dp.is-hidectl .dp-bar { opacity: 0; transform: translateY(8px); pointer-events: none; }
.dp.is-hidectl .dp-ui { cursor: none; }
.dp .dp-seek { position: relative; height: 16px; margin: 0 6px; display: flex; align-items: center; touch-action: none; cursor: pointer; border-radius: 2px; }
.dp .dp-seek::before { content: ""; position: absolute; left: -6px; right: -6px; top: -14px; bottom: -14px; }
.dp .dp-track { position: relative; width: 100%; height: 3px; background: rgba(255,255,255,.28); transition: height .15s; }
.dp .dp-seek:hover .dp-track, .dp.is-drag .dp-track, .dp .dp-seek:focus-visible .dp-track { height: 5px; }
.dp .dp-buf, .dp .dp-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.dp .dp-buf { background: rgba(255,255,255,.32); }
.dp .dp-fill { background: #fff; }
.dp .dp-knob {
	position: absolute; top: 50%; left: 0; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%;
	background: #fff; box-shadow: 0 0 0 3px rgba(0,0,0,.25); transform: scale(0); transition: transform .15s; pointer-events: none;
}
.dp .dp-seek:hover .dp-knob, .dp.is-drag .dp-knob, .dp .dp-seek:focus-visible .dp-knob { transform: scale(1); }
.dp .dp-row { position: relative; z-index: 1; display: flex; align-items: center; min-height: 44px; }
.dp .dp-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; opacity: .92; transition: opacity .2s, background-color .2s; }
.dp .dp-btn:hover { opacity: 1; background: rgba(255,255,255,.12); }
.dp .dp-time { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; font-size: 13px; letter-spacing: .02em; color: #fff; white-space: nowrap; padding: 0 4px; }
.dp .dp-dur { opacity: .6; margin-left: .35em; }
.dp .dp-gap { flex: 1; }
.dp .dp-pp .dp-i-pause, .dp .dp-pp svg:nth-child(2) { display: none; }
.dp.is-playing .dp-pp svg:nth-child(1) { display: none; }
.dp.is-playing .dp-pp svg:nth-child(2) { display: block; }
.dp .dp-mute svg:nth-child(2) { display: none; }
.dp.is-muted .dp-mute svg:nth-child(1) { display: block; }
.dp:not(.is-muted) .dp-mute svg:nth-child(1) { display: none; }
.dp:not(.is-muted) .dp-mute svg:nth-child(2) { display: block; }
.dp .dp-fs svg:nth-child(2) { display: none; }
.dp.is-fs .dp-fs svg:nth-child(1) { display: none; }
.dp.is-fs .dp-fs svg:nth-child(2) { display: block; }
.dp.is-fs .dp-ui { cursor: pointer; }
.dp.is-fs.is-hidectl .dp-ui { cursor: none; }

@container (max-width: 420px) {
	.dp .dp-big { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
	.dp .dp-big svg { width: 24px; height: 24px; margin-left: 3px; }
	.dp .dp-title { font-size: 12px; }
	.dp .dp-mark { font-size: 10px; letter-spacing: .22em; }
	.dp .dp-time { font-size: 12px; }
}
@container (max-width: 340px) {
	.dp .dp-dur { display: none; }
}
:fullscreen.dp, .dp:-webkit-full-screen { width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) {
	.dp * { transition: none !important; }
	.dp .dp-spin { animation-duration: 2s; }
}

.vlt-custom-cursor.doers-over-ctl { opacity: .28; transition: opacity .15s; }
