/*
 * Home sections: home_hero, offer_cards, headline, intro_text, feature_columns,
 * video_cta, method, image_banner, title_box, text_button, media_text,
 * image_accordion.
 */

/* Opening ------------------------------------------------------------------ */
.ls-home-hero {
	padding: 0;
	background: var(--linen);
}

.ls-home-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	min-height: min(100svh, 960px);
}

.ls-home-hero__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--s6);
	padding: calc(var(--header-h) + var(--s7)) var(--gutter) var(--s8) max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter)));
}

.ls-home-hero__title {
	font-size: var(--fs-display);
	font-weight: 400;
	line-height: 0.98;
	letter-spacing: -0.015em;
	/* The copy is written in capitals; set it in sentence case for calm. */
	text-transform: lowercase;
}

.ls-home-hero__title::first-letter {
	text-transform: uppercase;
}

.ls-home-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3);
}

.ls-home-hero__media {
	position: relative;
	overflow: hidden;
}

.ls-home-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
}

@media (prefers-reduced-motion: no-preference) {
	.ls-home-hero__media img {
		animation: ls-settle 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}
}

@keyframes ls-settle {
	from { transform: scale(1.06); opacity: 0.6; }
	to { transform: none; opacity: 1; }
}

@media (max-width: 900px) {
	.ls-home-hero__grid {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.ls-home-hero__body {
		padding: calc(var(--header-h) + var(--s6)) var(--gutter) var(--s7);
	}

	.ls-home-hero__media {
		aspect-ratio: 4 / 5;
		max-height: 80svh;
	}
}

/* Photo opening (home): full-width photo, then title and buttons in a band --- */
.ls-photo-hero {
	padding: 0;
	background: var(--linen);
}

.ls-photo-hero__media {
	position: relative;
	height: clamp(420px, 68svh, 820px);
	margin: 0;
	overflow: hidden;
	background: var(--linen-deep);
}

/* Soft shade at the top so the light header stays readable on any photo. */
.ls-photo-hero__media::after {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: calc(var(--header-h) * 2.2);
	background: linear-gradient(to bottom, rgba(43, 29, 31, 0.42), rgba(43, 29, 31, 0));
	pointer-events: none;
}

/* Moved by site.js at half the scroll speed, so the photo seems to stay put. */
.ls-photo-hero__layer {
	position: absolute;
	inset: 0;
	will-change: transform;
}

.ls-photo-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 38%;
}

@media (prefers-reduced-motion: no-preference) {
	.ls-photo-hero__media img {
		animation: ls-settle 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}
}

.ls-photo-hero__band {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--s5);
	padding: var(--s8) var(--gutter) var(--s9);
	border-bottom: 1px solid var(--line);
	text-align: center;
}

.ls-photo-hero__title {
	max-width: 24ch;
	font-size: var(--fs-h1);
	font-style: italic;
	font-weight: 400;
	line-height: 1.12;
	/* The copy is written in capitals; set it in sentence case for calm. */
	text-transform: lowercase;
}

.ls-photo-hero__title::first-letter {
	text-transform: uppercase;
}

/* The title copy has hard breaks; here it reads as one flowing line. */
.ls-photo-hero__title br {
	display: none;
}

.ls-photo-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s3);
}

@media (max-width: 767px) {
	.ls-photo-hero__media {
		height: 62svh;
		min-height: 360px;
	}

	.ls-photo-hero__band {
		padding-block: var(--s7) var(--s8);
	}

	.ls-photo-hero__buttons {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		max-width: 340px;
	}
}

/* Welcome: portrait beside a personal introduction ---------------------------- */
.ls-welcome {
	background: var(--linen-deep);
	scroll-margin-top: var(--header-h);
}

.ls-welcome__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(var(--s7), 7vw, var(--s9));
	align-items: start;
}

.ls-welcome--no-image .ls-welcome__grid {
	grid-template-columns: minmax(0, var(--measure));
	justify-content: center;
}

/* Portrait with a thin frame set off behind it; stays in view while the text scrolls. */
.ls-welcome__media {
	position: sticky;
	top: calc(var(--header-h) + var(--s6));
	margin: 0 var(--s5) var(--s5) 0;
}

.ls-welcome__media::before {
	content: "";
	position: absolute;
	inset: var(--s5) calc(-1 * var(--s5)) calc(-1 * var(--s5)) var(--s5);
	border: 1px solid var(--ochre);
	opacity: 0.55;
	pointer-events: none;
}

.ls-welcome__media img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius);
}

.ls-welcome__body {
	max-width: 620px;
	padding-top: var(--s4);
}

.ls-welcome__title {
	margin: 0 0 var(--s6);
	font-family: var(--serif);
	font-size: var(--fs-display);
	font-style: italic;
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: -0.01em;
	color: var(--wine);
}

.ls-welcome__text p {
	margin: 0 0 var(--s5);
	line-height: 1.85;
}

.ls-welcome__text em {
	font-family: var(--serif);
	font-size: 1.22em;
	font-style: italic;
	color: var(--ink);
}

