/**
 * Minimal modern reset.
 *
 * Deliberately small — normalises browser defaults that get in the way of
 * custom layout work, and nothing else. Not a full reset/normalize library.
 */

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

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

body {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
	margin: 0;
}

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

/*
 * `object-fit` and `aspect-ratio` are deliberately NOT set here — imposing
 * one ratio globally would distort media that doesn't match it. Set both
 * per-component once a real layout (card image, video embed, etc.) defines
 * what ratio it actually needs.
 */

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

button {
	background: none;
	border: 0;
	cursor: pointer;
}

/*
 * Links intentionally keep their default underline + colour here (see
 * base.css) rather than being reset to `inherit`/`none` — removing both is a
 * common WCAG 1.4.1 (use of colour) pitfall. Components can opt out
 * explicitly once real link styling is designed.
 */
