/**
 * Ayat Food Theme - Ons verhaal page styles.
 *
 * Loaded only on /ons-verhaal (see inc/enqueue.php). Ported from
 * src/components/ons-verhaal/OnsVerhaalPage.tsx. Depends on pages.css (shared
 * buttons / tilt image / CTA). Scroll motion: .ov-motion + pages.js.
 *
 * @package Ayat_Food
 * @since   1.1.0
 */

.ipekci-ov {
	background: #faf8f5;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.ipekci-ov-hero {
	position: relative;
	min-height: 88vh;
	overflow: hidden;
	background: #030303;
}

.ipekci-ov-hero__media {
	position: absolute;
	inset: 0;
}

.ipekci-ov-hero__video {
	height: 100%;
	width: 100%;
	object-fit: cover;
	filter: brightness(0.34) contrast(1.1) saturate(1.05);
}

.ipekci-ov-hero__grad-top {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(3, 3, 3, 0.55), rgba(3, 3, 3, 0.25) 45%, transparent);
}

.ipekci-ov-hero__grad-gold {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 60% at 75% 15%, rgba(226, 192, 141, 0.14), transparent 50%);
}

.ipekci-ov-hero__grad-bottom {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 58%;
	background: linear-gradient(to top, #030303, rgba(3, 3, 3, 0.82) 45%, transparent);
	pointer-events: none;
}

.ipekci-ov-hero__inner {
	position: relative;
	display: flex;
	min-height: 88vh;
	flex-direction: column;
	justify-content: flex-end;
	padding-block: 9rem 5rem;
	will-change: transform, opacity;
}

@media (min-width: 640px) {
	.ipekci-ov-hero__inner {
		padding-top: 10rem;
	}
}

@media (min-width: 1024px) {
	.ipekci-ov-hero__inner {
		padding-block: 12rem 6rem;
	}
}

.ipekci-ov-hero__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--ipek-font-sans);
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: rgba(255, 255, 255, 0.42);
	animation: ipekci-ov-fade-up 0.8s var(--ipek-ease) both;
}

.ipekci-ov-hero__crumbs a {
	color: inherit;
	text-decoration: none;
	transition: color 0.4s ease;
}

.ipekci-ov-hero__crumbs a:hover {
	color: rgba(226, 192, 141, 0.95);
}

.ipekci-ov-hero__crumbs .ipekci-page-icon {
	color: rgba(255, 255, 255, 0.22);
}

.ipekci-ov-hero__crumbs [aria-current] {
	color: rgba(255, 255, 255, 0.8);
}

.ipekci-ov-hero__rule {
	margin-top: 2.5rem;
	height: 1px;
	width: 6rem;
	transform-origin: left;
	background: linear-gradient(90deg, rgba(226, 192, 141, 0.9), transparent);
	animation: ipekci-ov-grow 1.1s var(--ipek-ease) 0.15s both;
}

/*
 * The React markup reads `ipek-label ipek-heading-label text-[10px]
 * tracking-[0.32em]`, but `.ipek-label` is itself a utility declared after
 * Tailwind's own, so its `--ipek-tracking-label` (0.34em) and `line-height:
 * 1.5` win over the inline `tracking-*`. Mirror what actually renders.
 */
.ipekci-ov-hero__eyebrow {
	margin-top: 2rem;
	font-family: var(--ipek-font-sans);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: var(--ipek-tracking-label);
	line-height: 1.5;
	color: var(--ipek-primary);
	animation: ipekci-ov-fade-up 0.9s var(--ipek-ease) 0.35s both;
}

.ipekci-ov-hero__title {
	margin-top: 1.25rem;
	max-width: 56rem;
	font-family: var(--ipek-font-display);
	font-size: clamp(2.5rem, 5.4vw, 4.6rem);
	line-height: 1.02;
	color: #fff;
}

.ipekci-ov-hero__word {
	display: inline-block;
	margin-right: 0.22em;
	animation: ipekci-ov-word 0.9s var(--ipek-ease-reveal) both;
	animation-delay: var(--w-delay);
}

