.title{
	min-height:250px;
}

@media screen and (max-width: 1000px) {
	.title{
		min-height:90px;
	}
}

.fa-btc{
	display: inline-block;
	margin: 8px 2px 8px 0;
	text-decoration: none;
	user-select: none;
}
.fa-btc:before {
	display: inline-block;
	padding: 0;
	text-align: center;
	font-size: 14px;
	width: 32px;
	line-height: 32px;
	color: #555;
	border: 1px solid #eee;
	border-radius: 50%;
	text-decoration: none; t
	ransition: all 0.3s;
	color: #FF9900;
	border-color: #FF9900;
}
.fa-btc:active {
	transform: scale(0.8);
}

.fa-btc:hover:before {
	color: #fff;
	background-color: #FF9900;
	}
@media screen and (max-width: 500px){
	.mobileHide {display:none;}
}
@media screen and (min-width: 500px) {
    .mobileShow   { display:none; }

}
@media screen and (min-width: 1100px){
	.fancybox-slide--iframe .fancybox-content {

	    max-width  : 60%;
	    max-height : 95%;
	    margin: 0;
		}
}



/* Project page */
.column {
		float: left;
		width: 25%;
		padding: 10px;
}
.column2 {
		float: left;
		width: 33%;
		padding: 10px;
}
.column img {
		opacity: 0.8;
		cursor: pointer;
}
.column img:hover {
		opacity: 1;
}
.column2 img {
		opacity: 0.8;
		cursor: pointer;
}
.column2 img:hover {
		opacity: 1;
}
.row:after {
		content: "";
		display: table;
		clear: both;
}
.container {
		position: relative;
		display: none;
}

/* Expanding image text */
#imgtext {
		position: absolute;
		bottom: 15px;
		left: 15px;
		color: white;
		font-size: 20px;
}

/* Closable button inside the image */
.closebtn {
		position: absolute;
		top: 10px;
		right: 15px;
		color: white;
		font-size: 35px;
		cursor: pointer;
}

div.fixed {
    position: fixed;
    top: 10px;
    right: 60px;
    width: 10px;

}

.buttonHome {
	border: 2px solid #222;
	font-family: inherit;
	font-size: 16px;
	line-height: 1;
	color: #222;
	text-decoration: none;
	background: none;
	cursor: pointer;
	padding: 8px 16px;
	margin: 5px 10px 0 0;
	display: inline-block;
	outline: none;
	position: relative;
	transition: all 0.3s;
	overflow: hidden;
	}

	.buttonHome.rounded {
		border-radius: 50px;
		}

/* In-page views */
[hidden] { display: none !important; }
.view { animation: viewIn 0.35s ease both; }
@keyframes viewIn {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}

/* Back arrow */
.back-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: #222;
	border: 2px solid #222;
	border-radius: 50%;
	text-decoration: none;
	transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.back-arrow:hover,
.back-arrow:focus-visible {
	background: #222;
	color: #fff;
	transform: translateX(-4px);
}

