/**
 * Projets — front layout (artistic portfolio).
 */

.hornet-projet-single {
	--projet-gap: clamp(2.5rem, 5vw, 4.5rem);
}

.hornet-projet-hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(22rem, 62vh, 40rem);
	overflow: hidden;
	background: var(--color-brand-charcoal, #1a1a1a);
	color: #fff;
}

.hornet-projet-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hornet-projet-hero__media img,
.hornet-projet-cover-video--hero,
.hornet-projet-cover-video--hero .hornet-projet-cover-video__player,
.hornet-projet-cover-video--hero .hornet-projet-cover-video__iframe {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hornet-projet-cover-video {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #000;
}

.hornet-projet-cover-video--hero {
	position: absolute;
	inset: 0;
}

.hornet-projet-cover-video--embed .hornet-projet-cover-video__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	pointer-events: none;
}

.hornet-projet-cover-video--manual.hornet-projet-cover-video--embed .hornet-projet-cover-video__iframe {
	pointer-events: auto;
}

.hornet-projet-video__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* YouTube/Vimeo cover: crop to fill like object-fit cover */
.hornet-projet-cover-video--hero.hornet-projet-cover-video--embed .hornet-projet-cover-video__iframe {
	inset: auto;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-height: 100%;
	min-width: 177.78%;
	transform: translate(-50%, -50%);
}

.hornet-projet-cover-video--banner,
.hornet-projet-cover-video--split {
	aspect-ratio: 1 / 1;
	width: 100%;
	height: auto;
}

.hornet-projet-cover-video--banner .hornet-projet-cover-video__player,
.hornet-projet-cover-video--split .hornet-projet-cover-video__player {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	background: var(--hornet-projet-grid-bg, #e8e8e8);
}

.hornet-projet-cover-video--banner.hornet-projet-cover-video--embed,
.hornet-projet-cover-video--split.hornet-projet-cover-video--embed {
	aspect-ratio: 16 / 9;
}

.hornet-projet-banner__media .hornet-projet-cover-video--banner,
.hornet-projet-split__cover--video .hornet-projet-cover-video--split {
	max-height: 28rem;
}

.hornet-projet-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgb(0 0 0 / 0.18) 0%, rgb(0 0 0 / 0.55) 100%),
		linear-gradient(90deg, rgb(0 0 0 / 0.35) 0%, transparent 55%);
	pointer-events: none;
}

.hornet-projet-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(22rem, 62vh, 40rem);
	padding-block: clamp(3rem, 8vw, 5.5rem);
}

.hornet-projet-hero--interactive .hornet-projet-hero__inner {
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.hornet-projet-card__media img { transition: none; }
}

.hornet-projet-hero__kicker {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.85;
}

.hornet-projet-hero__title {
	margin: 0;
	max-width: 18ch;
	font-size: clamp(2.25rem, 5.5vw, 4.25rem);
	line-height: 1.05;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.hornet-projet-hero__subtitle {
	margin: 1rem 0 0;
	max-width: 36rem;
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	line-height: 1.45;
	opacity: 0.92;
}

.hornet-projet-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	opacity: 0.88;
}

.hornet-projet-hero__meta li:not(:last-child)::after {
	content: "·";
	margin-left: 1rem;
	opacity: 0.55;
}

