/*!
 * Baly Site System — /about page.
 * Depends on bsy-chrome.css.
 */

/* ── Hero ───────────────────────────────────────────────────── */
.bsy-about-hero {
	position: relative; overflow: hidden;
	border-radius: var(--bsy-radius-3xl);
	background: linear-gradient(160deg, var(--bsy-brand-active) 0%, #1B4CFF 55%, #355FFF 100%);
	color: #fff;
	padding: 40px 44px;
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 32px;
	align-items: stretch;
	min-height: 460px;
	box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 28px 60px -24px rgba(0,30,80,.45);
	direction: rtl;
}
.bsy-about-hero__bg, .bsy-mapbg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bsy-about-hero__glow {
	position: absolute; inset: auto -120px -160px auto;
	width: 460px; height: 460px; border-radius: 999px;
	background: radial-gradient(circle, rgba(255,225,94,.22), transparent 65%);
	filter: blur(28px); pointer-events: none;
}
.bsy-about-hero__copy {
	position: relative; z-index: 2;
	display: flex; flex-direction: column; justify-content: space-between;
	/* Children should size to content (the pill especially) — without
	 * this, the default `align-items: stretch` makes the pill span the
	 * full column width. */
	align-items: flex-start;
	gap: 18px;
}
.bsy-about-hero__copy > * { max-width: 100%; }
.bsy-about-hero__title {
	margin: 18px 0 14px;
	font-family: var(--bsy-font);
	font-weight: 950;
	font-size: clamp(30px, 4.5vw, 56px);
	line-height: 0.98;
	color: #fff;
}
.bsy-about-hero__accent { color: var(--bsy-accent-gold); }
.bsy-about-hero__lede {
	margin: 0; max-width: 500px;
	font-size: clamp(13px, 1.5vw, 16px); line-height: 1.65;
	font-weight: var(--bsy-fw-medium);
	color: rgba(255,255,255,.88);
}
.bsy-about-hero__stats {
	display: inline-flex; align-items: center; gap: 24px;
	padding: 14px 20px;
	background: rgba(255,255,255,.10);
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 18px; align-self: flex-start;
	backdrop-filter: blur(6px);
}
.bsy-about-hero__stat { display: flex; flex-direction: column; gap: 3px; }
.bsy-about-hero__stat .n { font-weight: 950; font-size: 22px; line-height: 1; color: #fff; }
.bsy-about-hero__stat .l { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.78); }
.bsy-about-hero__div { width: 1px; height: 36px; background: rgba(255,255,255,.18); }

/* Photo collage placeholders */
.bsy-about-hero__collage {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
	gap: 10px; min-height: 360px;
}
.bsy-photo {
	position: relative; overflow: hidden; border-radius: 18px;
	border: 1px solid rgba(255,255,255,.10);
	box-shadow: 0 18px 38px -16px rgba(0,0,0,.45);
	background: linear-gradient(160deg, #3a2814 0%, #4f3320 100%);
}
.bsy-photo--cool  { background: linear-gradient(160deg, #15224a 0%, #1c2e62 100%); }
.bsy-photo--warm2 { background: linear-gradient(160deg, #3c1f12 0%, #552c1b 100%); }
.bsy-photo--tall  { grid-row: span 2; min-height: 360px; }
.bsy-photo::before {
	content: ''; position: absolute; inset: 0;
	background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 16px);
}
.bsy-photo::after {
	content: ''; position: absolute;
	inset: auto -40px -60px auto; width: 220px; height: 220px;
	border-radius: 999px; filter: blur(16px);
	background: radial-gradient(circle, rgba(255,225,94,.45), transparent 65%);
}
.bsy-photo--cool::after  { background: radial-gradient(circle, rgba(110,160,255,.55), transparent 65%); }
.bsy-photo--warm2::after { background: radial-gradient(circle, rgba(255,180,120,.55), transparent 65%); }

@media (max-width: 960px) {
	.bsy-about-hero { padding: 22px 20px 20px; grid-template-columns: 1fr; min-height: 0; border-radius: var(--bsy-radius-xl); }
	.bsy-about-hero__title { font-size: 30px; }
	.bsy-about-hero__stats { gap: 14px; padding: 10px 14px; flex-wrap: wrap; }
	.bsy-about-hero__div { display: none; }
	.bsy-about-hero__collage { display: none; }
}

/* ── قصتنا ───────────────────────────────────────────────────── */
.bsy-about-story {
	display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start;
}
.bsy-about-story__title {
	margin: 12px 0 14px;
	font-family: var(--bsy-font);
	font-weight: var(--bsy-fw-black);
	font-size: clamp(22px, 2.6vw, 32px);
	line-height: 1.1;
	color: var(--bsy-fg-primary);
}
.bsy-about-story__p {
	margin: 0 0 14px;
	font-size: clamp(13.5px, 1.3vw, 15px);
	font-weight: var(--bsy-fw-medium);
	color: var(--bsy-grey-700); line-height: 1.8;
}
.bsy-about-story__p:last-of-type { margin-bottom: 0; }
.bsy-about-story__brand { color: var(--bsy-brand); font-weight: 900; }
.bsy-about-story__hl {
	margin-top: 18px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.bsy-hl {
	background: var(--bsy-brand-lighter);
	border: 1px solid rgba(0,67,255,.18);
	border-radius: 14px; padding: 14px;
	display: flex; align-items: center; gap: 12px; direction: rtl;
}
.bsy-hl__ic {
	width: 38px; height: 38px; border-radius: 11px;
	background: var(--bsy-brand); color: #fff;
	display: grid; place-items: center; flex: none;
}
.bsy-hl__t { font-size: 13.5px; font-weight: 900; color: var(--bsy-fg-primary); }
.bsy-hl__s { font-size: 11.5px; font-weight: 500; color: var(--bsy-grey-700); margin-top: 3px; line-height: 1.5; }

.bsy-about-timeline {
	background: var(--bsy-grey-50);
	border-radius: 18px; padding: 18px 18px;
	border: 1px solid var(--bsy-grey-100);
}
.bsy-about-timeline__h {
	font-size: 11px; font-weight: 800;
	color: var(--bsy-grey-600); letter-spacing: 0.04em;
	text-transform: uppercase; margin-bottom: 10px;
}
.bsy-about-timeline__rail { position: relative; }
.bsy-about-timeline__rail::before {
	content: ''; position: absolute;
	inset-inline-start: 9px; top: 6px; bottom: 6px;
	width: 2px; background: var(--bsy-grey-200); border-radius: 999px;
}
/* Tighter row spacing — design shows nodes much closer together. */
.bsy-about-timeline__row { position: relative; display: flex; align-items: flex-start; gap: 12px; padding-bottom: 10px; }
.bsy-about-timeline__row:last-child { padding-bottom: 0; }
.bsy-about-timeline__node {
	width: 20px; height: 20px; border-radius: 999px;
	background: #fff; border: 2px solid var(--bsy-grey-300);
	display: grid; place-items: center; flex: none; z-index: 2;
	margin-top: 1px;
}
.bsy-about-timeline__row.is-current .bsy-about-timeline__node {
	background: var(--bsy-brand); border-color: transparent;
	box-shadow: 0 0 0 4px rgba(0,67,255,.18);
}
.bsy-about-timeline__dot { width: 6px; height: 6px; border-radius: 999px; background: #fff; }
.bsy-about-timeline__body { flex: 1; margin-top: -2px; }
.bsy-about-timeline__y { font-size: 10.5px; font-weight: 800; color: var(--bsy-grey-600); letter-spacing: 0.04em; }
.bsy-about-timeline__row.is-current .bsy-about-timeline__y { color: var(--bsy-brand); }
.bsy-about-timeline__t { font-size: 13.5px; font-weight: 900; color: var(--bsy-fg-primary); margin-top: 1px; }
.bsy-about-timeline__s { font-size: 11.5px; font-weight: 500; color: var(--bsy-grey-700); margin-top: 2px; line-height: 1.45; }

@media (max-width: 900px) {
	.bsy-about-story { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Pillars ────────────────────────────────────────────────── */
.bsy-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bsy-pillar {
	position: relative; overflow: hidden;
	background: var(--bsy-grey-100);
	color: var(--bsy-fg-primary);
	border-radius: var(--bsy-radius-xl); padding: 22px;
	display: flex; flex-direction: column; gap: 10px;
	min-height: 220px;
}
.bsy-pillar--accent {
	background: var(--bsy-brand); color: #fff;
	box-shadow: 0 14px 32px -10px rgba(0,67,255,.45);
}
.bsy-pillar__head { display: flex; align-items: center; gap: 10px; }
.bsy-pillar__ic {
	width: 40px; height: 40px; border-radius: 12px;
	background: #fff; color: var(--bsy-brand);
	display: grid; place-items: center; flex: none;
}
.bsy-pillar--accent .bsy-pillar__ic { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.bsy-pillar__label {
	font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
	color: var(--bsy-grey-600); text-transform: uppercase;
}
.bsy-pillar--accent .bsy-pillar__label { color: var(--bsy-accent-gold); }
.bsy-pillar__t { font-size: 19px; font-weight: 900; line-height: 1.2; margin-top: 4px; }
.bsy-pillar__s { font-size: 13.5px; font-weight: 500; line-height: 1.65; color: var(--bsy-grey-700); }
.bsy-pillar--accent .bsy-pillar__s { color: rgba(255,255,255,.85); }
@media (max-width: 768px) {
	.bsy-pillars { grid-template-columns: 1fr; gap: 10px; }
	.bsy-pillar { min-height: 0; padding: 16px; }
}

/* ── Founder ────────────────────────────────────────────────── */
.bsy-founder {
	position: relative; overflow: hidden;
	border-radius: var(--bsy-radius-3xl);
	background: linear-gradient(160deg, #0a1430 0%, #112250 60%, #1B3580 100%);
	color: #fff; direction: rtl;
	padding: 44px;
	box-shadow: 0 32px 60px -28px rgba(0,30,80,.50);
}
/* Belt-and-braces — themes set explicit colors on h3/p/strong that
 * inherit `color: inherit` from the dark wrapper. Force white on every
 * text descendant so the quote and the body copy are always readable. */
.bsy-founder,
.bsy-founder h3, .bsy-founder p,
.bsy-founder .bsy-founder__quote,
.bsy-founder .bsy-founder__copy p,
.bsy-founder .bsy-founder__name,
.bsy-founder .bsy-founder__role,
.bsy-founder .bsy-founder__credit { color: #fff; }
.bsy-founder .bsy-founder__copy p { color: rgba(255,255,255,.85); }
.bsy-founder .bsy-founder__role { color: rgba(255,255,255,.78); }
.bsy-founder .bsy-founder__credit { color: rgba(255,255,255,.55); }
.bsy-founder__glow {
	position: absolute; width: 360px; height: 360px; border-radius: 999px;
	filter: blur(40px); pointer-events: none;
}
.bsy-founder__glow--blue { inset-inline-start: -120px; top: -80px; background: radial-gradient(circle, rgba(0,67,255,.45), transparent 65%); }
.bsy-founder__glow--gold { inset-inline-end: -140px; bottom: -120px; background: radial-gradient(circle, rgba(255,225,94,.14), transparent 65%); }
.bsy-founder__eyebrow {
	position: relative;
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px; margin-bottom: 22px;
}
.bsy-founder__credit {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
	color: rgba(255,255,255,.55); text-transform: uppercase;
}
.bsy-founder__grid {
	position: relative;
	display: grid; grid-template-columns: 1.45fr 1fr; gap: 32px; align-items: stretch;
}
.bsy-founder__video {
	position: relative; border-radius: 22px; overflow: hidden;
	aspect-ratio: 16 / 9;
	background: linear-gradient(160deg, #1c2245 0%, #0d1322 100%);
	border: 1px solid rgba(255,255,255,.10);
	box-shadow: 0 22px 44px -16px rgba(0,0,0,.6);
	cursor: pointer;
}
.bsy-founder__video-el {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover; background: #000;
	border: 0;
}
.bsy-founder__video-cover {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
/* When a YouTube/Vimeo iframe is injected by the JS facade. */
.bsy-founder__video-frame {
	position: absolute; inset: 0;
	width: 100%; height: 100%; border: 0;
}
.bsy-founder__video.is-playing .bsy-founder__video-cover,
.bsy-founder__video.is-playing .bsy-founder__video-vignette,
.bsy-founder__video.is-playing .bsy-founder__play,
.bsy-founder__video.is-playing .bsy-founder__plate { display: none; }
.bsy-founder__video-stripes {
	position: absolute; inset: 0;
	background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 16px);
}
.bsy-founder__video-glow {
	position: absolute; inset: auto auto -50px -50px;
	width: 320px; height: 320px; border-radius: 999px;
	background: radial-gradient(circle, rgba(0,67,255,.55), transparent 65%);
	filter: blur(22px);
}
.bsy-founder__video-vignette {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%);
}
.bsy-founder__play {
	position: absolute; inset: 0; margin: auto;
	width: 72px; height: 72px; border-radius: 999px;
	background: rgba(0,0,0,.45); backdrop-filter: blur(8px);
	border: 1.5px solid rgba(255,255,255,.45); cursor: pointer;
	display: grid; place-items: center;
	box-shadow: 0 12px 32px -8px rgba(0,0,0,.55);
}
.bsy-founder__plate {
	position: absolute; inset-inline: 14px; bottom: 14px;
	padding: 12px 16px;
	background: rgba(0,0,0,.55); backdrop-filter: blur(8px);
	border-radius: 14px; border: 1px solid rgba(255,255,255,.10);
}
.bsy-founder__name { font-size: 15px; font-weight: 900; color: #fff; }
.bsy-founder__role { font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,.78); margin-top: 3px; }
.bsy-founder__copy { display: flex; flex-direction: column; justify-content: center; }
.bsy-founder__quote {
	margin: 0 0 14px;
	font-family: var(--bsy-font);
	font-weight: 900; font-size: 26px;
	line-height: 1.2;
	max-width: 460px;
}
.bsy-founder__accent { color: var(--bsy-accent-gold); }
.bsy-founder__copy p { margin: 0 0 10px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.85); line-height: 1.75; }
.bsy-founder__copy p:last-child { margin-bottom: 0; }
@media (max-width: 960px) {
	.bsy-founder { padding: 24px 18px; border-radius: var(--bsy-radius-xl); }
	.bsy-founder__grid { grid-template-columns: 1fr; gap: 18px; }
	.bsy-founder__quote { font-size: 22px; }
}