/* Resume view: the CV fills the right pane */
.resume-img {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 1.2em;
	border: 1px solid #ddd;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

/* Wider right pane: the image stays put and the white pane slides over it */
.pane-bg { display: none; }
@media screen and (min-width: 768px) {
	.pane-bg {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: 50%;
		background: #fff;
		z-index: 10;
		pointer-events: none;
		transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
	}
	.is-split-layout .content-wrap {
		transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
	}
	body.is-wide.is-split-layout .pane-bg { width: 66%; }
	body.is-wide.is-split-layout .content-wrap { width: 66%; }
	body.is-wide.is-split-layout .content { padding: 3em 3.5em; }

	body.view-resume.is-split-layout .pane-bg { width: 72%; }
	body.view-resume.is-split-layout .content-wrap { width: 72%; }
	body.view-resume.is-split-layout .content { padding: 2em 2em 3em; }
}

/* Typography */
html, body, h1, h2, h3, h4, h5, h6, p, li, a, span, em, strong, button, input {
	font-family: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}
body {
	font-size: 16px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.12;
}
strong, b, .highlight { font-weight: 800; }
a { font-weight: 500; }

/* Projects: case studies */
.lead { font-size: 1.12em; color: #444; max-width: 46em; }
.stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin: 2em 0 2.5em;
	background: #e6e6e6;
	border: 1px solid #e6e6e6;
}
.stat { background: #fff; padding: 1.1em 1.2em; }
.stat-num { display: block; font-size: 2em; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: #111; }
.stat-label { display: block; font-size: 0.85em; color: #666; margin-top: 0.3em; }

.case { padding: 2em 0; border-top: 1px solid #e6e6e6; }
.case-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.3em 1.5em; }
.case-head h2 { margin: 0; font-size: 1.55em; }
.case-meta { font-size: 0.85em; color: #777; font-weight: 500; white-space: nowrap; }
.case-sum { margin: 0.8em 0 0.6em; color: #333; }
.case-points { margin: 0.6em 0 1em; padding-left: 1.2em; }
.case-points li { margin-bottom: 0.45em; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4em; margin: 0.8em 0; }
.tags span {
	font-size: 0.78em;
	font-weight: 600;
	padding: 0.25em 0.7em;
	border-radius: 999px;
	background: #f2f3f5;
	color: #333;
}
@media screen and (max-width: 600px) {
	.stats { grid-template-columns: 1fr; }
}

/* Holographic canvas on the left image */
.holo-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 5;
	opacity: 0;
	transition: opacity 0.8s ease;
	pointer-events: none;
}
.holo-canvas.is-ready { opacity: 1; }

/* ==========================================================
   Poster theme: linen grain, x-ray imagery, mono labels,
   one soft pink accent ("old gods, new tools")
   ========================================================== */
:root {
	--paper: #ebe8e1;
	--ink: #161514;
	--muted: #6e6a63;
	--line: #d2cec5;
	--accent: #f0642a;
	--accent-soft: rgba(240, 100, 42, 0.32);
	--accent-ink: #b3400f;
	--mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}
html, body { background-color: var(--paper); color: var(--ink); }
html:after { background-color: var(--paper); }
.pane-bg { background: var(--paper); }

/* linen grain over everything, like printed stock */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 900;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='h'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85 0.03' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0.25 0 0 0 0 0.22 0 0 0 0 0.18 0 0 0 0.9 -0.32'/%3E%3C/filter%3E%3Cfilter id='v'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.03 0.85' numOctaves='2' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 0.25 0 0 0 0 0.22 0 0 0 0 0.18 0 0 0 0.9 -0.32'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23h)'/%3E%3Crect width='100%25' height='100%25' filter='url(%23v)'/%3E%3C/svg%3E");
	background-size: 320px 320px;
	mix-blend-mode: multiply;
	opacity: 0.32;
}


/* one accent: soft pink */
.content .highlight {
	background: var(--accent);
	color: var(--ink);
}
.content .text {
	color: inherit;
	background: linear-gradient(transparent 62%, var(--accent-soft) 62%);
}

/* mono labels */
.case-meta, .stat-label, .section-label, .tags span, .hud, .hud-tag {
	font-family: var(--mono);
}
.case-meta, .stat-label {
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.72em;
	color: var(--muted);
}
h3.section-label {
	font-size: 0.72em;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 2.6em 0 0.6em;
}
.tags span {
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 2px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.68em;
	font-weight: 500;
	color: var(--ink);
}
.stats { background: var(--line); border-color: var(--line); }
.stat { background: var(--paper); }
.case { border-top-color: var(--line); }
.lead { color: #3b3935; }
.resume-img { border-color: var(--line); }

/* expertise list */
.pillars { list-style: none; padding: 0; margin: 0 0 1.5em; border-top: 1px solid var(--line); }
.pillars li {
	display: grid;
	grid-template-columns: 14em 1fr;
	gap: 1em;
	padding: 0.75em 0;
	border-bottom: 1px solid var(--line);
}
.pillars span { color: var(--muted); }
@media screen and (max-width: 600px) {
	.pillars li { grid-template-columns: 1fr; gap: 0.2em; }
}

/* placeholders waiting for real content */

/* poster labels over the image (side-by-side layout only) */
.poster-hud { display: none; }
@media screen and (min-width: 768px) {
	.poster-hud {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 50%;
		height: 100%;
		z-index: 8;
		pointer-events: none;
		color: #1c1b19;
	}
}
.hud {
	position: absolute;
	padding: 2px 6px;
	background: var(--paper);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.hud.tl { top: 20px; left: 20px; }
.hud.tr { top: 20px; right: 20px; }
.hud.bl { bottom: 20px; left: 20px; }
.hud.br { bottom: 20px; right: 20px; }
.hud-tag {
	position: absolute;
	bottom: 56px;
	left: 50%;
	transform: translateX(-50%);
	padding: 3px 10px;
	background: var(--accent);
	color: var(--ink);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* small label above the SimplifiedClaim numbers */
p.case-label {
	font-family: var(--mono);
	font-size: 0.72em;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 1.6em 0 -1em;
}

/* keep the CV free of the linen grain: lift the pane content above it */
body.view-resume .content-wrap {
	z-index: 950;
}

/* projects: 3D particle scene over the left image */
.scene3d { display: none; }
@media screen and (min-width: 768px) {
	.scene3d {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 34%;
		height: 100%;
		z-index: 7;
		background: var(--paper);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.6s ease, visibility 0s linear 0.6s;
	}
	.scene3d.is-on {
		opacity: 1;
		visibility: visible;
		transition: opacity 0.6s ease;
	}
	.scene3d canvas { display: block; width: 100%; height: 100%; }
	/* HUD corners follow the narrower left side while the pane is wide */
	.poster-hud { transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); }
	body.is-wide .poster-hud { width: 34%; }
	body.view-resume .poster-hud { width: 28%; }
}

/* the tag only shows when it has a label (project names in the Projects view) */
.hud-tag:empty { display: none; }

/* language: only the block matching <html lang> is shown */
html[lang="fr"] .content [lang="en"],
html[lang="en"] .content [lang="fr"] { display: none !important; }

.lang-switch {
	position: fixed;
	top: 18px;
	right: 22px;
	z-index: 960;
	display: flex;
	align-items: center;
	gap: 4px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	color: var(--muted);
}
.lang-switch button {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	padding: 3px 6px;
	border: 0;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
	background: var(--ink);
	color: var(--paper);
}

/* resume as text */
.cv { max-width: 52em; }
.cv-actions { font-size: 0.92em; }
.cv-head { margin: 2em 0 0.4em; padding-bottom: 1em; border-bottom: 2px solid var(--ink); }
.cv-head h2 { margin: 0; font-size: 2.1em; }
.cv-contact { margin: 0.3em 0 0; font-family: var(--mono); font-size: 0.82em; color: var(--muted); }
.cv section { margin-top: 1.8em; }
.cv section > p, .cv li { color: #333; }
.cv ul { margin: 0.5em 0 0; padding-left: 1.2em; }
.cv li { margin-bottom: 0.45em; }
.cv-role { margin-top: 1.1em; }
.cv-role-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.2em 1em; }
.cv-role-head h4 { margin: 0; font-size: 1.05em; }
.cv-org { font-weight: 500; color: var(--muted); }
.cv-dates { font-family: var(--mono); font-size: 0.78em; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }

/* no linen grain on the resume */
body.view-resume::after { display: none; }

/* resume: the text is drawn as particles (js/resume-particles.js); the real text stays, transparent,
   so it can still be selected and read by screen readers */
.cv { position: relative; }
.cv.has-particles .cv-head h2, .cv.has-particles .section-label { color: transparent !important; }
.cv-particles { position: absolute; pointer-events: none; z-index: 2; }

/* projects scene: light studio backdrop, drag to orbit */
.scene3d { background: radial-gradient(ellipse at 50% 42%, #ffffff 0%, #eeece8 55%, #dedbd5 100%); }
.scene3d canvas { cursor: grab; }
.scene3d canvas:active { cursor: grabbing; }
@media screen and (min-width: 768px) {
	.scene3d.is-on { z-index: 950; }
	body.view-projects .poster-hud { z-index: 955; }
}
.cv.is-measuring, .cv.is-measuring * { transition: none !important; }
.lang-switch { background: var(--paper); padding: 2px; box-shadow: 0 0 0 4px var(--paper); }

/* no loader: the theme's white overlay waited for every file on the page; show the page at once */
html { overflow: auto; }
html:after { display: none; }
body { opacity: 1; transition: none; }
