/**
 * Manifesto page — reference ManifestoPage.jsx + PageHero + Process parity.
 */

body.duende-site.duende-manifesto-page {
	background:
		radial-gradient(1200px 600px at 20% 0%, rgba(230, 57, 70, 0.08), transparent 60%),
		radial-gradient(900px 600px at 90% 20%, rgba(10, 14, 39, 1), transparent 70%),
		#050714 !important;
	color: #fff;
}

.duende-manifesto-page {
	position: relative;
	background: transparent;
	color: #fff;
}

.duende-manifesto-page .elementor-23 .duende-manifesto-body__grid > .elementor-container,
.duende-manifesto-page .elementor-23 .duende-process-section__head > .elementor-container,
.duende-manifesto-page .elementor-23 .duende-process-grid > .elementor-container {
	width: 100% !important;
	max-width: none !important;
	min-height: 0 !important;
}

.duende-manifesto-page .elementor-23 .elementor-column,
.duende-manifesto-page .elementor-23 .elementor-widget-wrap,
.duende-manifesto-page .elementor-23 .elementor-widget,
.duende-manifesto-page .elementor-23 .elementor-widget-container {
	min-width: 0 !important;
}

.duende-manifesto-page .elementor-23 .elementor-widget-wrap {
	padding: 0 !important;
}

.duende-page-hero__inner > .elementor-widget-wrap,
.duende-manifesto-body__inner > .elementor-widget-wrap,
.duende-manifesto-body__col > .elementor-widget-wrap,
.duende-process-section__inner > .elementor-widget-wrap,
.duende-process-section__overline > .elementor-widget-wrap,
.duende-process-section__title > .elementor-widget-wrap {
	display: block !important;
}

.duende-manifesto-page .elementor-23 .elementor-widget:not(:last-child) {
	margin-bottom: 0 !important;
}

/* PageHero */
.duende-page-hero {
	position: relative;
	overflow: hidden;
	padding: 14rem 0 4rem;
}

@media (min-width: 768px) {
	.duende-page-hero {
		padding: 18rem 0 6rem;
	}
}

@media (min-width: 1024px) {
	.duende-page-hero {
		padding: 22rem 0 8rem;
	}
}

.duende-page-hero__glow {
	pointer-events: none;
	position: absolute;
	inset: 0;
}

.duende-page-hero__glow::before {
	content: "";
	position: absolute;
	top: -10rem;
	left: -10rem;
	width: 36rem;
	height: 36rem;
	border-radius: 9999px;
	background: rgba(230, 57, 70, 0.12);
	filter: blur(140px);
}

.duende-page-hero__inner {
	position: relative;
	width: min(90rem, 100%);
	margin: 0 auto;
	padding: 0 1.5rem;
}

@media (min-width: 768px) {
	.duende-page-hero__inner {
		padding: 0 3rem;
	}
}

.duende-page-hero__kicker {
	display: block !important;
	margin: 0 0 2rem !important;
	width: auto !important;
	color: #fff;
	font-family: var(--duende-body);
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1rem;
	letter-spacing: 0.35em;
	text-transform: uppercase;
}

.duende-manifesto-page .elementor-23 .duende-page-hero__inner .duende-page-hero__kicker.elementor-widget {
	margin-bottom: 2rem !important;
}

.duende-page-hero__kicker .elementor-heading-title {
	color: inherit !important;
	font: inherit !important;
	letter-spacing: inherit !important;
	line-height: inherit !important;
	text-transform: inherit !important;
}

.duende-page-hero__title,
.duende-page-hero__title .elementor-heading-title {
	margin: 0;
	max-width: 18ch;
	color: #fff;
	font-family: var(--duende-display);
	font-size: 3rem;
	font-weight: 900;
	font-optical-sizing: auto;
	font-variation-settings: "opsz" 96;
	line-height: 1;
	letter-spacing: -0.03em;
}

@media (min-width: 768px) {
	.duende-page-hero__title,
	.duende-page-hero__title .elementor-heading-title {
		font-size: 4.5rem;
	}
}

@media (min-width: 1024px) {
	.duende-page-hero__title,
	.duende-page-hero__title .elementor-heading-title {
		font-size: 7vw;
	}
}

/* Body section */
.duende-manifesto-body {
	padding: 0 0 5rem;
}

@media (min-width: 768px) {
	.duende-manifesto-body {
		padding-bottom: 8rem;
	}
}

