/**
 * About page: new brand redesign (/company/about/).
 *
 * Visual language follows the homepage v2 draft (assets/css/home-v2.css).
 * Markup and copy are unchanged from pages/core/about.php; everything here
 * is scoped under .abv2 and layered on top of assets/css/about.css.
 *
 * Brand colors live in the token block below; change them there.
 *
 * @package Bringits
 */

/* ==========================================================================
   Tokens
   ========================================================================== */

.abv2 {
	--ab-primary: #291154;
	--ab-deep: #220d47;
	--ab-dark: #1e0c3f;
	--ab-mid: #45225d;
	--ab-yellow: #f8c02d;
	--ab-yellow-hover: #ffcd45;
	--ab-white: #ffffff;

	--ab-violet: #5b2d8e;
	--ab-violet-bright: #7a4fe0;
	--ab-violet-soft: #a98be6;
	--ab-tint: #f6f3fb;
	--ab-tint-strong: #efe9f7;
	--ab-border: #e6e0ef;
	--ab-border-strong: #cfc4e0;
	--ab-ink: #1e0c3f;
	--ab-body: #4f4563;
	--ab-muted: #6f6683;

	--ab-on-dark: #ffffff;
	--ab-on-dark-body: rgba(255, 255, 255, 0.76);

	--ab-radius: 8px;
	--ab-radius-card: 12px;
	--ab-radius-panel: 16px;
	--ab-shadow: 0 1px 2px rgba(30, 12, 63, 0.04), 0 8px 24px rgba(30, 12, 63, 0.06);
	--ab-shadow-hover: 0 2px 4px rgba(30, 12, 63, 0.05), 0 16px 36px rgba(30, 12, 63, 0.1);

	--ab-max: 1200px;
	--ab-gutter: clamp(16px, 4vw, 32px);
	--ab-section-y: clamp(64px, 8vw, 112px);

	--ab-font: Inter, Arial, Helvetica, sans-serif;

	/* Arrow glyph reused by CTAs (mask so it inherits currentColor). */
	--ab-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");

	overflow-x: clip;
	background: var(--ab-white);
	color: var(--ab-body);
	font-family: var(--ab-font);
	-webkit-font-smoothing: antialiased;
}

.abv2 :is(h1, h2, h3, p, li, a, span) {
	font-family: var(--ab-font);
}

.abv2 .about-section-inner {
	max-width: calc(var(--ab-max) + 2 * var(--ab-gutter));
	padding: 0 var(--ab-gutter);
}

/* ==========================================================================
   Shared: eyebrows, titles, buttons
   ========================================================================== */

/* Eyebrow: uppercase label with the brand's yellow dash. */
.abv2 .about-chip,
.abv2 .about-section-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	border-radius: 0;
	background: none;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ab-violet);
}

.abv2 .about-chip::before,
.abv2 .about-section-chip::before {
	content: '';
	flex: none;
	width: 20px;
	height: 2px;
	background: var(--ab-yellow);
}

/* Centered headings get a matching dash on the right. */
.abv2 .about-section-head:not(.about-section-head--left) .about-section-chip::after {
	content: '';
	flex: none;
	width: 20px;
	height: 2px;
	background: var(--ab-yellow);
}

.abv2 .about-section-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	margin-bottom: clamp(32px, 4vw, 48px);
}

.abv2 .about-section-head--left {
	align-items: flex-start;
	margin-bottom: 0;
}

