/* Tentang Kami (/about). Layers on top of home.css: header, CTA, FAQ, footer and sheet come from Home;
   this file only adds the about-only sections (prefix ab-). */

/* Current page in the nav, the bottom sheet and the footer */
.nv-link[aria-current="page"], .sh-row[aria-current="page"], .mx-fl[aria-current="page"] { color: var(--text-primary); }

/* ---------- Shared frame ----------
   Same content column as the Home header, CTA, FAQ and footer: 1200px max, and 120px side room on narrower desktops
   (those Home blocks keep 120px down to 1025px), so every section lines up edge to edge. */
.ab-wrap { width: min(1200px, 100% - 240px); margin-inline: auto; }
.ab-sec { padding-block: var(--spacing-11xl); background: var(--bg-primary); }
.ab-head { display: grid; justify-items: start; align-content: start; gap: var(--spacing-xl); }
.ab-head-c { justify-items: center; max-width: 768px; margin: 0 auto var(--spacing-6xl); text-align: center; }
.ab-h2 { margin: 0; font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-primary); text-wrap: balance; }
.ab-h3 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.ab-h3-lg { font-size: 36px; line-height: 44px; }
.ab-prose { display: grid; gap: var(--spacing-xl); }
.ab-prose p { margin: 0; font-size: 18px; line-height: 28px; letter-spacing: -0.015em; color: var(--text-tertiary); text-wrap: pretty; }

/* ---------- 1. Hero: light and centered, facts in an emerald band inside the CTA-style lime outline ---------- */
.ab-hero { --ab-top: calc(64px + var(--spacing-8xl)); --ab-peek: 150px; position: relative; isolation: isolate; padding-block: var(--ab-top) var(--spacing-9xl); background: var(--color-success-950); color: var(--text-white); }
.ab-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url(assets/cta-noise.png) 0 0 / var(--x-noise-tile) var(--x-noise-tile); opacity: .4; }
/* The copy fills the first screen; only the top of the fact cards (the numbers, --ab-peek) shows above the fold to invite a scroll. */
.ab-hero-in { display: grid; justify-items: center; align-content: center; gap: var(--spacing-2xl); min-height: calc(100svh - var(--ab-top) - var(--ab-peek)); margin-bottom: var(--spacing-7xl); text-align: center; }
.ab-h1 { max-width: 880px; margin: 0; font-size: 56px; line-height: 64px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-white); text-wrap: balance; }
.ab-h1 > span { display: block; color: var(--text-brand-primary); }
.ab-lead { max-width: 680px; margin: 0; font-size: 20px; line-height: 30px; letter-spacing: -0.015em; color: var(--text-placeholder-subtle); text-wrap: pretty; }
.ab-hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--spacing-xl); margin-top: var(--spacing-xl); }
.ab-hero-btns .btn { border-radius: var(--radius-xl); }

/* Facts: tall dark cards, big lime number on top, label at the bottom. One card is wide at a time (the first by default,
   the hovered or focused one otherwise) and shows a lighter Optimark logomark, like the reference. */
.ab-facts { display: flex; gap: var(--spacing-2xl); height: 300px; margin: 0; padding: 0; list-style: none; }
.ab-facts li {
  position: relative; isolation: isolate; display: flex; flex: 1 1 0; flex-direction: column; justify-content: space-between; min-width: 0; overflow: clip; padding: var(--spacing-4xl);
  border-radius: var(--radius-3xl); background: color-mix(in srgb, var(--color-base-black) 28%, var(--color-success-950)); box-shadow: inset 0 0 0 1px var(--alpha-white-10);
  outline-offset: 3px; transition: flex-grow 560ms var(--x-ease-out);
}
.ab-facts li:first-child { flex-grow: 2.4; }
.ab-facts:is(:hover, :focus-within) li { flex-grow: 1; }
.ab-facts:is(:hover, :focus-within) li:is(:hover, :focus) { flex-grow: 2.4; }
.ab-facts li::before {
  content: ""; position: absolute; z-index: -1; top: -70px; right: -70px; width: 240px; height: 240px; background: color-mix(in srgb, var(--brand-500) 12%, transparent);
  -webkit-mask: url(assets/logomark-solid.svg) center / contain no-repeat; mask: url(assets/logomark-solid.svg) center / contain no-repeat;   /* the Optimark logomark, cropped by the card corner */
  opacity: 0; translate: 16% -8%; rotate: -12deg; transition: opacity 480ms var(--x-ease), translate 560ms var(--x-ease-out), rotate 560ms var(--x-ease-out);
}
.ab-facts li:first-child::before { opacity: 1; translate: 0 0; rotate: 0deg; }
.ab-facts:is(:hover, :focus-within) li::before { opacity: 0; translate: 16% -8%; rotate: -12deg; }
.ab-facts:is(:hover, :focus-within) li:is(:hover, :focus)::before { opacity: 1; translate: 0 0; rotate: 0deg; }
.ab-facts b { font-size: 72px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; color: var(--text-brand-primary); }
.ab-facts span { max-width: 14ch; font-size: 18px; line-height: 28px; letter-spacing: -0.015em; color: var(--alpha-white-70); }

