/* =========================================================================
   GSA — about.css · Tentang Kami page (page-templates/about.php + template-parts/about/page.php)
   Every class starts with "gsa-ab-" so it never clashes with the theme.
   Photos: Customize → GSA Settings → Halaman Tentang Kami. Empty = grey placeholder box.

   1. Tokens            5. Our story
   2. Base              6. History timeline
   3. Hero              7. Stats
   4. Vision + values   8. Responsive
   ========================================================================= */

/* 1. Tokens (same values as the GSA theme) */
.gsa-ab {
	--ink: var(--gsa-ink);
	--muted: var(--gsa-muted);
	--soft: var(--gsa-soft);
	--line: var(--gsa-line);
	--bg: var(--gsa-bg);
	--white: var(--gsa-surface);
	--night: #070B16;
	--accent: #3F62F2;
	--accent-dark: var(--gsa-accent-dark);
	--accent-glow: var(--gsa-accent-glow);
	--accent-tint: var(--gsa-accent-tint);
	--radius: 22px;
	--max: 1320px;
	--gutter: 32px;
	--font: var(--gsa-font);
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
.gsa-ab { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
/* :where() keeps these resets at zero specificity, so component margins/colours always win. */
:where(.gsa-ab) :where(h1, h2, h3, p) { margin: 0; }
:where(.gsa-ab) :where(a) { color: inherit; text-decoration: none; }
.gsa-ab-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.gsa-ab-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
	font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--muted);
}
.gsa-ab-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.gsa-ab-eyebrow--light { color: rgba(255, 255, 255, .7); }
.gsa-ab-eyebrow--light::before { background: var(--accent-glow); }

.gsa-ab-h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); font-weight: 400; line-height: 1.12; letter-spacing: -.025em; }

.gsa-ab-btn {
	display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 8px 0 24px;
	border-radius: 999px; background: var(--gsa-inverse); color: var(--gsa-on-inverse); font-size: .92rem; font-weight: 600;
	transition: background .2s;
}
.gsa-ab-btn:hover { background: var(--accent-dark); }
.gsa-ab-btn__icon {
	width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .14);
}
.gsa-ab-link { font-size: .92rem; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--line); padding-bottom: 2px; transition: border-color .2s; }
.gsa-ab-link:hover { border-color: var(--accent); }

/* Empty photo placeholder (replace with <img> later) */
.gsa-ab-photo {
	position: relative; overflow: hidden; background: var(--gsa-placeholder);
	display: flex; align-items: center; justify-content: center; color: #B4BAC6;
}
.gsa-ab-photo > svg { width: 44px; height: 44px; }
.gsa-ab-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 3. Hero — text left, photo right */
.gsa-ab-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; background: var(--white); }
.gsa-ab-hero__text {
	display: flex; flex-direction: column; justify-content: center;
	padding: 96px clamp(32px, 6vw, 96px); max-width: 700px; margin-left: auto; width: 100%;
}
.gsa-ab-hero h1 { font-size: clamp(2.4rem, 1.5rem + 3vw, 3.9rem); font-weight: 400; line-height: 1.06; letter-spacing: -.03em; }
.gsa-ab-hero h1 b { font-weight: 700; }
.gsa-ab-hero__lead { margin-top: 24px; max-width: 46ch; font-size: 1.04rem; color: var(--muted); }
.gsa-ab-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.gsa-ab-hero__photo { min-height: 640px; }

/* 4. Vision statement + values */
.gsa-ab-vision { padding: 140px 0 120px; text-align: center; }
.gsa-ab-vision__quote {
	max-width: 900px; margin: 0 auto; font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.8rem);
	font-weight: 400; line-height: 1.22; letter-spacing: -.02em;
}
.gsa-ab-vision__quote em { font-style: normal; color: var(--gsa-ab-em, #7A8394); }   /* large text: 3.1:1 on the page background */
.gsa-ab-vision__mission { max-width: 620px; margin: 32px auto 0; font-size: 1rem; color: var(--muted); }
.gsa-ab-vision__mission strong { color: var(--ink); font-weight: 700; }

.gsa-ab-values { padding-bottom: 120px; }
.gsa-ab-values__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.gsa-ab-values__head h2 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.gsa-ab-values__head p { max-width: 42ch; font-size: .9rem; color: var(--muted); text-align: right; }
.gsa-ab-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border-radius: var(--radius); overflow: hidden; }
.gsa-ab-value { position: relative; min-height: 340px; color: #fff; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; }
.gsa-ab-value .gsa-ab-photo { position: absolute; inset: 0; z-index: -2; }
/* Tinted overlay so text stays readable once photos are added. */
.gsa-ab-value::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 17, 32, .64) 0%, rgba(10, 17, 32, .78) 100%); }
.gsa-ab-value:nth-child(3n+2)::before { background: linear-gradient(180deg, rgba(22, 35, 74, .64) 0%, rgba(22, 35, 74, .82) 100%); }
.gsa-ab-value:nth-child(3n)::before { background: linear-gradient(180deg, rgba(40, 62, 180, .6) 0%, rgba(20, 32, 90, .85) 100%); }
.gsa-ab-value__top { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 36px; text-align: center; }
.gsa-ab-value__top svg { width: 58px; height: 58px; color: #fff; opacity: .92; }
.gsa-ab-value__top h3 { font-size: 1.02rem; font-weight: 600; }
.gsa-ab-value__top h3 sup { font-size: .6em; opacity: .6; margin-left: 2px; }
.gsa-ab-value__card {
	padding: 16px 18px; border-radius: 12px; font-size: .84rem; line-height: 1.55;
	background: rgba(7, 11, 22, .55); border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .9);   /* solid tint: glass is for controls, not content */
}

