/* ==========================================================================
   .leqa-shots — real app screenshot gallery
   Composes with primitives from main.css. Tokens only.
   ========================================================================== */

.leqa-shots__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--leqa-space-4);
	max-width: 46rem;
	margin-inline: auto;
	margin-bottom: var(--leqa-space-7);
	text-align: center;
}

.leqa-shots__title {
	font-size: var(--leqa-fs-h2);
}

.leqa-shots__lead {
	font-size: var(--leqa-fs-lead);
	line-height: 1.5;
	max-width: 40rem;
}

/* ---- Responsive gallery grid ---- */
.leqa-shots__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--leqa-space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

.leqa-shots__item {
	margin: 0;
}

/* First shot spans the full width as a hero preview. */
.leqa-shots__item--featured {
	grid-column: 1 / -1;
}

.leqa-shots__figure {
	margin: 0;
	border: var(--leqa-border-width) solid var(--leqa-border-strong);
	border-radius: var(--leqa-radius-lg);
	background: var(--leqa-bg-elev);
	box-shadow: var(--leqa-shadow);
	overflow: hidden;
	transition: transform var(--leqa-dur) var(--leqa-ease), box-shadow var(--leqa-dur) var(--leqa-ease);
}

.leqa-shots__item:hover .leqa-shots__figure {
	transform: translateY(-3px);
	box-shadow: var(--leqa-shadow-lg);
}

.leqa-shots__img {
	display: block;
	width: 100%;
	height: auto;
}

/* Cap the featured shot's height on wide screens so it never dwarfs the page. */
.leqa-shots__item--featured .leqa-shots__img {
	max-height: 620px;
	object-fit: cover;
	object-position: top center;
}

.leqa-shots__cap {
	padding: var(--leqa-space-3) var(--leqa-space-4);
	border-top: var(--leqa-border-width) solid var(--leqa-border);
	background: var(--leqa-bg-elev-2);
	font-size: var(--leqa-fs-eyebrow);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--leqa-text-muted);
}

.leqa-shots__note {
	margin-top: var(--leqa-space-5);
	text-align: center;
	font-size: var(--leqa-fs-small);
}

@media (prefers-reduced-motion: reduce) {
	.leqa-shots__figure,
	.leqa-shots__item:hover .leqa-shots__figure {
		transition: none;
		transform: none;
	}
}
