
: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-l: 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 {

	width: 100%;
	max-width: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

body {

	width: 100%;
	max-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;

}

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

main {

	position: relative;
	top: auto;
	left: auto;
	width: 100%;
	max-width: 100%;
	min-width: 0;

}

section {
overflow-x: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0;
	z-index: 20;

}

section > article {

	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	background: none;

}

img,

video,

svg,

canvas {

	max-width: 100%;

}

figure {

	max-width: 100%;
	margin: 0;

}

h1 {
	font-size: 6rem;
	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: 3.5rem;
	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: 2rem;
	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.5rem;
	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: 1.5rem;
	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: 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);
}

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.15rem .5rem;
	font-size: 1rem;
	font-weight: 500;
	color: rgb(var(--b) / 1);
	cursor: pointer;
	border: none;
	border-radius: .05rem;
	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: rgb(var(--b) / .75);
}
/* 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(20px);
	-webkit-backdrop-filter: blur(20px);
	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;
}

/* 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: #f33;
	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: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	gap: 0;
}

figure[data-layout="col"] {
	flex-direction: column;
	gap: 2px;
}

figure[data-layout="row"] {
	flex-direction: row;
	gap: 2px;
}

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

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

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: 9 / 16;
}
/* hide txt */
.hide_txt {
	position: sticky;
	left: 90%;
	top: 50%;
	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;
}

/* horizontal viewpoint system */
.magazzine,
.launchpad,
.tarjetas,
.xscroll {
	position: relative;
}

/* dots */
.hv-viewpoint {
	position: absolute;
	left: 50%;
	bottom: 1rem;
	z-index: 998;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	width: auto;
	height: auto;
	margin: 0;
	padding: .35rem .5rem;
	transform: translateX(-50%);
	pointer-events: auto;
}

.hv-viewpoint span {
	display: block;
	width: .35rem;
	height: .35rem;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	background: rgb(var(--n) / .45);
	cursor: pointer;
	opacity: .45;
	transition:
		background-color .25s ease,
		transform .25s ease,
		opacity .25s ease;
}

.hv-viewpoint span.is-active {
	background: rgb(var(--c1) / 1);
	transform: scale(1.35);
	opacity: 1;
}

/* buttons */
.hv-btn {
	position: absolute;
	top: 50%;
	z-index: 999;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	padding: 0;
	color: rgb(var(--b) / 1);
	background: rgb(var(--n) / .8);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(-50%);
	font-size: 0;
	transition:
		opacity .25s ease,
		visibility .25s ease,
		background-color .25s ease;
}

.hv-btn.prev {
	left: .75rem;
}

.hv-btn.next {
	right: .75rem;
}

.hv-btn:hover {
	background: rgb(var(--c1) / 1);
}

.hv-btn.hidden,
.hv-btn.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

/* icons */
.hv-btn.prev::before {
	content: "‹";
	font-size: 2.2rem;
	line-height: 1;
}

.hv-btn.next::before {
	content: "›";
	font-size: 2.2rem;
	line-height: 1;
}

/* module-specific dots position */
.magazzine-viewpoint,
.launchpad-viewpoint,
.tarjetas-viewpoint,
.xscroll-viewpoint {
	bottom: 1rem;
}

/* module-specific buttons position */
.magazzine .hv-btn.prev,
.launchpad .hv-btn.prev,
.tarjetas .hv-btn.prev,
.xscroll .hv-btn.prev {
	left: .75rem;
}

.magazzine .hv-btn.next,
.launchpad .hv-btn.next,
.tarjetas .hv-btn.next,
.xscroll .hv-btn.next {
	right: .75rem;
}


/* 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)
}




