/* About page. Builds on usa.css (hero, heads, eyebrows, buttons). */

/* ---------- Hero ---------- */
.ab2-hero .us-hero__bg { object-position: 50% 45%; }
.ab2-hero::after { background: linear-gradient(90deg, rgba(10, 24, 42, 0.93) 0%, rgba(10, 24, 42, 0.72) 48%, rgba(10, 24, 42, 0.25) 100%), linear-gradient(0deg, rgba(10, 24, 42, 0.55), transparent 40%); }
.ab2-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; width: 100%; }
.ab2-hero__copy { max-width: 900px; }
.ab2-hero .eyebrow { border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(12, 27, 42, 0.35); color: var(--white); }
.ab2-hero h1 { margin-top: 24px; font-weight: 800; font-size: clamp(40px, calc(4.4 * var(--vw)), 100px); letter-spacing: -0.04em; line-height: 1.02; }
.ab2-hero .us-mark { display: inline-block; margin-top: 0.08em; padding: 0 0.14em 0.06em; border-radius: 0.17em; }
.ab2-badge { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--r-tile); background: rgba(12, 27, 42, 0.5); color: var(--white); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: badge-in 1s 0.6s var(--ease) both; }
@keyframes badge-in { from { opacity: 0; transform: translateY(16px); } }
.ab2-badge__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 6px rgba(242, 169, 59, 0.25); animation: live 2.4s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 11px rgba(242, 169, 59, 0); } }
.ab2-badge small { display: block; color: var(--saffron); font-weight: 700; font-size: 13px; }
.ab2-badge b { font-weight: 800; font-size: 17px; }

/* ---------- Numbers ---------- */
.us .ab2-stats { position: relative; z-index: 2; margin-top: calc(-1 * clamp(40px, calc(3.5 * var(--vw)), 70px)); padding: 0; }
.ab2-stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; overflow: hidden; list-style: none; border-radius: var(--r-card); background: var(--white); box-shadow: 0 40px 70px -46px rgba(12, 27, 42, 0.55); }
.ab2-stats__list li { padding: clamp(22px, calc(2.4 * var(--vw)), 44px); }
.ab2-stats__list li + li { border-left: 1px solid var(--paper); }
.ab2-stats__list b { display: block; font-weight: 800; font-size: clamp(40px, calc(4 * var(--vw)), 84px); letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.ab2-stats__list li:first-child b { color: #D98A14; }
.ab2-stats__list span { display: block; margin-top: 10px; color: var(--slate); font-weight: 600; font-size: clamp(14px, calc(1 * var(--vw)), 18px); }

/* ---------- Story: zig-zag timeline ---------- */
.tl2 { position: relative; display: grid; gap: clamp(36px, calc(5 * var(--vw)), 100px); margin: clamp(36px, calc(4 * var(--vw)), 80px) 0 0; padding: 0; list-style: none; }
.tl2::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--paper); }
.tl2__item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, calc(6 * var(--vw)), 130px); align-items: center; }
.tl2__item::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 4px solid var(--white); border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 6px rgba(242, 169, 59, 0.22); }
.tl2__item:nth-child(even) .tl2__fig { order: 2; }
.tl2__fig { margin: 0; overflow: hidden; border-radius: var(--r-panel); aspect-ratio: 4 / 3; }
.tl2__item:nth-child(odd) .tl2__fig { border-bottom-left-radius: 120px; }
.tl2__item:nth-child(even) .tl2__fig { border-bottom-right-radius: 120px; }
.tl2__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tl2__item:hover .tl2__fig img { transform: scale(1.05); }
.tl2__n { display: block; color: var(--saffron); font-weight: 800; font-size: clamp(56px, calc(5.4 * var(--vw)), 110px); letter-spacing: -0.05em; line-height: 0.9; }
.tl2__text h3 { margin-top: 12px; font-weight: 800; font-size: clamp(26px, calc(2.2 * var(--vw)), 44px); letter-spacing: -0.03em; }
.tl2__text p { margin-top: 14px; color: var(--slate); font-size: clamp(16px, calc(1.15 * var(--vw)), 22px); line-height: 1.6; }