.ipekci-ov-hero__lede {
	margin-top: 1.75rem;
	max-width: 42rem;
	font-family: var(--ipek-font-sans);
	font-size: 1rem;
	line-height: 1.85;
	color: rgba(255, 255, 255, 0.72);
	animation: ipekci-ov-fade-up 0.9s var(--ipek-ease) 0.55s both;
}

@media (min-width: 768px) {
	.ipekci-ov-hero__lede {
		font-size: 17px;
	}
}

@keyframes ipekci-ov-fade-up {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
}

@keyframes ipekci-ov-grow {
	from {
		transform: scaleX(0);
	}
}

@keyframes ipekci-ov-word {
	from {
		opacity: 0;
		transform: translateY(48px);
		filter: blur(8px);
	}
}

/* ==========================================================================
   Section shell
   ========================================================================== */

.ipekci-ov-section {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: var(--ipek-section-y);
}

.ipekci-ov-section__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.ipekci-ov-section__bg img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.ipekci-ov-section__toprule {
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(198, 160, 98, 0.42), transparent);
	pointer-events: none;
}

.ipekci-ov-section__toprule--front {
	z-index: 20;
}

/* Horizontal gutters come from .ipek-container on the inner. */
.ipekci-ov-section__inner {
	position: relative;
}

/* Shared heads */
.ipekci-ov-head {
	max-width: 42rem;
}

.ipekci-ov-head--wide {
	max-width: 48rem;
}

/* See .ipekci-ov-hero__eyebrow — `.ipek-label` overrides the inline tracking. */
.ipekci-ov-eyebrow {
	font-family: var(--ipek-font-sans);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: var(--ipek-tracking-label);
	line-height: 1.5;
	color: var(--ipek-primary);
}

/* No leading utility in the React source, so the 0.98 base (main.css) applies. */
.ipekci-ov-h2 {
	margin-top: 1rem;
	font-family: var(--ipek-font-display);
	font-size: clamp(2rem, 3.5vw, 3rem);
	color: #1c1c1c;
}

/* Highlights + stats: h2 sits under AyatSectionBadge (`mt-5`). */
.ipekci-ov-h2--after-badge {
	margin-top: 1.25rem;
}

/* The halal and history splits use a larger ramp and a wider eyebrow gap
   (`mt-5 text-[clamp(2.2rem,3.5vw,3.2rem)]`) than the other section heads. */
.ipekci-ov-h2--lg {
	margin-top: 1.25rem;
	font-size: clamp(2.2rem, 3.5vw, 3.2rem);
}

/* Careers keeps the standard ramp but the same `mt-5` eyebrow gap. */
.ipekci-ov-careers .ipekci-ov-h2 {
	margin-top: 1.25rem;
}

.ipekci-ov-prose {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.ipekci-ov-prose p {
	font-family: var(--ipek-font-sans);
	font-size: 15px;
	line-height: 1.85;
	color: #5a5a5a;
}

/* ==========================================================================
   Highlights
   ========================================================================== */

.ipekci-ov-highlights__grid {
	margin-top: 3.5rem;
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.ipekci-ov-highlights__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1280px) {
	.ipekci-ov-highlights__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.ipekci-hl-card {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: #0a0a0a;
	box-shadow: 0 28px 80px -44px rgba(0, 0, 0, 0.45);
	transition: transform 0.7s ease, border-color 0.7s ease, box-shadow 0.7s ease;
}

.ipekci-hl-card:hover {
	transform: translateY(-6px);
	border-color: rgba(198, 160, 98, 0.38);
	box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.55);
}

.ipekci-hl-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.ipekci-hl-card__img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	transition: transform 1.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ipekci-hl-card:hover .ipekci-hl-card__img {
	transform: scale(1.05);
}

.ipekci-hl-card__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, #0a0a0a, rgba(10, 10, 10, 0.25) 55%, transparent);
	pointer-events: none;
}

