/* =========================================================================
   ACC Service Station — About page layout (namespace: .acc-about)
   -------------------------------------------------------------------------
   Builds on the shared design system + contextual tokens from acc-home.css
   (loaded first as a dependency). Only genuinely-new, page-specific layout
   lives here. Logical properties throughout for full RTL support.

   Sections: hero · story · three identities · stats · closing CTA
   ====================================================================== */

/* ---- 1 · HERO -------------------------------------------------------- */
.acc-about-hero {
	overflow: clip;
	/* Inner header is sticky/in-flow — generous top padding so the band
	   clears it and breathes. */
	padding-block: clamp(96px, 14vw, 184px) clamp(56px, 9vw, 116px);
	isolation: isolate;
}

.acc-about-hero__media {
	position: absolute;
	inset: 0;
	/* extra height top + bottom = room for the JS parallax drift */
	inset-block-start: -10%;
	inset-block-end: -10%;
	z-index: -2;
	will-change: transform;
}

/* The legacy hero render is treated by the site-wide showroom filter in
   acc-global.css, which is what removes its red neon. */
.acc-about-hero__media img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 0.28;
}

/* Scrim inverted for the showroom: the plate is ivory now, with the treated
   photograph reading as a faint warm texture beneath the type rather than a
   dark cinematic slab. */
.acc-about-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(110% 90% at 78% 0%, rgba(230, 188, 122, 0.4), transparent 62%),
		linear-gradient(180deg, rgba(243, 238, 228, 0.82) 0%, rgba(243, 238, 228, 0.92) 62%, var(--acc-bg) 100%);
}

.acc-about-hero__inner {
	max-width: 940px;
}

.acc-about-hero__eyebrow {
	color: var(--acc-bronze-text);
	margin-block-end: 18px;
}

.acc-about-hero__title {
	font-family: var(--acc-font-head);
	font-weight: 400;
	text-transform: none;
	font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem);
	line-height: 1.1;
	letter-spacing: 0.005em;
	color: var(--acc-ink);
	max-width: 20ch;
}

.acc-about-hero__lead {
	margin-block-start: clamp(18px, 2.5vw, 26px);
	max-width: 62ch;
	font-size: clamp(1.02rem, 1.6vw, 1.18rem);
	line-height: 1.65;
	color: var(--acc-ink-2);
}

/* ---- 2 · THE STORY (editorial: sticky rail + prose) ------------------ */
.acc-about-story__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.28fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.acc-about-story__rail {
	position: sticky;
	inset-block-start: 100px;
}

.acc-about-story__title {
	font-family: var(--acc-font-head);
	font-weight: 800;
	font-size: clamp(1.7rem, 3.4vw, 2.5rem);
	line-height: 1.08;
	color: var(--c-text);
	margin-block: 6px 18px;
}

/* The standfirst. A thick coloured side-stripe was the old treatment; it is
   the most recognisable template tell there is. The lead now earns its
   emphasis from the display face and a hairline rule above it. */
.acc-about-story__kicker {
	font-family: var(--acc-font-head);
	font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
	line-height: 1.45;
	color: var(--c-text);
	padding-block-start: 18px;
	border-block-start: 1px solid var(--acc-hairline-bz);
	text-wrap: pretty;
}

.acc-about-story__body > p {
	font-size: clamp(1rem, 1.35vw, 1.12rem);
	line-height: 1.75;
	color: var(--c-text);
}

.acc-about-story__body > p + p {
	margin-block-start: 1.15em;
}

.acc-about-story__lede {
	font-size: clamp(1.16rem, 1.9vw, 1.4rem) !important;
	line-height: 1.55 !important;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.acc-about-story__pillars {
	list-style: none;
	margin: clamp(28px, 4vw, 40px) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.acc-about-story__pillars li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--c-border);
	border-radius: var(--acc-radius-sm);
	background: var(--c-surface-2);
	font-family: var(--acc-font-body);
	font-size: 0.86rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--c-text);
}

.acc-about-story__pico {
	display: inline-flex;
	flex: 0 0 auto;
	inline-size: 34px;
	block-size: 34px;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	background: rgba(198, 150, 90, 0.1);
	color: var(--acc-red);
}

.acc-about-story__pico .acc-icon {
	inline-size: 18px;
	block-size: 18px;
}

/* ---- 3 · THREE IDENTITIES (alternating feature rows) ----------------- */
.acc-about-ids__list {
	display: grid;
	gap: clamp(28px, 5vw, 64px);
}

.acc-about-id {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}

.acc-about-id--rev .acc-about-id__media {
	order: 2;
}

/* Break the 3-in-a-row zig-zag: the middle identity runs full-width as a
   banner (image over text) so the page isn't three identical split rows. */
.acc-about-id--wide {
	grid-template-columns: 1fr;
	gap: clamp(20px, 3vw, 36px);
}
.acc-about-id--wide .acc-about-id__media {
	order: 0;
	aspect-ratio: 21 / 9;
}
.acc-about-id--wide .acc-about-id__text { max-width: 70ch; }

.acc-about-id__media {
	position: relative;
	border-radius: var(--acc-radius-lg);
	overflow: hidden;
	aspect-ratio: 16 / 11;
	background: var(--c-card);
	border: 1px solid var(--c-border);
	box-shadow: 0 22px 48px -28px rgba(42, 33, 24, 0.5);
}

.acc-about-id__media img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.acc-about-id:hover .acc-about-id__media img {
	transform: scale(1.04);
}

.acc-about-id__media .acc-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	block-size: 100%;
	color: var(--acc-red);
}

.acc-about-id__media .acc-card__placeholder .acc-icon {
	inline-size: 56px;
	block-size: 56px;
}

