/* pieces: base layer - faces, tokens, reset, type */
@font-face {
	font-display: swap;
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 700;
	src: url("../fonts/playfair-cajas.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	ascent-override: 107.70%;
	descent-override: 24.90%;
	font-family: "Playfair Display Fallback";
	line-gap-override: 0%;
	size-adjust: 100.27%;
	src: local("Georgia");
}
@font-face {
	font-display: swap;
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 300 700;
	src: url("../fonts/sourcesans-lonja.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	ascent-override: 110.60%;
	descent-override: 43.40%;
	font-family: "Source Sans 3 Fallback";
	line-gap-override: 0%;
	size-adjust: 92.23%;
	src: local("Arial");
}


:root {
	--sv-ancho: 1200px;
	--sv-blanco: rgb(255, 255, 255);
	--sv-cabecera: 76px;
	--sv-gris: rgb(95, 101, 115);
	--sv-gutter: clamp(16px, 4vw, 48px);
	--sv-kraft: rgb(138, 75, 31);
	--sv-niebla: rgb(245, 246, 248);
	--sv-noche: rgb(22, 24, 29);
	--sv-noche-tenue: rgb(163, 169, 181);
	--sv-noche-texto: rgb(233, 236, 241);
	--sv-precinto: rgb(180, 83, 9);
	--sv-radio: 20px;
	--sv-radio-chico: 16px;
	--sv-raya: rgb(218, 221, 227);
	--sv-sans: "Source Sans 3", "Source Sans 3 Fallback", Arial, sans-serif;
	--sv-serif: "Playfair Display", "Playfair Display Fallback", Georgia, serif;
	--sv-texto: rgb(22, 24, 29);
}

@media (max-width: 899px) {
	:root {
		--sv-cabecera: 64px;
	}
}

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

html {
	scroll-padding-top: calc(var(--sv-cabecera) + 16px); /* sticky header offset for anchors */
	text-size-adjust: 100%;
}

body {
	background-color: var(--sv-blanco);
	color: var(--sv-texto);
	font-family: var(--sv-sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	margin: 0;
}

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

[hidden] {
	display: none;
}

h1,
h2,
h3,
h4 {
	font-family: var(--sv-serif);
	font-weight: 500;
	letter-spacing: normal;
	line-height: 1.15;
	margin: 0;
}

h1 {
	font-size: clamp(2.125rem, 1.5rem + 2vw, 3rem);
}

h2 {
	font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem);
}

h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
}

h4 {
	font-size: 1.1875rem;
}

p,
ul,
ol,
dl,
dd,
figure {
	margin: 0;
}

a {
	color: var(--sv-precinto);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--sv-kraft);
}

:focus-visible {
	outline: 3px solid var(--sv-precinto);
	outline-offset: 3px;
}

strong {
	font-weight: 600;
}

table {
	border-collapse: collapse;
	width: 100%;
}

button,
input,
textarea {
	font: inherit;
}

.skip-to-content-link {
	background-color: var(--sv-noche);
	border-radius: var(--sv-radio-chico);
	color: var(--sv-noche-texto);
	left: 16px;
	min-height: 44px;
	padding: 10px 18px;
	position: absolute;
	top: 8px;
	transform: translateY(-200%); /* parked above the viewport until focused */
	z-index: 200;
}

.skip-to-content-link:focus {
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms;
		transition-duration: 0.01ms;
	}
}
