/* ---------------------------------------------------------
   Mehndi Dreamz - About Us
   Goal: luxury, minimal, story-driven, white background
   --------------------------------------------------------- */

.mndz-about-page {
	--mndz-about-bg: var(--mndz-color-surface);
	--mndz-about-surface: var(--mndz-color-surface);
	--mndz-about-surface-strong: var(--mndz-color-surface-strong);
	--mndz-about-heading: var(--mndz-color-heading);
	--mndz-about-body: var(--mndz-color-text-muted);
	--mndz-about-accent: var(--mndz-color-accent);
	--mndz-about-border: var(--mndz-color-border);
	--mndz-about-shadow: var(--mndz-shadow-md);

	--mndz-about-max: 1180px;
	--mndz-about-gutter: var(--mndz-space-page-gutter);
	--mndz-about-section-y: var(--mndz-space-section-y);

	background: var(--mndz-about-bg);
	color: var(--mndz-about-body);
	position: relative;
	overflow-x: hidden;
	overflow-x: clip;
	padding: 0;
}

.mndz-about-page.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.mndz-about-page.has-global-padding {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.mndz-about-page.is-layout-constrained {
	max-width: none !important;
}

.mndz-about-page.is-layout-constrained > .mndz-about-hero,
.mndz-about-page.is-layout-constrained > .mndz-about-story,
.mndz-about-page.is-layout-constrained > .mndz-about-founder,
.mndz-about-page.is-layout-constrained > .mndz-about-serve,
.mndz-about-page.is-layout-constrained > .mndz-about-cones,
.mndz-about-page.is-layout-constrained > .mndz-about-wholesale,
.mndz-about-page.is-layout-constrained > .mndz-about-training,
.mndz-about-page.is-layout-constrained > .mndz-about-rd,
.mndz-about-page.is-layout-constrained > .mndz-about-why,
.mndz-about-page.is-layout-constrained > .mndz-about-mission {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
}

.mndz-about-page > .wp-block-group__inner-container {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 1;
}

.mndz-about-page :where(.is-layout-flow) > * {
	/* WP block flow layout injects margin-block-start on children.
	   This page uses explicit `gap` for luxury spacing, so reset it. */
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

/* Sections */
.mndz-about-hero,
.mndz-about-story,
.mndz-about-founder,
.mndz-about-serve,
.mndz-about-cones,
.mndz-about-wholesale,
.mndz-about-training,
.mndz-about-rd,
.mndz-about-why,
.mndz-about-mission {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: var(--mndz-about-section-y) var(--mndz-about-gutter);
	background: transparent;
	border: 0;

	display: flex;
	flex-direction: column;
	gap: clamp(18px, 2.5vw, 30px);
}

.mndz-about-hero > *,
.mndz-about-story > *,
.mndz-about-founder > *,
.mndz-about-serve > *,
.mndz-about-cones > *,
.mndz-about-wholesale > *,
.mndz-about-training > *,
.mndz-about-rd > *,
.mndz-about-why > *,
.mndz-about-mission > * {
	max-width: var(--mndz-about-max);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.mndz-about-hero {
	padding-top: clamp(54px, 6vw, 96px);
	padding-bottom: clamp(40px, 5vw, 78px);
	border-bottom: 1px solid var(--mndz-about-border);
	background:
		radial-gradient(1100px 600px at 14% -12%, rgba(var(--mndz-accent-rgb), 0.10), rgba(var(--mndz-accent-rgb), 0) 60%),
		radial-gradient(900px 520px at 92% 0%, rgba(77, 51, 45, 0.08), rgba(77, 51, 45, 0) 55%),
		linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
}

.mndz-about-hero-grid.wp-block-columns {
	display: grid !important;
	grid-template-columns: 1.25fr 1fr;
	gap: clamp(18px, 3vw, 36px);
	align-items: start;
}

.mndz-about-hero-grid.wp-block-columns > .wp-block-column {
	width: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	flex: 0 0 auto !important;
	min-width: 0;
}

@media (max-width: 980px) {
	.mndz-about-hero-grid.wp-block-columns {
		grid-template-columns: 1fr;
	}
}

.mndz-about-eyebrow {
	font-size: 0.9rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(77, 51, 45, 0.72);
}

.mndz-about-eyebrow-row {
	display: flex;
	align-items: center;
	gap: 14px;
}

.mndz-about-eyebrow-row .mndz-about-eyebrow {
	white-space: nowrap;
}

.mndz-about-eyebrow-line {
	height: 1px;
	flex: 1 1 auto;
	background: linear-gradient(90deg, rgba(84, 55, 46, 0.28), rgba(var(--mndz-accent-rgb), 0.18), rgba(var(--mndz-accent-rgb), 0));
	transform: translateY(1px);
}

@media (max-width: 980px) {
	.mndz-about-eyebrow-line {
		display: none;
	}
}

.mndz-about-hero h1 {
	font-size: clamp(2.25rem, 3.4vw, 3.25rem);
	line-height: 1.06;
	color: #4d332d;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.mndz-about-subtitle {
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(95, 74, 66, 0.92);
}

.mndz-about-intro {
	font-size: 1.03rem;
	color: #5f4a42;
}

.mndz-about-hero-intro {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mndz-about-ctas {
	gap: 12px;
	justify-content: flex-start;
}

.mndz-about-hero-links {
	color: rgba(95, 74, 66, 0.88);
}

.mndz-about-hero-media-wrap {
	position: relative;
	padding: clamp(12px, 1.8vw, 18px);
	isolation: isolate;
}

.mndz-about-hero-media-wrap::before {
	content: "";
	position: absolute;
	inset: 12% -10% -16% 18%;
	background: radial-gradient(closest-side, rgba(var(--mndz-accent-rgb), 0.20), rgba(var(--mndz-accent-rgb), 0.0) 70%);
	filter: blur(26px);
	opacity: 0.85;
	z-index: 0;
	pointer-events: none;
}

.mndz-about-hero-media-wrap::after {
	content: "";
	position: absolute;
	inset: 8px;
	border-radius: 28px;
	border: 1px solid rgba(84, 55, 46, 0.14);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.62) 100%);
	box-shadow: 0 26px 70px rgba(39, 30, 26, 0.10);
	z-index: 1;
	pointer-events: none;
}

.mndz-about-hero-media-wrap > .wp-block-group__inner-container,
.mndz-about-hero-media-wrap > * {
	position: relative;
	z-index: 2;
}

.mndz-about-hero-image {
	margin: 0;
	border-radius: 26px 26px 26px 90px;
	overflow: hidden;
	border: 0;
	box-shadow: 0 18px 54px rgba(39, 30, 26, 0.12);
}

.mndz-about-hero-image img {
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 980px) {
	.mndz-about-hero-media-wrap {
		padding: 0;
	}

	.mndz-about-hero-media-wrap::after {
		display: none;
	}

	.mndz-about-hero-image {
		border-radius: 18px;
	}
}

/* Buttons are provided by mndz-design-system (mndz-ds-components). */

/* Section header */
.mndz-about-section-header {
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mndz-about-section-body {
	/* Keep body content grouped and centered under the header, without relying on `ch` widths. */
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 1.8vw, 18px);
	text-align: center;
	margin-block-start: clamp(24px, 4vw, 44px) !important;
	margin-block-end: 0 !important;
}

/* Sections that do not use .mndz-about-section-body still need the same luxury spacing
   between subtitle and the first content block. */
.mndz-about-story .mndz-about-section-header + .mndz-story,
.mndz-about-cones .mndz-about-section-header + .mndz-about-two,
.mndz-about-why .mndz-about-section-header + .mndz-about-why-grid {
	margin-block-start: clamp(24px, 4vw, 44px) !important;
	margin-block-end: 0 !important;
}

.mndz-about-section-body .mndz-about-inline-ctas,
.mndz-about-section-body .wp-block-buttons {
	justify-content: center;
}

.mndz-about-cones-links {
	justify-content: center !important;
	margin-block-start: clamp(24px, 4vw, 44px) !important;
	margin-block-end: 0 !important;
}

/* R&D redesign */
.mndz-about-rd .mndz-about-section-body {
	text-align: initial;
}

.mndz-rd-shell {
	width: min(1040px, 100%);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 2.2vw, 24px);
}

.mndz-rd-intro {
	margin: 0;
	text-align: center;
	color: rgba(95, 74, 66, 0.94);
	font-size: 1.06rem;
	line-height: 1.7;
}

.mndz-rd-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

@media (max-width: 980px) {
	.mndz-rd-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.mndz-rd-grid {
		grid-template-columns: 1fr;
	}
}

.mndz-rd-item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 18px 16px 16px;
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82));
	border: 1px solid rgba(84, 55, 46, 0.14);
	box-shadow: 0 12px 26px rgba(39, 30, 26, 0.05);
	overflow: hidden;
}

