/* Hyphen Hub · Archive — capa de diseño */

:root {
	--hh-y: #fff500;
	--hh-k: #000;
	--hh-ink: #111;
	--hh-paper: #fafaf7;
	--hh-mute: #8a8a85;
	--hh-line: rgba(0, 0, 0, .12);
	--hh-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
	--hh-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
	--hh-pad: clamp(20px, 5vw, 72px);
}

/* ---------- Tipografía global ---------- */
html body.hh[class*="elementor-kit-"] {
	--e-global-typography-primary-font-family: var(--hh-sans);
	--e-global-typography-secondary-font-family: var(--hh-sans);
	--e-global-typography-text-font-family: var(--hh-sans);
	--e-global-typography-accent-font-family: var(--hh-mono);
}
body.hh {
	font-family: var(--hh-sans);
	background: var(--hh-paper);
	color: var(--hh-ink);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.hh :where(h1, h2, h3, h4, h5, h6, p, a, li, span, div, button, input, label, blockquote, figcaption, strong, em, b):not([class*="eicon"]):not([class*="fa-"]):not(.fa):not(.fab):not(.fas):not(.far):not([class*="dashicons"]):not(#wpadminbar *):not(#wpadminbar) {
	font-family: var(--hh-sans) !important;
}
body.hh .elementor-heading-title {
	letter-spacing: -.02em;
	font-weight: 500 !important;
	line-height: 1.05;
}
body.hh .elementor-widget-text-editor,
body.hh .elementor-widget-text-editor p {
	font-size: clamp(16px, 1.15vw, 18px);
	line-height: 1.6;
}
body.hh a { transition: color .2s ease, opacity .2s ease; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ---------- Logo SVG ---------- */
.hh-logo-wrap { display: inline-block; line-height: 0; color: var(--hh-y); }
.hh-logo-wrap .hh-logo { width: 100%; max-width: 100%; height: auto; display: block; }
[data-elementor-type="header"] .hh-logo-wrap { width: clamp(132px, 13vw, 176px); }
[data-elementor-type="footer"] .hh-logo-wrap { width: clamp(150px, 16vw, 220px); }

/* ---------- Cabecera ---------- */
[data-elementor-type="header"] {
	position: sticky; top: 0; z-index: 999;
	background: var(--hh-k);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
body.admin-bar [data-elementor-type="header"] { top: 32px; }
@media (max-width: 782px) { body.admin-bar [data-elementor-type="header"] { top: 0; } }
[data-elementor-type="header"] .e-con,
[data-elementor-type="header"] .elementor-section,
[data-elementor-type="header"] .elementor-column-wrap,
[data-elementor-type="header"] .elementor-widget-wrap {
	background-color: var(--hh-k) !important;
	background-image: none !important;
}
[data-elementor-type="header"] .elementor-background-overlay { display: none !important; }
[data-elementor-type="header"] .e-con,
[data-elementor-type="header"] .elementor-section { padding-top: 6px; padding-bottom: 6px; }

/* Menú */
[data-elementor-type="header"] .elementor-nav-menu--main .elementor-item {
	font-family: var(--hh-mono) !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff !important;
	fill: #fff;
	padding-left: 14px !important; padding-right: 14px !important;
}
[data-elementor-type="header"] .elementor-nav-menu--main .elementor-item::before,
[data-elementor-type="header"] .elementor-nav-menu--main .elementor-item::after {
	background-color: var(--hh-y) !important;
	height: 1px !important;
}
[data-elementor-type="header"] .elementor-nav-menu--main .elementor-item:hover,
[data-elementor-type="header"] .elementor-nav-menu--main .elementor-item.elementor-item-active,
[data-elementor-type="header"] .elementor-nav-menu--main .current-menu-item > .elementor-item {
	color: var(--hh-y) !important;
}
/* Menú móvil */
[data-elementor-type="header"] .elementor-menu-toggle {
	background: transparent !important;
	color: #fff !important;
	border: 0 !important;
	font-size: 22px;
}
[data-elementor-type="header"] .elementor-menu-toggle svg { fill: #fff !important; }
[data-elementor-type="header"] .elementor-nav-menu--dropdown {
	background: var(--hh-k) !important;
	border-top: 1px solid rgba(255, 255, 255, .1);
}
[data-elementor-type="header"] .elementor-nav-menu--dropdown a {
	background: var(--hh-k) !important;
	color: #fff !important;
	font-family: var(--hh-mono) !important;
	font-size: 13px !important;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 16px var(--hh-pad) !important;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	justify-content: flex-start !important;
}
[data-elementor-type="header"] .elementor-nav-menu--dropdown a:hover,
[data-elementor-type="header"] .elementor-nav-menu--dropdown a.elementor-item-active { color: var(--hh-y) !important; }

/* Iconos sociales (cabecera y pie) */
[data-elementor-type="header"] .elementor-widget-social-icons,
[data-elementor-type="footer"] .elementor-widget-social-icons {
	--icon-size: 17px !important;
	--icon-padding: .45em !important;
	--grid-column-gap: 6px !important;
}
[data-elementor-type="header"] .elementor-social-icon,
[data-elementor-type="footer"] .elementor-social-icon {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
}
[data-elementor-type="header"] .elementor-social-icon i,
[data-elementor-type="footer"] .elementor-social-icon i { color: #fff !important; }
[data-elementor-type="header"] .elementor-social-icon svg,
[data-elementor-type="footer"] .elementor-social-icon svg { fill: #fff !important; }
[data-elementor-type="header"] .elementor-social-icon:hover svg,
[data-elementor-type="footer"] .elementor-social-icon:hover svg { fill: var(--hh-y) !important; }

/* ---------- Pie ---------- */
[data-elementor-type="footer"] .elementor-heading-title {
	font-family: var(--hh-mono) !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--hh-mute) !important;
}
[data-elementor-type="footer"] .elementor-icon-list-text,
[data-elementor-type="footer"] .elementor-widget-text-editor,
[data-elementor-type="footer"] p,
[data-elementor-type="footer"] a {
	font-size: 15px !important;
	color: #e8e8e3 !important;
}
[data-elementor-type="footer"] a:hover,
[data-elementor-type="footer"] a:hover .elementor-icon-list-text { color: var(--hh-y) !important; }
[data-elementor-type="footer"] .elementor-divider-separator { border-color: rgba(255, 255, 255, .12) !important; }

/* ---------- Bandas de título de página (Events, Community, About…) ---------- */
body.hh:not(.hh-front) [data-elementor-type="wp-page"] .elementor-widget-heading:first-of-type h1.elementor-heading-title,
body.hh:not(.hh-front) [data-elementor-type="wp-page"] > .elementor-element:first-child .elementor-heading-title,
body.hh:not(.hh-front) [data-elementor-type="single-post"] h1.elementor-heading-title,
body.hh:not(.hh-front) [data-elementor-type="single"] h1.elementor-heading-title {
	font-size: clamp(36px, 6vw, 84px) !important;
	letter-spacing: -.035em;
	font-weight: 500 !important;
}

/* ---------- Galerías con filtros (Elementor Portfolio) ---------- */
.elementor-portfolio__filters {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 0 clamp(24px, 4vw, 48px) !important;
	padding: 0 var(--hh-pad);
}
.elementor-portfolio__filter {
	margin: 0 !important;
	padding: 7px 14px !important;
	border: 1px solid var(--hh-line);
	border-radius: 999px;
	font-family: var(--hh-mono) !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--hh-ink) !important;
	background: transparent;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.elementor-portfolio__filter:hover { border-color: var(--hh-ink); }
.elementor-portfolio__filter.elementor-active {
	background: var(--hh-k);
	border-color: var(--hh-k);
	color: var(--hh-y) !important;
}
.elementor-portfolio-item__img img { transition: scale .6s cubic-bezier(.2, .7, .2, 1), filter .4s ease, opacity .7s ease; }
@media (hover: hover) {
	.elementor-portfolio-item:hover .elementor-portfolio-item__img img { scale: 1.04; }
}
.elementor-portfolio-item__overlay { background: rgba(0, 0, 0, .62) !important; }
.elementor-portfolio-item__title {
	font-size: clamp(14px, 1.2vw, 17px) !important;
	font-weight: 500 !important;
	letter-spacing: -.01em;
	color: #fff !important;
	padding: 0 16px;
}
/* En pantallas táctiles el título se ve siempre */
@media (hover: none) {
	.elementor-portfolio-item__overlay {
		opacity: 1 !important;
		background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0) 60%) !important;
		align-items: flex-end !important;
		padding-bottom: 12px;
	}
	.elementor-portfolio-item__title { font-size: 13px !important; text-align: left; }
}

/* ---------- Fichas individuales ---------- */
body.single-evento .elementor-widget-text-editor,
body.single-communities .elementor-widget-text-editor { max-width: 760px; }
body.single-evento .elementor-widget-text-editor strong,
body.single-evento .elementor-widget-text-editor b { font-weight: 600; }
body.hh .elementor-widget-breadcrumbs,
body.hh .elementor-widget-breadcrumbs a,
body.hh #breadcrumbs, body.hh #breadcrumbs a {
	font-family: var(--hh-mono) !important;
	font-size: 12px !important;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--hh-mute) !important;
}
body.hh .elementor-widget-video .elementor-wrapper,
body.hh .elementor-image-gallery img,
body.hh .gallery img { border-radius: 2px; }

/* ---------- Móvil: ajustes generales ---------- */
@media (max-width: 767px) {
	body.hh .elementor-widget-text-editor,
	body.hh .elementor-widget-text-editor p { font-size: 16px; }
	body.hh .e-con, body.hh .elementor-section > .elementor-container { --padding-left: 20px; --padding-right: 20px; }
	.elementor-portfolio__filters { justify-content: flex-start; padding: 0 20px; }
}

/* =========================================================
   PORTADA · homenaje + archivo
   ========================================================= */
body.hh-front { background: var(--hh-k); color: #eaeae5; }
body.hh-front [data-elementor-type="header"] { border-bottom-color: transparent; }
body.hh-front [data-elementor-type="header"] .elementor-widget-theme-site-logo { visibility: hidden; }

.hh-front-main { background: var(--hh-k); color: #eaeae5; overflow: hidden; }
.hh-front-main a { color: inherit; text-decoration: none; }

/* Hero */
.hh-hero {
	position: relative;
	min-height: calc(100svh - var(--hh-head, 72px));
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(28px, 5vh, 56px);
	padding: 10vh var(--hh-pad);
	text-align: center;
	color: var(--hh-y);
}
.hh-hero__logo { margin: 0; line-height: 0; width: min(82vw, 1000px); }
.hh-hero__logo .hh-logo { width: 100%; height: auto; display: block; color: var(--hh-y); }
.hh-hero__forever {
	margin: 0;
	font-family: var(--hh-sans) !important;
	font-weight: 300;
	font-size: clamp(20px, 2vw, 28px);
	line-height: 1;
	color: var(--hh-y);
	opacity: .45;
}
.hh-hero__down {
	position: absolute;
	left: 50%; bottom: 28px;
	transform: translateX(-50%);
	font-family: var(--hh-mono) !important;
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .45) !important;
}
.hh-hero__down::after { content: ""; display: block; width: 1px; height: 28px; margin: 10px auto 0; background: currentColor; }
.hh-hero__down:hover { color: var(--hh-y) !important; }
@media (prefers-reduced-motion: no-preference) {
	.hh-hero__down { animation: hh-in-soft 1.6s 3.2s ease both; }
}
@keyframes hh-in { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hh-in-soft { from { opacity: 0; } to { opacity: .45; } }
.hh-hero__down { opacity: 1; }

/* Intro */
.hh-label {
	font-family: var(--hh-mono) !important;
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--hh-mute);
	margin: 0 0 18px;
}
.hh-intro {
	max-width: 1320px;
	margin: 0 auto;
	padding: clamp(64px, 12vw, 160px) var(--hh-pad) clamp(40px, 6vw, 80px);
	border-top: 1px solid rgba(255, 255, 255, .1);
}
.hh-lead {
	margin: 0;
	max-width: 980px;
	font-size: clamp(24px, 3.4vw, 46px);
	font-weight: 400;
	line-height: 1.16;
	letter-spacing: -.025em;
	color: #f2f2ec;
}
.hh-intro__meta {
	margin: 28px 0 0;
	font-family: var(--hh-mono) !important;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--hh-mute);
}
.hh-intro__meta a { border-bottom: 1px solid currentColor; }
.hh-intro__meta a:hover { color: var(--hh-y); }

/* Archivo */
.hh-archive { max-width: 1320px; margin: 0 auto; padding: 0 var(--hh-pad) clamp(48px, 8vw, 120px); }
.hh-filters {
	display: flex; flex-wrap: wrap; gap: 8px;
	position: sticky; top: var(--hh-head, 72px); z-index: 5;
	padding: 16px 0;
	margin-bottom: 8px;
	background: linear-gradient(var(--hh-k) 75%, rgba(0, 0, 0, 0));
}
.hh-filter {
	appearance: none;
	cursor: pointer;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .22);
	background: transparent;
	color: #eaeae5;
	font-family: var(--hh-mono) !important;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.2;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.hh-filter:hover { border-color: #fff; }
.hh-filter.is-active { background: var(--hh-y); border-color: var(--hh-y); color: var(--hh-k); }
.hh-filter:focus-visible, .hh-card a:focus-visible, .hh-people a:focus-visible { outline: 2px solid var(--hh-y); outline-offset: 3px; }

.hh-year {
	display: grid;
	grid-template-columns: minmax(110px, 180px) 1fr;
	gap: clamp(16px, 3vw, 48px);
	padding: clamp(28px, 4vw, 48px) 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
}
.hh-year[hidden], .hh-card[hidden] { display: none !important; }
.hh-year__label {
	margin: 0;
	align-self: start;
	position: sticky; top: calc(var(--hh-head, 72px) + 76px);
	font-family: var(--hh-mono) !important;
	font-size: clamp(22px, 2.4vw, 34px) !important;
	font-weight: 400 !important;
	letter-spacing: -.01em;
	color: var(--hh-y) !important;
	line-height: 1;
}
.hh-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: clamp(20px, 2.4vw, 36px) clamp(14px, 1.8vw, 24px);
}
.hh-card { margin: 0; }
.hh-card a { display: block; }
.hh-card__img {
	margin: 0 0 12px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #141414;
}
.hh-card__img img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .5s ease;
}
@media (hover: hover) {
	.hh-card__img img { filter: grayscale(1) contrast(1.05); }
	.hh-card a:hover .hh-card__img img { filter: none; transform: scale(1.035); }
	.hh-card a:hover .hh-card__title { color: var(--hh-y) !important; }
}
.hh-card__title {
	margin: 0;
	font-size: clamp(15px, 1.1vw, 17px) !important;
	font-weight: 500 !important;
	line-height: 1.3;
	letter-spacing: -.01em;
	color: #f2f2ec !important;
	transition: color .2s ease;
}
.hh-card__meta {
	margin: 6px 0 0;
	font-family: var(--hh-mono) !important;
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--hh-mute);
}

