/*
Theme Name: HOV Foundation
Theme URI: https://houseofvivante.com
Author: House of Vivante
Author URI: https://houseofvivante.com
Description: Lean architectural foundation for the House of Vivante platform. Plugin-driven, classic theme structure, theme.json for design tokens, mobile-first. Designed to be extended via a child theme — see "House of Vivante" child theme for brand-specific work.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: Proprietary
License URI: https://houseofvivante.com
Text Domain: hov-foundation
Tags: classic, mobile-first
*/

/*
 * Foundation note:
 * Almost all styling lives in theme.json or in the child theme.
 * This file intentionally contains only the absolute base — resets and
 * structural defaults that should rarely change. If you find yourself
 * adding brand styling here, it belongs in the child theme instead.
 */

/* ---------- Reset and base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

input,
button,
textarea,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

a {
	color: inherit;
	text-decoration-skip-ink: auto;
}

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

/* ---------- Accessibility ---------- */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #fff;
	clip: auto !important;
	clip-path: none;
	color: #000;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 0.5rem;
	line-height: normal;
	padding: 0.75rem 1rem;
	text-decoration: none;
	top: 0.5rem;
	width: auto;
	z-index: 100000;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