.mndz-rd-item__title {
	margin: 0;
	font-size: 1.34rem;
	line-height: 1.1;
	color: rgba(77, 51, 45, 0.97);
}

.mndz-rd-item__text {
	margin: 0;
	color: rgba(95, 74, 66, 0.93);
	line-height: 1.5;
}

.mndz-about-section-body ul,
.mndz-about-section-body ol {
	/* Center the list as a block, but keep list items readable. */
	display: inline-block;
	text-align: left;
}

/* Founder services: icon cards */
.mndz-about-service-grid {
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	width: min(980px, 100%);
}

@media (max-width: 980px) {
	.mndz-about-service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.mndz-about-service-grid {
		grid-template-columns: 1fr;
	}
}

.mndz-about-service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 14px;
	min-height: 76px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.80);
	border: 1px solid rgba(84, 55, 46, 0.14);
	color: rgba(95, 74, 66, 0.94);
	text-align: left;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.mndz-about-service-card__icon-wrap {
	margin: 0;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.mndz-about-service-card__icon-img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	filter: sepia(1) saturate(0.8) hue-rotate(335deg) brightness(0.78);
	opacity: 0.92;
}

.mndz-about-service-card__text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.35;
	color: rgba(77, 51, 45, 0.94);
}

.mndz-about-service-card:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.94);
	border-color: rgba(var(--mndz-accent-rgb), 0.28);
	box-shadow: 0 14px 28px rgba(39, 30, 26, 0.06);
}