/* 5. Our story */
.gsa-ab-story { background: var(--white); padding: 130px 0; }
.gsa-ab-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.gsa-ab-story__left { padding-left: clamp(0px, 4vw, 64px); }
.gsa-ab-story__right { max-width: 560px; }
.gsa-ab-story__right h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 18px; }
.gsa-ab-story__right p { font-size: .96rem; color: var(--muted); }
.gsa-ab-story__right p + p { margin-top: 16px; }
.gsa-ab-story__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.gsa-ab-fact { padding: 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.gsa-ab-fact > b { display: block; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.gsa-ab-fact > span { display: block; margin-top: 2px; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.gsa-ab-story__photo { margin-top: 64px; height: 420px; border-radius: var(--radius); }

/* 6. History timeline */
.gsa-ab-history { padding: 130px 0; }
.gsa-ab-history__head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 72px; }
.gsa-ab-history__head p { max-width: 52ch; color: var(--muted); }
.gsa-ab-timeline { position: relative; list-style: none; margin: 0; padding: 0; }
/* Centre line */
.gsa-ab-timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line); transform: translateX(-.5px); }
.gsa-ab-step { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 96px; padding-bottom: 56px; }
.gsa-ab-step:last-child { padding-bottom: 0; }
.gsa-ab-step::after {
	content: ""; position: absolute; left: 50%; top: 10px; width: 13px; height: 13px; border-radius: 50%;
	background: var(--white); border: 3px solid var(--accent); transform: translateX(-50%);
}
.gsa-ab-step__year { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); font-weight: 300; letter-spacing: -.03em; line-height: 1; color: var(--accent); text-align: right; }
.gsa-ab-step__body { max-width: 440px; }
.gsa-ab-step:nth-child(even) .gsa-ab-step__year { order: 2; text-align: left; }
.gsa-ab-step:nth-child(even) .gsa-ab-step__body { order: 1; justify-self: end; text-align: right; }
.gsa-ab-step__body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.gsa-ab-step__body p { font-size: .93rem; color: var(--muted); }
.gsa-ab-step__tag {
	display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 999px;
	background: var(--accent-tint); color: var(--accent-dark); font-size: .76rem; font-weight: 700;
}
.gsa-ab-step--now .gsa-ab-step__year { font-weight: 700; }
.gsa-ab-step--now::after { background: var(--accent); box-shadow: 0 0 0 6px rgba(76, 111, 255, .18); }

