:root {
	--bg: 245 242 236;

	--c1-d: 160 68 24;
	--c1: 216 95 34;
	--c1-l: 234 136 83;

	--c2-d: 89 79 106;
	--c2: 119 109 141;
	--c2-li: 150 140 171;

	--c3-d: 99 124 133;
	--c3: 134 162 171;
	--c3-l: 173 194 201;

	--b-d: 219 227 216;
	--b: 244 247 243;
	--b-l: 251 252 250;

	--n-d: 13 17 11;
	--n: 28 37 24;
	--n-l: 56 73 49;

	--viewport-color: 255 255 255;
	font-size: 16px;
}

* {
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	min-height: 100dvh;
	margin: 0;
	padding: 0;
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	line-height: 1.3;
	color: rgb(var(--n-d) / 1);
	background-image: url("/assets/img/bg.webp");
	background-repeat: repeat;
	background-size: auto;
	background-position: center;
	background-blend-mode: multiply;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	-webkit-overflow-scrolling: touch;
}

:root {
	font-size: clamp(14px, .85vw, 17px);
}
h1 {
	font-size: 8rem;
	line-height: 0.85;
	letter-spacing: -0.01em;
	font-weight: 900;
	text-shadow: -1px -1px 0 #fff, 3px 3px 6px rgba(0, 0, 0, 0.2);
}

h2 {
	font-size: 6rem;
	line-height: 0.95;
	letter-spacing: -0.05em;
	font-weight: 800;
	text-shadow: -1px -1px 0 #fff, 3px 3px 6px rgba(0, 0, 0, 0.2);
}

h3 {
	font-size: 2.75rem;
	line-height: 1.05;
	letter-spacing: -0.035em;
	font-weight: 600;
	text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
}

h4 {
	font-size: 1.75rem;
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 700;
}

p {
	font-size: 1rem;
	line-height: 1.45;
	font-weight: 500;
}

.lead {
	font-size: 2rem;
	line-height: 1.2;
	font-weight: 600;
	text-shadow: -1px -1px 0 #fff, 3px 3px 6px rgba(0, 0, 0, 0.2);
}

.caption {
	font-size: .75rem;
	line-height: 1.3;
	letter-spacing: 0.04em;
}

.big-txt {
	font-size: 6rem;
	line-height: .75;
	letter-spacing: 0.04em;
	color: rgb(var(--) / .2);
}

a {
	display: inline-block;
	margin-top: 1rem;
	font-size: 1rem;
	font-weight: 400;
	color: rgb(var(--c1) / 1);
	text-decoration: none;
	text-underline-offset: 3px;
}

a:hover {
	opacity: 0.9;
}

hr {
	margin: 1rem 0;
	border: none;
	border-top: 1px solid rgb(var(--n) / 1);
	border-bottom: 1px solid rgb(var(--b) / 1);
	opacity: 0.5;
}

button {
	display: inline-block;
	width: fit-content;
	margin-top: 1rem;
	padding: 0.25rem 1rem;
	font-size: 1rem;
	font-weight: 500;
	color: rgb(var(--b) / 1);
	cursor: pointer;
	border: none;
	border-radius: .25rem;
	background: rgb(var(--c1) / 1);
	z-index: 10;
	align-self: flex-start;
}

button.m {
	color: rgb(var(--b) / 1);
	border: 1px solid rgb(var(--b) / 1);
	background: none;
}

button.w {
	color: rgb(var(--n-d) / 1);
	background: linear-gradient(-45deg, rgb(var(--b-l) / 1) 0%, rgb(var(--b) / 1) 100%);
}

/* artxt */
.artxt {
	width: 100%;
	margin: 0;
	padding: 0;
}

.artxt dd {
	margin: 0;
}

.artxt p {
	max-height: 9lh;
	margin: 0;
	overflow: hidden;
	transition: max-height 0.9s ease;
}

.artxt p.active {
	max-height: 18lh;
	overflow: auto;
}

.artxt-toggle {
	display: none;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	padding: 0;
	background: none;
	margin: 0;
}

.artxt-toggle.visible {
	display: block;
}

.artxt-toggle::before {
	content: "+";
	color: rgb(var(--c1) / 1);
	font-size: 2rem;
	font-weight: 700;
}

.artxt-toggle.is-open::before {
	content: "-";
	color: rgb(var(--c1) / 1);
	font-size: 2rem;
	font-weight: 700;
}

