.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-6);
	padding-block: var(--space-4);
}

.site-brand {
	flex: 0 0 auto;
	width: clamp(6rem, 10vw, 8.5rem);
}

.site-brand__link,
.site-brand .custom-logo-link {
	display: block;
}

.site-brand img {
	display: block;
	width: 100%;
	height: auto;
}

.company-video {
	width: min(100%, 12rem);
}

.company-video__trigger {
	position: relative;
	display: block;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border-radius: 0.75rem;
	background: #102b4a;
	color: #fff;
	text-decoration: none;
}

.company-video__poster {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.company-video__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin: auto;
	border: 1px solid #fff;
	border-radius: 50%;
	background: #102b4a;
	color: #fff;
}

.company-video__trigger:hover .company-video__play {
	background: #06499a;
}

.company-video__trigger:active .company-video__play {
	transform: scale(0.95);
}

.company-video__trigger:focus-visible {
	outline: 3px solid #102b4a;
	outline-offset: 5px;
}

.company-video__caption {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 0.75rem;
	background: #102b4a;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
}

.company-video__dialog {
	width: min(32rem, calc(100% - 1.5rem));
	max-width: none;
	max-height: calc(100dvh - 1.5rem);
	padding: 1rem;
	border: 0;
	border-radius: 0.75rem;
	background: #fff;
	color: #102b4a;
	overflow: auto;
}

.company-video__dialog::backdrop {
	background: rgb(8 24 42 / 80%);
}

.company-video__dialog-header {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.company-video__close {
	flex: 0 0 2.75rem;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid #d8dfe6;
	border-radius: 50%;
	background: #fff;
	color: #102b4a;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

.company-video__close:hover {
	background: #eef1f4;
}

.company-video__close:active {
	background: #d8dfe6;
}

.company-video__player {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(100dvh - 8rem);
	aspect-ratio: 9 / 16;
	margin-inline: auto;
	background: #000;
}

.company-video__error {
	margin-block: 0.75rem 0;
	font-size: 0.875rem;
}

.has-video-dialog {
	overflow: hidden;
}