.ipekci-hl-card__underline {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(198, 160, 98, 0.45), transparent);
	pointer-events: none;
}

.ipekci-hl-card__body {
	padding: 1.5rem;
}

/* `text-xl` — the utility sets the leading too, overriding the 0.98 base. */
.ipekci-hl-card__title {
	font-family: var(--ipek-font-display);
	font-size: 1.25rem;
	line-height: 1.75rem;
	color: #fff;
	transition: color 0.4s ease;
}

.ipekci-hl-card:hover .ipekci-hl-card__title {
	color: rgba(226, 192, 141, 0.95);
}

.ipekci-hl-card__text {
	margin-top: 0.75rem;
	font-family: var(--ipek-font-sans);
	font-size: 13px;
	/* `leading-relaxed` */
	line-height: 1.625;
	color: rgba(255, 255, 255, 0.68);
}

/* ==========================================================================
   Split sections (halal / history / careers)
   ========================================================================== */

.ipekci-ov-split__grid {
	display: grid;
	align-items: center;
	gap: 3rem;
}

@media (min-width: 1024px) {
	.ipekci-ov-split__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 4rem;
	}

	.ipekci-ov-split__text--5 {
		grid-column: span 5 / span 5;
	}

	.ipekci-ov-split__media--7 {
		grid-column: span 7 / span 7;
	}

	.ipekci-ov-split__grid--history {
		align-items: start;
	}

	.ipekci-ov-history__media {
		grid-column: span 6 / span 6;
		order: 2;
	}

	.ipekci-ov-history__text {
		grid-column: span 6 / span 6;
		order: 1;
		position: sticky;
		top: 8rem;
	}
}

.ipekci-ov-badges {
	margin-top: 2.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.ipekci-ov-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 9999px;
	border: 1px solid rgba(198, 160, 98, 0.28);
	background: rgba(255, 255, 255, 0.8);
	padding: 0.5rem 1rem;
	font-family: var(--ipek-font-sans);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: #666;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ipekci-ov-badge__dot {
	height: 0.25rem;
	width: 0.25rem;
	border-radius: 9999px;
	background: #b31217;
}

.ipekci-ov-halal-imgs {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.ipekci-ov-halal-imgs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ipekci-tilt--offset {
		margin-top: 2.5rem;
	}
}