/* Comunidad */
.hh-community {
	max-width: 1320px;
	margin: 0 auto;
	padding: clamp(48px, 8vw, 120px) var(--hh-pad);
	border-top: 1px solid rgba(255, 255, 255, .1);
}
.hh-community__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(28px, 4vw, 56px); }
.hh-community__title {
	margin: 0;
	font-size: clamp(36px, 6vw, 84px) !important;
	font-weight: 500 !important;
	letter-spacing: -.035em;
	line-height: 1;
	color: #f2f2ec !important;
}
.hh-more {
	font-family: var(--hh-mono) !important;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hh-mute) !important;
	border-bottom: 1px solid currentColor;
	white-space: nowrap;
}
.hh-more:hover { color: var(--hh-y) !important; }
.hh-people + .hh-people { margin-top: clamp(32px, 4vw, 56px); }
.hh-people__list {
	list-style: none; margin: 0; padding: 0;
	columns: 4 220px;
	column-gap: clamp(16px, 2.4vw, 40px);
}
.hh-people__list li {
	break-inside: avoid;
	padding: 9px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	font-size: 15px;
	line-height: 1.3;
}
.hh-people__list a { color: #dcdcd6 !important; }
.hh-people__list a:hover { color: var(--hh-y) !important; }

.hh-coda {
	margin: 0;
	padding: clamp(40px, 8vw, 96px) 0 clamp(48px, 8vw, 96px);
	text-align: center;
	font-weight: 300;
	font-size: 22px;
	color: var(--hh-y);
	opacity: .35;
}

/* Portada en móvil */
@media (max-width: 767px) {
	.hh-hero { padding: 8vh 22px 14vh; }
	.hh-hero__logo { width: 88vw; }
	.hh-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -22px; margin-right: -22px; padding: 14px 22px; }
	.hh-filters::-webkit-scrollbar { display: none; }
	.hh-filter { white-space: nowrap; flex: 0 0 auto; }
	.hh-year { grid-template-columns: 1fr; gap: 16px; }
	.hh-year__label { position: static; }
	.hh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
	.hh-card__title { font-size: 14px !important; }
	.hh-card__meta { font-size: 10px; }
	.hh-people__list { columns: 2 140px; }
	.hh-people__list li { font-size: 14px; }
	.hh-archive, .hh-intro, .hh-community { padding-left: 22px; padding-right: 22px; }
}

