.blue-texture {
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: var(--blue-grid-opacity, 1);
	background: var(--blue-paper-pattern);
}
:root[data-blue-texture="plain"] .blue-texture {
	display: none;
}
:root[data-blue-texture="dots"] .blue-texture {
	background:
		radial-gradient(
			circle,
			color-mix(in srgb, var(--blue-text) 18%, transparent) 0.7px,
			transparent 1px
		)
		0 0 / 32px 32px;
}
:root[data-blue-texture="contours"] .blue-texture {
	background: repeating-radial-gradient(
		ellipse at 86% 115%,
		transparent 0 35px,
		color-mix(in srgb, var(--blue-text) 9%, transparent) 36px,
		transparent 37px 65px
	);
}
:root[data-blue-theme="dark"] #colibri,
:root[data-blue-theme="dark"] #colibri-night,
:root[data-blue-theme="dark"] #colibri-home {
	filter: brightness(1.2) saturate(1.15);
}
#colibri-night {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 4;
	pointer-events: none;
}
#colibri-night[hidden] {
	display: none;
}
#colibri.is-intro + #colibri-night {
	z-index: 12001;
}
:root[data-blue-motion="off"] #colibri-night {
	visibility: hidden;
}
:root[data-blue-style] {
	--blue-secondary: #59c9bd;
}
:root[data-blue-theme="light"] {
	--blue-secondary: #c41230;
}
html[data-blue-style] .hero-headline .blue-monaco,
html[data-blue-style] #bar .menu-item--primary {
	color: var(--blue-secondary) !important;
}
html[data-blue-style] #bar .menu-item--primary {
	border-color: color-mix(in srgb, var(--blue-secondary) 55%, transparent);
}
html[data-blue-style] .blue-wordmark {
	letter-spacing: var(--blue-wordmark-tracking, 6px);
}
html[data-blue-style] #bar {
	min-height: 90px;
	padding-inline: 28px;
	column-gap: clamp(14px, 2vw, 32px);
}
html[data-blue-style] #bar .menu-item {
	font-size: clamp(12px, 1vw, 15px);
	min-height: 52px;
	letter-spacing: 0.08em;
}
html[data-blue-style] #bar button.menu-item,
html[data-blue-style] #bar button.menu-item:hover,
html[data-blue-style] #bar button.menu-item:focus-visible {
	border: 0;
	border-radius: 0;
	background: transparent;
	text-transform: none;
}
html[data-blue-style] #bar button.menu-item::after {
	display: none;
}
html[data-blue-style] #bar button.menu-item .menu-item-label {
	position: relative;
}
html[data-blue-style] #bar button.menu-item .menu-item-label::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -10px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transition: transform 180ms ease;
}
html[data-blue-style]
	#bar
	button.menu-item:focus-visible
	.menu-item-label::after,