/* ---------- Principles ---------- */
.us .ab2-prin { position: relative; isolation: isolate; margin-inline: clamp(8px, calc(1.2 * var(--vw)), 24px); overflow: hidden; border-radius: var(--r-panel); background-color: var(--ink); background-size: cover; background-position: center; color: var(--white); }
.ab2-prin::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 27, 42, 0.94), rgba(12, 27, 42, 0.86)); }
.ab2-prin .us-head > p { color: var(--ink-muted); }
.prin2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, calc(1.4 * var(--vw)), 28px); margin: clamp(30px, calc(3.4 * var(--vw)), 64px) 0 0; padding: 0; list-style: none; }
.prin2 li { position: relative; padding: clamp(24px, calc(2.4 * var(--vw)), 44px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r-card); background: rgba(255, 255, 255, 0.04); transition: transform 0.35s var(--ease), background-color 0.35s, border-color 0.35s; }
.prin2 li:hover { transform: translateY(-6px); border-color: rgba(242, 169, 59, 0.5); background: rgba(255, 255, 255, 0.08); }
.prin2__n { position: absolute; right: 24px; top: 20px; color: rgba(255, 255, 255, 0.14); font-weight: 800; font-size: 44px; letter-spacing: -0.04em; }
.prin2 svg { width: 54px; height: 54px; padding: 13px; border-radius: 16px; background: var(--saffron); fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prin2 h3 { margin-top: 22px; font-weight: 800; font-size: clamp(20px, calc(1.45 * var(--vw)), 28px); letter-spacing: -0.02em; }
.prin2 p { margin-top: 10px; color: var(--ink-muted); font-size: clamp(15px, calc(1.02 * var(--vw)), 19px); line-height: 1.55; }

/* ---------- Offices ---------- */
.ab2-offices .us-head a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--saffron); text-underline-offset: 4px; }
.off2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, calc(1.4 * var(--vw)), 28px); margin-top: clamp(30px, calc(3.4 * var(--vw)), 64px); }
.off2__card { position: relative; display: flex; align-items: flex-end; min-height: clamp(380px, calc(32 * var(--vw)), 600px); overflow: hidden; border-radius: var(--r-panel); color: var(--white); isolation: isolate; }
.off2__card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.off2__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 27, 42, 0.05) 30%, rgba(12, 27, 42, 0.9) 100%); }
.off2__card:hover img { transform: scale(1.05); }
.off2__body { padding: clamp(24px, calc(3 * var(--vw)), 52px); }
.off2__tag { display: inline-block; padding: 6px 14px; border-radius: var(--r-pill); background: var(--saffron); color: var(--ink); font-weight: 800; font-size: 13px; }
.off2 h3 { margin-top: 14px; font-weight: 800; font-size: clamp(26px, calc(2.4 * var(--vw)), 46px); letter-spacing: -0.035em; }
.off2 p { max-width: 30em; margin-top: 8px; color: rgba(255, 255, 255, 0.85); font-size: clamp(15px, calc(1.1 * var(--vw)), 20px); line-height: 1.5; }
.off2__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 20px; padding: 0 20px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.14); color: var(--white); font-weight: 700; text-decoration: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color 0.25s; }
.off2__phone:hover { background: var(--saffron); color: var(--ink); }
.off2__phone svg { width: 18px; height: 18px; }

