* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #ffffff;
	color: #1f1a17;
}

p {
	font-family: "Lora", serif;
	font-size: 15px;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Averia Libre", serif;
}

.wrapper {
	width: 100%;
	max-width: 100%;
	padding-left: 5%;
	margin: 0;
	font-family: "Lora", serif;
	line-height: 1.5;
	font-size: 14px;
}

.flourish-embed.flourish-chart {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	border-radius: 12px;
	overflow: hidden;
}

.intro-video-chapter {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
	background: #000;
}

.intro-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.intro-video-overlay {
	position: absolute;
	inset: auto 0 0 0;
	padding: 20px;
	text-align: center;
}

.intro-video-overlay p {
	margin: 0;
	font-family: "Lora", serif;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
}

.fl-scrolly-section .fl-scrolly-step {
	margin: 0 0 62vh;
	padding: 1.05em;
	background: #fffaf3;
	color: #1f1a17;
	border: 1px solid rgba(54, 40, 24, 0.15);
	border-left: 6px solid #d4874c;
	font-family: "Lora", serif;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 400;
}

.fl-scrolly-section .fl-scrolly-step p {
	margin: 0;
}

.fl-scrolly-section .fl-scrolly-step.first-trajectory-panel {
	margin-top: -92vh;
}

.fl-scrolly-section-no-flourish {
	display: block;
}

.fl-scrolly-section-no-flourish .marker-step {
	width: 100%;
	min-height: 110vh;
	margin: 0 0 28vh;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.fl-scrolly-section-no-flourish .marker-step-transition {
	position: relative;
	min-height: 110vh;
	margin-bottom: 18vh;
	padding: 0;
	overflow: visible;
}

.transition-media-bg {
	opacity: 0;
	visibility: hidden;
	transition: opacity 700ms ease, visibility 0s linear 700ms;
	position: fixed;
	inset: 0;
	width: 100vw;
	z-index: 2;
	pointer-events: none;
}

body.fl-video-transition-active .transition-media-bg {
	opacity: 1;
	visibility: visible;
	transition: opacity 700ms ease;
}

.transition-media-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(7, 12, 22, 0.58) 0%, rgba(7, 12, 22, 0.18) 45%, rgba(7, 12, 22, 0.42) 100%);
}

.transition-bg-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.transition-text-block {
	position: relative;
	z-index: 25;
	width: min(38vw, 340px);
	margin: 0 0 50vh;
	padding: 1.05em;
	background: #fffaf3;
	border: 1px solid rgba(54, 40, 24, 0.15);
	border-left: 6px solid #d4874c;
	box-shadow: none;
	backdrop-filter: none;
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 520ms ease 120ms, transform 520ms ease 120ms;
}

body.fl-video-transition-active .transition-text-block {
	opacity: 1;
	transform: translateY(0);
}

.transition-text-block h3 {
	margin: 0 0 8px;
	font-family: "Averia Libre", serif;
	font-size: clamp(20px, 2.4vw, 28px);
	line-height: 1.1;
	color: #3e2a1b;
}

.transition-text-block p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: #2e241d;
}

.map-marker-slide-host {
	position: relative;
	transform: translateY(-18px);
	max-width: min(78vw, 320px);
	pointer-events: auto;
	transition: transform 180ms ease, filter 180ms ease;
}

.map-marker-slide-host:hover,
.map-marker-slide-host:focus-within {
	transform: translateY(-23px);
	filter: drop-shadow(0 9px 16px rgba(0, 0, 0, 0.24));
}

.map-marker-slide-host::after {
	content: "";
	display: block;
	width: 0;
	height: 0;
	margin: -1px auto 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 12px solid #ffffff;
	filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.28));
}

.map-marker-slide-host .map-marker-slide.map-marker-card {
	margin: 0;
	background: rgba(255, 250, 243, 0.9);
	border: 2px solid rgba(134, 103, 77, 0.32);
	box-shadow: 0 12px 28px rgba(109, 109, 109, 0.45);
	padding: 7px;
	max-width: 320px;
	pointer-events: auto;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.map-marker-slide-host:hover .map-marker-slide.map-marker-card,
.map-marker-slide-host:focus-within .map-marker-slide.map-marker-card {
	transform: translateY(-4px);
	background: rgba(255, 250, 243, 1);
	box-shadow: 0 20px 40px rgba(72, 72, 72, 0.54), 0 0 0 3px rgba(201, 119, 58, 0.68);
}

.map-marker-card-media {
	position: relative;
	overflow: hidden;
}

.map-marker-slide-host .map-marker-slide.map-marker-card img {
	width: 100%;
	height: auto;
	max-height: 210px;
	object-fit: cover;
	display: block;
}

.map-marker-image-link {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(17, 24, 39, 0.84);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #ffffff;
	font-family: "Averia Libre", serif;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
	transition: background-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.map-marker-image-link:hover,
.map-marker-image-link:focus-visible {
	background: rgba(201, 119, 58, 0.94);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
	transform: translateY(-1px);
	outline: none;
}

.map-marker-image-link:active,
.map-marker-image-link.is-pressed {
	background: rgba(131, 72, 34, 0.98);
	box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35);
	transform: translateY(1px) scale(0.98);
}

.map-marker-slide-host .map-marker-slide.map-marker-card figcaption {
	position: static;
	margin: 0;
	color: #1f1a17;
	padding: 8px 10px;
	pointer-events: auto;
}

.map-marker-card-title {
	margin: 0 0 6px;
	font-size: clamp(14px, 1.8vw, 18px);
	line-height: 1.2;
	font-weight: 700;
	color: #224050;
}

.map-step-dot {
	width: 16px;
	height: 16px;
	border-radius: 999px;
	background: var(--map-step-marker-color, #ef4444);
	border: 2px solid #ffffff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
	.wrapper {
		padding-left: 4%;
		padding-right: 4%;
	}

	.fl-scrolly-section .fl-scrolly-step {
		margin-bottom: 52vh;
	}

	.fl-scrolly-section .fl-scrolly-step.first-trajectory-panel {
		margin-top: -80vh;
	}

	.fl-scrolly-section-no-flourish .marker-step {
		min-height: 95vh;
		margin-bottom: 22vh;
	}

	.fl-scrolly-section-no-flourish .marker-step-transition {
		min-height: 95vh;
		margin-bottom: 14vh;
	}

	.transition-text-block {
		width: calc(100% - 20px);
		margin-bottom: 42vh;
	}

	.transition-text-block p {
		font-size: 14px;
	}
}
