/* ============================================================================
   RPACPC — About Us page
   Extends css/styles.css tokens.
   ============================================================================ */

/* ── Hero ───────────────────────────────────────────────────────────────── */
.abt-hero { padding: calc(80px * var(--pad)) 0 calc(60px * var(--pad)); position: relative; overflow: hidden; text-align: left; }
.abt-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: 
    linear-gradient(rgba(246, 247, 251, 0.82) 0%, var(--bg) 100%),
    url("../img/tech_workspace.webp") center/cover no-repeat;
}
.abt-hero h1 { font-family: var(--f-display); font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; color: var(--ink); text-wrap: balance; max-width: 900px; margin: 0; }
.abt-hero .hl { color: var(--primary); }
.abt-hero-sub { font-size: clamp(18px, 2vw, 22px); color: var(--body); line-height: 1.5; max-width: 760px; margin: 24px 0 0; text-wrap: balance; }

/* ── Story / Split View ─────────────────────────────────────────────────── */
.abt-story { padding: calc(80px * var(--pad)) 0; }
.abt-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.abt-story-content h2 { font-family: var(--f-display); font-size: clamp(28px, 3vw, 36px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin-bottom: 24px; }
.abt-story-content p { font-size: 17px; line-height: 1.65; color: var(--body); margin-bottom: 18px; }
.abt-story-content p:last-child { margin-bottom: 0; }
.abt-story-img { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.abt-story-img img { display: block; width: 100%; height: auto; }

/* ── Metrics ────────────────────────────────────────────────────────────── */
.abt-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); margin: calc(40px * var(--pad)) 0; }
.abt-metric { background: var(--surface); padding: 32px 24px; text-align: left; }
.abt-metric-v { font-family: var(--f-display); font-size: clamp(32px, 3.5vw, 44px); font-weight: 600; letter-spacing: -.03em; color: var(--primary); line-height: 1; font-variant-numeric: tabular-nums; }
.abt-metric-k { font-size: 14px; font-weight: 500; color: var(--ink); margin-top: 12px; }
.abt-metric-d { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* ── Photo Grid (Masonry-like) ──────────────────────────────────────────── */
.abt-photos { padding: calc(40px * var(--pad)) 0 calc(80px * var(--pad)); }
.abt-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.abt-photo-card { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; }
.abt-photo-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.abt-photo-card:hover img { transform: scale(1.03); }
.abt-photo-card.tall { grid-row: span 2; }

/* ── Core Values ────────────────────────────────────────────────────────── */
.abt-values { background: var(--surface-2); padding: calc(80px * var(--pad)) 0; border-top: 1px solid var(--line); }
.abt-values-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.abt-values-head h2 { font-family: var(--f-display); font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin-bottom: 16px; }
.abt-values-head p { font-size: 18px; color: var(--body); }
.abt-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.abt-val-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 36px 30px; box-shadow: var(--shadow-sm); }
.abt-val-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-tint); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.abt-val-ico svg { width: 24px; height: 24px; stroke-width: 1.8; }
.abt-val-card h3 { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.abt-val-card p { font-size: 15.5px; line-height: 1.6; color: var(--body); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .abt-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .abt-story-img { order: -1; }
  .abt-metrics { grid-template-columns: repeat(2, 1fr); }
  .abt-values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .abt-metrics { grid-template-columns: 1fr; }
  .abt-photo-grid { grid-template-columns: 1fr; }
  .abt-photo-card.tall { grid-row: auto; aspect-ratio: 4/3; }
}