@font-face {
	font-family: 'Museo Sans';
	src: url('archive/fonts/MuseoSans_900.otf') format('opentype');
}

@font-face {
	font-family: 'Proxima Nova';
	src: url('archive/fonts/proximanova_regular.ttf') format('truetype');
}

@font-face {
	font-family: 'Proxima Nova Bold';
	font-weight: 700;
	src: url('archive/fonts/proximanova_bold.otf') format('opentype');
}

:root {
	--title-font-size: clamp(32px, 3.5vw + 8px, 60px);
	--sub-titles-font-size: clamp(26px, 2.4vw + 8px, 44px);
	--content-font-size: clamp(22px, 1.9vw + 6px, 36px);
}

body {
	background-color: black;
	color: white;
	font-family: 'Proxima Nova', sans-serif;
	margin: 0;
	padding: 0;
}

.main-content {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 100px;
}

/* ── HEADER / NAV ── */
.header {
	padding: 0px 100px;
	height: 100px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#hamburg-button {
	width: 50px;
	aspect-ratio: 1;
	color: white;
	font-size: 35px;
	background-color: transparent;
	border: none;
	cursor: pointer;
	display: none;
}

.nav {
	display: none;
	position: absolute;
	right: 0;
	top: 0;
	flex-direction: column;
	width: 200px;
	gap: 20px;
	margin-top: 30px;
	background-color: black;
	z-index: 3;
	height: 100vh;
	padding-left: 20px;
}

.nav-button {
	width: 100%;
	display: flex;
	justify-content: end;
	position: relative;
	right: 30px;
}

.nav-click {
	display: none;
	position: absolute;
	width: 100%;
	height: calc(100% - 100px);
	z-index: 2;
}

.header-buttons {
	display: flex;
	gap: 30px;
}

#buttons {
	font-size: 20px;
	text-decoration: none;
	color: white;
	cursor: pointer;
}

/* ── CASE STUDY HEADER ── */
.case-study-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #ffffff;
}

.case-study-header img {
	position: relative;
	z-index: 0;
}

.case-study-header h1 {
	font-size: clamp(2.6rem, 5.5vw, 4.4rem);
	margin-bottom: 16px;
}

.case-study-header p {
	font-size: clamp(1.35rem, 2.1vw, 1.7rem);
	max-width: 720px;
	margin: auto;
	opacity: 0.95;
}

h1, h2, h3, h4 {
	font-family: 'Museo Sans';
	margin: 0 0 8px 0;
	font-weight: 700;
}

p {
	margin: 0 0 16px 0;
}

.header-top {
	margin-top: 20px;
	display: flex;
	min-width: 90%;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	z-index: 3;
}

.header-top img {
	border-radius: 20px;
	width: 140px;
	position: relative;
}

.header-img-container {
	overflow: hidden;
	height: 600px;
}

.header-bottom {
	width: 90%;
	padding: 50px 0px;
	background-color: grey;
	position: relative;
	top: -70px;
	border-radius: 20px;
}

.header-bottom h1 {
	text-transform: capitalize;
	font-size: clamp(1.5rem, 2.8vw, 2.4rem);
}

.header-bottom p {
	margin: auto;
	width: 90%;
	max-width: 95%;
	font-size: clamp(1.2rem, 1.9vw, 1.55rem);
	line-height: 1.7;
}

/* ── SECTION SHARED ── */
section h2 {
	font-size: clamp(1.8rem, 3.2vw, 2.8rem);
	margin-bottom: 24px;
	color: white;
}

section p {
	max-width: 800px;
	font-size: clamp(1.2rem, 1.9vw, 1.55rem);
	color: white;
}

/* ── CONTEXT ── */
.context {
	width: 100%;
	display: flex;
	gap: 2%;
	padding: 0;
	justify-content: center;
	margin-bottom: 70px;
}

.context-left {
	width: 45%;
	border-radius: 20px;
	background-image: url("archive/9bf3ae007d92696505b21aa94cfc85d2.png");
}

.context-right {
	width: 45%;
	padding: 20px 0;
}

#disclaimer {
	font-size: clamp(0.7rem, 0.9vw, 0.82rem);
}

/* ── PROGRAM DETAILS ── */
/* Outer wrapper: purple background on top, grey card below */
.program-details {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
	position: relative;
	margin-bottom: 0;
}

/* Purple top bar — title + subtitle live here */
.program-main {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	background: url("archive/calque_1-3.svg");
	background-color: purple;
	width: 100%;
	padding: 28px 5% 80px;
	box-sizing: border-box;
}

/* Grey card that overlaps slightly into the purple bar */
.program-sub-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #AAA;
	border-radius: 20px;
	width: 90%;
	color: black;
	padding: 24px 20px 36px;
	margin-top: -60px;
	position: relative;
	z-index: 1;
}

#i18h-img {
	width: 95%;
	margin-bottom: 16px;
}

