.c-red { color: #db0a15; }
.c-blue { color: #014EA3; }
.c-yellow { color: #fac12b; }

.btn-red,
.btn-blue,
.btn-yellow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 10px;
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	border: 0;
	cursor: pointer;
}

.btn-red { background: #db0a15; color: #fff; }
.btn-red:hover { background: #b00811; color: #fff; }
.btn-blue { background: #014EA3; color: #fff; }
.btn-blue:hover { background: #08609e; color: #fff; }
.btn-yellow { background: #f5c400; color: #111; }
.btn-yellow:hover { background: #e0b200; color: #111; }

.home-hero {
	position: relative;
	overflow: hidden;
	padding: 72px 0 88px;
	background-color: #fff;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #111;
}

.home-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 28px 48px;
	align-items: center;
	position: relative;
	z-index: 1;
}

.home-hero-copy {
	position: relative;
	max-width: 560px;
}

.home-hero-copy h1 {
	margin: 0 0 22px;
	font-family: "Linotte", "Fredoka", sans-serif;
	font-size: clamp(2.35rem, 4.5vw, 3.55rem);
	line-height: 1.12;
	font-weight: 700;
	letter-spacing: -0.02em;
	max-width: none;
	color: #111;
}

.home-hero-copy h1 strong {
	font-family: "Linotte", "Fredoka", sans-serif;
	font-weight: 900;
}

.home-hero-copy p {
	max-width: 34rem;
	margin: 0 0 28px;
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: #222;
}

.home-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.home-hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 22px;
	border-radius: 8px;
	font-family: "Inter", "Poppins", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	border: 0;
}

.home-hero-btn:hover {
	color: #fff;
	filter: brightness(0.92);
}

.home-hero-btn .header-cta-icon,
.home-hero-btn .btn-icon {
	flex-shrink: 0;
}

.home-hero-art {
	position: relative;
	min-height: 540px;
}

.hero-collage {
	position: relative;
	width: min(100%, 540px);
	height: 520px;
	margin: 0 auto;
}

.hero-shot {
	position: absolute;
	margin: 0;
	background: #fff;
	/*padding: 9px;*/
	border-radius: 3px;
	box-shadow: 0 10px 24px rgba(17, 17, 17, 0.2);
}

.hero-shot img {
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: center;
	display: block;
	background: #f3f3f3;
}

.hero-shot-1 {
	width: 56%;
	top: 2%;
	left: -2%;
	transform: rotate(-8deg);
	z-index: 3;
}

.hero-shot-1 img { aspect-ratio: 1.36 / 1; }

.hero-shot-2 {
	width: 39%;
	top: 0;
	right: 1%;
	transform: rotate(7deg);
	z-index: 2;
}

.hero-shot-2 img { aspect-ratio: 0.78 / 1; }

.hero-shot-3 {
	width: 38%;
	bottom: 3%;
	left: 3%;
	transform: rotate(6deg);
	z-index: 2;
}

.hero-shot-3 img { aspect-ratio: 0.76 / 1; }

.hero-shot-4 {
	width: 55%;
	bottom: 0;
	right: -3%;
	transform: rotate(-7deg);
	z-index: 4;
}

.hero-shot-4 img { aspect-ratio: 1.4 / 1; }

.doodle {
	position: absolute;
	pointer-events: none;
}

.doodle-star-red,
.doodle-star-blue {
	width: 18px;
	height: 18px;
	clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.doodle-star-red { background: #e30613; top: 8px; left: 46%; }
.doodle-star-blue { background: #014EA3; top: 92px; left: -8px; }
.doodle-squiggle {
	width: 42px;
	height: 16px;
	border-bottom: 3px solid #f5c400;
	border-radius: 50%;
	top: -6px;
	left: 8px;
}

.doodle-frame { top: 8px; right: 18%; }
.doodle-frame-2 { bottom: 28%; left: -6px; }
.doodle-ribbon {
	width: 54px;
	height: 18px;
	border: 4px solid #014EA3;
	border-left: 0;
	border-radius: 0 20px 20px 0;
	bottom: 18px;
	right: 8%;
}

.home-about {
	background: #014EA3;
	color: #fff;
	padding: 56px 0 48px;
}

.home-about-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}

.home-kicker {
	margin: 0 0 10px;
	color: #fac12b;
	font-family: "Linotte", "Fredoka", sans-serif;
	font-weight: 700;
	letter-spacing: 0.14em;
	font-size: 0.85rem;
	text-transform: uppercase;
}

.home-about-copy h2 {
	margin: 0 0 18px;
	font-family: "Linotte", "Fredoka", sans-serif;
	font-size: clamp(1.9rem, 3.8vw, 3rem);
	line-height: 1.15;
	font-weight: 700;
	color: #fff;
}

.home-about-copy p {
	color: #fff;
	margin: 0 0 1rem;
	font-family: "Poppins", sans-serif;
}

.home-about-btn {
	margin-top: 8px;
	font-family: "Inter", "Poppins", sans-serif;
	background: #db0a15;
}

.home-about-frame {
	margin: 0 auto;
	/*background: #fff;*/
	/*padding: 16px 16px 42px;*/
	border-radius: 18px;
	transform: rotate(5deg);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
	max-width: 420px;
}

.home-about-frame img {
	width: 100%;
	height: 340px;
	object-fit: cover;
	border-radius: 8px;
}

.home-stats-wrap {
	background: #fff;
	padding: 18px 0 20px;
	margin: 0;
	position: static;
	z-index: auto;
}

.home-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: #f6e2e8;
	border-radius: 28px;
	padding: 28px 12px;
	margin-top: 50px;
    margin-bottom: 50px;
}

.home-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 6px;
	padding: 8px 16px;
	border-right: 1px solid #e8c4b0;
	color: #111;
}

.home-stat:last-child { border-right: 0; }

.home-stat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: 78px;
	border-radius: 0;
	background: none;
}

.home-stat-icon img {
	width: auto;
	max-width: 88px;
	height: 72px;
	object-fit: contain;
}

.home-stat:nth-child(3) .home-stat-icon img {
	max-width: 118px;
	height: 72px;
}

.home-stat strong {
	display: block;
	font-family: "Linotte", "Fredoka", sans-serif;
	font-size: 1.35rem;
	line-height: 1.1;
	color: #111;
}

.home-stat-label {
	font-family: "Linotte", "Fredoka", sans-serif;
	font-weight: 600;
	font-size: 0.95rem;
	color: #333;
}

.home-gallery {
	background: #014EA3;
	color: #fff;
	padding: 32px 0 40px;
}

.home-gallery-title {
	text-align: center;
	font-family: "Linotte", "Linotte-Bold", "Fredoka", sans-serif;
	font-size: clamp(1.55rem, 3vw, 2.35rem);
	margin: 0 0 14px;
	font-weight: 700;
	line-height: 1.2;
}

.gallery-title-spark {
	display: inline-block;
	width: 0.95em;
	height: 0.95em;
	margin-left: 0.12em;
	vertical-align: super;
	object-fit: contain;
	mix-blend-mode: screen;
}

.home-events-title {
	text-align: center;
	font-family: "Linotte", "Linotte-Bold", "Fredoka", sans-serif;
	font-size: clamp(1.55rem, 3vw, 2.35rem);
	margin: 0 0 14px;
	font-weight: 700;
	line-height: 1.2;
}

.gallery-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 18px;
}

.gallery-filter {
	border: 0;
	background: #fff;
	color: #014EA3;
	border-radius: 999px;
	padding: 7px 16px;
	font-family: "Poppins", sans-serif;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.gallery-filter.is-active {
	background: #db0a15;
	color: #fff;
}

.gallery-grid {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 14px;
	padding: 4px 0 28px;
}

.gallery-item {
	--gallery-y: 0px;
	--gallery-rotate: 0deg;
	margin: 0;
	flex: 1 1 0;
	max-width: 190px;
	background: #fff;
	border-radius: 22px;
	padding: 10px;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
	transform: translateY(var(--gallery-y)) rotate(var(--gallery-rotate));
}

.gallery-item:nth-child(1) {
	--gallery-y: 0px;
	--gallery-rotate: 10deg;
}

.gallery-item:nth-child(2) {
	--gallery-y: 30px;
	--gallery-rotate: 4.5deg;
}

.gallery-item:nth-child(3) {
	--gallery-y: 35px;
	--gallery-rotate: 0deg;
}

.gallery-item:nth-child(4) {
	--gallery-y: 25px;
	--gallery-rotate: -4.5deg;
}

.gallery-item:nth-child(5) {
	--gallery-y: 0px;
	--gallery-rotate: -9deg;
}

.gallery-item img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
	border-radius: 14px;
}

.gallery-item.is-hidden { display: none; }

.home-events {
	background: #fff;
	padding: 48px 0 56px;
}

.home-events-title {
	color: #111;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.events-title-spark {
	width: 1.05em;
	height: 1.05em;
	object-fit: contain;
	flex-shrink: 0;
}

.events-title-spark-left {
	transform: scaleX(-1);
}

.events-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.event-card {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
	padding: 22px 12px 18px;
	text-align: center;
}

.event-card h3 {
	margin: 12px 0 0;
	font-size: 1rem;
}

.event-icon {
	width: 108px;
	height: 108px;
	margin: 0 auto;
	object-fit: contain;
}

.home-cta {
	background: #e30613;
	color: #fff;
	padding: 42px 0;
	margin-bottom: 70px;
}

.home-cta-grid {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.home-cta h2 {
	margin: 0 0 8px;
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	font-weight: 800;
}

.home-cta p {
	margin: 0;
	max-width: 42rem;
}

@media (max-width: 1024px) {
	.events-grid { grid-template-columns: repeat(2, 1fr); }
	.gallery-item { max-width: 160px; }
	.home-stats { grid-template-columns: repeat(2, 1fr); border-radius: 24px; }
	.home-stat { border-right: 0; border-bottom: 1px solid #e8c4b0; }
	.home-stat:nth-child(3),
	.home-stat:nth-child(4) { border-bottom: 0; }
	.home-hero-art { min-height: 480px; }
}

@media (max-width: 860px) {
	.home-hero-grid,
	.home-about-grid,
	.home-cta-grid {
		grid-template-columns: 1fr;
		display: grid;
	}

	.home-hero-copy h1 { max-width: none; }
	.home-hero { background-position: center top; padding: 36px 0 48px; }
	.home-hero-art { min-height: 380px; }
	.hero-collage { width: min(100%, 420px); height: 380px; }
	.home-about-frame { transform: none; }
	.home-cta-grid { text-align: center; justify-items: center; }
	.home-hero-actions { justify-content: flex-start; }
	.doodle { display: none; }
}

@media (max-width: 640px) {
	.gallery-grid {
		flex-wrap: wrap;
		padding-bottom: 8px;
	}

	.gallery-item,
	.gallery-item:nth-child(1),
	.gallery-item:nth-child(2),
	.gallery-item:nth-child(3),
	.gallery-item:nth-child(4),
	.gallery-item:nth-child(5) {
		--gallery-y: 0px;
		--gallery-rotate: 0deg;
		max-width: calc(50% - 8px);
		flex: 1 1 calc(50% - 8px);
	}

	.events-grid,
	.home-stats {
		grid-template-columns: 1fr 1fr;
	}

	.home-stat { border-right: 0; }
	.home-hero { padding: 24px 0 40px; }
	.home-about { padding: 36px 0; }
	.home-gallery { padding: 28px 0 32px; }
	.home-hero-copy h1 { font-size: clamp(1.85rem, 8vw, 2.6rem); }
	.home-hero-btn { width: 100%; }
	.home-hero-art { min-height: 320px; }
	.hero-collage { height: 320px; }
	.home-cta-grid { gap: 16px; }
	.home-cta .btn-red,
	.home-cta .btn-yellow,
	.home-cta a { width: min(100%, 320px); }
}

@media (max-width: 420px) {
	.gallery-grid,
	.events-grid,
	.home-stats {
		grid-template-columns: 1fr;
	}
	.gallery-item,
	.gallery-item:nth-child(1),
	.gallery-item:nth-child(2),
	.gallery-item:nth-child(3),
	.gallery-item:nth-child(4),
	.gallery-item:nth-child(5) {
		max-width: 100%;
		flex: 1 1 100%;
	}
}