/* Engraved on the plate, matching the home identity cards — not a chip. */
.acc-about-id__num {
	position: absolute;
	inset-block-start: 16px;
	inset-inline-start: 18px;
	z-index: 2;
	font-family: var(--acc-font-head);
	font-weight: 400;
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	line-height: 1;
	letter-spacing: 0.1em;
	color: #f6f0e4;
	text-shadow: 0 1px 12px rgba(42, 33, 24, 0.65);
}

.acc-about-id__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 46px;
	block-size: 46px;
	border-radius: 12px;
	background: rgba(198, 150, 90, 0.1);
	color: var(--acc-red);
	margin-block-end: 18px;
}

.acc-about-id__icon .acc-icon {
	inline-size: 24px;
	block-size: 24px;
}

.acc-about-id__title {
	font-family: var(--acc-font-head);
	font-weight: 800;
	font-size: clamp(1.45rem, 2.8vw, 2rem);
	line-height: 1.1;
	color: var(--c-text);
	margin-block-end: 12px;
}

.acc-about-id__text {
	font-size: clamp(1rem, 1.4vw, 1.1rem);
	line-height: 1.7;
	color: var(--c-muted);
	max-width: 52ch;
	margin-block-end: 18px;
}

/* ---- 4 · STATS BAND -------------------------------------------------- */
.acc-about-stats {
	overflow: clip;
}

.acc-about-stats__head {
	max-width: 760px;
}

.acc-about-stats__grid {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 44px);
}

.acc-about-stat {
	padding-block: clamp(6px, 1.4vw, 14px);
}

/* Slim column separators only — let the numbers breathe instead of boxing each
   one in a full grid of hairlines (which read as a spreadsheet). */
.acc-about-stat:not(:nth-child(4n)) {
	border-inline-end: 1px solid var(--c-border);
	padding-inline-end: clamp(18px, 2.4vw, 32px);
}

/* Engraved, not gradient-filled: background-clip text is decorative only and
   reads as generated. One solid colour in the display face carries it. */
.acc-about-stat__value {
	font-family: var(--acc-font-head);
	font-weight: 400;
	font-size: clamp(2.8rem, 6vw, 4.6rem);
	line-height: 0.95;
	letter-spacing: 0.01em;
	font-variant-numeric: tabular-nums;
	color: var(--acc-ink);
}

.acc-about-stat__meta {
	margin: 16px 0 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.acc-about-stat__label {
	font-family: var(--acc-font-body);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--acc-ink);
}

.acc-about-stat__note {
	font-size: 0.86rem;
	line-height: 1.45;
	color: var(--acc-muted);
}

/* ---- 5 · CLOSING CTA — the walnut band, same exit as the home page ---- */
.acc-about-cta {
	position: relative;
	overflow: clip;
	background: var(--acc-walnut-deep);
	color: #f6f0e4;
	text-align: center;
}

.acc-about-cta__glow {
	position: absolute;
	inset-block-start: -40%;
	inset-inline-start: 50%;
	transform: translateX(-50%);
	inline-size: min(900px, 120%);
	block-size: 600px;
	background: radial-gradient(closest-side, rgba(201, 180, 140, 0.18), transparent 70%);
	pointer-events: none;
}

.acc-about-cta__inner {
	position: relative;
	max-width: 760px;
}

.acc-about-cta__eyebrow {
	font-family: var(--acc-font-body);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--acc-bronze-soft);
	margin-block-end: 16px;
}

.acc-about-cta__title {
	font-family: var(--acc-font-head);
	font-weight: 400;
	text-transform: none;
	font-size: clamp(1.95rem, 4.2vw, 3rem);
	line-height: 1.14;
	letter-spacing: 0.005em;
	color: #f6f0e4;
}

.acc-about-cta__text {
	margin-block-start: 16px;
	margin-inline: auto;
	max-width: 54ch;
	font-size: clamp(1.02rem, 1.6vw, 1.14rem);
	line-height: 1.65;
	color: rgba(243, 238, 228, 0.72);
}

.acc-about-cta__actions {
	margin-block-start: clamp(26px, 4vw, 38px);
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}

/* Buttons are not patched here. .acc-about-cta joins the walnut token block in
   acc-home.css, so ghost / primary / WhatsApp all invert from --c-btn-* like
   they do in every other dark band. Patching them locally is what let the
   WhatsApp label keep a walnut-brown label on this brown band. */

/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 1024px) {
	.acc-about-stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	/* Reset 4-up trim, then trim the right column of the 2-up grid. */
	.acc-about-stat:nth-child(4n) {
		border-inline-end: 1px solid var(--c-border);
	}
	.acc-about-stat:nth-child(2n) {
		border-inline-end: 0;
	}
}

@media (max-width: 860px) {
	.acc-about-story__grid {
		grid-template-columns: 1fr;
		gap: clamp(24px, 5vw, 36px);
	}
	.acc-about-story__rail {
		position: static;
	}

	.acc-about-id {
		grid-template-columns: 1fr;
		gap: clamp(18px, 4vw, 28px);
	}
	/* Image always leads in the single-column stack, even on reversed rows. */
	.acc-about-id--rev .acc-about-id__media {
		order: 0;
	}
}

@media (max-width: 560px) {
	.acc-about-story__pillars {
		grid-template-columns: 1fr;
	}
	.acc-about-stats__grid {
		grid-template-columns: 1fr;
	}
	.acc-about-stat {
		border-inline-end: 0 !important;
	}
}

/* ---- Motion / a11y --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.acc-about-id__media img {
		transition: none;
	}
	.acc-about-id:hover .acc-about-id__media img {
		transform: none;
	}
}
