/* ==========================================================================
   ALM — About page (loads after styles.css)
   ========================================================================== */

/* ---------- Legacy ---------- */
.ab-legacy { background: #fff; padding: 16vh var(--gutter) 14vh; text-align: center; }
.ab-legacy-title { font-size: clamp(1.4rem, 3vw, 2.8rem); letter-spacing: .12em; text-transform: uppercase; }
.ab-legacy-copy { max-width: 760px; margin: 2rem auto 0; font-size: 17px; line-height: 1.8; color: var(--graphite); }
.ab-stats { max-width: 1100px; margin: 10vh auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.ab-stat { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.ab-icon { width: 76px; height: 76px; color: var(--goldlight); margin-bottom: 1rem; }
.ab-stat b { font-weight: 400; font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1; letter-spacing: .02em; }
.ab-stat > span { font-size: 16px; color: var(--graphite); }

/* ---------- Story ---------- */
.ab-story { background: var(--ivory); padding: 16vh var(--gutter); }
.ab-story-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; align-items: center; }
.ab-story-visual { position: relative; margin: 0; }
.ab-story-img { aspect-ratio: 5/6; overflow: hidden; border-radius: 8px; background: #fff; }
.ab-story-img img { width: 100%; height: 100%; object-fit: cover; }
.ab-est {
  position: absolute; right: -26px; top: 36px; width: 124px; height: 124px; border-radius: 50%;
  background: var(--gold); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  box-shadow: 0 20px 44px rgba(138,133,52,.35);
}
.ab-est span { font-size: 1.6rem; line-height: 1; }
.ab-est small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.ab-story-body > p:not(.eyebrow) { font-size: 17px; line-height: 1.85; color: var(--graphite); margin-top: 1.6rem; max-width: 580px; }
.ab-story-body .section-title { margin-bottom: .4rem; }
.ab-badges { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.ab-badges li { padding: 1.4rem 1rem 0 0; display: flex; flex-direction: column; gap: .3rem; }
.ab-badges b { font-family: Syncopate, sans-serif; font-weight: 400; font-size: 13px; letter-spacing: .12em; color: var(--gold); }
.ab-badges span { font-size: 14px; color: var(--graphite); }

/* ---------- Founder ---------- */
.ab-founder { background: #fff; padding: 12vh var(--gutter); }
.ab-founder-panel {
  max-width: 1300px; margin: 0 auto; background: #f0efed; border-radius: 10px; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch;
}
.ab-founder-body { padding: clamp(2.5rem, 6vw, 6rem); }
.ab-kicker { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.ab-founder-title {
  font-family: Syncopate, sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.25; letter-spacing: .04em; margin: 1rem 0 2.4rem; max-width: 18em;
}
.ab-founder-body > p:not(.ab-kicker):not(.ab-sign) { font-size: 17px; line-height: 1.8; color: var(--graphite); margin-bottom: 1.4rem; max-width: 560px; }
.ab-sign { margin-top: 2.4rem; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.6rem; color: var(--gold); }
.ab-founder-portrait { margin: 0; position: relative; min-height: 480px; }
.ab-founder-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; mix-blend-mode: multiply; }

/* ---------- Group chairman feature card ---------- */
.ab-leader { background: #fff; padding: 4vh var(--gutter) 14vh; }
.ab-leader-frame {
  position: relative; max-width: 1300px; margin: 0 auto; height: min(78vh, 720px); min-height: 520px;
  border-radius: 16px; overflow: hidden; background: #1d1b19;
}
.ab-leader-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 20% 40%, rgba(185,178,106,.18), transparent 60%), linear-gradient(90deg, transparent 40%, rgba(0,0,0,.35));
}
.ab-leader-photo { position: absolute; left: 0; top: 0; bottom: 0; width: 55%; overflow: hidden; }
.ab-leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.ab-leader-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, #1d1b19 100%); }
.ab-leader-card {
  position: absolute; z-index: 2; right: clamp(1.5rem, 5vw, 5rem); top: 50%; transform: translateY(-50%);
  width: min(460px, 44%); padding: clamp(2rem, 3.5vw, 3rem); text-align: center; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 10px;
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.ab-leader-name { font-size: clamp(1.6rem, 2.8vw, 2.6rem); line-height: 1.15; letter-spacing: .1em; text-transform: uppercase; }
.ab-leader-role { margin-top: 1rem; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--goldlight); }
.ab-leader-text { margin: 1.6rem 0 2rem; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.85); }

/* ---------- Board ---------- */
.ab-board { background: var(--ivory); padding: 14vh var(--gutter); }
.ab-board-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.ab-person { position: relative; margin: 0; border-radius: 8px; overflow: hidden; }
.ab-person-img { aspect-ratio: 3/4; overflow: hidden; background: var(--sand); }
.ab-person-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ab-person:hover .ab-person-img img { transform: scale(1.04); }
.ab-person figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1.6rem 1.4rem; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.78)); display: flex; flex-direction: column; gap: .3rem;
}
.ab-person b { font-family: "Cormorant Garamond", serif; font-weight: 400; font-size: 1.9rem; line-height: 1.1; }
.ab-person span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--goldlight); }