.details-container {
	width: 95%;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	align-items: start;
}

.detail-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding-bottom: 0;
}

.detail-block img {
	width: 100%;
	height: 220px;
	object-fit: contain;
	object-position: bottom;
}

.detail-block h3 {
	font-size: clamp(1.2rem, 1.8vw, 1.55rem);
	margin-bottom: 0;
	color: black;
}

.detail-block p {
	font-size: clamp(1.1rem, 1.5vw, 1.3rem);
	line-height: 1.55;
	color: black;
	margin-bottom: 0;
}

/* ── QUOTE ── */
.quote {
	display: flex;
	align-items: center;
	flex-direction: column;
	text-align: center;
	padding: 0 10%;
}

.quote .text p {
	font-size: clamp(1.4rem, 2.2vw, 1.75rem);
	font-style: italic;
	line-height: 1.7;
}

.quote .citation p {
	font-size: clamp(1.1rem, 1.6vw, 1.4rem);
	font-family: 'Museo Sans';
}

.text {
	position: relative;
}

.text::before {
	position: absolute;
	content: "";
	display: block;
	width: 62px;
	height: 62px;
	color: white;
	left: -60px;
	top: -30px;
	background: url("archive/fi_7720764.svg");
}

.text::after {
	position: absolute;
	right: -60px;
	bottom: -30px;
	display: block;
	content: "";
	width: 62px;
	height: 62px;
	color: white;
	background: url("archive/fi_77207624.svg");
}

.citation {
	font-family: 'Museo Sans';
}

/* ── RESULTS ── */
.results {
	display: flex;
	justify-content: center;
	position: relative;
	gap: 5%;
}

.results-left {
	width: 30%;
	height: 100%;
}

.results-right {
	width: 30%;
	height: 100%;
	position: relative;
	top: 0;
}

.result-container1 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 20px;
	overflow: hidden;
	border: white solid 2px;
	gap: 30px;
	padding: 30px 0;
	height: 424px;
	position: relative;
	transition: all 2.0s ease;
}

.imgs-container1 {
	width: 80%;
	height: 300px;
	border-radius: 20px;
	overflow: hidden;
	position: relative;
}

.imgs {
	margin: 0;
	display: none;
	height: 100%;
	justify-content: center;
	align-items: center;
}

.imgs img {
	width: auto;
	height: 100%;
}

.active-img-1, .active-img-2 {
	display: flex;
	animation: fadeIn 1.5s ease forwards;
}

.imgs-ticker1 {
	display: flex;
	gap: 10px;
	position: absolute;
	bottom: 10px;
	left: 10px;
}

.imgs-tick {
	width: 10px;
	height: 5px;
	background-color: white;
}

.active {
	background-color: purple;
}

#results-title {
	font-size: clamp(1.2rem, 1.8vw, 1.55rem);
	width: 80%;
	text-align: center;
}

#results-text {
	width: 80%;
	font-size: clamp(1.1rem, 1.5vw, 1.3rem);
	position: relative;
	height: 0;
	overflow: hidden;
	transition: opacity 0.5s ease, transform 2.0s ease;
}

.result-container1:hover {
	height: 500px;
}

.result-container1:hover #results-text {
	height: auto;
	opacity: 1;
	animation: slideInFromBottom 2.0s forwards;
}

.result-container1:hover .imgs-container1 {
	height: 250px;
}