.abv2 .about-section-title {
	max-width: 820px;
	margin: 0;
	font-size: clamp(2rem, 1.3rem + 2.3vw, 3.25rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: var(--ab-ink);
	text-wrap: balance;
}

.abv2 .about-section-lead {
	margin: 0;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
	line-height: 1.6;
	color: var(--ab-body);
}

/* Last mission line reads as the punchline. */
.abv2 .about-section-lead:last-child {
	padding-left: 16px;
	border-left: 3px solid var(--ab-yellow);
	font-weight: 600;
	color: var(--ab-primary);
}

/* Buttons: brand yellow with arrow. */
.abv2 .about-btn--primary {
	gap: 10px;
	min-height: 52px;
	padding: 12px 24px;
	border: 1.5px solid var(--ab-yellow);
	border-radius: var(--ab-radius);
	background: var(--ab-yellow);
	color: var(--ab-dark);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.abv2 .about-btn--primary::after {
	content: '';
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--ab-arrow) center / contain no-repeat;
	mask: var(--ab-arrow) center / contain no-repeat;
	transition: transform 0.2s ease;
}

.abv2 .about-btn--primary:hover {
	background: var(--ab-yellow-hover);
	border-color: var(--ab-yellow-hover);
	color: var(--ab-dark);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(248, 192, 45, 0.28);
}

.abv2 .about-btn--primary:hover::after {
	transform: translateX(3px);
}

.abv2 .about-btn:focus-visible {
	outline: 3px solid var(--ab-yellow);
	outline-offset: 3px;
}

/* ==========================================================================
   Hero: dark, mountain artwork (same as homepage v2 hero)
   ========================================================================== */

.abv2 .about-hero {
	display: flex;
	align-items: center;
	min-height: min(640px, max(460px, 33vw));
	padding: clamp(56px, 7vw, 104px) 0;
	background: var(--ab-dark);
	isolation: isolate;
}

.abv2 .about-hero-bg {
	background-image: url('../images/home-v2/hero-mountain.webp');
	background-position: right center;
}

/* Left-side scrim keeps the copy readable over the artwork. */
.abv2 .about-hero-bg-overlay {
	background:
		linear-gradient(90deg, rgba(30, 12, 63, 0.88) 0%, rgba(30, 12, 63, 0.6) 32%, rgba(30, 12, 63, 0) 58%),
		linear-gradient(0deg, rgba(30, 12, 63, 0.55) 0%, rgba(30, 12, 63, 0) 30%);
}

/* Yellow light trail along the bottom edge. */
.abv2 .about-hero::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 5%, rgba(248, 192, 45, 0.75) 55%, transparent 95%);
	box-shadow: 0 0 18px 2px rgba(248, 192, 45, 0.35);
	pointer-events: none;
}

.abv2 .about-hero-inner {
	width: 100%;
}

.abv2 .about-hero-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	max-width: 640px;
	margin: 0;
	text-align: left;
}

.abv2 .about-hero .about-chip {
	color: var(--ab-yellow);
}

.abv2 .about-hero-title {
	margin: 0;
	font-size: clamp(2.5rem, 1.4rem + 3.8vw, 4.25rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.035em;
	color: var(--ab-on-dark);
	text-wrap: balance;
}

.abv2 .about-hero-subtitle {
	max-width: 540px;
	margin: 0;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
	line-height: 1.6;
	color: var(--ab-on-dark-body);
}

.abv2 .about-hero-ctas {
	justify-content: flex-start;
	margin-top: 8px;
}

/* ==========================================================================
   Mission / Team: split layout with branded illustration stage
   ========================================================================== */

.abv2 .about-mission,
.abv2 .about-team {
	padding: var(--ab-section-y) 0;
}

.abv2 .about-section--alt {
	background: var(--ab-tint);
	border-top: 1px solid var(--ab-border);
	border-bottom: 1px solid var(--ab-border);
}

.abv2 .about-split-layout {
	gap: clamp(40px, 6vw, 96px);
}

.abv2 .about-split-content .about-section-head {
	gap: 18px;
}

.abv2 .about-prose p {
	margin: 16px 0 0;
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
	line-height: 1.7;
	color: var(--ab-body);
}

.abv2 .about-prose p:first-child {
	margin-top: 24px;
}

.abv2 .about-team-cta {
	margin-top: 32px;
}

/* Illustration stage: tinted panel with violet glow, data grid, yellow accent. */
.abv2 .about-split-visual,
.abv2 .about-split-visual--diagram {
	position: relative;
	width: 100%;
	max-width: 520px;
	aspect-ratio: 1;
	margin: 0 auto;
	padding: clamp(28px, 4vw, 56px);
	border: 1px solid var(--ab-border);
	border-radius: var(--ab-radius-panel);
	background:
		radial-gradient(ellipse 55% 55% at 50% 50%, rgba(122, 79, 224, 0.2), transparent 70%),
		linear-gradient(rgba(41, 17, 84, 0.05) 1px, transparent 1px) center / 32px 32px,
		linear-gradient(90deg, rgba(41, 17, 84, 0.05) 1px, transparent 1px) center / 32px 32px,
		var(--ab-tint);
	box-shadow: var(--ab-shadow);
	overflow: hidden;
	isolation: isolate;
}

.abv2 .about-section--alt .about-split-visual {
	background:
		radial-gradient(ellipse 55% 55% at 50% 50%, rgba(122, 79, 224, 0.2), transparent 70%),
		linear-gradient(rgba(41, 17, 84, 0.05) 1px, transparent 1px) center / 32px 32px,
		linear-gradient(90deg, rgba(41, 17, 84, 0.05) 1px, transparent 1px) center / 32px 32px,
		var(--ab-white);
}

/* Yellow corner accent + light trail along the bottom. */
.abv2 .about-split-visual::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 64px;
	height: 4px;
	background: var(--ab-yellow);
}

