/* About page. Loaded after site.css, premium.css and products.css, which supply the shared
   headings, stats and quote band. Layout follows the company's own About page: alternating
   photo-and-text rows separated by a thin gradient rule. */

/* ---------- Shared bits ---------- */
.ab-kicker { margin: 0 0 12px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-text); }
.ab-kicker-light { color: #FF7A45; }
.sr-head { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Hero ---------- */
.ab-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(540px, 78vh, 800px); padding-block: 0 clamp(44px, 6vw, 84px); overflow: hidden; background: #0c1024; color: #fff; }
.ab-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.ab-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 12, 30, .9) 0%, rgba(8, 12, 30, .62) 48%, rgba(8, 12, 30, .18) 85%), linear-gradient(180deg, rgba(8, 12, 30, .55) 0%, rgba(8, 12, 30, 0) 40%, rgba(8, 12, 30, .6) 100%); }
.ab-hero-copy { max-width: 1200px; }
.ab-crumbs { justify-content: flex-start; }
.ab-crumbs, .ab-crumbs a { color: rgba(255, 255, 255, .78); }
.ab-crumbs a:hover { color: #fff; }
.ab-hero .ab-eyebrow { margin: clamp(16px, 2.6vw, 26px) 0 14px; font-size: .84rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FF7A45; }
.ab-hero h1 { max-width: 18ch; font-size: clamp(2.5rem, 5.4vw, 4.8rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; color: #fff; text-wrap: balance; }
.ab-hero h1 em { font-style: normal; color: #FF7A45; }
.ab-hero-lead { max-width: 58ch; margin: clamp(16px, 2.2vw, 24px) 0 0; font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, .92); }

/* ---------- Alternating rows ---------- */
.ab-row { padding-block: clamp(40px, 5.5vw, 76px); background: #fff; }
/* the band of logos sits straight under the hero */
.ab-hero + .ab-logos { padding-top: clamp(28px, 3.4vw, 46px); }
.ab-row-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 76px); align-items: stretch; }
/* the photograph fills the row, so its top and bottom line up with the text beside it */
.ab-row-photo { grid-column: 1; display: flex; min-height: clamp(300px, 30vw, 430px); margin: 0; border-radius: 26px; overflow: hidden; background: var(--bg-soft); }
.ab-row-copy { grid-column: 2; }
.ab-row.is-flip .ab-row-photo { grid-column: 2; }
.ab-row.is-flip .ab-row-copy { grid-column: 1; grid-row: 1; }
.ab-row-photo img { display: block; width: 100%; height: 0; min-height: 100%; object-fit: cover; }
.ab-row-title { max-width: 20ch; font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 700; line-height: 1.05; letter-spacing: -.045em; color: var(--ink); text-wrap: balance; }
.ab-row-title em { font-style: normal; color: var(--orange); }
.ab-row-copy p { max-width: 56ch; margin: 16px 0 0; font-size: clamp(1rem, 1.25vw, 1.08rem); line-height: 1.65; color: var(--grey); }
.ab-row-copy p.ab-kicker { max-width: none; margin: 0 0 12px; }
.ab-marks-list { margin: 18px 0 0; padding: 0; list-style: none; }
.ab-marks-list li { position: relative; padding-left: 22px; margin-top: 10px; font-size: clamp(1rem, 1.25vw, 1.08rem); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.ab-marks-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-text); }

/* the thin gradient rule between rows */
.ab-rule { width: min(1200px, calc(100% - 40px)); height: 1px; margin: 0 auto; background: linear-gradient(90deg, var(--navy) 0%, #6aa8e0 48%, #F4A27A 100%); opacity: .55; }

/* ---------- Greson Group logos, once, in the middle ---------- */
.ab-logos { padding-block: clamp(28px, 3.6vw, 48px); background: #fff; }
.ab-logos .wrap { display: flex; justify-content: center; }
/* the same quiet size as the homepage row: each logo around 70px tall */
.ab-logos img { width: clamp(230px, 26vw, 360px); height: auto; background: transparent; }

/* ---------- What we stand for ---------- */

/* ---------- Photo strip ---------- */
.ab-strip ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
.ab-strip img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- Impact ---------- */
.ab-impact { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(340px, 46vw, 560px); padding-block: clamp(56px, 8vw, 110px); overflow: hidden; background: #0c1024; color: #fff; }
.ab-impact-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.ab-impact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 12, 30, .88) 0%, rgba(8, 12, 30, .62) 60%, rgba(8, 12, 30, .35) 100%); }
.ab-impact h2 { max-width: 18ch; font-size: clamp(2rem, 4.4vw, 3.8rem); font-weight: 700; line-height: 1.05; letter-spacing: -.045em; color: #fff; text-wrap: balance; }
.ab-impact h2 em { font-style: normal; color: #FF7A45; }

/* ---------- Why choose us ---------- */
.ab-numbers .trust-stats { margin-top: clamp(28px, 3.4vw, 44px); }
.ab-why strong { font-size: clamp(1.5rem, 2.6vw, 2.4rem); }

@media (max-width: 1000px) {
  .ab-strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ab-strip li:nth-child(n+4) { display: none; }
}

@media (max-width: 720px) {
  .ab-hero { min-height: 500px; }
  .ab-hero::before { background: linear-gradient(180deg, rgba(8, 12, 30, .55) 0%, rgba(8, 12, 30, .72) 45%, rgba(8, 12, 30, .92) 100%); }
  .ab-row-grid { grid-template-columns: 1fr; }
  .ab-row-photo, .ab-row.is-flip .ab-row-photo { grid-column: 1; grid-row: 1; }
  .ab-row-copy, .ab-row.is-flip .ab-row-copy { grid-column: 1; grid-row: 2; }
  .ab-row-photo { min-height: 0; }
  .ab-row-photo img { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .ab-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-strip li:nth-child(n+3) { display: none; }
}
