/* page-about.css — About page (lists_single_about.htm).
   The CMS body holds classed divs only, so a design change is an FTP upload
   and never a re-paste through UEditor. The reveal uses a CSS view() timeline,
   so there is no JS that can fail and leave the page blank. */

/* ---------- 1. hero (lives in the template, not the CMS) ---------------- */
.ab_hero { position: relative; overflow: hidden; background: #0b1017; padding: 90px 0 84px; }
.ab_hero_grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 78%);
}
.ab_hero_glow {
  position: absolute; top: -160px; right: -120px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(200, 169, 106, 0.34) 0%, transparent 66%);
  pointer-events: none;
}
.ab_hero_inner { position: relative; z-index: 2; max-width: 900px; }
.ab_eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  color: #c8a96a; background: rgba(200, 169, 106, 0.12);
  border: 1px solid rgba(200, 169, 106, 0.34); border-radius: 999px; padding: 7px 15px;
}
.ab_hero h1 {
  color: #fff; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12;
  font-size: clamp(30px, 4.6vw, 50px); margin: 20px 0 0;
}
.ab_hero h1 i {
  font-style: normal;
  background: linear-gradient(100deg, #c8a96a, #e3cc9c 55%, #c8a96a);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ab_hero_lead { color: #9fb0c4; font-size: 17px; line-height: 1.75; margin: 20px 0 0; max-width: 720px; }
.ab_hero_btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ab_btn_primary, .ab_btn_ghost {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 14px;
  text-decoration: none; transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
}
.ab_btn_primary { background: var(--primary-gradient); color: #fff; box-shadow: var(--shadow-btn); }
.ab_btn_primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(10, 14, 23, 0.18); color: #fff; }
.ab_btn_ghost { background: rgba(255,255,255,0.06); color: #dbe6f2; border: 1px solid rgba(255,255,255,0.18); }
.ab_btn_ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); color: #fff; }

/* ---------- 2. body shell ---------------------------------------------- */
/* flow-root so the stat strip's -46px does not collapse out and drag the whole
   light band up over the hero */
.ab_body { display: flow-root; padding: 0 0 20px; background: var(--bg-light); }
.ab { font-size: 16px; line-height: 1.78; color: #4a5568; }
.ab p { margin: 0 0 16px; }
.ab p:last-child { margin-bottom: 0; }
.ab a {
  color: var(--accent-text); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(200, 169, 106, 0.28); transition: 0.18s;
}
.ab a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.ab_head { max-width: 780px; margin: 72px 0 34px; }
.ab_tag {
  display: inline-block; font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text);
  background: var(--accent-soft-solid); border-radius: 999px; padding: 6px 14px; margin-bottom: 14px;
}
.ab_head h2 {
  font-size: clamp(24px, 2.9vw, 34px); font-weight: 800; letter-spacing: -0.02em;
  color: var(--text-dark); line-height: 1.22; margin: 0 0 12px;
}
.ab_head p { font-size: 16.5px; color: #64748b; margin: 0; }
.ab_lead { font-size: 18px; line-height: 1.72; color: #475569; max-width: 900px; }

/* ---------- 3. stat strip, pulled up over the hero --------------------- */
.ab_stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: #e6ecf3; border: 1px solid #e6ecf3; border-radius: 18px; overflow: hidden;
  margin: -46px 0 0; position: relative; z-index: 5; box-shadow: var(--shadow-card);
}
.ab_stat { background: #fff; padding: 26px 22px; text-align: center; }
.ab_num {
  font-size: clamp(26px, 3vw, 36px); font-weight: 900; letter-spacing: -0.02em; line-height: 1;
  background: var(--primary-gradient);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ab_lab { font-size: 12.5px; color: #5f6b7a; margin-top: 9px; letter-spacing: 0.04em; }

/* ---------- 4. pillars -------------------------------------------------- */
.ab_grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ab_pill {
  background: #fff; border: 1px solid #e8eef5; border-radius: 16px; padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.ab_pill::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--primary-gradient); }
.ab_pill2::before { background: linear-gradient(135deg, #22c07a, #0f9d63); }
.ab_pill3::before { background: linear-gradient(135deg, #f0724f, #d9453c); }
.ab_pill:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: #d6e6f5; }
.ab_pill h3 { font-size: 19px; font-weight: 800; color: var(--text-dark); margin: 0 0 12px; letter-spacing: -0.01em; }
.ab_pill p { font-size: 15px; line-height: 1.72; margin: 0; }


/* ---------- 4b. who-we-are split, dark panel on the right --------------- */
.ab_split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; margin: 72px 0 0; }
.ab_split .ab_head { margin: 0 0 24px; }
.ab_panel {
  position: relative; overflow: hidden; border-radius: 20px; padding: 40px 38px;
  background: linear-gradient(145deg, #0d1a2b 0%, #16406b 100%);
  box-shadow: 0 18px 45px rgba(16,47,81,0.18);
}
.ab_panel::after {
  content: ""; position: absolute; right: -90px; bottom: -105px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(200, 169, 106, 0.16);
}
.ab_panel h3 { position: relative; z-index: 2; color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 14px; }
.ab_panel > p { position: relative; z-index: 2; color: #9fb0c4; font-size: 15px; line-height: 1.75; margin: 0 0 24px; }
.ab_panel .ab_checks { position: relative; z-index: 2; grid-template-columns: 1fr; gap: 10px; }
.ab_panel .ab_checks li {
  color: #dbe6f2; font-size: 14.5px; padding: 11px 14px 11px 44px;
  border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.05); border-radius: 11px;
}
.ab_panel .ab_checks li::before { left: 14px; top: 12px; background: rgba(200, 169, 106, 0.2); color: #c8a96a; }

/* ---------- 8b. project cards inside the dark band ---------------------- */
.ab_cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; text-align: left; }
.ab_case {
  padding: 26px 24px; border: 1px solid rgba(255,255,255,0.13); border-radius: 14px;
  background: rgba(255,255,255,0.035);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.ab_case:hover { background: rgba(255,255,255,0.09); border-color: rgba(200, 169, 106, 0.5); transform: translateY(-4px); }
.ab_case_meta { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #c8a96a; margin: 0 0 10px; }
.ab_case h4 { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 9px; }
/* .ab a is brand blue, too dark to read on the band */
.ab_band .ab_case a { color: #c8a96a; border-bottom-color: rgba(200, 169, 106, 0.35); }
.ab_band .ab_case a:hover { color: #fff; border-bottom-color: #fff; }
.ab_band .ab_case p { color: #9fb0c4; font-size: 14px; line-height: 1.7; margin: 0; }
.ab_cc { transition: transform 0.25s, box-shadow 0.25s; }
.ab_cc:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

/* ---------- 5. process steps ------------------------------------------- */
.ab_steps {
  list-style: none; counter-reset: abs; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.ab_steps li {
  counter-increment: abs; position: relative; padding: 26px 22px 24px;
  background: #fff; border: 1px solid #e8eef5; border-radius: 14px;
  transition: transform 0.28s, box-shadow 0.28s;
}
.ab_steps li::before {
  content: "0" counter(abs);
  display: block; font-size: 13px; font-weight: 900; letter-spacing: 0.1em;
  color: var(--accent-text); margin-bottom: 12px;
}
/* the hairline that reads as a sequence rather than four unrelated boxes */
.ab_steps li::after {
  content: ""; position: absolute; top: 38px; right: -20px; width: 20px; height: 1px;
  background: linear-gradient(90deg, #cfe0ef, transparent);
}
.ab_steps li:last-child::after { display: none; }
.ab_steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.ab_steps h4 { font-size: 16px; font-weight: 800; color: var(--text-dark); margin: 0 0 8px; }
.ab_steps p { font-size: 14px; line-height: 1.68; margin: 0; color: #5b6b7e; }

/* ---------- 6. portfolio ------------------------------------------------ */
.ab_grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ab_port {
  display: flex; gap: 22px; background: #fff; border: 1px solid #e8eef5;
  border-radius: 16px; padding: 30px 28px;
  transition: border-color 0.28s, box-shadow 0.28s, transform 0.28s;
}
.ab_port:hover { border-color: var(--accent); box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.ab_port_no {
  flex: none; font-size: 40px; font-weight: 900; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(200, 169, 106, 0.55); transition: color 0.28s;
}
.ab_port:hover .ab_port_no { color: rgba(200, 169, 106, 0.1); }
.ab_port h4 { font-size: 18px; font-weight: 800; color: var(--text-dark); margin: 0 0 10px; letter-spacing: -0.01em; }
.ab_port p { font-size: 15px; line-height: 1.74; margin: 0; }

/* ---------- 7. sectors -------------------------------------------------- */
.ab_grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ab_sector {
  background: #fff; border: 1px solid #e8eef5; border-radius: 14px; padding: 26px 22px;
  transition: transform 0.28s, box-shadow 0.28s;
}
.ab_sector:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.ab_sector h4 { font-size: 16px; font-weight: 800; color: var(--text-dark); margin: 0 0 9px; }
.ab_sector p { font-size: 14px; line-height: 1.68; margin: 0; color: #5b6b7e; }

/* ---------- 8. dark client band ---------------------------------------- */
.ab_band {
  position: relative; overflow: hidden; margin: 84px 0 0;
  background: linear-gradient(135deg, #101722 0%, #1c2735 100%);
  border-radius: 24px; padding: 68px 48px;
}
.ab_band::after {
  content: ""; position: absolute; top: -180px; left: -100px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(200, 169, 106, 0.25) 0%, transparent 65%); pointer-events: none;
}
.ab_band_in { position: relative; z-index: 2; text-align: center; }
.ab_band .ab_tag { color: #c8a96a; background: rgba(200, 169, 106, 0.14); }
.ab_band h2 { color: #fff; font-size: clamp(24px, 2.9vw, 34px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
.ab_band p { color: #9fb0c4; font-size: 16.5px; max-width: 720px; margin: 0 auto; }
.ab_clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.ab_client {
  padding: 17px 14px; border: 1px solid rgba(255,255,255,0.13); border-radius: 12px;
  background: rgba(255,255,255,0.035); color: #dbe6f2; font-weight: 600; font-size: 14.5px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.ab_client:hover { background: rgba(255,255,255,0.09); border-color: rgba(200, 169, 106, 0.5); transform: translateY(-3px); }

/* ---------- 9. brand chips --------------------------------------------- */
.ab_brands { display: flex; flex-wrap: wrap; gap: 10px; }
.ab_brand {
  padding: 11px 20px; border: 1px solid #e2eaf3; border-radius: 999px; background: #fff;
  font-weight: 700; font-size: 14px; color: #46596e; transition: 0.24s;
}
.ab_brand:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); }

/* ---------- 10. checklist ----------------------------------------------- */
.ab_checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; }
.ab_checks li { position: relative; padding-left: 32px; font-size: 15.5px; line-height: 1.7; }
.ab_checks li::before {
  content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 3px;
  width: 21px; height: 21px; border-radius: 50%; font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft-solid); color: var(--accent-text);
}

/* ---------- 11. contact facts ------------------------------------------- */
.ab_contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ab_cc { background: #fff; border: 1px solid #e8eef5; border-radius: 14px; padding: 24px; }
.ab_cc h4 { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #5f6b7a; margin: 0 0 8px; }
.ab_cc p { font-size: 16px; font-weight: 700; color: var(--text-dark); margin: 0; line-height: 1.6; }
.ab_cc a { border-bottom: none; }

/* ---------- 12. CTA (template) ------------------------------------------ */
.ab_cta { position: relative; overflow: hidden; background: #0b1017; padding: 74px 0; margin-top: 84px; }
.ab_cta_glow { position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(200, 169, 106, 0.24), transparent 70%); }
.ab_cta_inner { position: relative; z-index: 2; text-align: center; }
.ab_cta h2 { color: #fff; font-size: clamp(23px, 3vw, 33px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
.ab_cta p { color: #9fb0c4; font-size: 16.5px; max-width: 680px; margin: 0 auto 30px; }
.ab_cta_btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- 13. scroll reveal, no JS ------------------------------------
   An inactive or unsupported view() timeline simply leaves everything at its
   normal painted state, so a browser that does not know this never hides it. */
@keyframes ab_rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ab_head, .ab_lead, .ab_stat, .ab_pill, .ab_steps li,
    .ab_port, .ab_sector, .ab_client, .ab_case, .ab_brand, .ab_checks li, .ab_cc, .ab_panel {
      animation: ab_rise linear both;
      animation-timeline: view();
      animation-range: entry 4% cover 20%;
    }
  }
}

/* ---------- 14. responsive ---------------------------------------------- */
@media (max-width: 1024px) {
  .ab_grid3, .ab_grid4, .ab_steps { grid-template-columns: repeat(2, 1fr); }
  .ab_grid2, .ab_contact { grid-template-columns: 1fr; }
  .ab_clients, .ab_cases { grid-template-columns: repeat(2, 1fr); }
  .ab_split { grid-template-columns: 1fr; gap: 34px; }
  .ab_steps li::after { display: none; }
}
@media (max-width: 700px) {
  .ab_hero { padding: 62px 0 58px; }
  .ab_stats { grid-template-columns: repeat(2, 1fr); margin-top: -34px; }
  .ab_grid3, .ab_grid4, .ab_steps, .ab_clients, .ab_cases, .ab_checks { grid-template-columns: 1fr; }
  .ab_split { margin-top: 54px; }
  .ab_panel { padding: 30px 24px; }
  .ab_head { margin: 54px 0 26px; }
  .ab_band { padding: 46px 22px; border-radius: 18px; margin-top: 62px; }
  .ab_port { flex-direction: column; gap: 12px; padding: 26px 22px; }
  .ab_cta { padding: 56px 0; margin-top: 62px; }
}

/* Primary button on a dark panel: light button so it reads (was blue, now ink-on-ink after the palette change) */
.ab_hero .ab_btn_primary, .ab_cta .ab_btn_primary { background: #fff !important; color: var(--ink) !important; border-color: #fff !important; box-shadow: none !important; }
.ab_hero .ab_btn_primary *, .ab_cta .ab_btn_primary * { color: inherit !important; }
.ab_hero .ab_btn_primary:hover, .ab_cta .ab_btn_primary:hover { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--ink) !important; }