.abv2 .about-split-visual::after {
	content: '';
	position: absolute;
	left: 15%;
	right: 15%;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(248, 192, 45, 0.8), transparent);
	box-shadow: 0 0 14px 1px rgba(248, 192, 45, 0.35);
}

.abv2 .about-split-visual--top {
	align-self: center;
	margin-top: 0;
}

/* Shift the pastel blues toward the brand violet. */
.abv2 .about-mission-visual,
.abv2 .about-team-visual {
	filter: hue-rotate(14deg) saturate(1.15) drop-shadow(0 16px 28px rgba(30, 12, 63, 0.14));
	transition: transform 0.3s ease;
}

.abv2 .about-split-visual:hover img {
	transform: translateY(-3px) scale(1.01);
}

/* ==========================================================================
   Values
   ========================================================================== */

.abv2 .about-values {
	padding: var(--ab-section-y) 0;
	counter-reset: ab-value;
}

.abv2 .about-values-rows,
.abv2 .about-values-grid {
	gap: 16px;
}

.abv2 .about-value-card,
.abv2 .about-values-grid .about-value-card:nth-child(n) {
	position: relative;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 10px;
	height: auto;
	min-height: 0;
	max-height: none;
	padding: 28px;
	border: 1px solid var(--ab-border);
	border-radius: var(--ab-radius-card);
	background: var(--ab-white);
	box-shadow: var(--ab-shadow);
	text-align: left;
	counter-increment: ab-value;
}

/* Index number, with the brand's yellow accent bar. */
.abv2 .about-value-card::before {
	content: counter(ab-value, decimal-leading-zero);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--ab-violet);
}

.abv2 .about-value-card::after {
	content: '';
	position: absolute;
	top: -1px;
	left: 28px;
	width: 32px;
	height: 3px;
	border-radius: 0 0 2px 2px;
	background: var(--ab-yellow);
}

.abv2 .about-value-card:hover {
	border-color: var(--ab-border-strong);
	transform: translateY(-2px);
	box-shadow: var(--ab-shadow-hover);
}

.abv2 .about-value-label {
	margin: 0;
	font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	text-align: left;
	color: var(--ab-ink);
}

.abv2 .about-value-subtitle {
	font-size: 15px;
	line-height: 1.55;
	text-align: left;
	color: var(--ab-body);
}

/* ==========================================================================
   Contact: summit light-trail artwork (same as homepage v2 closing band)
   ========================================================================== */

.abv2 .about-contact-panel {
	padding: clamp(56px, 6vw, 96px) var(--ab-gutter);
	border: 0;
	background:
		radial-gradient(ellipse 42% 75% at 50% 50%, rgba(8, 2, 46, 0.7) 0%, rgba(8, 2, 46, 0) 100%),
		url('../images/home-v2/bringits-summit-light-trail.webp') center / cover no-repeat,
		#08022e;
}

.abv2 .about-contact-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 720px;
}

.abv2 .about-contact-title {
	margin: 0 0 16px;
	font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--ab-on-dark);
	text-wrap: balance;
}

.abv2 .about-contact-lead {
	max-width: 600px;
	margin: 0 0 32px;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
	line-height: 1.6;
	color: var(--ab-on-dark-body);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 768px) {
	.abv2 .about-split-layout,
	.abv2 .about-split-layout--reverse {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	}

	.abv2 .about-split-layout--reverse {
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	}

	.abv2 .about-split-visual {
		width: 100%;
	}
}

@media (max-width: 767px) {
	/* Darker scrim: copy spans the full width on small screens. */
	.abv2 .about-hero {
		min-height: 0;
	}

	.abv2 .about-hero-bg {
		background-position: 70% center;
	}

	.abv2 .about-hero-bg-overlay {
		background: linear-gradient(90deg, rgba(30, 12, 63, 0.88) 0%, rgba(30, 12, 63, 0.55) 100%);
	}

	.abv2 .about-section-inner {
		padding: 0 var(--ab-gutter);
	}

	.abv2 .about-split-visual {
		width: 100%;
		max-width: 420px;
	}

	.abv2 .about-value-card,
	.abv2 .about-values-grid .about-value-card:nth-child(n) {
		padding: 22px 20px;
	}

	.abv2 .about-value-card::after {
		left: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.abv2 *,
	.abv2 *::before,
	.abv2 *::after {
		transition: none !important;
	}
}