@keyframes slideInFromBottom {
	0% { opacity: 0; transform: translateY(30px); }
	100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

/* ── Q&A ── */
.QandA {
	display: flex;
	justify-content: center;
	gap: 0;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 60px;
	width: 100%;
	box-sizing: border-box;
}

.QandA-left {
	width: 30%;
	padding-right: 32px;
}

.QandA-left h1 {
	font-size: clamp(2rem, 3.6vw, 3.1rem);
	margin-bottom: 20px;
}

.QandA-left h3 {
	font-size: clamp(1.2rem, 1.9vw, 1.65rem);
	width: 80%;
}

.QandA-center {
	width: 3px;
	flex-shrink: 0;
}

.center-upper {
	width: 100%;
	height: 60px;
	background-color: purple;
}

.center-lower {
	width: 100%;
	height: 30px;
	background-color: white;
}

/* Widened from 45% to 65% */
.QandA-right {
	width: 65%;
	display: flex;
	justify-content: center;
}

.QandA-answers-container {
	width: 95%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.QandA-text {
	color: black;
	cursor: text;
	font-size: clamp(1.15rem, 1.7vw, 1.42rem);
	line-height: 1.72;
	margin-bottom: 8px;
}

details summary {
	list-style: none;
	cursor: pointer;
}

.QandA-title {
	margin: 0;
	font-size: clamp(1.15rem, 1.75vw, 1.48rem);
	line-height: 1.35;
}

details summary::-webkit-details-marker {
	display: none;
}

details {
	position: relative;
	padding: 16px 44px 16px 20px;
	cursor: text;
	background: purple;
	color: white;
	border-radius: 6px;
	transition: all 0.5s ease;
}

details[open] {
	background: white;
	color: black;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

details .content {
	max-height: 0;
	overflow: hidden;
	transition: all 5s ease;
}

details[open] .content {
	max-height: 500px;
}

details summary::after {
	content: "+";
	position: absolute;
	right: 14px;
	top: 22px;
	transform: translateY(-50%);
	font-size: clamp(1rem, 1.3vw, 1.2rem);
	line-height: 1;
}

details[open] summary::after {
	content: "-";
}

@keyframes fadeDown {
	from { opacity: 0; transform: translateY(-5px); }
	to   { opacity: 1; transform: translateY(0); }
}

input:focus {
	outline: none;
	caret-color: white;
}

input:focus::placeholder {
	color: transparent;
}



/* ══════════════════════════════════════
   RESPONSIVE DESIGN
══════════════════════════════════════ */

@media (max-width: 1100px) {
	.header {
		padding: 0 40px;
	}

	.QandA-left {
		width: 32%;
	}

	.QandA-right {
		width: 62%;
	}

	.results-left,
	.results-right {
		width: 40%;
	}
}

@media (max-width: 860px) {
	.header {
		padding: 0 24px;
	}

	#hamburg-button {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.header-buttons {
		display: none;
	}

	.header-img-container {
		height: 380px;
	}

	.context {
		flex-direction: column;
		align-items: center;
		gap: 24px;
		margin-bottom: 40px;
	}

	.context-left {
		width: 90%;
		min-height: 240px;
	}

	.context-right {
		width: 90%;
		padding: 0;
	}

	.results {
		flex-direction: column;
		align-items: center;
		gap: 40px;
	}

	.results-left,
	.results-right {
		width: 80%;
	}

	.QandA {
		flex-direction: column;
		align-items: center;
		gap: 32px;
	}

	.QandA-left {
		width: 90%;
		padding-right: 0;
		border-bottom: 3px solid purple;
		padding-bottom: 20px;
	}

	.QandA-left h3 {
		width: 100%;
	}

	.QandA-center {
		display: none;
	}

	.QandA-right {
		width: 90%;
	}

	.QandA-answers-container {
		width: 100%;
	}

	.details-container {
		grid-template-columns: repeat(2, 1fr);
	}

	.p13-cont {
		flex-direction: column;
		align-items: center;
		gap: 40px;
	}

	.p13-cont-left {
		width: 80%;
	}

	.p13-footer-buttons {
		width: 90%;
	}
}

@media (max-width: 600px) {
	.header {
		padding: 0 16px;
		height: 70px;
	}

	#header-img {
		width: 20% !important;
		min-width: 80px;
	}

	.main-content {
		gap: 60px;
	}

	.case-study-header h1 {
		font-size: clamp(1.4rem, 6vw, 2rem);
	}

	.case-study-header p {
		font-size: 1rem;
		padding: 0 16px;
	}

	.header-img-container {
		height: 220px;
	}

	.header-top {
		min-width: 94%;
	}

	.header-top img {
		width: 90px;
	}

	.header-bottom {
		width: 94%;
		padding: 28px 16px;
		top: -40px;
		border-radius: 12px;
	}

	.header-bottom h1 {
		font-size: 1.1rem;
	}

	.header-bottom p {
		font-size: 0.95rem;
	}

	.context-left,
	.context-right {
		width: 94%;
	}

	.program-sub-section {
		width: 94%;
		position: static;
		margin-top: 20px;
	}

	.program-main {
		height: auto;
		min-height: 260px;
	}

	.program-details {
		margin-bottom: 0;
	}

	.details-container {
		grid-template-columns: 1fr;
		width: 94%;
	}

	.detail-block {
		grid-template-rows: auto auto auto;
	}

	.text::before,
	.text::after {
		display: none;
	}

	.results-left,
	.results-right {
		width: 94%;
	}

	.result-container1 {
		height: auto;
		min-height: 360px;
	}

	.result-container1:hover {
		height: auto;
	}

	#results-text {
		height: auto;
		opacity: 1;
	}

	.QandA-left,
	.QandA-right {
		width: 94%;
	}

	.QandA-left h1 {
		font-size: 1.6rem;
	}

	.QandA-left h3 {
		font-size: 1rem;
	}

	.p13 {
		gap: 40px;
		min-height: auto;
		padding: 48px 16px;
	}

	.p13-cont-left {
		width: 94%;
	}

	.p13-footer-buttons {
		width: 94%;
		flex-wrap: wrap;
		gap: 16px;
	}
}

@media (max-width: 400px) {
	.header {
		padding: 0 10px;
	}

	.QandA-left h1 {
		font-size: 1.3rem;
	}

	section h2 {
		font-size: 1.2rem;
	}
}