/*
Theme Name: Beautiful Friction Native
Text Domain: beautiful-friction-native
Description: A lightweight WordPress-native theme for Beautiful Friction, designed for owner-editable Gutenberg content, responsive layouts and minimal builder dependency.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
*/

/* WordPress theme metadata and minimal global fallbacks live here.
 * The owner-editable design system and component styles live in theme.css.
 * Templates use semantic Beautiful Friction classes; normal content and
 * layout remain editable with native Gutenberg blocks.
 */

html {
	scroll-behavior: smooth;
}

/* Fixed quick-contact dock. */
.bf-contact-dock {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: .55rem;
	align-items: flex-end;
}
.bf-contact-dock__item {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: .65rem;
	width: 3rem;
	min-height: 3rem;
	padding: 0 .8rem;
	overflow: hidden;
	border-radius: 999px;
	background: #8a0000;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 8px 24px rgb(17 21 26 / .2);
	transition: width .18s ease, transform .18s ease, box-shadow .18s ease;
}
.bf-contact-dock__item:hover,
.bf-contact-dock__item:focus-visible {
	width: 8.5rem;
	transform: translateY(-1px);
	box-shadow: 0 10px 28px rgb(17 21 26 / .26);
	outline: 3px solid #fff;
	outline-offset: 2px;
}
.bf-contact-dock__icon {
	width: 1.4rem;
	height: 1.4rem;
	flex: 0 0 1.4rem;
	fill: currentColor;
}
.bf-contact-dock__label {
	white-space: nowrap;
	font-size: .82rem;
	font-weight: 600;
	opacity: 0;
	transition: opacity .12s ease;
}
.bf-contact-dock__item:hover .bf-contact-dock__label,
.bf-contact-dock__item:focus-visible .bf-contact-dock__label {
	opacity: 1;
}
@media (max-width: 600px) {
	.bf-contact-dock {
		right: .8rem;
		bottom: .8rem;
	}
	.bf-contact-dock__item {
		width: 2.9rem;
		min-height: 2.9rem;
		padding: 0 .75rem;
	}
	.bf-contact-dock__item:hover,
	.bf-contact-dock__item:focus-visible {
		width: 7.6rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	.bf-contact-dock__item,
	.bf-contact-dock__label {
		transition: none;
	}
}
