/* Bilohub base: reset, container, reveal. Direction tokens live in home-a/b/c.css. */

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* :where() keeps these at zero specificity so any component rule wins. */
:where(html, body) {
	margin: 0;
	padding: 0;
}

:where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote, fieldset) {
	margin: 0;
	padding: 0;
	border: 0;
}

:where(h1, h2, h3, h4, h5, h6) {
	font-size: inherit;
	font-weight: inherit;
}

:where(ul, ol) {
	list-style: none;
}

:where(img, svg, video, canvas) {
	display: block;
	max-width: 100%;
	height: auto;
}

:where(a) {
	color: inherit;
	text-decoration: none;
}

:where(button, input, select, textarea) {
	font: inherit;
	color: inherit;
}

:where(button) {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

:where(table) {
	border-collapse: collapse;
	width: 100%;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

.bh-shell {
	width: 100%;
	margin-inline: auto;
}

.bh-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.bh-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 10px 16px;
}

.bh-skip:focus {
	left: 8px;
	top: 8px;
}

:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* Reveal is opt-in from JS: without the script everything renders visible. */
.bh-js .bh-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.bh-js .bh-reveal.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.bh-js .bh-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}
