/* ──────────────────────────────────────────────────────────────────
 * Base styles
 * Resets, body defaults, raw element styles. No component classes here.
 * ────────────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	cursor: pointer;
	border: 0;
	background: transparent;
	padding: 0;
	color: inherit;
}

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

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

/* WP screen-reader text utility (keep as core a11y helper) */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* Utility classes used across templates */
.mono { font-family: var(--mono); }
.max  { max-width: var(--container); margin: 0 auto; }
