/* NEXA About detail pages — matches the site's industrial design: Sora type,
   paper/ink palette, terracotta accent, hairline borders. */

.nexa-about-detail {
	--nx-ink: #0d1315;
	--nx-paper: #f0f3f1;
	--nx-panel: #dfe6e4;
	--nx-muted: #5d6869;
	--nx-accent: #a8613e;
	--nx-line: rgba(13, 19, 21, 0.16);
	box-sizing: border-box;
	width: 100%;
	padding-inline: 32px;
	background: var(--nx-paper);
	color: var(--nx-ink);
}

.nexa-about-detail,
.nexa-about-detail * {
	box-sizing: border-box;
}

.nexa-about-detail > * {
	max-width: 1440px;
	margin-inline: auto;
}

.nexa-about-detail__content {
	padding-block: clamp(48px, 7vw, 88px) clamp(72px, 10vw, 120px);
}

.nexa-about-detail__content > * {
	margin-block-start: 0;
}

/* ---- Breadcrumb ---- */
.nexa-crumb {
	gap: 8px;
	margin-bottom: clamp(34px, 5vw, 54px);
	color: var(--nx-muted);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.02em;
}

.nexa-crumb__link,
.nexa-crumb__sep,
.nexa-crumb__current {
	margin: 0;
}

.nexa-crumb__link a {
	color: var(--nx-muted);
	text-decoration: none;
	transition: color 180ms ease;
}

.nexa-crumb__link a:hover {
	color: var(--nx-accent);
}

.nexa-crumb__current {
	color: var(--nx-ink);
}

/* ---- Lead media ---- */
.nexa-about-detail__media {
	margin: 0 0 clamp(44px, 6vw, 72px);
}

.nexa-about-detail__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
	background: var(--nx-panel);
}

/* ---- Hero ---- */
.nexa-about-detail__hero {
	margin-bottom: clamp(44px, 6vw, 72px);
	max-width: 760px;
}

.nexa-section-index {
	margin: 0 0 18px;
	color: var(--nx-muted);
	font: 700 11px/1.2 "Sora", sans-serif;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nexa-about-detail__title {
	margin: 0 0 18px;
	font-size: clamp(32px, 5vw, 54px);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.01em;
}

.nexa-about-detail__lede {
	margin: 0;
	color: var(--nx-muted);
	font-size: clamp(16px, 2vw, 19px);
	font-weight: 300;
	line-height: 1.6;
}

/* ---- Narrative modules ---- */
.nexa-about-detail__module {
	margin-top: clamp(44px, 6vw, 72px);
	max-width: 760px;
}

.nexa-about-detail__module-head {
	border-top: 1px solid var(--nx-line);
	padding-top: clamp(24px, 3vw, 34px);
	margin-bottom: clamp(20px, 3vw, 28px);
}

.nexa-about-detail__module-title {
	margin: 0 0 10px;
	font-size: clamp(24px, 3.4vw, 32px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.nexa-about-detail__module-lede {
	max-width: 640px;
	margin: 0;
	color: var(--nx-muted);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
}

.nexa-about-detail__body p,
.nexa-about-detail__body li {
	color: var(--nx-ink);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.7;
}

/* ---- Capability grid ---- */
.nexa-about-detail__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(16px, 2vw, 20px);
}

.nexa-about-detail__grid > * {
	margin-block: 0;
}

.nexa-about-detail__card {
	padding: 28px 30px;
	border: 1px solid var(--nx-line);
	border-radius: 10px;
	background: #ffffff;
}

.nexa-about-detail__card-title {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
}

.nexa-about-detail__card-text {
	margin: 0;
	color: var(--nx-muted);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.6;
}

/* ---- Placeholder note (metrics / certifications "to be added") ---- */
.nexa-about-detail__placeholder {
	max-width: 640px;
	padding: clamp(28px, 4vw, 40px);
	border: 1px dashed var(--nx-muted);
	border-radius: 10px;
	background: #ffffff;
}

.nexa-about-detail__placeholder-title {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 500;
}

.nexa-about-detail__placeholder-text {
	margin: 0;
	color: var(--nx-muted);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.6;
}

/* ---- CTA ---- */
.nexa-about-detail__cta {
	margin-top: clamp(44px, 6vw, 68px);
	padding: clamp(30px, 4vw, 44px);
	border: 1px solid var(--nx-line);
	border-radius: 12px;
	background: #ffffff;
}

.nexa-about-detail__cta-title {
	margin: 0 0 8px;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 500;
	line-height: 1.15;
}

.nexa-about-detail__cta-text {
	max-width: 560px;
	margin: 0 0 22px;
	color: var(--nx-muted);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
}

.nexa-about-detail__cta-btn .wp-block-button__link {
	padding: 16px 36px;
	border-radius: 6px;
	background: var(--nx-accent);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 180ms ease;
}

.nexa-about-detail__cta-btn .wp-block-button__link:hover {
	background: #8d5230;
}

@media (max-width: 820px) {
	.nexa-about-detail {
		padding-inline: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nexa-about-detail__cta-btn .wp-block-button__link {
		transition: none;
	}
}