.ls-welcome__quote {
	position: relative;
	margin: var(--s7) 0;
	padding-left: var(--s6);
	border-left: 1px solid var(--ochre);
}

.ls-welcome__quote p {
	margin: 0;
	font-family: var(--serif);
	font-size: var(--fs-h3);
	font-style: italic;
	font-weight: 500;
	line-height: 1.25;
	color: var(--wine-deep);
}

.ls-welcome__end {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--s5) var(--s6);
	margin-top: var(--s6);
	padding-top: var(--s6);
	border-top: 1px solid var(--line);
}

.ls-welcome__signature {
	margin: 0;
	font-family: var(--serif);
	font-size: var(--fs-h4);
	font-style: italic;
	color: var(--ink);
}

@media (max-width: 900px) {
	.ls-welcome__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ls-welcome__media {
		position: relative;
		top: auto;
		/* Leave room for the offset frame so it never runs past the gutter. */
		width: min(calc(100% - var(--s5)), 420px);
		margin: 0 auto var(--s7);
	}

	.ls-welcome__body {
		max-width: none;
		padding-top: 0;
	}
}

@media (max-width: 640px) {
	.ls-welcome__quote {
		margin-block: var(--s6);
		padding-left: var(--s5);
	}

	.ls-welcome__end {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Offer cards ("Trajecten") -------------------------------------------------- */
.ls-offers {
	background: var(--linen);
	scroll-margin-top: var(--header-h);
}

.ls-offers__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--s4);
	margin-bottom: var(--s8);
	text-align: center;
}

.ls-offers__title {
	font-size: var(--fs-h2);
}

.ls-offers__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: var(--s6) var(--s5);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ls-offers__item {
	grid-column: span 2;
	margin: 0;
	transition-delay: var(--delay, 0ms);
}

/* Five cards: three on the first row, two wider ones below. */
@media (min-width: 1101px) {
	.ls-offers__item:nth-child(4):nth-last-child(2),
	.ls-offers__item:nth-child(5):last-child {
		grid-column: span 3;
	}

	.ls-offers__item:nth-child(4):nth-last-child(2) .ls-card__media,
	.ls-offers__item:nth-child(5):last-child .ls-card__media {
		aspect-ratio: 16 / 10;
	}

	/* Four cards: two rows of two wide ones. */
	.ls-offers__item:first-child:nth-last-child(4),
	.ls-offers__item:first-child:nth-last-child(4) ~ .ls-offers__item {
		grid-column: span 3;
	}

	.ls-offers__item:first-child:nth-last-child(4) .ls-card__media,
	.ls-offers__item:first-child:nth-last-child(4) ~ .ls-offers__item .ls-card__media {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 1100px) {
	.ls-offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ls-offers__item { grid-column: span 1; }
	.ls-offers__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.ls-offers__item .ls-card__media { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
	.ls-offers__grid { grid-template-columns: 1fr; }
	.ls-offers__item:last-child:nth-child(odd) { grid-column: auto; }
}

/* "Dit is voor jou als…" ---------------------------------------------------------- */
.ls-headline {
	padding-bottom: var(--s6);
	background: var(--blush);
}

.ls-headline .ls-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--s4);
	text-align: center;
}

.ls-headline__text {
	font-size: var(--fs-h1);
	font-style: italic;
	font-weight: 400;
}

/* Intro (blush) with video ---------------------------------------------------------- */
.ls-intro-text {
	padding-top: var(--s7);
	background: var(--blush);
}

.ls-headline + .ls-intro-text {
	margin-top: -1px; /* hide the sub-pixel seam between the two blush sections */
}

.ls-intro-text__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--s7);
	align-items: center;
}

.ls-intro-text.has-video .ls-intro-text__grid {
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}

.ls-intro-text__title {
	font-size: var(--fs-h2);
}

.ls-intro-text__text {
	max-width: 52ch;
}

@media (max-width: 900px) {
	.ls-intro-text.has-video .ls-intro-text__grid { grid-template-columns: 1fr; }
}

/* Feature columns -------------------------------------------------------------------- */
.ls-features {
	background: var(--linen);
}

.ls-features__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 clamp(2rem, 6vw, 6rem);
	align-items: start;
}

.ls-features__col {
	display: flex;
	flex-direction: column;
	gap: var(--s9);
}

.ls-features__col--right {
	margin-top: var(--s9);
}

.ls-features__item {
	display: flex;
	flex-direction: column;
	gap: var(--s4);
}

.ls-features__image {
	overflow: hidden;
	margin-bottom: var(--s3);
	border-radius: var(--radius);
}

.ls-features__image img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.ls-features__title {
	font-size: var(--fs-h3);
}

@media (max-width: 767px) {
	.ls-features__grid { grid-template-columns: 1fr; }
	.ls-features__col { gap: var(--s8); }
	.ls-features__col--right { margin-top: var(--s8); }
}