.mndz-about-section-title {
	font-size: clamp(1.75rem, 2.2vw, 2.35rem);
	line-height: 1.12;
}

.mndz-about-section-lead {
	/* Let section leads align with the section content width by default.
	   If we want narrower measures later, use a dedicated wrapper/class. */
	max-width: none;
	width: 100%;
	margin: 0;
	color: rgba(95, 74, 66, 0.92);
}

/* Story (modern chapter timeline) */
.mndz-about-story {
	background:
		radial-gradient(900px 420px at 15% 0%, rgba(var(--mndz-accent-rgb), 0.06), rgba(var(--mndz-accent-rgb), 0) 60%),
		radial-gradient(900px 420px at 90% 30%, rgba(77, 51, 45, 0.05), rgba(77, 51, 45, 0) 60%),
		linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
}

.mndz-about-story .mndz-about-section-header,
.mndz-about-story .mndz-about-section-title,
.mndz-about-story .mndz-about-section-lead {
	text-align: center !important;
}

.mndz-story {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 2.2vw, 22px);
	margin-top: clamp(18px, 2.5vw, 28px);
}

/* Connecting rail (desktop) */
.mndz-story::before {
	content: "";
	position: absolute;
	left: 5%;
	right: 5%;
	top: 34px;
	height: 1px;
	background: linear-gradient(
		90deg,
		rgba(var(--mndz-accent-rgb), 0),
		rgba(var(--mndz-accent-rgb), 0.35),
		rgba(84, 55, 46, 0.20),
		rgba(var(--mndz-accent-rgb), 0.35),
		rgba(var(--mndz-accent-rgb), 0)
	);
	z-index: 0;
}

.mndz-story__chapter {
	position: relative;
	padding: 22px 20px 20px;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.90) 100%);
	border: 1px solid rgba(84, 55, 46, 0.14);
	box-shadow: 0 12px 26px rgba(39, 30, 26, 0.06);
	overflow: hidden;
	isolation: isolate;
	z-index: 1;

	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mndz-about-page .mndz-story__head {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.mndz-about-page .mndz-story__dot {
	width: 10px;
	height: 10px;
	border-radius: 99px;
	background: rgba(var(--mndz-accent-rgb), 0.92);
	box-shadow: 0 0 0 5px rgba(var(--mndz-accent-rgb), 0.10);
	flex: 0 0 auto;
}

.mndz-story__kicker {
	margin: 0 !important;
	font-size: 0.82rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(77, 51, 45, 0.68);
}

.mndz-story__title {
	margin: 0 !important;
	font-size: 1.7rem;
	line-height: 1.12;
}

.mndz-story__text {
	margin: 0 !important;
	color: rgba(95, 74, 66, 0.94);
}

.mndz-story__index {
	position: absolute;
	right: 14px;
	bottom: 10px;
	font-family: var(--mndz-font-display);
	font-size: clamp(2.6rem, 3vw, 3.2rem);
	line-height: 1;
	color: rgba(var(--mndz-accent-rgb), 0.14);
	letter-spacing: 0.06em;
	z-index: -1;
}

@media (max-width: 980px) {
	.mndz-story {
		grid-template-columns: 1fr;
	}

	/* Vertical rail on mobile */
	.mndz-story::before {
		left: 24px;
		right: auto;
		top: 0;
		bottom: 0;
		width: 1px;
		height: auto;
		background: linear-gradient(180deg, rgba(var(--mndz-accent-rgb), 0.0), rgba(var(--mndz-accent-rgb), 0.30), rgba(84, 55, 46, 0.18), rgba(var(--mndz-accent-rgb), 0.0));
	}

	.mndz-story__chapter {
		padding-left: 54px;
	}
}

/* Two-column sections */
.mndz-about-two.wp-block-columns {
	display: grid !important;
	grid-template-columns: 1.2fr 1fr;
	gap: clamp(18px, 3vw, 34px);
	align-items: start;
	margin-top: 0;
}

.mndz-about-two.wp-block-columns > .wp-block-column {
	width: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	flex: 0 0 auto !important;
	min-width: 0;
}

@media (max-width: 980px) {
	.mndz-about-two.wp-block-columns {
		grid-template-columns: 1fr;
	}
}

.mndz-about-founder,
.mndz-about-serve,
.mndz-about-cones,
.mndz-about-wholesale,
.mndz-about-training,
.mndz-about-rd,
.mndz-about-why,
.mndz-about-mission {
	border-top: 1px solid rgba(84, 55, 46, 0.10);
}

.mndz-about-muted {
	color: rgba(95, 74, 66, 0.86);
}

.mndz-about-trust {
	padding-left: 14px;
	border-left: 3px solid rgba(var(--mndz-accent-rgb), 0.35);
	color: rgba(77, 51, 45, 0.92);
}

.mndz-about-aside {
	padding-left: 16px;
	border-left: 1px solid rgba(84, 55, 46, 0.16);
}

.mndz-about-aside h3 {
	font-size: 1.6rem;
	line-height: 1.14;
}

.mndz-about-aside p {
	color: rgba(95, 74, 66, 0.92);
}

.mndz-about-inline-ctas {
	gap: 12px;
	justify-content: flex-start;
}

.mndz-about-section-body .mndz-about-inline-ctas {
	margin-block-start: clamp(24px, 4vw, 44px) !important;
	margin-block-end: 0 !important;
}

/* Improve vertical rhythm inside columns */
.mndz-about-page .wp-block-column {
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 1.8vw, 18px);
}