.duende-manifesto-body__inner {
	width: min(90rem, 100%);
	margin: 0 auto;
	padding: 0 1.5rem;
}

@media (min-width: 768px) {
	.duende-manifesto-body__inner {
		padding: 0 3rem;
	}
}

.duende-manifesto-body__grid {
	display: block !important;
	width: 100% !important;
}

.duende-manifesto-body__grid > .elementor-container {
	display: grid !important;
	grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
	gap: 1.5rem !important;
	width: 100% !important;
	max-width: none !important;
}

.duende-manifesto-body__col {
	grid-column: 1 / -1;
	width: auto !important;
}

@media (min-width: 768px) {
	.duende-manifesto-body__col {
		grid-column: 2 / 11;
	}
}

.duende-manifesto-page-title,
.duende-manifesto-page-title .elementor-heading-title {
	margin: 0;
	color: #fff;
	font-family: var(--duende-display);
	font-size: clamp(1.875rem, 4.166666vw, 3.75rem);
	font-weight: 500;
	font-optical-sizing: auto;
	font-variation-settings: "opsz" 96;
	line-height: 1;
	letter-spacing: -0.02em;
}

.duende-manifesto-page-title__word,
.duende-manifesto-page-title__accent {
	display: inline-block;
	margin-right: 0.25em;
}

.duende-manifesto-page-title__accent {
	color: #fff;
	font-family: var(--duende-serif);
	font-style: italic;
	font-weight: 400;
}

.duende-manifesto-page-lead {
	max-width: 48rem;
	margin: 3rem 0 0;
	transform: none !important;
}

.duende-manifesto-page .duende-manifesto-page-lead.duende-reveal-on-scroll {
	opacity: 1 !important;
	transform: none !important;
}

.duende-manifesto-page-lead,
.duende-manifesto-page-lead .elementor-widget-container,
.duende-manifesto-page-lead p {
	color: rgba(255, 255, 255, 0.7);
	font-family: var(--duende-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.625;
}

.duende-manifesto-page-lead p {
	margin: 0 !important;
}

@media (min-width: 768px) {
	.duende-manifesto-page-lead {
		font-size: 1.125rem;
		line-height: 1.5555556;
	}

	.duende-manifesto-page-lead,
	.duende-manifesto-page-lead .elementor-widget-container,
	.duende-manifesto-page-lead p {
		font-size: 1.125rem;
		line-height: 1.5555556;
	}
}

.duende-hairline {
	width: 100%;
	height: 1px;
	margin: 4.5rem 0;
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-0.5rem);
}

