/* =========================================================
   Results Gallery page
   ========================================================= */

.results-hero {
	min-height: 900px;
	background-color: var(--lb-ink);
	background-size: cover;
	background-position: center;
}
.results-hero .hero__content { padding-top: 360px; }

.section-gallery-results { background: var(--lb-white); padding: 0; }

/* category groups: full-width alternating bands (Figma) */
.results-group { padding-block: 100px; background: var(--lb-white); }
.results-group:nth-child(even) { background: var(--lb-off-white); }
.results-group__title {
	font-family: var(--lb-font-body); font-weight: 600; font-size: 32px;
	color: var(--lb-ink); margin-bottom: 44px;
}
.results-row {
	display: grid; grid-auto-flow: column;
	grid-auto-columns: calc((100% - 32px) / 3);
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 34px;
	scrollbar-width: thin; scrollbar-color: #8a8a8a #e4e4e4;
}
.results-row::-webkit-scrollbar { height: 5px; }
.results-row::-webkit-scrollbar-track { background: #e4e4e4; border-radius: 3px; }
.results-row::-webkit-scrollbar-thumb { background: #8a8a8a; border-radius: 3px; }

/* Figma card overrides: square corners, single AFTER chip, sessions chip, caption */
.section-gallery-results .result-card__compare { border-radius: 0; }
.section-gallery-results .result-card__tag--after {
	border-radius: 0; top: 22px; right: 22px;
	font-family: var(--lb-font-body); font-weight: 600; font-size: 13px;
	letter-spacing: 1.5px; padding: 9px 18px;
}
.result-card__chip {
	position: absolute; left: 22px; bottom: 22px; z-index: 3;
	background: var(--lb-white); color: var(--lb-ink);
	font-family: var(--lb-font-body); font-weight: 500; font-size: 15px;
	font-style: italic; padding: 8px 18px;
}
.section-gallery-results .result-card figcaption {
	justify-content: center; padding-top: 20px;
	font-family: var(--lb-font-body); font-weight: 400; font-size: 12px;
	letter-spacing: 2.5px; text-transform: uppercase; color: var(--lb-grey-500);
}

/* dark filter band below the hero (Figma) */
.section-results-filter { background: #1b1b1b; padding-block: 40px; }
.results-nav {
	display: flex; flex-wrap: wrap; gap: 14px;
	justify-content: center;
}
.results-nav__tab {
	font-family: var(--lb-font-body); font-weight: 400; font-size: 14px;
	letter-spacing: 0.5px;
	background: transparent; color: var(--lb-white);
	border: 1px solid var(--lb-white-40); border-radius: 2px;
	padding: 13px 26px;
	cursor: pointer; transition: all .2s ease;
}
.results-nav__tab:hover { border-color: var(--lb-white); }
.results-nav__tab.is-active { background: var(--lb-cream); color: var(--lb-ink); border-color: var(--lb-cream); }

.results-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
	margin-bottom: 48px;
}
.results__more { text-align: center; }

@media (max-width: 1180px) {
	.results-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
	.results-hero { min-height: 500px; }
	.results-hero .hero__content { padding-top: 180px; }
	.section-gallery-results { padding-block: 80px; }
	.results-grid { grid-template-columns: 1fr; }
}

/* ---------- CLIENT STORIES ---------- */
.section-stories { background: #0a0a0a; padding-block: 110px 120px; }
.stories__heading {
	font-family: var(--lb-font-heading); font-weight: 300;
	font-size: var(--lb-heading-section); line-height: 1.1;
	color: var(--lb-white); margin-top: 20px;
}
.stories__heading em {
	font-family: var(--lb-font-heading); font-weight: 700;
	font-style: normal; letter-spacing: 0;
}
.stories__row {
	display: grid; grid-auto-flow: column;
	grid-auto-columns: calc((100% - 12px) / 2);
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 34px;
	scrollbar-width: thin; scrollbar-color: #d8d8d8 #3a3a3a;
}
.stories__row::-webkit-scrollbar { height: 5px; }
.stories__row::-webkit-scrollbar-track { background: #3a3a3a; border-radius: 3px; }
.stories__row::-webkit-scrollbar-thumb { background: #d8d8d8; border-radius: 3px; }
.story-card {
	position: relative; aspect-ratio: 1/1;
	background-size: cover; background-position: center;
	display: flex; align-items: flex-end;
	padding: 26px 24px;
	cursor: pointer;
}
.story-card.new {
	padding: 0x;
}
.story-card__copy h3 {
	font-family: var(--lb-font-body); font-weight: 600; font-size: 19px;
	color: var(--lb-white); margin-bottom: 8px;
}
.story-card__copy p {
	font-family: var(--lb-font-body); font-weight: 300; font-size: 12px;
	letter-spacing: 2px; text-transform: uppercase; color: var(--lb-white-70);
}
.story-card__copy {
    position: absolute;
    bottom: 20px;
    left: 20px;
}
@media (max-width: 880px) {
	.stories__row { grid-auto-columns: 90%; }
}

/* Mobile: one card per view, swipeable */
@media (max-width: 880px) {
	/* compact filter chips */
	.section-results-filter { padding-block: 26px; }
	.results-nav { gap: 8px; justify-content: flex-start; }
	.results-nav__tab { padding: 9px 16px; font-size: 13px; }
	.results-group { padding-block: 64px; }
	.results-group__title { font-size: 26px; margin-bottom: 28px; }
	/* stack cards: horizontal swipe would fight the drag-to-reveal gesture */
	.results-row {
		grid-auto-flow: row; grid-auto-columns: unset;
		grid-template-columns: 1fr;
		gap: 28px; overflow-x: visible; padding-bottom: 0;
	}
	.section-gallery-results .result-card__tag--after { top: 14px; right: 14px; padding: 7px 14px; font-size: 12px; }
	.result-card__chip { left: 14px; bottom: 14px; padding: 6px 14px; font-size: 13px; }
}
