/* ============================================================
   Base — reset, typography, selection.
   ============================================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	padding: 0;
	background: var(--bg-1);
	color: var(--text-1);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

::selection {
	background: #B31318;
	color: #fff;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--red-soft);
	text-decoration: none;
	transition: color var(--t-fast) var(--ease);
}

a:hover {
	color: var(--red-soft-hover);
}

h1,
h2,
h3,
h4 {
	font-family: var(--font);
	color: var(--text-1);
	margin: 0;
}

p {
	margin: 0;
}

button {
	font-family: var(--font);
}

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

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--red);
	color: #fff;
	padding: 12px 20px;
	border-radius: 0 0 12px 0;
}

.skip-link:focus {
	left: 0;
	color: #fff;
}