.duende-manifesto-wp-blocks {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.duende-journal-content {
	max-width: 72ch;
	color: rgba(255, 255, 255, 0.78);
	font-family: var(--duende-body);
	font-size: 1.05rem;
	line-height: 1.85;
}

.duende-journal-content > * + * {
	margin-top: 1.25em;
}

.duende-journal-content p {
	color: rgba(255, 255, 255, 0.78);
}

.duende-journal-content a {
	color: var(--duende-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.duende-journal-content h1,
.duende-journal-content h2,
.duende-journal-content h3,
.duende-journal-content h4 {
	margin-top: 2.4em;
	margin-bottom: 0.6em;
	color: #fff;
	font-family: var(--duende-display);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.duende-manifesto-cta {
	margin-top: 5rem;
}

.duende-manifesto-cta__btn .elementor-button {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.95rem 1.6rem;
	border: none;
	background: transparent;
	color: #fff;
	font-family: var(--duende-body);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.02em;
	cursor: pointer;
	border-radius: 0;
	transition: color 0.3s ease;
	box-shadow: none !important;
}

.duende-manifesto-cta__btn .elementor-button::after {
	content: "↗";
	display: inline-block;
	font-size: 1rem;
	line-height: 1;
	transform: translateY(-0.04em);
}

.duende-manifesto-cta__btn .elementor-button:hover,
.duende-manifesto-cta__btn .elementor-button:focus-visible {
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.7);
	outline: none;
}

/* Process */
.duende-process-section {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 7rem 0;
}

@media (min-width: 768px) {
	.duende-process-section {
		padding: 10rem 0;
	}
}

.duende-process-section__inner {
	width: min(90rem, 100%);
	margin: 0 auto;
	padding: 0 1.5rem;
}

@media (min-width: 768px) {
	.duende-process-section__inner {
		padding: 0 3rem;
	}
}

.duende-process-section__head {
	display: block !important;
	width: 100% !important;
	margin-bottom: 4rem;
}

.duende-process-section__head > .elementor-container {
	display: grid !important;
	grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
	gap: 1.5rem !important;
	width: 100% !important;
	max-width: none !important;
}

@media (min-width: 768px) {
	.duende-process-section__head {
		margin-bottom: 5rem;
	}
}

.duende-process-section__overline {
	grid-column: 1 / -1;
	width: auto !important;
}

.duende-process-section__overline,
.duende-process-section__overline .elementor-heading-title {
	color: #fff;
	font-family: var(--duende-body);
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.duende-process-section__overline {
		grid-column: span 3 / span 3;
	}
}

.duende-process-section__title {
	grid-column: 1 / -1;
	width: auto !important;
}

.duende-process-section__title,
.duende-process-section__title .elementor-heading-title {
	margin: 0;
	color: #fff;
	font-family: var(--duende-display);
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	font-weight: 600;
	font-optical-sizing: auto;
	font-variation-settings: "opsz" 96;
	line-height: 1;
	letter-spacing: -0.02em;
}

@media (min-width: 768px) {
	.duende-process-section__title {
		grid-column: span 9 / span 9;
	}
}

.duende-process-grid {
	display: block !important;
	gap: 1px;
	background: rgba(255, 255, 255, 0.1);
}

.duende-process-grid > .elementor-container {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 1px !important;
	width: 100% !important;
	max-width: none !important;
	background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
	.duende-process-grid > .elementor-container {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (min-width: 1024px) {
	.duende-process-grid > .elementor-container {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

.duende-process-card {
	display: flex;
	min-height: 17.75rem;
	height: 17.75rem;
	flex-direction: column;
	justify-content: space-between;
	background: #050714;
	padding: 2rem;
	transition: background 0.5s ease;
	width: auto !important;
}

.duende-process-card > .elementor-widget-wrap {
	display: flex !important;
	min-height: 100% !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	justify-content: space-between !important;
}

@media (min-width: 768px) {
	.duende-process-card {
		padding: 2.5rem;
	}
}

.duende-process-card:hover {
	background: #0a0e27;
}

.duende-process-card__num,
.duende-process-card__num .elementor-heading-title {
	color: #fff;
	font-family: var(--duende-serif);
	font-size: 3rem;
	font-style: italic;
	font-weight: 400;
	line-height: 1;
}

.duende-process-card__title {
	margin: 1.5rem 0 0;
}

.duende-process-card__title,
.duende-process-card__title .elementor-heading-title {
	color: #fff;
	font-family: var(--duende-display);
	font-size: clamp(1.5rem, 2vw, 1.875rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.duende-process-card__desc {
	margin: 1.5rem 0 0;
}

.duende-process-card__desc,
.duende-process-card__desc .elementor-widget-container,
.duende-process-card__desc p {
	color: rgba(255, 255, 255, 0.55);
	font-family: var(--duende-body);
	font-size: 0.875rem;
	line-height: 1.625;
}

.duende-process-card__desc p {
	margin: 0 !important;
}

@media (min-width: 768px) {
	.duende-process-card__desc {
		font-size: 1rem;
	}
}

/* Scroll reveal */
.duende-manifesto-page .duende-reveal-on-scroll {
	opacity: 0;
	transform: translateY(1.75rem);
	transition:
		opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
		transform 1s cubic-bezier(0.16, 1, 0.3, 1);
	transition-delay: var(--duende-reveal-delay, 0ms);
}

.duende-manifesto-page .duende-reveal-on-scroll.is-in {
	opacity: 1;
	transform: translateY(0);
}

.duende-manifesto-page-title.duende-reveal-on-scroll .duende-manifesto-page-title__word,
.duende-manifesto-page-title.duende-reveal-on-scroll .duende-manifesto-page-title__accent {
	opacity: 0.15;
	transition: opacity 0.6s ease;
	transition-delay: var(--duende-word-delay, 0ms);
}

.duende-manifesto-page-title.duende-reveal-on-scroll.is-in .duende-manifesto-page-title__word,
.duende-manifesto-page-title.duende-reveal-on-scroll.is-in .duende-manifesto-page-title__accent {
	opacity: 1;
}