/* ---------- What we do ---------- */
.us .ab2-what { background: var(--sand); }
.ab2-what__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, calc(5 * var(--vw)), 110px); align-items: start; }
.ab2-what h2 { position: sticky; top: 120px; }
.what2 { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.what2 a { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center; padding: clamp(18px, calc(1.8 * var(--vw)), 32px) clamp(20px, calc(2 * var(--vw)), 36px); border-radius: var(--r-tile); background: var(--white); color: var(--ink); text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.what2 a:hover { transform: translateX(6px); box-shadow: 0 24px 40px -30px rgba(12, 27, 42, 0.5); }
.what2 b { font-weight: 800; font-size: clamp(19px, calc(1.4 * var(--vw)), 26px); letter-spacing: -0.02em; }
.what2 span { grid-column: 1; color: var(--slate); font-size: 15px; }
.what2 svg { grid-row: 1 / span 2; grid-column: 2; width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--saffron); transition: transform 0.3s var(--ease); }
.what2 a:hover svg { transform: rotate(-30deg); }

/* ---------- CTA ---------- */
.ab2-cta__card { position: relative; overflow: hidden; border-radius: var(--r-panel); isolation: isolate; color: var(--white); }
.ab2-cta__card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ab2-cta__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 27, 42, 0.94) 0%, rgba(12, 27, 42, 0.75) 50%, rgba(12, 27, 42, 0.35) 100%); }
.ab2-cta__body { max-width: 720px; padding: clamp(36px, calc(5.5 * var(--vw)), 110px) clamp(26px, calc(4.5 * var(--vw)), 90px); }
.ab2-cta__body p { margin-top: 16px; color: rgba(255, 255, 255, 0.85); font-size: clamp(17px, calc(1.2 * var(--vw)), 23px); line-height: 1.55; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .ab2-hero__grid, .ab2-what__grid, .off2 { grid-template-columns: minmax(0, 1fr); }
  .ab2-badge { justify-self: start; }
  .ab2-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab2-stats__list li:nth-child(3) { border-left: 0; }
  .ab2-stats__list li:nth-child(n+3) { border-top: 1px solid var(--paper); }
  .prin2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl2::before { left: 9px; }
  .tl2__item { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-left: 36px; }
  .tl2__item::after { left: 9px; top: 24px; }
  .tl2__item:nth-child(even) .tl2__fig { order: 0; }
  .ab2-what h2 { position: static; }
}
@media (max-width: 680px) {
  .prin2 { grid-template-columns: minmax(0, 1fr); }
  .us .ab2-prin { margin-inline: 0; border-radius: 28px; }
  .off2__card { min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) { .ab2-badge, .ab2-badge__dot { animation: none; } }

/* ---- Life at DAVZON: real team photos in a mosaic ---- */
.ab2-life { padding-block: clamp(70px, calc(7 * var(--vw)), 140px); }
.life2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, calc(13 * var(--vw)), 280px); gap: clamp(10px, calc(1.1 * var(--vw)), 22px); margin: clamp(30px, calc(3.4 * var(--vw)), 64px) 0 0; padding: 0; list-style: none;
  grid-template-areas: "a a b c" "a a d e" "f g g h"; }
.life2__a { grid-area: a; } .life2__b { grid-area: b; } .life2__c { grid-area: c; } .life2__d { grid-area: d; }
.life2__e { grid-area: e; } .life2__f { grid-area: f; } .life2__g { grid-area: g; } .life2__h { grid-area: h; }
.life2 li { position: relative; overflow: hidden; border-radius: clamp(18px, calc(1.6 * var(--vw)), 30px); background: var(--sand); isolation: isolate; }
.life2 img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.life2 li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12, 27, 42, 0.6)); pointer-events: none; }
.life2 span { position: absolute; z-index: 1; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 13px; font-weight: 700; }
.life2 li:hover img { transform: scale(1.05); }
@media (max-width: 1020px) {
  .life2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; grid-template-areas: "a a" "a a" "b c" "d d" "e f" "g g" "h h"; }
}
@media (max-width: 680px) {
  .life2 { grid-auto-rows: 160px; }
  .life2 span { left: 10px; bottom: 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .life2 img { transition: none; } }
