/* ════════════════════════════════════════
   BASE · G7Z — reset y fundamentos.
   Sin texturas globales ni blend modes (regla del gate D).
═══════════════════════════════════════ */

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

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

body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--size-body);
	font-weight: 500;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, picture, svg {
	display: block;
	max-width: 100%;
}

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

ul, ol {
	list-style: none;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: none;
	cursor: pointer;
}

::selection {
	background: var(--red);
	color: var(--ink);
}

:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 3px;
}

/* ── ACCESIBILIDAD ── */
.skip-link {
	position: absolute;
	top: -100%;
	left: var(--gutter);
	z-index: calc(var(--z-chrome) + 1);
	padding: 0.75rem 1.25rem;
	background: var(--red);
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: var(--size-small);
}
.skip-link:focus {
	top: 0.75rem;
}

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

/* ── HELPERS ── */
.wrap {
	max-width: var(--content-max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.display {
	font-family: var(--font-display);
	font-stretch: 125%;
	text-transform: uppercase;
}