[data-anim="on"] dt h1,
[data-anim="on"] dt h2,
[data-anim="on"] dt h3,
[data-anim="on"] dt h4,
[data-anim="on"] dt p,
[data-anim="on"] .artxt-toggle {
	opacity: 0;
	transform: translateX(25px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.artxt.appeared dt h1,
.artxt.appeared dt h2,
.artxt.appeared dt h3,
.artxt.appeared dt h4,
.artxt.appeared dt p,
.artxt.appeared .artxt-toggle {
	opacity: 1;
	transform: translateY(0);
}

/* media */
figure {
	position: relative;
	display: flex;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	overflow: hidden;
	gap: 0;
}

figure img.responsive-img {
	display: block;
	flex: 1;
	width: 100%;
	height: 100%;
	min-width: 0;
	object-fit: cover;
	object-position: center;
	aspect-ratio: 3 / 2;
}

figure[data-layout="row"] img.responsive-img {
	aspect-ratio: 3 / 16;
}

figure figcaption {
	position: absolute;
	bottom: 10px;
	left: 10px;
	padding: 2px 5px;
	font-size: 0.7rem;
	font-style: italic;
	color: rgb(var(--b) / 1);
	pointer-events: none;
	background: none;
	z-index: 10;
}

figure i {
	display: block;
	margin-top: 1rem;
	font-size: 0.6rem;
	font-style: normal;
	color: rgb(var(--n) / 1);
	opacity: 0.75;
}

figure i::before {
	content: "*";
	margin-right: 0.25rem;
}

video.responsive-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	aspect-ratio: 16 / 9;
}

/* layout */
main {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

section {
	position: relative;
	display: flex;
	flex-direction: row;
	width: 82%;
	height: ;
	margin: 0 auto;
	padding: 0;
	z-index: 20;
}

section > article {
	position: relative;
	display: block;
	min-width: 0;
	background: none;
}
/* helpers */
.spacer {
	height: 50dvh;
}

.spacer.ii {
	height: 100dvh;
}

.spacer.iii {
	height: 150dvh;
}

/* glass */
.glass {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: linear-gradient(30deg, rgb(var(--n) / 0.1) 0%, rgb(var(--n-l) / 0.15) 100%);
	border-radius: 1rem;
	backdrop-filter: blur(25px);
	-webkit-backdrop-filter: blur(25px);
	box-shadow: 5px 5px 15px rgb(var(--n) / .4), 1px 1px 1px rgb(var(--n) /.2), -1px -1px 1px rgb(var(--b) / .3);
}

.glass::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: url("/assets/img/patternblack.png") repeat;
	background-size: 2px;
	filter: invert(1);
	opacity: 0.35;
	border-radius: 1rem;
}

.glass > * {
	position: relative;
	z-index: 1;
}

/* hide txt */
.hide_txt {
	position: sticky;
	top: 50%;
	left: 95%;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	color: rgb(var(--b) / 1);
	background: rgb(var(--n) / .55);
	border-radius: 50%;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity .25s ease,
		visibility .25s ease,
		transform .25s ease;
}

section.hide-txt-current .hide_txt {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.hide_txt::before,
.hide_txt::after {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "icomoon";
	font-size: 1.5rem;
	line-height: 1;
	transition:
		opacity .25s ease,
		transform .25s ease;
}

.hide_txt::before {
	content: "\e914";
	opacity: 1;
	transform: scale(1);
}

.hide_txt::after {
	content: "\e915";
	opacity: 0;
	transform: scale(.75);
}

section.hide-txt-clean .hide_txt::before {
	opacity: 0;
	transform: scale(.75);
}

section.hide-txt-clean .hide_txt::after {
	opacity: 1;
	transform: scale(1);
}

section .artxt {
	transition: opacity .35s ease;
}

section.hide-txt-clean .artxt {
	opacity: 0 !important;
	pointer-events: none !important;
}

/* popup-system */
#popup-root {
	position: fixed;
	inset: 0;
	display: none;
	z-index: 180;
	overflow: hidden;
}

#popup-root.active {
	display: block;
}

.popup-container {
	position: absolute;
	top: 5dvh;
	left: 5%;
	width: 90%;
	height: 90dvh;
	padding: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: rgb(var(--b) / 1);
	transform: translateX(120%);
	opacity: 1;
	will-change: transform;
	transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}

.popup-container.is-open {
	transform: translateX(0);
}

.popup-container.is-closing {
	transform: translateX(120%);
}

.popup-container section {
	width: 100%;
}

.popup-shell {
	position: relative;
	width: 100%;
	min-height: 100%;
}

body.popup-open {
	overflow: hidden;
}

/* cta */
.cta-popover {
	position: fixed;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-width: min(20rem, calc(100vw - 2rem));
	padding: 0.75rem;
	background: rgb(var(--n) / 1);
	border-radius: 0.5rem;
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
	transition: opacity 0.2s ease;
	z-index: 120;
}

