/* BTA Logo Intro */
html.bta-intro-lock { overflow: hidden; }

.bta-intro-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483001;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.bta-intro-bg {
	position: absolute;
	inset: 0;
}
.bta-intro-stage {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(18px, 3.5vh, 36px);
	/* nudge up a touch so logo + text sit optically centred */
	margin-top: -4vh;
}
.bta-intro-logo {
	display: block;
	width: min(68vw, 460px);
	height: auto;
	overflow: visible;
	transform-origin: 0 0;
	will-change: transform;
}
.bta-intro-tagline {
	font-family: inherit;
	font-size: clamp(18px, 2.6vw, 28px);
	font-weight: 600;
	letter-spacing: -0.01em;
	color: #161616;
	opacity: 0;
	text-align: center;
	white-space: nowrap;
}
.bta-intro-skip {
	position: absolute;
	right: 20px;
	bottom: 20px;
	padding: 8px 14px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #8a8a8a;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
	transition: color .2s, background-color .2s;
}
.bta-intro-skip:hover,
.bta-intro-skip:focus-visible {
	color: #161616;
	background: rgba(0, 0, 0, .05);
	outline: none;
}
.bta-intro-out {
	opacity: 0;
	transition: opacity .25s ease;
	pointer-events: none;
}

/* Header logo fades back in smoothly where the animated one lands */
:where(.custom-logo, .wp-block-site-logo img, .site-logo img, .site-branding img, .logo img) {
	transition: opacity .25s ease;
}
