/* v5: fixes missing styles, prevents horizontal clipping, restores card layouts */
:root { 
	--navy: #0b1324;
	--navy2: #0a0f1f;
	--red: #ef2b2d;
	--lt: #eef1f4;
	--white: #ffffff;

	--gutter-x: clamp(18px, 4vw, 40px);
	--content-max: 1200px;
}

* { box-sizing: border-box; }
html,body { margin: 0; padding: 0; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
body  { 
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
	color: #0a0f1f;
	background: #fff;
	min-width: 320px;
}

.container { 
	width: min(1200px, 100%);
	margin: 0 auto;
	padding-inline: clamp(24px, 4vw, 56px); /* requested: a bit more side padding */
}
.container--wide { 
	width: min(1280px, 100%);
}

/* REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* HERO load-in */
.js-fade-in { opacity: 0; transform: translateY(6px); transition: opacity .9s ease, transform .9s ease; }
.js-fade-up { opacity: 0; transform: rotate(-12deg) translateY(calc(10vh + 18px)); transition: opacity .9s ease, transform 1.1s ease; }
.is-loaded .js-fade-in { opacity: 1; transform: translateY(0); }
.is-loaded .js-fade-up { opacity: 1; transform: rotate(-12deg) translateY(10vh); }

@media screen and (max-width: 639px) { 
	.desktop { display: none; }
	.mobile { display: inherit; }
}
@media (min-width: 640px) { 
	.desktop { display: inherit; }
	.mobile { display: none; }
}

/* HERO */
.hero { 
	height: 100vh;
	background: url("./assets/Flag.jpg") center/cover no-repeat;
	position: relative;
	overflow: hidden;
}
.hero__inner { 
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding-top: clamp(56px, 7vh, 96px);
}
.hero__title { 
	width: min(980px, 92vw);
	z-index: 3;
	pointer-events: none;
}
.hero__cardWrap { 
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	padding-bottom: 0;
}
.hero__card  { 
	width: clamp(720px, 78vw, 1400px); /* larger max; still responsive */
	transform-origin: center;
	will-change: transform, opacity;
}
@media screen and (max-width: 639px) { 
	.hero { max-height: 50vh; }
	.hero__card.is-loaded,
	.hero__card.js-fade-up,
	.hero__card { transform: rotate(0deg) translateY(0vh); }
	.hero__inner { justify-content: space-around; }
}
@media screen and (max-width: 359px) { 
	.hero { max-height: 35vh; }
}
@media (min-width: 640px) { 
	.hero__card { transform: rotate(-12deg) translateY(10vh); }
}
/* Ensure card always sits visually centered even with rotation */
.hero__card { margin-inline: auto; }

/* RED BAR */
.bar--red { 
	background: var(--red);
	color: #fff;
	padding-block: clamp(56px, 8vh, 96px);
}
.bar__stack { 
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	text-align: center;
}
.bar__number { 
	font-weight: 800;
	font-size: clamp(56px, 8vw, 118px);
	letter-spacing: -0.02em;
	line-height: 1;
}
.bar__sub { 
	font-size: clamp(28px, 3.4vw, 48px);
	font-weight: 700;
	line-height: 1.1;
}
.bar__icons { 
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(10px, 1.2vw, 22px);
	flex-wrap: nowrap;
	padding-top: 6px;
}
.bar__icon { 
	width: clamp(44px, 6vw, 92px);
	opacity: 0;
}

@media screen and (max-width: 639px) {
	.bar__icons {
		gap: 0;
		flex-wrap: wrap;
	}
}

/* SECTIONS */
.section { padding-block: clamp(56px, 7vw, 110px); }
.section--gray { background: var(--lt); }
.section--white { background: #fff; }

/* PROBLEM layout */
.problem { 
	display: grid;
	grid-template-columns: 1.05fr 1.35fr;
	gap: clamp(32px, 4vw, 70px);
	align-items: start;
}
.problem__p { 
	font-size: clamp(24px, 2.7vw, 40px);
	line-height: 1.12;
	margin: 0 0 42px 0;
	color: #0a0f1f;
}
@media screen and (max-width: 639px) {
	.problem__p { font-size: 20px; }
}
.problem__cards { 
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(18px, 2vw, 24px);
	align-content: start;
}
.statCard { 
	border-radius: 28px;
	padding: 32px 34px;
	box-shadow: none;
}
.statCard--wide { grid-column: 1 / -1; padding: 34px 38px; }
.statCard--navy { background: linear-gradient(180deg, #0b1324 0%, #070c18 100%); color: #fff; }
.statCard--red { background: var(--red); color: #fff; }
.statCard--light { background: #fff; color: var(--navy2); }

.statCard__title { 
	font-size: clamp(26px, 2.3vw, 34px);
	font-weight: 800;
	line-height: 1.05;
	margin: 0 0 18px 0;
}
.statCard__title--navy { color: var(--navy2); }
.statCard__wideGrid { 
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	align-items: center;
}
.statCard__big { 
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1;
	margin: 4px 0 10px 0;
	font-size: clamp(56px, 5.2vw, 78px);
}
.statCard__big--red { color: var(--red); }
.statCard__big--navy { color: var(--navy2); }
.statCard__note { 
	font-size: 18px;
	line-height: 1.35;
	opacity: 0.95;
}
.statCard__note--navy { color: var(--navy2); opacity: 1; }

@media (max-width: 860px) { 
	.problem { grid-template-columns: 1fr; }
	.problem__p { margin-bottom: 28px; }
	.statCard__wideGrid { grid-template-columns: 1fr; }
}


@media (max-width: 560px) { 
	.problem__cards { grid-template-columns: 1fr; }
	.statCard--wide { grid-column: auto; }
}

/* EVIDENCE */
.evidence__copy { max-width: 980px; }
.h2 { 
	font-size: clamp(34px, 4vw, 54px);
	line-height: 1.08;
	margin: 0 0 22px 0;
	font-weight: 900;
}
.lead { 
	font-size: clamp(26px, 3vw, 42px);
	line-height: 1.18;
	margin: 0 0 18px 0;
	font-weight: 500;
}
.evidence__cards { 
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(18px, 2vw, 30px);
	margin-top: clamp(28px, 4vw, 48px);
}
.miniCard { 
	border-radius: 28px;
	padding: 34px 34px;
	min-height: 340px;
}
.miniCard--navy { background: linear-gradient(180deg, #0b1324 0%, #070c18 100%); color: #fff; }
.miniCard--red { background: var(--red); color: #fff; }
.miniCard--gray { background: #e9edf1; color: var(--navy2); }

.miniCard__kicker { 
	font-size: clamp(28px, 2.6vw, 38px);
	font-weight: 900;
	line-height: 1.05;
	margin: 0 0 20px 0;
}
.miniCard__kicker--navy { color: var(--navy2); }
.miniCard__big { 
	font-size: clamp(58px, 5.2vw, 84px);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1;
	margin: 0 0 16px 0;
}
.miniCard__big--red { color: var(--red); }
.miniCard__big--navy { color: var(--navy2); }
.miniCard__note { 
	font-size: 18px;
	line-height: 1.35;
	opacity: 0.95;
}
.miniCard__note--navy { color: var(--navy2); opacity: 1; }

.evidence__footer { 
	margin-top: clamp(52px, 6vw, 90px);
	max-width: 1000px;
}
.h3 { 
	font-size: clamp(34px, 4vw, 56px);
	line-height: 1.08;
	margin: 0 0 18px 0;
	font-weight: 900;
}
.body { 
	font-size: clamp(22px, 2.6vw, 40px);
	line-height: 1.18;
	margin: 0;
}

@media (max-width: 1024px) { 
	.evidence__cards { grid-template-columns: repeat(2, 1fr); }
	.miniCard { min-height: auto; }
}
@media (max-width: 640px) { 
	.evidence__cards { grid-template-columns: 1fr; }
}


/* =========================
	 CORE PRINCIPLES SECTION
	 ========================= */
.principles { 
	background: radial-gradient(1200px 700px at 50% 30%, rgba(255,255,255,0.06), rgba(255,255,255,0) 55%),
				linear-gradient(180deg, var(--navy2), var(--navy));
	color: var(--white);
	padding: 110px 0 120px;
}
.principles__title { 
	text-align: center;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0 0 70px;
	color: var(--red);
	font-size: clamp(44px, 6vw, 82px);
}
.principles__grid { 
	display: grid;
	grid-template-columns: 1fr minmax(420px, 640px) 1fr;
	grid-template-areas: 
		"own own own"
		"con chart cho";
	column-gap: 80px;
	row-gap: 40px;
	align-items: center;
}
.principles__ownership { grid-area: own; text-align: center; }
.principles__consumerism { grid-area: con; text-align: left; align-self: end; }
.principles__choice { grid-area: cho; text-align: left; align-self: end; justify-self: end; }
.principles__chart { grid-area: chart; display: flex; justify-content: center; align-items: center; }
.principles__chart img { 
	width: min(640px, 100%);
	height: auto;
	display: block;
}
.principles__label { 
	font-weight: 800;
	letter-spacing: -0.01em;
	font-size: clamp(22px, 2.4vw, 34px);
	margin-bottom: 10px;
}
.principles__desc { 
	opacity: 0.92;
	font-size: 15px;
	line-height: 1.35;
	max-width: 360px;
}
.principles__ownership .principles__desc { margin: 0 auto; max-width: 520px; }
.principles__choice .principles__desc,
.principles__consumerism .principles__desc { max-width: 260px; }

@media (max-width: 980px) { 
	.principles { padding: 90px 0 96px; }
	.principles__grid { 
	grid-template-columns: 1fr;
	grid-template-areas: 
		"own"
		"chart"
		"con"
		"cho";
	row-gap: 28px;
	column-gap: 0;
	justify-items: center;
	}
	.principles__consumerism,
	.principles__choice { 
	text-align: center;
	justify-self: center;
	align-self: auto;
	}
	.principles__choice .principles__desc,
	.principles__consumerism .principles__desc { 
	max-width: 520px;
	}
}

/* --- Core Principles (locked to pie chart) --- */
.principles { 
	background: radial-gradient(1200px 800px at 50% 35%, rgba(255,255,255,0.06), rgba(255,255,255,0) 60%),
				linear-gradient(180deg, #0b1020 0%, #0a0f1e 100%);
}

.principles__stage { 
	width: min(980px, 100%);
	margin: 0 auto;
	padding: 96px 28px 110px;
	text-align: center;
}

.principles__title { 
	color: var(--red);
	font-size: clamp(44px, 5.4vw, 86px);
	line-height: 0.95;
	letter-spacing: -0.02em;
	margin: 0 0 44px;
	font-weight: 800;
}

.principles__ownership { margin: 0 auto 34px; }

.principles__label { 
	color: #ffffff;
	font-weight: 800;
	font-size: 34px;
	line-height: 1.05;
	margin: 0 0 10px;
}

.principles__desc { 
	color: rgba(255,255,255,0.9);
	font-size: 16px;
	line-height: 1.35;
}

.principles__visual { 
	position: relative;
	width: min(820px, 100%);
	margin: 0 auto;
	padding: 0;
}

.principles__chart { 
	width: 100%;
	height: auto;
	display: block;
}

.principles__center { 
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	color: var(--red);
	font-weight: 800;
	text-align: center;
	line-height: 1.08;
	font-size: clamp(26px, 3.2vw, 46px);
	letter-spacing: -0.02em;
	pointer-events: none;
	user-select: none;
}

/* lock callouts to the pie, not the page edges */
.principles__consumerism,
.principles__choice { 
	position: absolute;
	bottom: 14%;
	width: 240px;
	text-align: left;
}

.principles__consumerism { left: -6%; }
.principles__choice { right: -6%; }

.principles__consumerism .principles__label,
.principles__choice .principles__label { 
	font-size: 34px;
	margin-bottom: 10px;
}

.principles__consumerism .principles__desc,
.principles__choice .principles__desc { 
	font-size: 15px;
	color: rgba(255,255,255,0.9);
}

@media (max-width: 980px) { 
	.principles__consumerism,
	.principles__choice { 
	width: 220px;
	bottom: 10%;
	}
	.principles__consumerism { left: -2%; }
	.principles__choice { right: -2%; }
}

@media (max-width: 760px) { 
	.principles__stage { padding: 72px 22px 90px; }
	.principles__ownership { margin-bottom: 26px; }

	.principles__visual { width: 100%; }

	.principles__consumerism,
	.principles__choice { 
	position: static;
	width: min(520px, 100%);
	margin: 26px auto 0;
	text-align: left;
	}
}

/* --- Principles figure (pie + labels) rebuilt as one cohesive responsive unit --- */
.principles__figure { 
	width: min(980px, 100%);
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
}

.principles__top { 
	text-align: center;
	max-width: 560px;
	margin: 0 auto 44px;
}

.principles__row { 
	display: grid;
	grid-template-columns: minmax(220px, 1fr) minmax(360px, 640px) minmax(220px, 1fr);
	gap: 36px;
	align-items: end;
}

.principles__pieWrap { 
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
}

.principles__pieWrap .principles__chart { 
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.principles__pieWrap .principles__center { 
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-weight: 800;
	line-height: 1.02;
	font-size: clamp(34px, 5.2vw, 66px);
	color: var(--red);
}

.principles__side { 
	max-width: 300px;
}

.principles__side--left { 
	justify-self: start;
}

.principles__side--right { 
	justify-self: end;
}

@media (max-width: 940px) { 
	.principles__row { 
	grid-template-columns: 1fr;
	gap: 22px;
	align-items: start;
	}

	.principles__side { 
	max-width: 560px;
	justify-self: center;
	text-align: left;
	}
}

/* -------------------------------------------------------------------------- */
/* Rebuilt "Core Principles" figure (v2)
	 The pie + center text + 3 callouts scale as ONE unit (no floating).
	 This overrides earlier rules.
*/

.principles__stage,
.principles__ownership,
.principles__visual,
.principles__consumerism,
.principles__choice { 
	display: none !important;
}

.principles { 
	background: radial-gradient(120% 120% at 50% 20%, #131b2f 0%, #0b1020 55%, #070b16 100%);
}

.principles .wrap { 
	width: min(var(--content-max), 100%);
	margin: 0 auto;
	padding-left: var(--gutter-x);
	padding-right: var(--gutter-x);
	padding-top: 88px;
	padding-bottom: 96px;
}

.principles__title { 
	text-align: center;
	color: var(--red);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
	font-size: clamp(44px, 6vw, 88px);
	margin: 0 0 56px;
}

.principles__figure { 
	width: min(980px, 92vw);
	margin: 0 auto;
	position: relative;
	container-type: inline-size;
}

.principles__figure .principles__chart { 
	width: 100%;
	height: auto;
	display: block;
}

.principles__figure .principles__center { 
	position: absolute;
	left: 50%;
	top: 56%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: var(--red);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.08;
	font-size: 8.4cqi;
	pointer-events: none;
	user-select: none;
	text-shadow: 0 1px 0 rgba(0,0,0,.2);
}

.principles__callout { 
	position: absolute;
	color: #fff;
	width: 32cqi;
	max-width: 340px;
}

.principles__callout .principles__label { 
	font-size: 4.2cqi;
	font-weight: 800;
	margin: 0 0 6px;
	letter-spacing: -0.02em;
}

.principles__callout .principles__desc { 
	font-size: 2.25cqi;
	line-height: 1.35;
	opacity: 0.92;
}

.principles__callout--top { 
	left: 50%;
	top: 8cqi;
	transform: translateX(-50%);
	text-align: center;
	width: 46cqi;
	max-width: 520px;
}

.principles__callout--left { 
	left: 15cqi;
	top: 78cqi;
	transform: translate(-50%, -50%);
}

.principles__callout--right { 
	left: 85cqi;
	top: 78cqi;
	transform: translate(-50%, -50%);
}

@media (max-width: 760px) { 
	.principles .wrap { 
	padding-top: 72px;
	padding-bottom: 80px;
	}

	.principles__figure { 
	width: min(620px, 92vw);
	}

	.principles__callout { 
	position: static;
	width: auto;
	max-width: none;
	margin: 14px auto 0;
	text-align: left;
	}

	.principles__callout--top { text-align: left; }

	.principles__figure .principles__center { 
	top: 52%;
	font-size: 12.5cqi;
	}
}

/* =====================================================================
	 Core Principles (Pie)
	 Everything in the pie diagram (pie + center text + 3 callouts) is kept
	 inside ONE responsive figure so it scales together and never drifts.
	 ===================================================================== */

h2.cycle-center { color: var(--red); }
.cycle-label p { margin-top: 0; }

.principles { 
	background: radial-gradient(120% 120% at 50% 20%, #1b2a44 0%, #0b1020 55%, #070a12 100%);
	padding: clamp(64px, 8vw, 110px) 0 clamp(72px, 9vw, 120px);
}

.principles__title { 
	text-align: center;
	color: var(--red);
	font-weight: 800;
	letter-spacing: -0.02em;
	font-size: clamp(44px, 6.2vw, 88px);
	line-height: 0.95;
	margin: 0 0 clamp(32px, 4.4vw, 58px);
}

.principles__figure { 
	position: relative;
	margin: 0 auto;
	width: min(1100px, 92vw);
	aspect-ratio: 1100 / 820;
}

.principles__pieWrap { 
	position: absolute;
	left: 50%;
	top: 54%;
	transform: translate(-50%, -50%);
	width: 72%;
	max-width: 820px;
	aspect-ratio: 1 / 1;
}

.principles__chart { 
	width: 100%;
	height: 100%;
	display: block;
}

.principles__center { 
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: var(--red);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.02em;
	font-size: clamp(34px, 5.6vw, 92px);
	pointer-events: none;
	width: 70%;
}

.principles__top,
.principles__side { 
	position: absolute;
	color: #fff;
}

.principles__label { 
	font-weight: 800;
	letter-spacing: -0.01em;
	font-size: clamp(22px, 2.8vw, 44px);
	line-height: 1.1;
}

.principles__desc { 
	margin-top: 10px;
	color: rgba(255,255,255,.88);
	font-size: clamp(14px, 1.35vw, 18px);
	line-height: 1.35;
	max-width: 360px;
}

.principles__top { 
	left: 50%;
	top: 8%;
	transform: translateX(-50%);
	text-align: center;
	width: min(720px, 78%);
}

.principles__side--left { 
	left: 6%;
	top: 74%;
	transform: translateY(-50%);
	width: min(360px, 32%);
}

.principles__side--right { 
	right: 6%;
	top: 74%;
	transform: translateY(-50%);
	text-align: left;
	width: min(360px, 32%);
}

@media (max-width: 760px) { 
	.principles__figure { width: min(980px, 94vw); aspect-ratio: 980 / 900; }
	.principles__pieWrap { width: 86%; top: 57%; }
	.principles__side--left { left: 4%; top: 80%; width: min(300px, 40%); }
	.principles__side--right { right: 4%; top: 80%; width: min(300px, 40%); }
	.principles__desc { max-width: 280px; }
}

/* --- Core Principles single-SVG diagram --- */
.principles__fullsvg { 
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 42px;
}
.principles__fullsvg img { 
	width: min(980px, 100%);
	height: auto;
	display: block;
}
@media (max-width: 640px) { 
	.principles__fullsvg { margin-top: 28px; }
	.principles__fullsvg img { width: min(540px, 100%); }
}

@media screen and (max-width: 639px) { 
	.principles__fullsvg img.desktop { display: none; }
	.principles__fullsvg img.mobile { display: inherit; }
}
@media (min-width: 640px) { 
	.principles__fullsvg img.desktop { display: inherit; }
	.principles__fullsvg img.mobile  { display: none; }
}
/* =========================
	 Final CTA (bottom section)
	 ========================= */

.final-cta { 
	background: 
	radial-gradient(1000px 600px at 50% 20%, rgba(255,255,255,0.05), transparent 60%),
	radial-gradient(900px 500px at 50% 70%, rgba(255,255,255,0.03), transparent 65%),
	linear-gradient(180deg, #0a1222 0%, #070d18 100%);
	color: #fff;
	padding: clamp(72px, 7vw, 110px) 0 0;
	overflow: hidden;
}

.final-cta__title { 
	text-align: center;
	margin: 0 auto;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
	font-size: clamp(44px, 5.8vw, 84px);
	max-width: 980px;
}

.final-cta__copy { 
	text-align: center;
	margin: clamp(22px, 3vw, 34px) auto 0;
	max-width: 980px;
	color: var(--red);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.35;
	font-size: clamp(18px, 2.3vw, 34px);
}

.final-cta__copyline { display: block; }

.final-cta__flag { 
	margin-top: clamp(48px, 6vw, 78px);
	height: clamp(72px, 10vw, 120px);
	background-image: url('./assets/flag.jpg');
	background-size: cover;
	background-position: center bottom;
	filter: saturate(1.05) contrast(1.05);
}

/* Consistent gutters for section containers */
.section { 
	padding-left: var(--gutter-x);
	padding-right: var(--gutter-x);
}