/* Video CTA ---------------------------------------------------------------------------- */
.ls-video-cta {
	overflow: hidden;
	padding-block: clamp(5rem, 12vw, 10rem);
	background-color: var(--ink);
	text-align: center;
	color: var(--white);
}

.ls-video-cta__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.ls-video-cta__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(43, 29, 31, 0.55), rgba(92, 15, 36, 0.7));
}

.ls-video-cta .ls-container {
	position: relative;
	max-width: calc(var(--measure) + 2 * var(--gutter));
}

.ls-video-cta__title {
	font-size: var(--fs-h2);
	color: var(--white);
}

.ls-video-cta__text {
	color: rgba(255, 255, 255, 0.9);
}

/* Method ----------------------------------------------------------------------------- */
.ls-method {
	background: var(--linen);
	text-align: center;
}

.ls-method__title {
	font-size: var(--fs-h2);
}

.ls-method__text {
	max-width: var(--measure);
	margin-inline: auto;
}

.ls-method__items {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--s7);
	margin-top: var(--s7);
}

.ls-method__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--s4);
}

.ls-method__icon {
	display: grid;
	place-items: center;
	width: 112px;
	height: 112px;
	border-radius: 50%;
	background: var(--blush);
}

.ls-method__icon img {
	width: 64%;
	mix-blend-mode: multiply;
	filter: grayscale(1) contrast(1.1);
}

.ls-method__item-title {
	font-size: var(--fs-h4);
	letter-spacing: 0.02em;
}

.ls-method__item-text {
	max-width: 34ch;
	margin: 0;
	font-size: var(--fs-small);
	color: var(--ink-soft);
}

/* Steps without an icon get a number in the same circle ("Zo werkt het"). */
.ls-method__items {
	counter-reset: ls-step;
}

.ls-method__item {
	counter-increment: ls-step;
}

.ls-method__item:not(:has(.ls-method__icon))::before {
	content: counter(ls-step);
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--blush);
	font-family: var(--serif);
	font-size: var(--fs-h3);
	font-style: italic;
	line-height: 1;
	color: var(--wine);
}

@media (max-width: 767px) {
	.ls-method__items { grid-template-columns: 1fr; gap: var(--s7); }
}

/* Image banner + title box + text (group sessions) ---------------------------------------- */
.ls-image-banner {
	min-height: clamp(320px, 62vh, 640px);
	padding: 0;
	background-image: var(--ls-bg, none);
	background-position: center;
	background-size: cover;
}

.ls-image-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(43, 29, 31, 0) 40%, rgba(43, 29, 31, 0.35));
}

.ls-title-box {
	padding: 0;
	background: var(--linen);
}

.ls-title-box .ls-container {
	display: flow-root;
}

.ls-title-box__box {
	position: relative;
	max-width: 860px;
	margin: calc(-1 * clamp(3rem, 8vw, 6rem)) auto 0;
	padding: clamp(2rem, 5vw, 3.5rem) var(--s5) var(--s4);
	background: var(--linen);
	text-align: center;
}

.ls-title-box__title {
	font-size: var(--fs-h2);
	letter-spacing: 0.02em;
}

.ls-text-button {
	padding-top: var(--s5);
	background: var(--linen);
}

.ls-text-button__inner {
	max-width: calc(var(--measure) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.ls-text-button__button {
	margin-top: var(--s6);
	text-align: center;
}

/* Media + text (kept for other pages) ---------------------------------------------------- */
.ls-media-text__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
}

.ls-media-text--image-left .ls-media-text__media {
	order: -1;
}

.ls-media-text__media img {
	width: 100%;
	border-radius: var(--radius);
}

.ls-media-text__title {
	font-size: var(--fs-h2);
}

@media (max-width: 767px) {
	.ls-media-text__grid { grid-template-columns: 1fr; }
	.ls-media-text--image-left .ls-media-text__media { order: 0; }
}

/* Image accordion (kept for other pages) ---------------------------------------------------- */
.ls-accordion__list {
	display: flex;
	height: clamp(260px, 50vh, 480px);
	overflow: hidden;
}

.ls-accordion__item {
	position: relative;
	flex: 1 0 auto;
	display: flex;
	overflow: hidden;
	transition: flex-grow 0.6s ease;
}

.ls-accordion__item.is-active {
	flex-grow: 1.6;
}

.ls-accordion__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.ls-accordion__label {
	position: relative;
	align-self: flex-end;
	padding: var(--s5);
	font-size: var(--fs-h4);
	color: var(--white);
}

.ls-accordion__item.is-active .ls-accordion__label {
	opacity: 0;
}

.ls-accordion__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: var(--s4);
	padding: var(--s6);
	background: linear-gradient(180deg, rgba(43, 29, 31, 0) 30%, rgba(92, 15, 36, 0.75));
	opacity: 0;
	transition: opacity 0.4s ease;
}

.ls-accordion__item.is-active .ls-accordion__content {
	opacity: 1;
}

.ls-accordion__title {
	font-size: var(--fs-h3);
	color: var(--white);
}

.ls-accordion__button {
	align-self: flex-start;
	color: var(--white);
}