/* ---------- Header over the emerald hero: transparent, light elements while idle; the Home white bar once scrolled ---------- */
.nv-on-dark { position: fixed; inset: 0 0 auto; }
.nv-on-dark:not(.is-scrolled) { box-shadow: none; }   /* the mobile bar keeps a 1px stroke in Home; not over the emerald hero */
.nv-on-dark .nv-logo-w { display: none; }
.nv-on-dark:not(.is-scrolled) .nv-logo-d { display: none; }
.nv-on-dark:not(.is-scrolled) .nv-logo-w { display: block; width: auto; height: 32px; }
.nv-on-dark:not(.is-scrolled) .nv-link { color: var(--text-white); }
.nv-on-dark:not(.is-scrolled) .nv-link:is(:hover, :focus-visible, [aria-expanded="true"], [aria-current="page"]) { color: var(--text-white); }
.nv-on-dark:not(.is-scrolled) .nv-chev { background: var(--text-white); }
.nv-on-dark:not(.is-scrolled) .nv-lang { border-color: var(--alpha-white-20); background: var(--alpha-white-10); }
.nv-on-dark:not(.is-scrolled) .nv-lang-b:not(.is-on) { color: var(--alpha-white-70); }
.nv-on-dark:not(.is-scrolled) .nv-lang-b:not(.is-on):hover { color: var(--text-white); }
.nv-on-dark:not(.is-scrolled) .nv-div { background: var(--alpha-white-30); }
.nv-on-dark:not(.is-scrolled) .nv-burger { color: var(--text-white); }
.nv-on-dark:not(.is-scrolled) .nv-burger:hover { background: var(--alpha-white-10); }
.nv-on-dark .nv-logo-d, .nv-on-dark .nv-logo-w { transition: opacity var(--x-mid) var(--x-ease); }