/* Product card */
.mndz-about-product {
	display: grid;
	grid-template-columns: 118px 1fr;
	gap: 14px;
	align-items: center;
	padding: 12px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(84, 55, 46, 0.12);
	box-shadow: 0 10px 24px rgba(39, 30, 26, 0.05);
}

.mndz-about-product__media {
	aspect-ratio: 1 / 1;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 245, 240, 0.95) 100%);
	overflow: hidden;
	border-radius: 12px;
	border: 1px solid rgba(84, 55, 46, 0.1);
}

.mndz-about-product__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.mndz-about-product__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mndz-about-product__title {
	font-size: 1.32rem;
	line-height: 1.15;
}

.mndz-about-product__desc {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.5;
	color: rgba(95, 74, 66, 0.92);
}

.mndz-about-product__actions {
	margin-top: 4px;
}

.mndz-about-product-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	background: transparent;
	border: 0;
	color: rgba(77, 51, 45, 0.95);
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.02em;
}

.mndz-about-product-link::after {
	content: "";
	width: 7px;
	height: 7px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(1px);
}

.mndz-about-product-link:hover {
	color: var(--mndz-about-accent);
}

@media (max-width: 680px) {
	.mndz-about-product {
		grid-template-columns: 1fr;
	}

	.mndz-about-product__media {
		aspect-ratio: 4 / 3;
	}
}

/* Why section */
.mndz-about-why-grid {
	width: min(1020px, 100%);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(24px, 4vw, 52px);
	row-gap: 12px;
}

@media (max-width: 900px) {
	.mndz-about-why-grid {
		grid-template-columns: 1fr;
		row-gap: 10px;
	}
}

.mndz-about-why-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 2px 0;
}

.mndz-about-why-item__icon {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	position: relative;
}

.mndz-about-why-item__icon::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 99px;
	background: radial-gradient(circle at 35% 35%, rgba(var(--mndz-accent-rgb), 0.38), rgba(var(--mndz-accent-rgb), 0.18) 48%, rgba(var(--mndz-accent-rgb), 0.08) 100%);
}

.mndz-about-why-item__icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 6px;
	height: 10px;
	border-right: 2px solid rgba(122, 50, 31, 0.86);
	border-bottom: 2px solid rgba(122, 50, 31, 0.86);
	transform: translate(-56%, -64%) rotate(45deg);
}

.mndz-about-why-item__text {
	margin: 0;
	font-size: 1.06rem;
	line-height: 1.45;
	color: rgba(77, 51, 45, 0.95);
}

.mndz-about-why-links {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 24px;
	justify-content: center;
	margin-block-start: clamp(24px, 4vw, 44px) !important;
}

.mndz-about-why-link {
	font-weight: 700;
	color: rgba(77, 51, 45, 0.92);
	text-decoration: none;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.88rem;
	padding-bottom: 2px;
	border-bottom: 1px solid rgba(84, 55, 46, 0.24);
	transition: color 0.18s ease, border-color 0.18s ease;
}

.mndz-about-why-link:hover {
	color: var(--mndz-about-accent);
	border-color: rgba(var(--mndz-accent-rgb), 0.5);
}

/* Offset anchor jumps for sticky headers */
#our-story,
#fresh-henna,
#founder,
#where-we-serve,
#wholesale,
#training,
#innovation,
#why,
#mission {
	scroll-margin-top: 96px;
}