/* Banner — texte gauche / image droite contain sur fond gris */
.hornet-projet-banner {
	background: var(--hornet-projet-header-bg, #e8e8e8);
	color: var(--color-brand-charcoal, #1a1a1a);
}

.hornet-projet-banner__inner {
	/* Top spacing is handled by the shared project breadcrumbs above. */
	padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.hornet-projet-banner__grid {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: center;
}

@media (min-width: 900px) {
	.hornet-projet-banner__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: clamp(2rem, 4vw, 3.5rem);
		min-height: clamp(16rem, 36vh, 24rem);
		max-height: 28rem;
	}
}

.hornet-projet-crumbs .breadcrumbs {
	margin-bottom: 0;
}

.hornet-projet-banner__kicker {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-brand-muted, #6b6b6b);
}

.hornet-projet-banner__title {
	margin: 0;
	max-width: 14ch;
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	line-height: 1.05;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.hornet-projet-banner__subtitle {
	margin: 1rem 0 0;
	max-width: 34rem;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	line-height: 1.45;
	color: var(--color-brand-muted, #6b6b6b);
}

.hornet-projet-banner__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	color: var(--color-brand-muted, #6b6b6b);
}

.hornet-projet-banner__meta li:not(:last-child)::after {
	content: "·";
	margin-left: 1rem;
	opacity: 0.55;
}

.hornet-projet-banner__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	width: 100%;
	max-width: min(100%, 32rem);
	margin-inline: auto;
	overflow: hidden;
	background: var(--hornet-projet-grid-bg, #e8e8e8);
}

@media (min-width: 900px) {
	.hornet-projet-banner__media {
		max-width: none;
		max-height: 28rem;
		margin-inline: 0;
		justify-self: stretch;
		align-self: center;
	}
}

.hornet-projet-banner__media img,
.hornet-projet-banner__image {
	display: block;
	width: auto;
	height: auto;
	max-width: 80%;
	max-height: 80%;
	object-fit: contain;
	object-position: center;
}

.hornet-projet-layout {
	display: grid;
	gap: var(--projet-gap);
	padding-block: var(--projet-gap);
}

@media (min-width: 1024px) {
	.hornet-projet-layout {
		grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
		align-items: start;
		column-gap: clamp(2rem, 4vw, 4rem);
	}

	.hornet-projet-aside {
		position: sticky;
		top: 6rem;
	}

	.hornet-projet-layout:not(:has(.hornet-projet-aside)) {
		grid-template-columns: minmax(0, 1fr);
	}
}

.hornet-projet-body {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--color-brand-charcoal, #1a1a1a);
}

.hornet-projet-body > *:first-child {
	margin-top: 0;
}

.hornet-projet-body > *:last-child {
	margin-bottom: 0;
}

.hornet-projet-body p {
	margin: 0 0 1.15em;
}

.hornet-projet-aside__panel {
	padding: 1.25rem 0;
	border-top: 1px solid rgb(0 0 0 / 0.1);
	border-bottom: 1px solid rgb(0 0 0 / 0.1);
}

.hornet-projet-aside__title {
	margin: 0 0 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-brand-muted, #6b6b6b);
}

.hornet-projet-details {
	margin: 0;
}

.hornet-projet-details__row {
	display: grid;
	grid-template-columns: 6.5rem minmax(0, 1fr);
	gap: 0.75rem;
	padding: 0.65rem 0;
	border-top: 1px solid rgb(0 0 0 / 0.06);
	font-size: 0.9375rem;
}

.hornet-projet-details__row:first-child {
	border-top: 0;
	padding-top: 0;
}

.hornet-projet-details__label {
	color: var(--color-brand-muted, #6b6b6b);
}

.hornet-projet-details__value {
	color: var(--color-brand-charcoal, #1a1a1a);
	font-weight: 500;
}

.hornet-projet-aside__credits {
	margin: 1.25rem 0 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--color-brand-muted, #6b6b6b);
	white-space: pre-line;
}

.hornet-projet-aside__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 1.25rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--color-brand-primary, #e85a24);
	text-decoration: none;
}

.hornet-projet-aside__link:hover {
	text-decoration: underline;
}

.hornet-projet-video {
	margin-top: var(--projet-gap);
}

.hornet-projet-video__frame {
	position: relative;
	overflow: hidden;
	border-radius: var(--hornet-radius-panel, 0.5rem);
	aspect-ratio: 16 / 9;
	background: #000;
}

.hornet-projet-video__frame iframe,
.hornet-projet-video__player {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.hornet-projet-video__player {
	object-fit: contain;
	background: #000;
}

/* Section vidéo (dont import « vidéo mise en avant ») : carte à gauche, pas full-bleed */
.hornet-projet-video-card {
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
	padding: clamp(0.85rem, 2.2vw, 1.35rem);
	background: var(--hornet-projet-grid-bg, #ececec);
	border-radius: calc(var(--hornet-radius-panel, 0.5rem) + 0.15rem);
}

.hornet-projet-section--video .hornet-projet-video {
	margin: 0;
}

.hornet-projet-section--video .hornet-projet-video__frame {
	border-radius: var(--hornet-radius-panel, 0.5rem);
	background: var(--hornet-projet-grid-bg, #e4e4e4);
}

.hornet-projet-section--video .hornet-projet-video__player {
	background: transparent;
	object-fit: contain;
}

@media (min-width: 768px) {
	.hornet-projet-video-card {
		width: 50%;
	}
}

.hornet-projet-gallery {
	padding-block: 0 var(--projet-gap);
}

.hornet-projet-gallery-fallback { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
.hornet-projet-gallery-fallback img { width: 100%; height: auto; object-fit: contain; }

/* Grille litebox projet : cadres toujours carrés */
.hornet-projet-gallery-grid .hornet-grid-litebox__frame,
.hornet-projet-gallery .hornet-grid-litebox__frame {
	aspect-ratio: 1 / 1;
}

.hornet-projet-gallery--linked,
.hornet-projet-section + .hornet-projet-section {
	padding-block: var(--projet-gap);
	border-top: 1px solid rgb(0 0 0 / 0.08);
}

.hornet-projet-gallery__title,
.hornet-projet-related__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	letter-spacing: -0.02em;
}

/* Slider projet : cadre carré, image en contain (pas cover) */
.hornet-projet-gallery-slider .hornet-thumbnail-slider__main-frame,
.hornet-projet-gallery-slider .hornet-thumbnail-slider__main-frame.aspect-square,
.hornet-projet-gallery-slider .hornet-thumbnail-slider__main-frame[class*="aspect-"] {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--hornet-projet-grid-bg, #e8e8e8);
	border-radius: var(--hornet-radius-panel, 0.5rem);
}

.hornet-projet-gallery-slider .hornet-thumbnail-slider__main-frame.aspect-square .hornet-thumbnail-slider__main-image,
.hornet-projet-gallery-slider .hornet-thumbnail-slider__main-frame[class*="aspect-"] .hornet-thumbnail-slider__main-image,
.hornet-projet-gallery-slider .hornet-thumbnail-slider__main-image {
	position: absolute;
	inset: 0;
	top: 50%;
	left: 50%;
	right: auto;
	bottom: auto;
	width: auto;
	height: auto;
	max-width: 80%;
	max-height: 80%;
	margin: 0;
	transform: translate(-50%, -50%);
	object-fit: contain;
	object-position: center;
}

.hornet-projet-gallery-slider .hornet-thumbnail-slider__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

.hornet-projet-related {
	padding-block: var(--projet-gap);
	border-top: 1px solid rgb(0 0 0 / 0.08);
}

.hornet-projets-archive__header {
	max-width: 40rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hornet-projets-archive__title {
	margin: 0;
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	line-height: 1.1;
	letter-spacing: -0.025em;
}

.hornet-projets-archive__desc {
	margin: 0.85rem 0 0;
	color: var(--color-brand-muted, #6b6b6b);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.hornet-projets-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem 1.25rem;
}

@media (min-width: 640px) {
	.hornet-projets-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.hornet-projets-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem 1.5rem;
	}
}

.hornet-projet-card {
	display: block;
	color: inherit;
	text-decoration: none;
}

.hornet-projet-card__media {
	position: relative;
	overflow: hidden;
	border-radius: var(--hornet-radius-panel, 0.5rem);
	aspect-ratio: 4 / 5;
	background: rgb(0 0 0 / 0.04);
}

.hornet-projet-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hornet-projet-card--slider-fit-contain .hornet-projet-card__media img {
	object-fit: contain;
}

.hornet-projet-card--slider-title-overlay .hornet-projet-card__media::after {
	position: absolute;
	inset: 35% 0 0;
	background: linear-gradient(transparent, rgb(0 0 0 / 0.72));
	content: '';
	pointer-events: none;
}

.hornet-projet-card__title--overlay {
	position: absolute;
	z-index: 1;
	inset: auto 1rem 1rem;
	color: #fff;
	text-shadow: 0 1px 3px rgb(0 0 0 / 0.35);
}

.hornet-projet-card.post-card--image-zoom .hornet-projet-card__media img {
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hornet-projet-card.post-card--image-zoom:hover .hornet-projet-card__media img,
.hornet-projet-card.post-card--image-zoom:focus-visible .hornet-projet-card__media img {
	transform: scale(1.04);
}

.hornet-projet-card__body {
	padding-top: 0.9rem;
}

.hornet-projet-card__meta {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-brand-muted, #6b6b6b);
}

.hornet-projet-card__title {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

.hornet-projet-card__subtitle {
	margin: 0.35rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.4;
	color: var(--color-brand-muted, #6b6b6b);
}

.hornet-projet-empty {
	padding: 3rem 0;
	color: var(--color-brand-muted, #6b6b6b);
}

/* Scroll archive — sticky preview synced to a moving project index. */
.hornet-projets-scroll {
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: none;
	height: auto;
	margin-left: -50vw;
	background: #222;
	color: #f4f2ee;
}

.hornet-projets-scroll__pin {
	position: sticky;
	top: 0;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(12rem, 0.82fr) minmax(0, 2.15fr) minmax(11rem, 0.78fr);
	align-items: center;
	gap: clamp(1rem, 2.5vw, 3rem);
	height: 100svh;
	padding: clamp(1rem, 3.5vw, 4.5rem);
	box-sizing: border-box;
}

.hornet-projets-scroll__list-window,
.hornet-projets-scroll__meta-window {
	position: relative;
	max-height: 72vh;
	overflow: hidden;
}

.hornet-projets-scroll__right-rail {
	align-self: stretch;
	display: flex;
	min-height: 0;
	flex-direction: column;
}

.hornet-projets-scroll__right-rail .hornet-projets-scroll__meta-window {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	width: 100%;
	max-height: 72vh;
}

.hornet-projets-scroll__meta-list {
	width: 100%;
}

.hornet-projets-scroll__project-link {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	min-width: 9.5rem;
	min-height: 2.9rem;
	align-self: flex-end;
	margin-top: auto;
	padding: 0.65rem 0.85rem;
	background: #f4f2ee;
	color: #222;
	font-size: 0.8rem;
	font-weight: 650;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.hornet-projets-scroll__project-link:hover,
.hornet-projets-scroll__project-link:focus-visible {
	background: #d8d5ce;
	color: #111;
}

.hornet-projets-scroll__project-arrow {
	display: block;
	width: 1.2rem;
	height: 1.2rem;
}

.hornet-projets-scroll__list,
.hornet-projets-scroll__meta-list {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
	transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.hornet-projets-scroll__list-item,
.hornet-projets-scroll__meta-item {
	min-height: 2rem;
	box-sizing: border-box;
	font-size: clamp(0.68rem, 0.83vw, 0.82rem);
	font-weight: 600;
	line-height: 2rem;
	text-transform: uppercase;
	white-space: nowrap;
	color: rgb(244 242 238 / 0.28);
	transition: color 0.35s ease, opacity 0.35s ease;
}

.hornet-projets-scroll__list-item.is-active,
.hornet-projets-scroll__meta-item.is-active {
	color: #f4f2ee;
}

.hornet-projets-scroll__list-item a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.hornet-projets-scroll__list-item a::before {
	width: 0;
	content: '›';
	font-size: 1rem;
	line-height: 1;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.hornet-projets-scroll__list-item.is-active a::before {
	opacity: 1;
}

.hornet-projets-scroll__index {
	flex: 0 0 1.7rem;
}

.hornet-projets-scroll__name {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hornet-projets-scroll__stage {
	position: relative;
	width: 100%;
	height: min(64svh, 43rem);
	overflow: hidden;
	background: #101014;
}

.hornet-projets-scroll__visual {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 0.55s ease;
}

.hornet-projets-scroll__visual.is-active {
	opacity: 1;
}

.hornet-projets-scroll__visual img,
.hornet-projets-scroll__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hornet-projets-scroll__placeholder {
	background: linear-gradient(140deg, #353535, #101014 70%);
}

.hornet-projets-scroll__meta-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr) auto;
	gap: 0.75rem;
	font-weight: 500;
}

.hornet-projets-scroll__meta-item span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hornet-projets-scroll__steps {
	display: none;
	position: absolute;
	z-index: 0;
	inset: 0;
	display: flex;
	flex-direction: column;
	visibility: hidden;
	pointer-events: none;
}

.hornet-projets-scroll__step {
	flex: 1 1 0;
	min-height: 0;
}

.hornet-projets-scroll__mobile-fixed {
	display: none;
}

.hornet-projets-scroll__pin,
.hornet-projets-scroll__steps {
	display: none;
}

.hornet-projets-scroll__mobile-cards {
	display: grid;
	gap: 2.5rem;
	max-width: 72rem;
	margin-inline: auto;
	padding: 3rem 2rem;
}

.hornet-projets-scroll.is-enhanced {
	height: calc(var(--hornet-scroll-project-count, 1) * 100svh);
}

.hornet-projets-scroll.is-enhanced .hornet-projets-scroll__pin {
	display: grid;
}

.hornet-projets-scroll.is-enhanced .hornet-projets-scroll__steps {
	display: flex;
}

.hornet-projets-scroll.is-enhanced .hornet-projets-scroll__mobile-cards {
	display: none;
}

@media (max-width: 767px) {
	.hornet-projets-scroll {
		left: auto;
	width: auto;
	max-width: none;
	min-height: 0;
	margin: 0 -1rem;
	padding: 1.25rem 1rem 6.5rem;
	height: auto;
	box-sizing: border-box;
	background: #222;
	color: #f4f2ee;
	}

	.hornet-projets-scroll.is-enhanced {
		height: auto;
	}

	.hornet-projets-scroll.is-enhanced .hornet-projets-scroll__pin,
	.hornet-projets-scroll.is-enhanced .hornet-projets-scroll__steps {
		display: none;
	}

	.hornet-projets-scroll.is-enhanced .hornet-projets-scroll__mobile-cards {
		display: grid;
		gap: clamp(2.25rem, 12vw, 4rem);
	}

	.hornet-projets-scroll__mobile-card {
		min-width: 0;
		scroll-margin-top: 18vh;
	}

	.hornet-projets-scroll__mobile-image {
		position: relative;
		display: flex;
		align-items: flex-end;
		justify-content: center;
		min-height: 12rem;
		aspect-ratio: 1.45 / 1;
		overflow: hidden;
		background: #111;
		color: #fff;
		text-align: center;
		text-decoration: none;
	}

	.hornet-projets-scroll__mobile-image::after {
		position: absolute;
		inset: 30% 0 0;
		background: linear-gradient(transparent, rgb(0 0 0 / 0.72));
		content: '';
	}

	.hornet-projets-scroll__mobile-image img,
	.hornet-projets-scroll__mobile-image .hornet-projets-scroll__placeholder {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.hornet-projets-scroll__mobile-image h2 {
		position: relative;
		z-index: 1;
		max-width: 20ch;
		margin: 0 auto 1.25rem;
		padding-inline: 1rem;
		font-size: clamp(1.4rem, 6vw, 2rem);
		line-height: 1.1;
		text-shadow: 0 1px 4px rgb(0 0 0 / 0.45);
	}

	.hornet-projets-scroll__mobile-fixed {
		position: fixed;
		z-index: 30;
		right: 1rem;
		bottom: max(0.75rem, env(safe-area-inset-bottom));
		left: 1rem;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		min-height: 3.25rem;
		padding: 0.65rem 1rem;
		border: 1px solid rgb(255 255 255 / 0.14);
		background: rgb(28 28 28 / 0.94);
		color: #fff;
		font-size: 0.875rem;
		font-weight: 600;
		text-decoration: none;
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		opacity: 0;
		transform: translateY(0.75rem);
		visibility: hidden;
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	}

	.hornet-projets-scroll.is-in-view.has-mobile-active .hornet-projets-scroll__mobile-fixed {
		opacity: 1;
		transform: translateY(0);
		visibility: visible;
	}

	.hornet-projets-scroll__mobile-fixed > span:first-child {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.hornet-projets-scroll__mobile-arrow-icon {
		display: block;
		width: 1.2rem;
		height: 1.2rem;
	}
}

.hornet-projets-scroll--light {
	background: #f2f0ec;
	color: #252522;
}

.hornet-projets-scroll--light .hornet-projets-scroll__list-item,
.hornet-projets-scroll--light .hornet-projets-scroll__meta-item {
	color: rgb(37 37 34 / 0.38);
}

.hornet-projets-scroll--light .hornet-projets-scroll__list-item.is-active,
.hornet-projets-scroll--light .hornet-projets-scroll__meta-item.is-active {
	color: #252522;
}

.hornet-projets-scroll--light .hornet-projets-scroll__stage {
	background: #dedbd5;
}

.hornet-projets-scroll--light .hornet-projets-scroll__placeholder {
	background: linear-gradient(140deg, #e5e2dc, #c9c5bd 70%);
}

.hornet-projets-scroll--light .hornet-projets-scroll__mobile-fixed {
	border-color: rgb(37 37 34 / 0.14);
	background: rgb(250 249 246 / 0.94);
	color: #252522;
}

.hornet-projets-scroll--light .hornet-projets-scroll__project-link {
	background: #252522;
	color: #fff;
}

.hornet-projets-scroll--light .hornet-projets-scroll__project-link:hover,
.hornet-projets-scroll--light .hornet-projets-scroll__project-link:focus-visible {
	background: #45443f;
	color: #fff;
}

.hornet-projets-archive--immersive > .hornet-projets-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.55rem 1.35rem;
	margin: 0 0 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
	.hornet-projets-scroll__list,
	.hornet-projets-scroll__meta-list,
	.hornet-projets-scroll__visual,
	.hornet-projets-scroll__mobile-fixed {
		transition: none;
	}
}

/* Elementor / widget grid — contain + fond gris */
.hornet-projets-widget {
	display: block;
}

.hornet-projets-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.55rem 1.35rem;
	margin: 0 0 1.5rem;
}

.hornet-projets-archive.is-loading .hornet-projets-archive__grid {
	opacity: 0.5;
}

.hornet-projets-archive.is-loading {
	cursor: progress;
}

.hornet-projets-filter__btn {
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--color-brand-muted, #6b6b6b);
	cursor: pointer;
	text-decoration: none;
	underline-offset: 0.2em;
}

.hornet-projets-filter__btn:hover {
	color: var(--color-brand-charcoal, #1a1a1a);
}

.hornet-projets-filter__btn.is-active {
	color: var(--color-brand-charcoal, #1a1a1a);
	text-decoration: underline;
	text-underline-offset: 0.22em;
}

.hornet-projets-filter__btn:focus-visible {
	outline: 2px solid var(--color-brand-primary, #e85a24);
	outline-offset: -2px;
}

.hornet-projet-widget-card.is-filtered-out,
.hornet-projet-widget-card[hidden] {
	display: none !important;
}

.hornet-projets-archive [data-hornet-projet-cats].is-filtered-out,
.hornet-projets-archive [data-hornet-projet-cats][hidden] {
	display: none !important;
}

.hornet-projets-widget-grid {
	--projet-widget-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--projet-widget-cols), minmax(0, 1fr));
	gap: 1.25rem 1rem;
}

.hornet-projets-widget-grid--cols-1 {
	--projet-widget-cols: 1;
}

.hornet-projets-widget-grid--cols-2 {
	--projet-widget-cols: 2;
}

.hornet-projets-widget-grid--cols-3 {
	--projet-widget-cols: 3;
}

.hornet-projets-widget-grid--cols-4 {
	--projet-widget-cols: 4;
}

/* Fallback responsive hors Elementor (les réglages Elementor responsive priment). */
@media (max-width: 1024px) {
	.hornet-projets-widget-grid--cols-3,
	.hornet-projets-widget-grid--cols-4 {
		--projet-widget-cols: 2;
	}
}

@media (max-width: 640px) {
	.hornet-projets-widget-grid--cols-2,
	.hornet-projets-widget-grid--cols-3,
	.hornet-projets-widget-grid--cols-4 {
		--projet-widget-cols: 1;
	}
}

.hornet-projets-archive__grid {
	--projet-widget-cols: var(--projet-archive-cols-desktop, 3);
}

/* Projects archive layouts: three image Bento, staggered mosaic and editorial rows. */
.hornet-projets-archive__grid--bento {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
}

.hornet-projet-archive-bento {
	min-width: 0;
}

.hornet-projet-archive-bento__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.hornet-projet-archive-bento__gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.3rem, 0.8vw, 0.75rem);
}

.hornet-projet-archive-bento__image {
	position: relative;
	min-width: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--hornet-surface-muted, #eceff1);
}

.hornet-projet-archive-bento__image img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hornet-projet-archive-bento__link:hover .hornet-projet-archive-bento__image img,
.hornet-projet-archive-bento__link:focus-visible .hornet-projet-archive-bento__image img {
	transform: scale(1.035);
}

.hornet-projet-archive-bento__gallery--count-1 .hornet-projet-archive-bento__image {
	grid-column: 1 / -1;
	aspect-ratio: 2.4 / 1;
}

.hornet-projet-archive-bento__gallery--count-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hornet-projet-archive-bento__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 3.25rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--hornet-border, rgb(0 0 0 / 0.16));
	font-size: 1rem;
	font-weight: 500;
}

.hornet-projet-archive-bento__title {
	min-width: 0;
	margin: 0;
	font: inherit;
}

.hornet-projet-archive-bento__arrow-icon {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
}

.hornet-projets-archive__grid--mosaic {
	display: block;
	column-count: var(--projet-archive-cols-desktop, 3);
	column-gap: 1.25rem;
}

.hornet-projets-archive__grid--mosaic > .hornet-projet-card {
	display: inline-block;
	width: 100%;
	margin: 0 0 1.5rem;
	break-inside: avoid;
}

.hornet-projets-archive__grid--mosaic .hornet-projet-card__media {
	aspect-ratio: 4 / 5;
}

.hornet-projets-archive__grid--mosaic > .hornet-projet-card:nth-child(5n + 2) .hornet-projet-card__media,
.hornet-projets-archive__grid--mosaic > .hornet-projet-card:nth-child(5n + 4) .hornet-projet-card__media {
	aspect-ratio: 4 / 3;
}

.hornet-projets-archive__grid--mosaic > .hornet-projet-card:nth-child(7n + 1) .hornet-projet-card__media {
	aspect-ratio: 1 / 1;
}

.hornet-projets-archive__grid--editorial {
	display: block;
}

.hornet-projets-archive__grid--editorial > .hornet-projet-card {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(15rem, 0.7fr);
	align-items: center;
	gap: clamp(1.5rem, 4vw, 4rem);
	padding-block: clamp(1.75rem, 4vw, 3.5rem);
	border-bottom: 1px solid var(--hornet-border, rgb(0 0 0 / 0.14));
}

.hornet-projets-archive__grid--editorial > .hornet-projet-card:first-child {
	padding-top: 0;
}

.hornet-projets-archive__grid--editorial > .hornet-projet-card:nth-child(even) .hornet-projet-card__media {
	order: 2;
}

.hornet-projets-archive__grid--editorial .hornet-projet-card__media {
	aspect-ratio: 16 / 10;
}

.hornet-projets-archive__grid--editorial .hornet-projet-card__body {
	padding: 0;
}

.hornet-projets-archive__grid--editorial .hornet-projet-card__title {
	font-size: clamp(1.5rem, 3vw, 2.75rem);
	line-height: 1.08;
}

.hornet-projets-archive__grid--editorial .hornet-projet-card__subtitle {
	max-width: 38rem;
	margin-top: 1rem;
	font-size: 1rem;
}

/* A compact, typographic catalogue index. */
.hornet-projets-archive__grid--index {
	display: block;
	border-top: 1px solid var(--hornet-border, rgb(0 0 0 / 0.2));
}

.hornet-projets-archive__grid--index > .hornet-projet-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(7rem, 18vw);
	align-items: center;
	gap: clamp(1rem, 3vw, 3rem);
	padding: clamp(0.8rem, 1.5vw, 1.25rem) 0;
	border-bottom: 1px solid var(--hornet-border, rgb(0 0 0 / 0.2));
	text-decoration: none;
}

.hornet-projets-archive__grid--index .hornet-projet-card__media {
	grid-column: 2;
	grid-row: 1 / span 2;
	aspect-ratio: 4 / 3;
	margin: 0;
	background: var(--hornet-surface-muted, #eceff1);
}

.hornet-projets-archive__grid--index .hornet-projet-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hornet-projets-archive__grid--index .hornet-projet-card__body {
	grid-column: 1;
	grid-row: 1 / span 2;
	position: relative;
	padding: 0 2.5rem 0 0;
}

.hornet-projets-archive__grid--index .hornet-projet-card__body::after {
	content: '↗';
	position: absolute;
	right: 0;
	top: 50%;
	font-size: 1.35rem;
	transform: translateY(-50%);
	transition: transform 180ms ease;
}

.hornet-projets-archive__grid--index > .hornet-projet-card:hover .hornet-projet-card__body::after,
.hornet-projets-archive__grid--index > .hornet-projet-card:focus-visible .hornet-projet-card__body::after {
	transform: translate(0.2rem, calc(-50% - 0.2rem));
}

.hornet-projets-archive__grid--index .hornet-projet-card__title {
	margin: 0;
	font-size: clamp(1.35rem, 3.2vw, 3.6rem);
	font-weight: 450;
	letter-spacing: -0.045em;
	line-height: 1.04;
}

.hornet-projets-archive__grid--index .hornet-projet-card__meta,
.hornet-projets-archive__grid--index .hornet-projet-card__subtitle {
	margin: 0.55rem 0 0;
	font-size: 0.78rem;
	line-height: 1.4;
	opacity: 0.68;
}

/* Full-width Embla filmstrip, sharing the theme carousel runtime. */
.hornet-projets-filmstrip {
	position: relative;
	left: 50%;
	width: 100vw;
	margin: clamp(2rem, 6vw, 6rem) 0;
	margin-left: -50vw;
	padding: clamp(2.5rem, 6vw, 6rem) 0 clamp(1.5rem, 3vw, 2.5rem);
	background: #202020;
	color: #fff;
}

.hornet-projets-filmstrip--light {
	background: #f2f0ed;
	color: #171717;
}

.hornet-projets-filmstrip__slider {
	--hornet-slider-dot-bg: rgb(255 255 255 / 0.3);
	--hornet-slider-dot-active: currentColor;
}

.hornet-projets-filmstrip--light .hornet-projets-filmstrip__slider {
	--hornet-slider-dot-bg: rgb(0 0 0 / 0.2);
	--hornet-slider-dot-active: #171717;
}

.hornet-projets-filmstrip__card {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1.72 / 1;
	overflow: hidden;
	color: #fff;
	background: rgb(128 128 128 / 0.2);
	text-decoration: none;
}

.hornet-projets-filmstrip__image,
.hornet-projets-filmstrip__image::after,
.hornet-projets-filmstrip__image img,
.hornet-projets-filmstrip__placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hornet-projets-filmstrip__image::after {
	content: '';
	background: linear-gradient(180deg, transparent 42%, rgb(0 0 0 / 0.72) 100%);
}

.hornet-projets-filmstrip__image img {
	display: block;
	object-fit: cover;
	transition: transform 650ms cubic-bezier(.2, .75, .25, 1);
}

.hornet-projets-filmstrip__card:hover .hornet-projets-filmstrip__image img,
.hornet-projets-filmstrip__card:focus-visible .hornet-projets-filmstrip__image img {
	transform: scale(1.025);
}

.hornet-projets-filmstrip__caption {
	position: absolute;
	z-index: 1;
	inset: auto clamp(1rem, 3vw, 3rem) clamp(1rem, 3vw, 2.5rem);
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: clamp(0.75rem, 2vw, 2rem);
}

.hornet-projets-filmstrip__title-wrap { min-width: 0; }

.hornet-projets-filmstrip__title-wrap h2 {
	margin: 0;
	font-size: clamp(1.65rem, 4.3vw, 4.5rem);
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 0.98;
}

.hornet-projets-filmstrip__title-wrap p {
	margin: 0.65rem 0 0;
	font-size: clamp(0.7rem, 0.9vw, 0.85rem);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.82;
}

.hornet-projets-filmstrip__cta {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 3rem;
	padding: 0.75rem 1rem;
	border: 1px solid rgb(255 255 255 / 0.72);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hornet-projets-filmstrip__arrow { display: block; width: 1rem; height: 1rem; }

.hornet-projets-filmstrip--light .hornet-projets-filmstrip__cta {
	border-color: rgb(0 0 0 / 0.66);
}

.hornet-projets-filmstrip .hornet-slider__button {
	width: clamp(2.75rem, 4vw, 3.5rem);
	height: clamp(2.75rem, 4vw, 3.5rem);
	border-radius: 50%;
}

.hornet-projets-filmstrip .hornet-slider__dots { margin-top: clamp(1rem, 2vw, 1.75rem); }
.hornet-projets-filmstrip .hornet-slider__dot { width: 0.42rem; height: 0.42rem; }

@media (max-width: 640px) {
	.hornet-projets-archive__grid--index > .hornet-projet-card {
		grid-template-columns: minmax(0, 1fr) 6rem;
		gap: 0.75rem;
	}
	.hornet-projets-archive__grid--index .hornet-projet-card__title { font-size: clamp(1.15rem, 6vw, 1.65rem); }
	.hornet-projets-archive__grid--index .hornet-projet-card__body { padding-right: 1.5rem; }
	.hornet-projets-archive__grid--index .hornet-projet-card__body::after { font-size: 1rem; }
	.hornet-projets-filmstrip { margin-top: 2rem; padding-block: 2rem 1.25rem; }
	.hornet-projets-filmstrip__card { aspect-ratio: 0.9 / 1; }
	.hornet-projets-filmstrip__caption { inset: auto 1rem 1rem; align-items: flex-start; flex-direction: column; }
	.hornet-projets-filmstrip__title-wrap h2 { font-size: clamp(1.5rem, 8vw, 2.2rem); }
	.hornet-projets-filmstrip__title-wrap p { margin-top: 0.45rem; }
	.hornet-projets-filmstrip__cta { min-height: 2.65rem; padding: 0.55rem 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
	.hornet-projets-filmstrip__image img,
	.hornet-projets-archive__grid--index .hornet-projet-card__body::after { transition: none; }
}

@media (max-width: 1024px) {
	.hornet-projets-archive__grid {
		--projet-widget-cols: var(--projet-archive-cols-tablet, 2);
	}
	.hornet-projets-archive__grid--mosaic { column-count: var(--projet-archive-cols-tablet, 2); }
}

@media (max-width: 640px) {
	.hornet-projets-archive__grid {
		--projet-widget-cols: var(--projet-archive-cols-mobile, 1);
	}
	.hornet-projets-archive__grid--mosaic { column-count: var(--projet-archive-cols-mobile, 1); }
	.hornet-projets-archive__grid--bento .hornet-projet-archive-bento__gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.hornet-projets-archive__grid--bento .hornet-projet-archive-bento__image:first-child {
		grid-column: 1 / -1;
		aspect-ratio: 16 / 9;
	}
	.hornet-projets-archive__grid--bento .hornet-projet-archive-bento__gallery--count-1 .hornet-projet-archive-bento__image:first-child {
		grid-column: 1 / -1;
		aspect-ratio: 16 / 9;
	}
	.hornet-projets-archive__grid--bento .hornet-projet-archive-bento__gallery--count-2 .hornet-projet-archive-bento__image:first-child {
		grid-column: auto;
		aspect-ratio: 4 / 3;
	}
	.hornet-projets-archive__grid--editorial > .hornet-projet-card {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}
	.hornet-projets-archive__grid--editorial > .hornet-projet-card:nth-child(even) .hornet-projet-card__media {
		order: 0;
	}
}

.hornet-projet-widget-card {
	display: block;
	color: inherit;
	text-decoration: none;
	min-width: 0;
}

.hornet-projet-widget-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--hornet-radius-panel, 0.5rem);
	background: var(--hornet-projet-grid-bg, #e8e8e8);
}

.hornet-projet-widget-card__media img,
.hornet-projet-widget-card__image {
	display: block;
	position: static;
	inset: auto;
	width: auto;
	height: auto;
	max-width: 80%;
	max-height: 80%;
	margin: 0;
	transform: none;
	object-fit: contain;
	object-position: center;
}

.hornet-projet-widget-card__title {
	margin: 0.75rem 0 0;
	font-size: 1rem;
	line-height: 1.35;
	letter-spacing: -0.015em;
	font-weight: 500;
}

/* Split layout — slider left / description right */
.hornet-projet-split {
	/* The shared breadcrumbs already provide the gap before the content. */
	padding-bottom: var(--projet-gap);
}

.hornet-projet-split__grid {
	display: grid;
	gap: clamp(1.75rem, 4vw, 3rem);
	align-items: start;
}

@media (min-width: 960px) {
	.hornet-projet-split__grid {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		column-gap: clamp(2rem, 4vw, 3.5rem);
	}

	.hornet-projet-split__content {
		position: sticky;
		top: 5.5rem;
		align-self: start;
	}

	.hornet-projet-single--split .hornet-projet-aside {
		position: static;
	}

	.hornet-projet-single--split .hornet-projet-aside__panel {
		margin-top: 1.75rem;
		padding-top: 1.25rem;
	}
}

.hornet-projet-split__media {
	min-width: 0;
}

.hornet-projet-split__cover {
	margin: 0;
	overflow: hidden;
	border-radius: var(--hornet-radius-panel, 0.5rem);
	background: rgb(0 0 0 / 0.04);
}

.hornet-projet-split__cover img {
	display: block;
	width: 100%;
	height: auto;
}

.hornet-projet-split__header {
	margin-bottom: 1.5rem;
}

.hornet-projet-split__kicker {
	margin: 0 0 0.65rem;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-brand-muted, #6b6b6b);
}

.hornet-projet-split__title {
	margin: 0;
	font-size: clamp(1.85rem, 3.5vw, 2.75rem);
	line-height: 1.1;
	letter-spacing: -0.025em;
}

.hornet-projet-split__subtitle {
	margin: 0.85rem 0 0;
	font-size: 1.0625rem;
	line-height: 1.5;
	color: var(--color-brand-muted, #6b6b6b);
}

.hornet-projet-split__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.85rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	color: var(--color-brand-muted, #6b6b6b);
}

.hornet-projet-split__meta li:not(:last-child)::after {
	content: "·";
	margin-left: 0.85rem;
	opacity: 0.55;
}

.hornet-projet-single--split .hornet-projet-related {
	margin-top: 0;
}