/* ---------- Ajustes v1.1: cabecera móvil, filtros deslizables, títulos ---------- */
.hh-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
[data-elementor-type="header"] .elementor-icon-list-icon svg { fill: #fff !important; }
[data-elementor-type="header"] .elementor-icon-list-icon i { color: #fff !important; }
[data-elementor-type="header"] .elementor-icon-list-item:hover .elementor-icon-list-icon svg { fill: var(--hh-y) !important; }
@media (max-width: 767px) {
	[data-elementor-type="header"] .elementor-element-d5c1645 {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		padding: 10px 18px !important;
		gap: 12px !important;
	}
	[data-elementor-type="header"] .elementor-element-5881cf0 { width: auto !important; flex: 1 1 auto !important; padding: 0 !important; }
	[data-elementor-type="header"] .elementor-element-d9cb6ea,
	[data-elementor-type="header"] .elementor-element-d9cb6ea .elementor-widget-container { text-align: left !important; width: auto !important; }
	[data-elementor-type="header"] .elementor-element-40bedad { display: none !important; }
	[data-elementor-type="header"] .elementor-element-7061dbe { width: auto !important; flex: 0 0 auto !important; padding: 0 !important; }
	[data-elementor-type="header"] .elementor-element-086d9de,
	[data-elementor-type="header"] .elementor-element-086d9de > .e-con-inner { padding-top: 0 !important; padding-bottom: 0 !important; }
	[data-elementor-type="header"] .elementor-icon-list-icon svg { width: 26px !important; height: 26px !important; }
	.elementor-portfolio__filters {
		flex-wrap: nowrap !important;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		padding: 2px 20px !important;
	}
	.elementor-portfolio__filters::-webkit-scrollbar { display: none; }
	.elementor-portfolio__filter { white-space: nowrap; flex: 0 0 auto; }
}

/* ---------- Ajustes v1.2 ---------- */
/* El icono de menú móvil es una imagen raster dentro de un SVG: se invierte a blanco */
[data-elementor-type="header"] .elementor-element-8a992df .elementor-icon-list-icon svg { filter: invert(1) grayscale(1) brightness(1.6); }
@media (max-width: 767px) {
	/* Sólo el contenedor exterior conserva margen lateral */
	body.hh :is([data-elementor-type="wp-page"], [data-elementor-type="single-post"], [data-elementor-type="single"], [data-elementor-type="archive"]) .e-con .e-con {
		--padding-left: 0px !important;
		--padding-right: 0px !important;
	}
}

/* ---------- Ajustes v1.3: menú emergente móvil ---------- */
.elementor-popup-modal .dialog-widget-content,
[data-elementor-type="popup"] .e-con,
[data-elementor-type="popup"] .elementor-section {
	background-color: var(--hh-k) !important;
	background-image: none !important;
}
[data-elementor-type="popup"] .elementor-nav-menu a,
[data-elementor-type="popup"] .elementor-item {
	font-family: var(--hh-mono) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff !important;
	background: transparent !important;
}
[data-elementor-type="popup"] .elementor-nav-menu a:hover,
[data-elementor-type="popup"] .elementor-item-active { color: var(--hh-y) !important; }
[data-elementor-type="popup"] .elementor-divider-separator { border-color: rgba(255, 255, 255, .14) !important; }
[data-elementor-type="popup"] .elementor-social-icon { background: transparent !important; }
[data-elementor-type="popup"] .elementor-social-icon svg { fill: #fff !important; }
[data-elementor-type="popup"] .elementor-widget-text-editor,
[data-elementor-type="popup"] p { font-size: 12px !important; color: var(--hh-mute) !important; }
.elementor-popup-modal .dialog-close-button { color: #fff !important; background: transparent !important; outline: 0 !important; }
.elementor-popup-modal .dialog-close-button svg { fill: #fff !important; }

/* ---------- Ajustes v1.4: logo con ruido/disolución, grano, dedicatoria ---------- */
.hh-hero { overflow: hidden; isolation: isolate; }
.hh-hero-svg { overflow: visible; }
.hh-hero-g { will-change: opacity; }
.hh-hero::after {
	content: "";
	position: absolute;
	inset: -25%;
	z-index: 2;
	pointer-events: none;
	opacity: var(--hh-grain, .07);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (prefers-reduced-motion: no-preference) {
	.hh-hero::after { animation: hh-grain 1s steps(1) infinite; }
}
@keyframes hh-grain {
	0% { transform: translate(0, 0); }
	20% { transform: translate(-6%, 4%); }
	40% { transform: translate(4%, -5%); }
	60% { transform: translate(-3%, -2%); }
	80% { transform: translate(5%, 3%); }
	100% { transform: translate(0, 0); }
}
.hh-hero__logo { width: min(80vw, 980px); }

.hh-memoriam {
	background: var(--hh-k);
	text-align: center;
	padding: clamp(80px, 16vh, 180px) 22px clamp(36px, 7vh, 80px);
}
.hh-memoriam__label {
	margin: 0 0 22px;
	font-family: var(--hh-mono) !important;
	font-size: 12px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--hh-mute);
}
.hh-memoriam__name {
	margin: 0;
	font-weight: 300 !important;
	font-size: clamp(40px, 7.5vw, 112px);
	line-height: 1;
	letter-spacing: -.035em;
	color: var(--hh-y);
}
.hh-memoriam__inf {
	margin: 30px 0 0;
	font-weight: 300;
	font-size: 22px;
	line-height: 1;
	color: var(--hh-y);
	opacity: .45;
}
@media (prefers-reduced-motion: no-preference) {
	.hh-memoriam__label { animation: hh-mem 1.6s .2s ease both; }
	.hh-memoriam__name { animation: hh-mem-blur 2.4s .5s cubic-bezier(.2, .7, .2, 1) both; }
	.hh-memoriam__inf { animation: hh-in-soft 2s 1.8s ease both; }
}
@keyframes hh-mem { from { opacity: 0; } to { opacity: 1; } }
@keyframes hh-mem-blur { from { opacity: 0; filter: blur(14px); letter-spacing: .02em; } to { opacity: 1; filter: blur(0); letter-spacing: -.035em; } }

/* ---------- Ajustes v1.5: dedicatoria en portada ---------- */
.hh-hero { gap: clamp(22px, 4vh, 44px); }
.hh-hero__memory {
	margin: 0;
	font-family: var(--hh-mono) !important;
	font-size: clamp(10px, 1vw, 12px);
	letter-spacing: .24em;
	text-transform: uppercase;
	color: #fff;
	opacity: .75;
	line-height: 1.6;
}
.hh-hero__memory + .hh-hero__forever { margin-top: -6px; }

/* ---------- Ajustes v1.6: cargador, transiciones, imágenes ---------- */
#hh-loader { display: none; }
.hh-js #hh-loader {
	display: flex;
	position: fixed;
	inset: 0;
	z-index: 100000;
	align-items: center;
	justify-content: center;
	background: var(--hh-k);
	transition: opacity .5s ease, visibility 0s linear .5s;
}
.hh-js.hh-loaded:not(.hh-leaving) #hh-loader { opacity: 0; visibility: hidden; }
.hh-js.hh-leaving #hh-loader { opacity: 1; visibility: visible; transition: opacity .25s ease, visibility 0s; }
.hh-loader__ring { position: absolute; width: 58px; height: 58px; animation: hh-spin 1.1s linear infinite; }
.hh-loader__ring circle { stroke: var(--hh-y); stroke-dasharray: 38 140; stroke-linecap: round; }
.hh-loader__inf { color: var(--hh-y); font-size: 18px; font-weight: 300; line-height: 1; opacity: .85; }
@keyframes hh-spin { to { transform: rotate(360deg); } }

.hh-card__img { position: relative; }
.elementor-portfolio-item__img { background: #ecece7; }
.hh-js .elementor-portfolio-item__img img,
.hh-js .hh-card__img img {
	opacity: 0;
	animation: hh-show 0s 6s forwards;
}
.hh-js .elementor-portfolio-item__img img { transition: opacity .7s ease, scale .6s cubic-bezier(.2, .7, .2, 1), filter .4s ease; }
.hh-js .hh-card__img img { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), filter .5s ease; }
.hh-js .elementor-portfolio-item__img img.hh-in,
.hh-js .hh-card__img img.hh-in { opacity: 1; }
@keyframes hh-show { to { opacity: 1; } }
.hh-js .elementor-portfolio-item__img::before,
.hh-js .hh-card__img::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 70%);
	background-size: 220% 100%;
	animation: hh-shimmer 1.3s linear infinite;
}
.hh-js .hh-card__img::before { background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .06) 50%, rgba(255, 255, 255, 0) 70%); }
.hh-js .elementor-portfolio-item__img:has(img.hh-in)::before,
.hh-js .hh-card__img:has(img.hh-in)::before { display: none; }
@keyframes hh-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) {
	.hh-loader__ring, .hh-js .elementor-portfolio-item__img::before, .hh-js .hh-card__img::before { animation: none; }
}

/* ---------- Ajustes v1.7: enlaces largos y embebidos en móvil ---------- */
body.hh .elementor-widget-text-editor { overflow-wrap: anywhere; }
body.hh .elementor-widget-text-editor iframe,
body.hh .elementor-widget-text-editor img,
body.hh .elementor-widget-text-editor video { max-width: 100%; height: auto; }

/* ---------- Ajustes v1.8: webmaster en el pie ---------- */
[data-elementor-type="footer"] .hh-webmaster { margin-top: 14px; }
[data-elementor-type="footer"] .hh-webmaster__label {
	font-family: var(--hh-mono) !important;
	font-size: 10px !important;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--hh-mute) !important;
}