.ipekci-ov-history__badges {
	margin-top: 2.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.ipekci-ov-history__badge {
	font-family: var(--ipek-font-sans);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: #999;
}

.ipekci-ov-careers__text {
	margin-top: 1.5rem;
	font-family: var(--ipek-font-sans);
	font-size: 15px;
	line-height: 1.85;
	color: #5a5a5a;
}

/* `text-xl` on a <p>: display face at body weight, utility leading. */
.ipekci-ov-careers__q {
	margin-top: 1.5rem;
	font-family: var(--ipek-font-display);
	font-size: 1.25rem;
	line-height: 1.75rem;
	color: #333;
}

.ipekci-ov-careers__cta {
	margin-top: 2.5rem;
}

/* ==========================================================================
   Workflow
   ========================================================================== */

.ipekci-ov-workflow__grid {
	position: relative;
	margin-top: 4rem;
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 1024px) {
	.ipekci-ov-workflow__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ipekci-ov-workflow__connector {
	display: none;
	pointer-events: none;
}

@media (min-width: 1024px) {
	.ipekci-ov-workflow__connector {
		display: block;
		position: absolute;
		left: 16.5%;
		right: 16.5%;
		top: 52px;
		height: 1px;
		background: linear-gradient(90deg, transparent, rgba(198, 160, 98, 0.35), transparent);
	}
}

.ipekci-ov-step {
	position: relative;
	border-radius: 28px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: rgba(255, 255, 255, 0.9);
	padding: 2rem;
	box-shadow: 0 24px 70px -40px rgba(0, 0, 0, 0.12);
	transition: transform 0.7s ease, border-color 0.7s ease, box-shadow 0.7s ease;
}

@media (min-width: 1024px) {
	.ipekci-ov-step {
		padding: 2.25rem;
	}
}

.ipekci-ov-step:hover {
	transform: translateY(-4px);
	border-color: rgba(198, 160, 98, 0.32);
	box-shadow: 0 32px 90px -36px rgba(0, 0, 0, 0.16);
}

.ipekci-ov-step__head {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.ipekci-ov-step__num {
	display: grid;
	height: 2.75rem;
	width: 2.75rem;
	place-items: center;
	border-radius: 9999px;
	border: 1px solid rgba(198, 160, 98, 0.35);
	background: rgba(198, 160, 98, 0.1);
	font-family: var(--ipek-font-display);
	font-size: 1.125rem;
	color: rgba(179, 18, 23, 0.9);
}

.ipekci-ov-step__label {
	font-family: var(--ipek-font-sans);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	color: #999;
}

/* `text-2xl` — the utility sets the leading too. */
.ipekci-ov-step__title {
	margin-top: 1.5rem;
	font-family: var(--ipek-font-display);
	font-size: 1.5rem;
	line-height: 2rem;
	color: #1c1c1c;
}

.ipekci-ov-step__text {
	margin-top: 1rem;
	font-family: var(--ipek-font-sans);
	font-size: 14px;
	line-height: 1.8;
	color: #5a5a5a;
}

/* ==========================================================================
   Assortiment showcase
   ========================================================================== */

.ipekci-ov-assort__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
}

.ipekci-ov-assort__head--eind {
	margin-top: 5rem;
}

.ipekci-ov-assort__lede {
	margin-top: 1rem;
	max-width: 36rem;
	font-family: var(--ipek-font-sans);
	font-size: 14px;
	/* `leading-relaxed` */
	line-height: 1.625;
	color: #5a5a5a;
}

.ipekci-ov-assort__cards {
	margin-top: 3rem;
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 1024px) {
	.ipekci-ov-assort__cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ipekci-ov-cat {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 28px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: #0a0a0a;
	box-shadow: 0 28px 80px -44px rgba(0, 0, 0, 0.45);
	text-decoration: none;
	transition: transform 0.7s ease, border-color 0.7s ease, box-shadow 0.7s ease;
}

.ipekci-ov-cat:hover {
	transform: translateY(-6px);
	border-color: rgba(198, 160, 98, 0.38);
	box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.55);
}

.ipekci-ov-cat__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.ipekci-ov-cat__img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	transition: transform 1.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ipekci-ov-cat:hover .ipekci-ov-cat__img {
	transform: scale(1.05);
}

.ipekci-ov-cat__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, #0a0a0a, rgba(10, 10, 10, 0.2) 60%, transparent);
	pointer-events: none;
}

.ipekci-ov-cat__body {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.75rem;
}

.ipekci-ov-cat__eyebrow {
	font-family: var(--ipek-font-sans);
	font-size: 9px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	color: rgba(198, 160, 98, 0.88);
}

/* `text-2xl` — the utility sets the leading too. */
.ipekci-ov-cat__title {
	margin-top: 0.5rem;
	font-family: var(--ipek-font-display);
	font-size: 1.5rem;
	line-height: 2rem;
	color: #fff;
}

.ipekci-ov-cat__text {
	margin-top: 0.75rem;
	font-family: var(--ipek-font-sans);
	font-size: 13px;
	/* `leading-relaxed` */
	line-height: 1.625;
	color: rgba(255, 255, 255, 0.68);
}

.ipekci-ov-cat__sticker {
	height: 2.25rem;
	width: 2.25rem;
	flex-shrink: 0;
	opacity: 0.8;
}

.ipekci-ov-cat__cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 1.75rem 1.75rem;
	border-radius: 0.75rem;
	border: 1px solid rgba(198, 160, 98, 0.45);
	padding: 0.5rem 1rem;
	font-family: var(--ipek-font-sans);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(198, 160, 98, 0.92);
	align-self: flex-start;
	transition: color 0.7s ease, border-color 0.7s ease;
}