html[data-blue-style]
	#bar
	button.menu-item[aria-expanded="true"]
	.menu-item-label::after {
	transform: scaleX(1);
}
@media (hover: hover) {
	html[data-blue-style] #bar button.menu-item:hover .menu-item-label::after {
		transform: scaleX(1);
	}
}
html[data-blue-style] #bar .bar-brand {
	font-size: 13px;
}
html[data-blue-style] #bar #lang-switch {
	font-size: 13px;
}
html[data-blue-style] #bar .blue-brand-icon {
	width: 32px;
	height: 32px;
	flex-basis: 32px;
}
#blue-section-menu {
	position: absolute;
	inset: auto 0 100%;
	min-height: 76px;
	padding: 12px 0;
	border: 0;
	background: transparent;
}
#blue-section-menu[hidden],
.blue-nav-line[hidden],
#blue-section-menu > [hidden] {
	display: none !important;
}
#blue-section-menu > div:not([hidden]) {
	display: flex;
	width: max-content;
	position: relative;
	transform: translateX(-50%);
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
}
html[data-blue-style] #blue-section-menu button {
	position: relative;
	flex: 0 1 auto;
	min-width: 0;
	font:
		500 20px / 1.35 "Hanken Grotesk",
		sans-serif;
	letter-spacing: 0.01em;
	text-transform: none;
	padding: 12px 18px;
	min-height: 48px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--blue-muted);
	cursor: pointer;
}
html[data-blue-style] #blue-section-menu button + button::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 1px;
	height: 20px;
	transform: translateY(-50%);
	background: linear-gradient(
		transparent,
		color-mix(in srgb, var(--blue-text) 36%, transparent) 25% 75%,
		transparent
	);
	pointer-events: none;
}
html[data-blue-style] #blue-section-menu button[data-partner="romain"]::before,
html[data-blue-style] .studio-pill[data-partner="romain"]::before {
	display: none !important;
	content: none !important;
}
html[data-blue-style] #blue-section-menu button[aria-pressed="true"],
html[data-blue-style] #blue-section-menu button:hover {
	color: var(--blue-secondary);
}
#blue-section-menu button:focus-visible {
	outline: 1px solid var(--blue-secondary);
	outline-offset: -3px;
}
.blue-nav-line {
	position: absolute;
	left: 0;
	top: -1px;
	width: 100%;
	height: 16px;
	color: color-mix(in srgb, var(--blue-text) 42%, transparent);
	pointer-events: none;
	overflow: visible;
}
html[data-blue-menu="studio"] #section-studio .stage-inner,
html[data-blue-menu="realisations"] #section-realisations .stage-inner {
	padding-bottom: 190px;
}
html[data-blue-audit="true"] #blue-section-menu,
html[data-blue-audit="true"] .blue-nav-line {
	display: none !important;
}
html[data-blue-audit="true"] #bar {
	min-height: 0;
}
/* ── Desktop Typography Scaling ── */
@media (min-width: 761px) {
	html[data-blue-style] .stage-title,
	html[data-blue-style] .offer-head-title,
	html[data-blue-style] .reals-hub-title,
	html[data-blue-style] .display:not(.hero-headline) {
		font-size: clamp(2rem, 3vw, 3rem) !important;
		line-height: 1.15 !important;
	}
	html[data-blue-style] .fd-name {
		font-size: clamp(2.2rem, 3vw, 3.2rem) !important;
		font-weight: 600 !important;
		line-height: 1.18 !important;
	}
	html[data-blue-style] .fd-role {
		font-size: 14px !important;
		letter-spacing: 0.16em !important;
	}
	html[data-blue-style] .fd-bio-original {
		font-size: clamp(1.15rem, 1.25vw, 1.4rem) !important;
		line-height: 1.6 !important;
		max-width: 58ch !important;
	}
	html[data-blue-style] .stage-open .lede,
	html[data-blue-style] .offer-tagline,
	html[data-blue-style] .reals-hub-body {
		font-size: clamp(1.15rem, 1.25vw, 1.4rem) !important;
		line-height: 1.6 !important;
		max-width: 56ch !important;
	}
	html[data-blue-style] .microlabel {
		font-size: 13px !important;
		letter-spacing: 0.28em !important;
	}
	html[data-blue-style] .studio-meta,
	html[data-blue-style] .sec-foot {
		font-size: 13.5px !important;
		letter-spacing: 0.18em !important;
	}
	html[data-blue-style] .stage-founder .ph {
		width: 68px !important;
		height: 68px !important;
		flex-basis: 68px !important;
	}
}
@media (min-width: 761px) and (max-width: 1100px) {
	html[data-blue-style] #bar {
		padding-inline: 18px;
		column-gap: 12px;
	}
	html[data-blue-style] #bar .bar-brand {
		font-size: 11px;
		letter-spacing: 0.06em;
	}
	html[data-blue-style] #bar .menu-item {
		font-size: 12px;
		letter-spacing: 0.03em;
	}
	html[data-blue-style] #bar #lang-switch {
		font-size: 11px;
	}
}
@media (max-width: 760px) {
	html[data-blue-style] #bar {
		padding-inline: 14px;
		gap: 8px;
		min-height: 120px;
	}
	html[data-blue-style] #bar .menu-item {
		font-size: 13px;
		min-height: 46px;
		padding: 8px 8px;
		letter-spacing: 0.025em;
	}
	html[data-blue-style] #bar .bar-brand {
		font-size: 11px;
	}
	html[data-blue-style] #bar #lang-switch {
		font-size: 11px;
	}
	html[data-blue-style] #bar .blue-brand-icon {
		width: 28px;
		height: 28px;
		flex-basis: 28px;
		margin-right: 5px;
	}
	html[data-blue-audit="true"] #bar {
		min-height: 0;
	}
}
@media (max-height: 570px) and (min-width: 761px) {
	html[data-blue-style] #bar {
		min-height: 62px;
	}
	#blue-section-menu {
		min-height: 58px;
		padding-block: 4px;
	}
	html[data-blue-style] #blue-section-menu button {
		min-height: 44px;
		font-size: 14px;
	}
}
:root[data-blue-style] #deck-shell,
:root[data-blue-style] #bar,
:root[data-blue-style] .blue-gear,
:root[data-blue-style] .blue-theme-toggle {
	transition: opacity 240ms ease;
}
:root[data-blue-style] body.is-booting #deck-shell,
:root[data-blue-style] body.is-booting #bar,
:root[data-blue-style] body.is-booting .blue-gear,
:root[data-blue-style] body.is-booting .blue-theme-toggle {
	opacity: 0 !important;
	visibility: hidden;
	pointer-events: none;
}