/* ---------- 2. Siapa Kami: story left, "scattered work gathers into Optimark" panel right (FAQ box surface) ---------- */
.ab-who { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--spacing-9xl); align-items: center; }
.ab-who-text { display: grid; justify-items: start; gap: var(--spacing-2xl); }
.ab-who-text .ab-prose { margin-top: var(--spacing-md); }
.ab-gather { display: grid; justify-items: center; gap: var(--spacing-xl); padding: var(--spacing-5xl) var(--spacing-4xl) var(--spacing-4xl); border: 1px solid var(--utility-gray-200); border-radius: var(--radius-3xl); background: var(--utility-gray-100); }
.ab-gather-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--spacing-md) var(--spacing-lg); max-width: 520px; margin: 0; padding: 0; list-style: none; }
.ab-gather-chips li { display: inline-flex; align-items: center; gap: var(--spacing-sm); height: 36px; padding: 0 var(--spacing-xl); border-radius: var(--radius-full); font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: -0.006em; color: var(--text-secondary); white-space: nowrap; background: var(--bg-primary); box-shadow: inset 0 0 0 1px var(--border-secondary), var(--x-shadow-xs); }
.ab-gather-chips .ic { width: 16px; height: 16px; color: var(--fg-quaternary); }
/* a slight tilt so the work reads as scattered before it reaches Optimark */
.ab-gather-chips li:nth-child(4n+1) { rotate: -3deg; }
.ab-gather-chips li:nth-child(4n+2) { rotate: 2deg; translate: 0 4px; }
.ab-gather-chips li:nth-child(4n+3) { rotate: -1.5deg; translate: 0 -3px; }
.ab-gather-chips li:nth-child(4n) { rotate: 3deg; }
.ab-gather-join { position: relative; display: grid; place-items: center; width: 36px; height: 36px; margin-top: var(--spacing-md); border-radius: var(--radius-full); background: var(--bg-brand-solid); color: var(--text-primary); }
.ab-gather-join::before, .ab-gather-join::after { content: ""; position: absolute; left: 50%; width: 1px; height: var(--spacing-xl); background: var(--utility-gray-300); }
.ab-gather-join::before { bottom: 100%; }
.ab-gather-join::after { top: 100%; }
.ab-gather-join .ic { width: 18px; height: 18px; }
.ab-gather-card { display: grid; justify-items: center; gap: var(--spacing-xl); width: 100%; max-width: 420px; padding: var(--spacing-3xl); border-radius: var(--radius-xl); background: var(--bg-primary); box-shadow: inset 0 0 0 1px var(--border-secondary), var(--x-shadow-xs); }
.ab-gather-card img { display: block; height: 32px; width: auto; }
.ab-gather-prods { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--spacing-md); margin: 0; padding: 0; list-style: none; }
.ab-gather-prods li { display: inline-flex; align-items: center; gap: var(--spacing-sm); height: 28px; padding: 0 var(--spacing-lg); border-radius: var(--radius-sm); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-secondary); box-shadow: inset 0 0 0 1px var(--border-primary); }

/* ---------- 3. Visi & Misi: emerald block, glass tiles like the Home "Kenapa" cards ---------- */
.ab-vm { position: relative; isolation: isolate; padding-block: var(--spacing-11xl); background: var(--color-success-950); color: var(--text-white); }
.ab-vm::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url(assets/cta-noise.png) 0 0 / var(--x-noise-tile) var(--x-noise-tile); opacity: .4; }
.ab-vision { display: grid; justify-items: start; gap: var(--spacing-3xl); max-width: 980px; padding-bottom: var(--spacing-9xl); border-bottom: 1px solid var(--alpha-white-10); }
.ab-quote { margin: 0; font-size: 36px; line-height: 44px; font-weight: 500; letter-spacing: -0.02em; color: var(--alpha-white-70); text-wrap: balance; }
.ab-quote > span { color: var(--text-brand-primary); }
.ab-mission { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--spacing-4xl) var(--spacing-8xl); padding-top: var(--spacing-9xl); }
.ab-mission-head { display: grid; justify-items: start; align-content: start; gap: var(--spacing-2xl); }
.ab-mission-head .ab-h3 { color: var(--text-white); }
.ab-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--spacing-3xl); margin: 0; padding: 0; list-style: none; }
.ab-tile { display: flex; padding: var(--spacing-sm); border-radius: var(--radius-3xl); background: color-mix(in srgb, var(--brand-500) 12%, transparent); }
.ab-tile-in { position: relative; isolation: isolate; display: flex; flex: 1 1 0; flex-direction: column; gap: var(--spacing-3xl); padding: var(--spacing-3xl); border: var(--stroke-1) solid var(--alpha-white-10); border-radius: var(--radius-2xl); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-base-white) 12%, transparent); }
.ab-tile-in::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-base-white) 15%, transparent), color-mix(in srgb, var(--color-base-white) 5%, transparent)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ab-tile-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-lg); background: var(--brand-500); color: var(--color-success-950); }
.ab-tile-ic .ic { width: 20px; height: 20px; }
.ab-tile p { margin: 0; font-size: 18px; line-height: 28px; font-weight: 500; letter-spacing: -0.015em; color: var(--text-white); text-wrap: pretty; }

.i-zap { --ic: url(../assets/icons/untitled-ui/zap.svg); }
.i-rocket { --ic: url(../assets/icons/untitled-ui/rocket-02.svg); }
.i-layers { --ic: url(../assets/icons/untitled-ui/layers-three-01.svg); }
.i-bulb { --ic: url(../assets/icons/untitled-ui/lightbulb-02.svg); }