/* 7. Stats — dark band with glass cards */
.gsa-ab-stats { position: relative; isolation: isolate; color: #fff; padding: 120px 0; overflow: hidden; background: var(--night); }
.gsa-ab-stats > .gsa-ab-photo { position: absolute; inset: 0; z-index: -2; background: #1A2033; color: #2A3149; }
.gsa-ab-stats::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(60% 70% at 15% 20%, rgba(76, 111, 255, .28), transparent 60%),
		linear-gradient(90deg, rgba(5, 8, 16, .92) 0%, rgba(5, 8, 16, .7) 55%, rgba(5, 8, 16, .82) 100%);
}
.gsa-ab-stats__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.gsa-ab-stats h2 { color: #fff; }
.gsa-ab-stats__lead { margin-top: 18px; max-width: 40ch; font-size: .98rem; color: rgba(255, 255, 255, .66); }
.gsa-ab-stats__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gsa-ab-stat {
	position: relative; min-height: 190px; padding: 26px; border-radius: 16px;
	display: flex; flex-direction: column; justify-content: space-between;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
}
/* Small corner dots, like the reference */
.gsa-ab-stat::before, .gsa-ab-stat::after {
	content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .45);
}
.gsa-ab-stat::before { top: 10px; left: 10px; }
.gsa-ab-stat::after { bottom: 10px; right: 10px; }
.gsa-ab-stat__num { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.gsa-ab-stat__num sup { font-size: .45em; font-weight: 500; vertical-align: top; margin-left: 2px; position: relative; top: .25em; }
.gsa-ab-stat__label { font-size: .86rem; color: rgba(255, 255, 255, .72); line-height: 1.45; }

/* 8. Responsive */
@media (max-width: 1023px) {
	.gsa-ab-hero { grid-template-columns: 1fr; min-height: 0; }
	.gsa-ab-hero__text { max-width: none; padding: 72px var(--gutter) 56px; }
	.gsa-ab-hero__photo { min-height: 380px; }
	.gsa-ab-values__grid { grid-template-columns: repeat(2, 1fr); }
	.gsa-ab-story__grid, .gsa-ab-history__head, .gsa-ab-stats__grid { grid-template-columns: 1fr; gap: 32px; }
	.gsa-ab-story__left { padding-left: 0; }
	/* Timeline: line on the left, everything left-aligned */
	.gsa-ab-timeline::before { left: 6px; }
	.gsa-ab-step, .gsa-ab-step:nth-child(even) { grid-template-columns: 1fr; gap: 10px; padding-left: 40px; }
	.gsa-ab-step::after { left: 6px; top: 6px; }
	.gsa-ab-step__year, .gsa-ab-step:nth-child(even) .gsa-ab-step__year { order: 0; text-align: left; }
	.gsa-ab-step:nth-child(even) .gsa-ab-step__body { order: 0; justify-self: start; text-align: left; }
}
@media (max-width: 640px) {
	.gsa-ab { --gutter: 20px; }
	.gsa-ab-hero__photo { min-height: 280px; }
	.gsa-ab-vision { padding: 88px 0 72px; }
	.gsa-ab-values { padding-bottom: 80px; }
	.gsa-ab-values__head { flex-direction: column; align-items: flex-start; }
	.gsa-ab-values__head p { text-align: left; }
	.gsa-ab-values__grid { grid-template-columns: 1fr; }
	.gsa-ab-value { min-height: 300px; }
	.gsa-ab-story, .gsa-ab-history, .gsa-ab-stats { padding: 80px 0; }
	.gsa-ab-story__facts { grid-template-columns: 1fr 1fr; }
	.gsa-ab-story__photo { height: 260px; margin-top: 40px; }
	.gsa-ab-history__head { margin-bottom: 48px; }
	.gsa-ab-step { padding-bottom: 40px; }
	.gsa-ab-stats__cards { grid-template-columns: 1fr 1fr; gap: 10px; }
	.gsa-ab-stat { min-height: 150px; padding: 18px; }
	.gsa-ab-stat__label { font-size: .78rem; }
}

/* After the about sections: client logos + quote form get room to breathe. */
.gsa-ab + .gsa-clients { padding-top: 110px; }
@media (max-width: 640px) { .gsa-ab + .gsa-clients { padding-top: 72px; } }
/* Customizer photo inside the hero keeps the hero height. */
.gsa-ab-hero__photo img, .gsa-ab-story__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ISO 9001:2015 banner (same block as the homepage) between "Cerita Kami" and the timeline.
   Same width as the other about sections; extra top room for the photo that rises above the card. */
.gsa-ab .gsa-banner { padding: 120px var(--gutter) 120px; background: var(--white); }
.gsa-ab .gsa-banner__card { max-width: calc(var(--max) - 2 * var(--gutter)); }
@media (min-width: 1024px) {
	.gsa-ab .gsa-iso { grid-template-columns: minmax(260px, 38%) 1fr; }   /* card is a bit narrower here: keep the photo inside it */
}
.gsa-ab-story { padding-bottom: 0; }
@media (max-width: 640px) {
	.gsa-ab .gsa-banner { padding-top: 88px; padding-bottom: 72px; }
}

/* v1.7 — Dark Mode details */
/* dark:auto+manual */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .gsa-ab-photo { color: #3A4152; }
	:root:not([data-theme="light"]) .gsa-ab-step--now::after { box-shadow: 0 0 0 6px rgba(147, 169, 255, .2); }
	:root:not([data-theme="light"]) .gsa-ab { --accent: #6E8BFF; }   /* timeline years and dots: brighter blue on black */
}
	:root[data-theme="dark"] .gsa-ab-photo { color: #3A4152; }
	:root[data-theme="dark"] .gsa-ab-step--now::after { box-shadow: 0 0 0 6px rgba(147, 169, 255, .2); }
	:root[data-theme="dark"] .gsa-ab { --accent: #6E8BFF; }   /* timeline years and dots: brighter blue on black */

/* v1.7.1 — follow the theme gutter */
.gsa-ab { --gutter: var(--gsa-gutter); }