html:not([data-company-menu]) [data-flag="companyMenu"],
html:not([data-company-menu]) .studio-pill[data-partner="company"],
.studio-pill[data-partner="company"],
[data-flag="companyMenu"],
button[data-partner="company"] {
	display: none !important;
}

.stage-founder[hidden],
#section-studio .stage-founder[hidden] {
	display: none !important;
}

.mob-copy {
	display: none;
}
@media (max-width: 760px) {
	.desk-copy {
		display: none !important;
	}
	.mob-copy {
		display: inline !important;
	}
}

html[data-blue-style] .stage-founder {
	display: grid !important;
	grid-template-columns: auto 1fr !important;
	grid-template-areas:
		"photo name"
		"photo role"
		"bio   bio"
		"links links" !important;
	align-items: center !important;
	column-gap: 16px !important;
	row-gap: 3px !important;
	text-align: left !important;
}
html[data-blue-style] .stage-founder .ph {
	grid-area: photo !important;
	width: 54px !important;
	height: 54px !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	padding: 0 !important;
	border: 1px solid var(--line-strong) !important;
	align-self: center !important;
}
html[data-blue-style] .stage-founder .ph img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}
html[data-blue-style] .stage-founder .fd-name {
	grid-area: name !important;
	margin: 0 !important;
	line-height: 1.2 !important;
}
html[data-blue-style] .stage-founder .fd-role {
	grid-area: role !important;
	margin: 0 !important;
	line-height: 1.2 !important;
}
html[data-blue-style] .stage-founder .fd-bio-original {
	grid-area: bio !important;
	margin-top: 10px !important;
}
html[data-blue-style] .stage-founder .fd-linkedin {
	grid-area: links !important;
	margin-top: 6px !important;
}

@media (max-width: 760px) {
	/* ── Submenu Bar: Single row, larger touch targets, perfect dividers ── */
	#blue-section-menu {
		min-height: 50px !important;
		padding: 4px 0 !important;
	}
	#blue-section-menu > div:not([hidden]) {
		display: flex;
		flex-wrap: nowrap !important;
		align-items: center;
		justify-content: center;
		width: max-content;
		max-width: calc(100vw - 16px) !important;
	}
	html[data-blue-style] #blue-section-menu button {
		font-size: 16px !important;
		line-height: 1.2 !important;
		padding: 6px !important;
		min-height: 44px !important;
		height: 44px !important;
		white-space: nowrap !important;
		flex: 0 0 auto !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		box-sizing: border-box !important;
		font-weight: 600 !important;
	}
	html[data-blue-style] #blue-section-menu button + button::before {
		height: 18px !important;
		top: 50% !important;
		transform: translateY(-50%) !important;
	}
	.studio-pill {
		font-size: 16px !important;
		line-height: 1.2 !important;
		padding: 6px 20px !important;
		min-height: 44px !important;
		height: 44px !important;
		white-space: nowrap !important;
		flex: 0 0 auto !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		box-sizing: border-box !important;
		font-weight: 600 !important;
	}
	html[data-blue-style]
		#blue-section-menu
		button[data-partner="romain"]::before,
	html[data-blue-style] .studio-pill[data-partner="romain"]::before {
		display: none !important;
		content: none !important;
	}
	.studio-pill[data-partner="company"],
	[data-flag="companyMenu"],
	button[data-partner="company"] {
		display: none !important;
	}
}
@media (max-height: 570px) and (min-width: 761px) {
	html[data-blue-menu="studio"] #section-studio .stage-inner {
		height: 100%;
		padding: 80px 6vw 130px;
		display: grid;
		grid-template-columns: 1.2fr 1fr;
		grid-template-rows: 1fr auto;
		gap: 10px 32px;
	}
	html[data-blue-menu="studio"] #section-studio .studio-swap {
		grid-column: 1;
		grid-row: 1;
		width: 100%;
	}
	html[data-blue-menu="studio"] #section-studio .brains-figure {
		grid-column: 2;
		grid-row: 1 / 3;
		width: 100%;
		height: 100%;
		min-height: 120px;
		margin: 0;
	}
	html[data-blue-menu="studio"] #section-studio .studio-meta {
		grid-column: 1;
		grid-row: 2;
		margin: 0;
	}
}