/* ---------- 4. Products: white items inside one outlined gray box, same surface as the FAQ box ---------- */
.ab-prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spacing-xs); margin: 0; padding: var(--spacing-sm); list-style: none; border: 1px solid var(--utility-gray-200); border-radius: var(--radius-3xl); background: var(--utility-gray-100); }
.ab-prods > li { display: flex; }
.ab-prod { display: flex; flex: 1 1 0; flex-direction: column; gap: var(--spacing-xl); padding: var(--spacing-3xl); border-radius: var(--radius-xl); background: var(--bg-primary); color: inherit; text-decoration: none; transition: background-color var(--x-fast) var(--x-ease); }
.ab-prod:hover { background: var(--bg-primary-hover); }
.ab-prod-top { display: flex; align-items: center; gap: var(--spacing-lg); }
.ab-prod-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--radius-lg); background: var(--utility-gray-100); }
.ab-prod-ic img { display: block; width: 24px; height: 24px; }
.ab-prod-top b { flex: 1 1 0; min-width: 0; font-size: 18px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; color: var(--text-primary); }
.ab-prod-top .ic { color: var(--fg-quaternary); transition: transform var(--x-fast) var(--x-ease), color var(--x-fast) var(--x-ease); }
.ab-prod:hover .ab-prod-top .ic { color: var(--fg-quaternary-hover); transform: translate3d(2px, -2px, 0); }
.ab-prod-d { font-size: 16px; line-height: 24px; letter-spacing: -0.011em; color: var(--text-tertiary); }
.ab-prod-meta { margin-top: auto; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-quaternary); }

/* ---------- Tablet (<= 1024px) ---------- */
@media (max-width: 1024px) {
  .ab-wrap { width: calc(100% - 2 * var(--tablet-container-padding)); }
  .ab-sec, .ab-vm { padding-block: var(--spacing-9xl); }
  .ab-hero { --ab-top: calc(64px + var(--spacing-6xl)); padding-top: var(--ab-top); }
  .ab-h1 { font-size: 44px; line-height: 52px; }
  .ab-h2 { font-size: 36px; line-height: 44px; }
  .ab-h3-lg { font-size: 30px; line-height: 38px; }
  .ab-quote { font-size: 30px; line-height: 38px; }
  .ab-facts { height: 240px; gap: var(--spacing-xl); }
  .ab-facts li, .ab-facts li:first-child, .ab-facts:is(:hover, :focus-within) li, .ab-facts:is(:hover, :focus-within) li:is(:hover, :focus) { flex-grow: 1; }
  .ab-facts li::before { opacity: 0 !important; }
  .ab-facts b { font-size: 56px; }
  .ab-who, .ab-mission { grid-template-columns: minmax(0, 1fr); gap: var(--spacing-6xl); }
  .ab-prods { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Mobile (<= 640px) ---------- */
@media (max-width: 640px) {
  .ab-wrap { width: calc(100% - 2 * var(--mobile-container-padding)); }
  .ab-hero { --ab-top: calc(56px + var(--spacing-5xl)); --ab-peek: 120px; padding-top: var(--ab-top); }
  .ab-h1 { font-size: 34px; line-height: 42px; }
  .ab-lead { font-size: 18px; line-height: 28px; }
  .ab-hero-btns { flex-direction: column; width: 100%; }
  .ab-facts { flex-direction: column; height: auto; }
  .ab-facts li { flex: none; gap: var(--spacing-5xl); padding: var(--spacing-3xl); }
  .ab-facts b { font-size: 48px; }
  .ab-facts span { max-width: none; font-size: 16px; line-height: 24px; }
  .ab-h2 { font-size: 28px; line-height: 36px; }
  .ab-h3-lg { font-size: 26px; line-height: 34px; }
  .ab-quote { font-size: 24px; line-height: 32px; }
  .ab-prose p, .ab-tile p { font-size: 16px; line-height: 24px; }
  .ab-gather { padding: var(--spacing-3xl) var(--spacing-xl) var(--spacing-xl); }
  .ab-gather-chips li { height: 32px; padding-inline: var(--spacing-lg); font-size: 13px; }
  .ab-tiles { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) { .ab-prod, .ab-prod-top .ic { transition: none; } }

/* Section rhythm: same --x-sec rule as the home page (80 / 64 / 56) */
.ab-sec, .ab-vm { padding-block: var(--x-sec); }