.ipekci-ov-cat__cta-fill {
	position: absolute;
	inset: 0;
	z-index: 0;
	transform: translateX(-110%);
	background: rgba(226, 192, 141, 0.95);
	transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
	pointer-events: none;
}

.ipekci-ov-cat__cta-label,
.ipekci-ov-cat__cta .ipekci-page-icon {
	position: relative;
	z-index: 1;
}

.ipekci-ov-cat:hover .ipekci-ov-cat__cta {
	border-color: rgba(198, 160, 98, 0.75);
	color: #0a0a0a;
}

.ipekci-ov-cat:hover .ipekci-ov-cat__cta-fill {
	transform: translateX(0);
}

/* Sits flush against the category grid; the 5rem gap that follows belongs to
   the eindproducten head's own `mt-20` (.ipekci-ov-assort__head--eind).
   Scale reveal is driven by .ov-motion--scale-x / .is-in. */
.ipekci-ov-scrollline {
	display: block;
	height: 1px;
	width: 100%;
	background: linear-gradient(90deg, transparent, rgba(226, 192, 141, 0.55), transparent);
}

.ipekci-ov-products {
	margin-top: 2.5rem;
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
	.ipekci-ov-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.ipekci-ov-products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ipekci-ov-products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.ipekci-ov-mini {
	display: block;
	overflow: hidden;
	border-radius: 20px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: #fff;
	box-shadow: 0 20px 60px -36px rgba(0, 0, 0, 0.12);
	color: inherit;
	text-decoration: none;
	transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.ipekci-ov-mini:hover {
	transform: translateY(-4px);
	border-color: rgba(198, 160, 98, 0.32);
	box-shadow: 0 28px 70px -32px rgba(0, 0, 0, 0.18);
}

.ipekci-ov-mini__media {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: linear-gradient(180deg, #ffffff 0%, #f5f0e8 100%);
}

.ipekci-ov-mini__img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	transition: transform 1.2s ease;
}

.ipekci-ov-mini:hover .ipekci-ov-mini__img {
	transform: scale(1.05);
}

.ipekci-ov-mini__hair {
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(179, 18, 23, 0.15), transparent);
	pointer-events: none;
}

.ipekci-ov-mini__body {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem;
}

.ipekci-ov-mini__cat {
	font-family: var(--ipek-font-sans);
	font-size: 9px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: rgba(179, 18, 23, 0.8);
}

/* `text-lg` on a <p>: display face at body weight, utility leading. */
.ipekci-ov-mini__title {
	margin-top: 0.375rem;
	font-family: var(--ipek-font-display);
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: #1c1c1c;
}

.ipekci-ov-mini__sticker {
	height: 1.75rem;
	width: 1.75rem;
	flex-shrink: 0;
	opacity: 0.8;
}

/* ==========================================================================
   Over Ons scroll motion — mirrors OnsVerhaalPage.tsx Framer whileInView
   ========================================================================== */

.ov-motion {
	--ov-delay: 0s;
	--ov-duration: 0.9s;
	--ov-ease: var(--ipek-ease);
	opacity: 0;
	transform: translate3d(0, 24px, 0);
	transition:
		opacity var(--ov-duration) var(--ov-ease) var(--ov-delay),
		transform var(--ov-duration) var(--ov-ease) var(--ov-delay);
	will-change: opacity, transform;
}

.ov-motion.is-in {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.ov-motion--ease { --ov-ease: var(--ipek-ease); }
.ov-motion--reveal { --ov-ease: var(--ipek-ease-reveal); }

.ov-motion--dur-7 { --ov-duration: 0.7s; }
.ov-motion--dur-85 { --ov-duration: 0.85s; }
.ov-motion--dur-9 { --ov-duration: 0.9s; }
.ov-motion--dur-95 { --ov-duration: 0.95s; }
.ov-motion--dur-10 { --ov-duration: 1s; }
.ov-motion--dur-11 { --ov-duration: 1.1s; }
.ov-motion--dur-12 { --ov-duration: 1.2s; }

.ov-motion--delay-08 { --ov-delay: 0.08s; }
.ov-motion--delay-14 { --ov-delay: 0.14s; }

.ov-motion--y18 { transform: translate3d(0, 18px, 0); }
.ov-motion--y22 { transform: translate3d(0, 22px, 0); }
.ov-motion--y24 { transform: translate3d(0, 24px, 0); }
.ov-motion--y28 { transform: translate3d(0, 28px, 0); }
.ov-motion--y32 { transform: translate3d(0, 32px, 0); }
.ov-motion--y36 { transform: translate3d(0, 36px, 0); }

.ov-motion--slide-left { transform: translate3d(-40px, 0, 0); }
.ov-motion--slide-right { transform: translate3d(48px, 0, 0); }

.ov-motion--scale-x {
	opacity: 1;
	transform: scaleX(0);
	transform-origin: left center;
}

.ov-motion--scale-x.is-in {
	opacity: 1;
	transform: scaleX(1);
}

/* After reveal, restore component hover lifts (otherwise .ov-motion.is-in locks transform). */
.ipekci-hl-card.ov-motion.is-in:hover,
.ipekci-ov-cat.ov-motion.is-in:hover {
	transform: translateY(-6px);
}

.ipekci-ov-step.ov-motion.is-in:hover,
.ipekci-ov-mini.ov-motion.is-in:hover,
.ipekci-ov-stat.ov-motion.is-in:hover {
	transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
	.ov-motion {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.ov-motion--scale-x {
		transform: scaleX(1);
	}
}

/* Mobile-premium rhythm (phones only — desktop unchanged): every ons-verhaal
   section was 96px top/bottom on phones; tighten to the site-wide ~56px. */
@media (max-width: 639px) {
	.ipekci-ov-section {
		padding-top: 2.75rem;
		padding-bottom: 2.75rem;
	}

	.ipekci-ov-hero {
		min-height: min(68svh, 520px);
	}

	.ipekci-ov-hero__inner {
		min-height: min(68svh, 520px);
		padding-top: 5.75rem;
		padding-bottom: 3rem;
	}

	.ipekci-ov-step,
	.ipekci-ov-cat,
	.ipekci-hl-card {
		border-radius: 1.15rem;
	}

	.ipekci-ov-step {
		padding: 1.25rem;
	}

	.ipekci-ov-cat__body,
	.ipekci-ov-stat {
		padding: 1.125rem;
	}

	.ipekci-ov-stat {
		border-radius: 1.15rem;
	}
}

/* ==========================================================================
   Phase 8 — Ayat Food "Over ons"
   Hero still (replaces the brand-movie), four-step bestelproces, the
   statistics band and the wider eindproducten strip. Additive only: every
   rule below is a new selector, so the audited layout above is untouched.
   ========================================================================== */

.ipekci-ov-hero__still {
	height: 100%;
	width: 100%;
	object-fit: cover;
	filter: brightness(0.36) contrast(1.08) saturate(1.05);
	animation: ipekci-ov-hero-still 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes ipekci-ov-hero-still {
	from { transform: scale(1.08); }
	to   { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.ipekci-ov-hero__still { animation: none; }
}

/* ── Four-step bestelproces ─────────────────────────────────────────────── */

@media (min-width: 640px) {
	.ipekci-ov-workflow__grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ipekci-ov-workflow__grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	/* The connector spans between the first and last step medallion. */
	.ipekci-ov-workflow__grid--4 .ipekci-ov-workflow__connector {
		left: 12.5%;
		right: 12.5%;
	}

	.ipekci-ov-workflow__grid--4 .ipekci-ov-step {
		padding: 1.75rem;
	}

	.ipekci-ov-workflow__grid--4 .ipekci-ov-step__title {
		font-size: 1.4rem;
		line-height: 1.15;
	}
}

@media (min-width: 1280px) {
	.ipekci-ov-workflow__grid--4 .ipekci-ov-step {
		padding: 2rem;
	}
}

/* ── Statistieken — "We zijn klaar om perfectie te dienen" ──────────────── */

.ipekci-ov-stats {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: #070707;
	padding-block: var(--ipek-section-y);
	color: #f5f2ed;
}

.ipekci-ov-stats__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.ipekci-ov-stats__bg img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.ipekci-ov-stats__veil {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.74);
}

.ipekci-ov-stats__glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 78% 60% at 20% 0%, rgba(179, 18, 23, 0.2), transparent 58%);
}

.ipekci-ov-stats__vignette {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 70% 58% at 50% 45%, transparent 10%, rgba(0, 0, 0, 0.5) 78%);
}

.ipekci-ov-stats::before,
.ipekci-ov-stats::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	height: 1px;
	z-index: 1;
}

