/* Minimal header styles: all text same size and weight */
:root { --text-size: 18px; --text-weight: 500; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: var(--text-size);
	font-weight: var(--text-weight);
	color: #111;
}
.site-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
	width: 100%;
	background: #fff;
}
.site-name { }
.site-nav a {
	margin-left: 1rem;
	text-decoration: none;
	color: inherit;
}

.page-title {
    text-align: center;
    margin: 1.5rem 0;
    font-size: inherit;
    font-weight: inherit;
}

/* Carousel styles */
.carousel {
	width: 100%;
	margin: 2.5rem 0;
	padding: 14px 0; /* allow space for hover scaling without clipping */
	overflow-x: hidden; /* prevent horizontal scrolling */
	overflow-y: visible; /* allow vertical hover scale to show */
	position: relative;
}
.carousel-track {
	display: flex;
	gap: 20px;
	will-change: transform;
	transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide {
	flex: 0 0 50vw; /* each slide is half the viewport so center shows fully, halves of sides visible */
	height: 470px;
	background: #eaeaea;
	border-radius: 24px;
	position: relative;
	transition: transform 0.3s ease;
	will-change: transform;
}

@media (max-width: 800px) {
	.slide { height: 270px; }
}

.slide:hover {
	transform: scale(1.01);
	z-index: 5;
}

/* Grid gallery below carousel */
.grid-gallery {
	margin: 50px auto 0;
	width: 92%;
	max-width: 1400px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	align-items: start;
}
.grid-item {
	background: #eaeaea;
	border-radius: 24px;
	width: 100%;
	aspect-ratio: 4 / 3;
	min-height: 120px;
	position: relative;
	transition: transform 0.3s ease;
	will-change: transform;
}

@media (max-width: 1000px) {
	.grid-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.grid-gallery { grid-template-columns: 1fr; }
}

.grid-item:hover {
	transform: scale(1.03);
	z-index: 3;
}

/* continuous stepped scrolling handled by JavaScript */

