/* =====================================================================
   BAIC Iraq About page (/about/). Loaded after home-v2.css and uses its tokens, header, footer, buttons and sidebar.
   Breakpoints match home-v2.css: 1199px header -> drawer · 999px tablet · 767px mobile.
   ===================================================================== */

/* ---------- banner (dark, so the desktop header can stay transparent over it like on the homepage hero) ---------- */
.ab-hero { position: relative; min-height: clamp(420px, 62vh, 640px); display: flex; align-items: flex-end; background: #1d2024; color: var(--white); overflow: hidden; }
.ab-hero-media { position: absolute; inset: 0; }
.ab-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.ab-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 65%), linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, .7)); pointer-events: none; }
.ab-hero-copy { position: relative; z-index: 1; padding: calc(var(--hd-h) + 48px) 0 clamp(36px, 5vw, 64px); }
.ab-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: rgba(255, 255, 255, .85); }
.ab-crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .6); }
.ab-crumbs a { color: var(--white); }
.ab-title { margin-top: 14px; font-size: clamp(44px, 6vw, 88px); line-height: .95; font-weight: 900; font-style: italic; letter-spacing: -.03em; text-transform: uppercase; text-shadow: 0 2px 14px rgba(0, 0, 0, .25); }
.ab-lede { max-width: 620px; margin-top: 18px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.ab-jump { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.ab-jump a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .9); color: var(--white); font-size: 14px; letter-spacing: .02em; text-decoration: none; transition: background-color .2s, color .2s; }
.ab-jump a:hover { background: var(--white); color: var(--ink); }
.ab-hero :focus-visible { outline-color: var(--white); }

/* ---------- shared section pieces ---------- */
.ab-head { max-width: 860px; }
.ab-kicker { margin-bottom: 12px; color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.ab-text { margin-top: 16px; color: var(--text); font-size: 17px; line-height: 1.7; max-width: 720px; }
.ab-text a, .ab-card p a { color: var(--ink); font-weight: 700; }
.ab-sub { color: var(--ink); font-size: clamp(22px, 2vw, 30px); line-height: 1.2; font-weight: 700; }
.ab-block, .ab-split, .ab-offroad { margin-top: clamp(48px, 6vw, 88px); }

/* ---------- history timeline ---------- */
.ab-timeline { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.ab-timeline li { position: relative; padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.ab-timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.ab-year { display: block; color: var(--ink); font-size: clamp(24px, 2.2vw, 32px); line-height: 1; font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.ab-timeline p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- manufacturing + R&D ---------- */
.ab-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: start; }
.ab-plants { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ab-plants li { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; background: var(--bg-alt); border-left: 4px solid var(--red); }
.ab-plants strong { color: var(--ink); font-size: 20px; }
.ab-plants span { color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.ab-plants small { margin-top: 6px; color: var(--text); font-size: 15px; line-height: 1.5; }
.ab-split--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; }
.ab-split--media img, .ab-offroad img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #2a2e33; }

/* ---------- off-road heritage (dark band) ---------- */
.ab-offroad { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); background: var(--dark); color: var(--white); }
.ab-offroad img { order: 2; aspect-ratio: 16 / 11; height: 100%; }
.ab-offroad-copy { padding: clamp(28px, 4vw, 56px); align-self: center; }
.ab-offroad .ab-sub { color: var(--white); }
.ab-offroad .ab-text { color: #c9c9c9; }
.ab-models { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.ab-models a { min-width: 88px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .8); color: var(--white); font-weight: 700; text-decoration: none; transition: background-color .2s, border-color .2s; }
.ab-models a:hover { border-color: var(--red); background: var(--red); }
.ab-offroad :focus-visible { outline-color: var(--white); }

/* ---------- BAIC in Iraq ---------- */
.ab-iraq { background: var(--bg-alt); }
.ab-cards { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ab-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; background: var(--white); border-top: 4px solid var(--red); }
.ab-card h3 { color: var(--ink); font-size: 20px; line-height: 1.25; }
.ab-card p { color: var(--text); font-size: 15px; line-height: 1.65; }
.ab-card .btn-link { margin-top: auto; }
.ab-cta { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-top: 32px; border-top: 1px solid #d8d8d8; }
.ab-cta-title { color: var(--ink); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.ab-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .ab-hero-copy { padding-top: 64px; }      /* the header sits above the banner here (main has padding-top) */
}
@media (max-width: 999px) {
  .ab-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-split, .ab-split--media { grid-template-columns: minmax(0, 1fr); }
  .ab-split--media img { max-width: 520px; }
  .ab-offroad { grid-template-columns: minmax(0, 1fr); }
  .ab-offroad img { order: 0; aspect-ratio: 16 / 9; }
  .ab-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .ab-hero { min-height: 0; }
  .ab-hero::after { background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .6) 45%, rgba(0, 0, 0, .78)); }
  .ab-hero-copy { padding: 120px 0 32px; }
  .ab-jump a { flex: 1 1 auto; justify-content: center; }
  .ab-text { font-size: 16px; }
  .ab-timeline { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1px solid var(--line); margin-left: 4px; }
  .ab-timeline li { padding: 0 0 24px 22px; border-bottom: 0; }
  .ab-timeline li::before { top: 6px; left: -5px; }
  .ab-plants { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ab-plants li { padding: 18px 20px; }
  .ab-card { padding: 22px 20px; }
  .ab-cta-actions { width: 100%; }
  .ab-cta-actions .btn { flex: 1 1 auto; }
}