.ipekci-ov-stats::before {
	top: 0;
	background: linear-gradient(90deg, transparent, rgba(226, 192, 141, 0.4), transparent);
}

.ipekci-ov-stats::after {
	bottom: 0;
	background: linear-gradient(90deg, transparent, rgba(226, 192, 141, 0.28), transparent);
}

.ipekci-ov-stats .ipekci-ov-section__inner {
	position: relative;
	z-index: 2;
}

.ipekci-ov-stats__head {
	display: grid;
	gap: 2rem;
}

@media (min-width: 1024px) {
	.ipekci-ov-stats__head {
		grid-template-columns: 7fr 5fr;
		align-items: end;
		gap: 3rem;
	}
}

.ipekci-ov-stats__eyebrow {
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: rgba(226, 192, 141, 0.95);
}

.ipekci-ov-stats__title {
	margin-top: 1.25rem;
	font-family: var(--ipek-font-display, var(--font-display, inherit));
	font-size: clamp(2rem, 3.5vw, 3rem);
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: #f8f4ee;
}

.ipekci-ov-stats__lede {
	max-width: 42ch;
	font-size: 0.9375rem;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 1024px) {
	.ipekci-ov-stats__lede {
		margin-left: auto;
		text-align: right;
	}
}

.ipekci-ov-stats__grid {
	margin-top: 3.5rem;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
	.ipekci-ov-stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ipekci-ov-stats__grid {
		margin-top: 4rem;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.ipekci-ov-stat {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(10, 10, 10, 0.32) 55%, rgba(26, 8, 8, 0.42) 100%);
	backdrop-filter: blur(6px);
	padding: 1.75rem;
	transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1024px) {
	.ipekci-ov-stat {
		padding: 2rem;
	}
}

.ipekci-ov-stat::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(226, 192, 141, 0.4), transparent);
}

@media (hover: hover) {
	.ipekci-ov-stat:hover {
		transform: translateY(-4px);
		border-color: rgba(226, 192, 141, 0.32);
	}
}

.ipekci-ov-stat__value {
	display: flex;
	align-items: baseline;
	font-family: var(--font-display, inherit);
	font-size: clamp(2.4rem, 4.4vw, 3.2rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.04em;
	color: #f8f4ee;
}

.ipekci-ov-stat__num {
	font-variant-numeric: tabular-nums;
}

.ipekci-ov-stat__suffix {
	color: #da292a;
}

.ipekci-ov-stat__rule {
	display: block;
	margin-top: 1.25rem;
	height: 1px;
	width: 3rem;
	background: linear-gradient(90deg, rgba(226, 192, 141, 0.9), transparent);
}

.ipekci-ov-stat__label {
	margin-top: 1rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

/* ── Productgroepen strip — 8 category cards, 4 columns from lg ─────────── */

@media (min-width: 1280px) {
	.ipekci-ov-products--wide {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