.cta-popover button {
	color: rgb(var(--n) / 1);
	background: rgb(var(--b) / .8);
}

.cta-popover span {
	color: rgb(var(--c1) / 1);
	margin-right: 1rem;
	margin-right: 1rem
}

.cta-popover.is-open {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}

.cta-popover-title {
	font-size: 0.85rem;
	font-weight: 600;
	color: rgb(var(--c1) / 1)
}
.rotate-notice {
	display: none;
}

/* color scope */

.color-scope {

	--cd-rgb: var(--n);
	--cs-rgb: var(--c1);
	--ct-rgb: var(--c2);
	--cf-rgb: var(--c3);
	--co-rgb: var(--b);

}

/* texto */

.clr1 { color: rgb(var(--cd-rgb) / 1); }

.clr2 { color: rgb(var(--cs-rgb) / 1); }

.clr3 { color: rgb(var(--ct-rgb) / 1); }

.clr4 { color: rgb(var(--cf-rgb) / 1); }

.clr5 { color: rgb(var(--co-rgb) / 1); }

/* fondo */

.bg1 { background-color: rgb(var(--cd-rgb) / 1); }

.bg2 { background-color: rgb(var(--cs-rgb) / 1); }

.bg3 { background-color: rgb(var(--ct-rgb) / 1); }

.bg4 { background-color: rgb(var(--cf-rgb) / 1); }

.bg5 { background-color: rgb(var(--co-rgb) / 1); }

/* borde */

.brd1 { border-color: rgb(var(--cd-rgb) / 1); }

.brd2 { border-color: rgb(var(--cs-rgb) / 1); }

.brd3 { border-color: rgb(var(--ct-rgb) / 1); }

.brd4 { border-color: rgb(var(--cf-rgb) / 1); }

.brd5 { border-color: rgb(var(--co-rgb) / 1); }

/* outline */

.out1 { outline-color: rgb(var(--cd-rgb) / 1); }

.out2 { outline-color: rgb(var(--cs-rgb) / 1); }

.out3 { outline-color: rgb(var(--ct-rgb) / 1); }

.out4 { outline-color: rgb(var(--cf-rgb) / 1); }

.out5 { outline-color: rgb(var(--co-rgb) / 1); }

/* sombra */

.shd1 { box-shadow: 0 1rem 3rem rgb(var(--cd-rgb) / .25); }

.shd2 { box-shadow: 0 1rem 3rem rgb(var(--cs-rgb) / .25); }

.shd3 { box-shadow: 0 1rem 3rem rgb(var(--ct-rgb) / .25); }

.shd4 { box-shadow: 0 1rem 3rem rgb(var(--cf-rgb) / .25); }

.shd5 { box-shadow: 0 1rem 3rem rgb(var(--co-rgb) / .25); }

/* degradado */

.grd1 {

	background: linear-gradient(
		135deg,
		rgb(var(--cd-rgb) / 1),
		rgb(var(--cs-rgb) / 1)
	);

}

.grd2 {

	background: linear-gradient(
		135deg,
		rgb(var(--cs-rgb) / 1),
		rgb(var(--ct-rgb) / 1)
	);

}

.grd3 {

	background: linear-gradient(
		135deg,
		rgb(var(--ct-rgb) / 1),
		rgb(var(--cf-rgb) / 1)
	);

}

.grd4 {

	background: linear-gradient(
		135deg,
		rgb(var(--cf-rgb) / 1),
		rgb(var(--co-rgb) / 1)
	);

}

.grd5 {

	background: linear-gradient(
		135deg,
		rgb(var(--co-rgb) / 1),
		rgb(var(--cd-rgb) / 1)
	);

}

@media (min-width: 768px) and (max-width: 1023px) {
	:root {
		font-size: clamp(10px, 1.25vw, 12px);
	}
}

@media (min-width: 1024px) and (max-width: 1279px) {
	:root {
		font-size: clamp(12px, 1.1vw, 14px);
	}
}

@media (min-width: 1280px) and (max-width: 1439px) {
	:root {
		font-size: clamp(13px, 1.05vw, 15px);
	}
}

@media (min-width: 1440px) and (max-width: 1919px) {
	:root {
		font-size: clamp(15px, .9vw, 16px);
	}
}

@media (min-width: 1920px) and (max-width: 2047px) {
	:root {
		font-size: clamp(14px, .85vw, 17px);
	}
}
@media (min-width: 2048px) {
	:root {
		font-size: clamp(17px, .8vw, 20px);
	}
}