/* ---------- Who we are (dark) ---------- */
.ab-who { background: var(--ink); color: #fff; padding: 16vh var(--gutter) 14vh; }
.ab-who-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 7vw; align-items: start; }
.ab-who-intro { position: sticky; top: calc(var(--nav-h) + 6vh); }
.ab-who-intro .section-title em { color: var(--goldlight); }
.ab-who-intro > p:not(.eyebrow) { margin-top: 1.8rem; font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.7); max-width: 460px; }
.ab-who-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.ab-who-list li { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.8rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.ab-who-list span { font-size: 12px; letter-spacing: .2em; color: var(--goldlight); padding-top: .3rem; }
.ab-who-list p { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; color: rgba(255,255,255,.88); font-weight: 300; }
.ab-infra { max-width: 1300px; margin: 14vh auto 0; padding-top: 6vh; border-top: 1px solid rgba(255,255,255,.14); }
.ab-infra-text { font-family: "Cormorant Garamond", serif; font-weight: 300; font-size: clamp(1.8rem, 3.4vw, 3.2rem); line-height: 1.2; max-width: 24em; }

/* ---------- Mission / vision / values / philosophy ---------- */
.ab-pillars { background: var(--ivory); padding: 16vh var(--gutter); }
.ab-pillar-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.ab-pillar {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 2.4rem 2rem 2.6rem;
  display: flex; flex-direction: column; gap: 1rem; min-height: 360px; transition: border-color .4s;
}
.ab-pillar:hover { border-color: var(--gold); }
.ab-pillar-num { font-size: 12px; letter-spacing: .25em; color: var(--gold); }
.ab-pillar h3 { font-family: "Cormorant Garamond", serif; font-weight: 300; font-size: 2.6rem; line-height: 1; margin-bottom: .6rem; }
.ab-pillar p, .ab-pillar li { font-size: 15.5px; line-height: 1.7; color: var(--graphite); }
.ab-pillar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.ab-pillar li { position: relative; padding-left: 1.1rem; }
.ab-pillar li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- Awards ---------- */
.ab-awards { background: #fff; padding: 16vh var(--gutter); }
.ab-award-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.ab-award { margin: 0; }
.ab-award-img { aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--ivory); border: 1px solid var(--line); }
.ab-award-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform 1s var(--ease); }
.ab-award:hover .ab-award-img img { transform: scale(1.04); }
.ab-award figcaption { display: flex; flex-direction: column; gap: .35rem; margin-top: 1.2rem; }
.ab-award figcaption span { font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.ab-award b { font-family: "Cormorant Garamond", serif; font-weight: 400; font-size: 1.55rem; line-height: 1.15; }
.ab-award small { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Anwar Group ---------- */
.ab-group { background: var(--sand); padding: 16vh var(--gutter); }
.ab-tabs { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin: 0 auto 5vh; }
.ab-tab {
  padding: .8rem 1.5rem; border: 1px solid var(--stone); border-radius: 99px; font-size: 14px; letter-spacing: .04em;
  transition: background-color .35s, color .35s, border-color .35s;
}
.ab-tab sup { font-size: 10px; margin-left: .35rem; color: var(--gold); }
.ab-tab:hover { border-color: var(--ink); }
.ab-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.ab-tab.is-active sup { color: var(--goldlight); }
.ab-logos { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; min-height: 180px; }
.ab-logo { background: #fff; border-radius: 8px; aspect-ratio: 3/2; display: grid; place-items: center; padding: 1.2rem 1.4rem; }
.ab-logo img { max-width: 100%; max-height: 70px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .45s, opacity .45s; }
.ab-logo:hover img { filter: none; opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ab-pillar-grid, .ab-award-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-logos { grid-template-columns: repeat(4, 1fr); }
  .ab-leader-card { width: min(420px, 50%); }
}
@media (max-width: 900px) {
  .ab-stats { grid-template-columns: 1fr; gap: 3.5rem; margin-top: 7vh; }
  .ab-story-grid, .ab-who-grid { grid-template-columns: 1fr; gap: 3rem; }
  .ab-story-visual { max-width: 520px; }
  .ab-est { right: 12px; top: 12px; width: 100px; height: 100px; }
  .ab-founder-panel { grid-template-columns: 1fr; }
  .ab-founder-portrait { min-height: 0; aspect-ratio: 1; order: -1; }
  .ab-leader-frame { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .ab-leader-photo { position: relative; width: 100%; aspect-ratio: 4/5; }
  .ab-leader-photo::after { background: linear-gradient(180deg, transparent 60%, #1d1b19 100%); }
  .ab-leader-card { position: relative; transform: none; right: auto; top: auto; width: auto; margin: -80px 1rem 1rem; }
  .ab-board-grid { grid-template-columns: 1fr; max-width: 460px; }
  .ab-who-intro { position: static; }
  .ab-badges { grid-template-columns: 1fr; }
  .ab-badges li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .ab-pillar-grid, .ab-award-grid { grid-template-columns: 1fr; }
  .ab-logos { grid-template-columns: repeat(2, 1fr); }
  .ab-who-list li { grid-template-columns: 44px 1fr; }
}
