/* ============================================================
   about_page.css - About (about.php) in the pg design language.
   Loaded after css/pg-core.css (tokens and the shared
   components). Every rule is scoped under .pg-about*; anchors
   are qualified (.pg-about a...) because the site's global
   "a, a:hover" rule would otherwise win on hover.
   ============================================================ */

#site_content.pg-page.pg-about { max-width: 1280px; }

.pg-about a.pg-btn { text-decoration: none; }
.pg-about a.pg-btn-solid,
.pg-about a.pg-btn-solid:hover { color: #fff; }
.pg-about a.pg-btn-line,
.pg-about a.pg-btn-line:hover { color: var(--pg-ink); }

/* ---- Shared text pieces ---- */
.pg-about-label {
    display: block;
    color: var(--pg-muted);
    font: 600 11px/1 var(--pg-font);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.pg-about .pg-about-text {
    max-width: 640px;
    margin: 0;
    padding: 0;
    color: var(--pg-ink);
    font: 400 15px/1.65 var(--pg-font);
    text-shadow: none;
}

/* ---- Hero: the heading and first paragraph beside the photo card ---- */
.pg-about-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 28px;
    margin-bottom: 24px;
    animation: pg-rise .6s var(--pg-ease) backwards;
}
.pg-about-intro {
    flex: 999 1 480px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 16px 0;
}
.pg-about .pg-about-h1 {
    max-width: 620px;
    margin: 0 0 6px;
    padding: 0;
    color: var(--pg-ink);
    font: 600 36px/1.12 var(--pg-font);
    letter-spacing: -.025em;
    text-shadow: none;
}
.pg-about-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--pg-muted);
    font: 600 12px/1 var(--pg-font);
    letter-spacing: .16em;
    text-transform: uppercase;
}
.pg-about-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
/* About's hero (Prabu, 2026-11-27, on the homepage first): the text and the photo card both start at the top,
   and the card's logo is level with the heading (one eyebrow, 26px, below the top of its column). */
.pg-about-hero.is-top { align-items: flex-start; }
.pg-about-hero.is-top .pg-about-intro { justify-content: flex-start; padding: 0; }
/* The photo card: only as large as what it shows, the logo beside the photo */
.pg-about-photo {
    flex: 0 1 440px;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 22px;
}
.pg-about-photo-logo { display: block; width: 150px; max-width: 100%; height: auto; margin-top: 2px; }
.pg-about-photo-img { display: block; width: auto; max-width: 100%; height: auto; max-height: 280px; }

/* ---- Fact cards: five in a row, then three over two, then two by two ---- */
.pg-about-facts {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
    animation: pg-rise .6s var(--pg-ease) .05s backwards;
}
.pg-about-fact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 18px;
}
.pg-about-fact-value {
    color: var(--pg-ink);
    font: 600 22px/1.1 var(--pg-font);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.01em;
}
.pg-about-fact-note { color: var(--pg-muted); font: 400 13px/1.4 var(--pg-font); }

/* ---- Legacy, Sourcing, Services ---- */
.pg-about-sections {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
    animation: pg-rise .6s var(--pg-ease) .1s backwards;
}
.pg-about-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 18px;
}
.pg-about .pg-about-h2 {
    margin: 0;
    padding: 0;
    color: var(--pg-ink);
    font: 600 19px/1.25 var(--pg-font);
    letter-spacing: -.01em;
    text-shadow: none;
}

/* ---- Company block: the group logo beside label and value rows. The rows'
   dividers towards the logo are shadows clipped by the body, so the left one
   shows side by side and the top one shows once the block stacks. ---- */
.pg-about-company {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 18px;
    animation: pg-rise .6s var(--pg-ease) .15s backwards;
}
.pg-about .pg-about-company-title {
    margin: 0;
    padding: 16px 22px;
    border-bottom: 1px solid var(--pg-line);
    color: var(--pg-ink);
    font: 600 15px/1.3 var(--pg-font);
    text-shadow: none;
}
.pg-about-company-body { display: flex; flex-wrap: wrap; overflow: hidden; }
.pg-about-company-logo {
    flex: 1 1 280px;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 28px;
}
.pg-about-company-logo img { display: block; width: 100%; max-width: 260px; height: auto; }
.pg-about-rows {
    flex: 999 1 380px;
    min-width: 0;
    box-shadow: -1px 0 0 #EEF2F7, 0 -1px 0 #EEF2F7;
}
.pg-about-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 22px;
    border-bottom: 1px solid #EEF2F7;
    font: 400 14px/1.4 var(--pg-font);
}
.pg-about-row:last-child { border-bottom: 0; }
.pg-about-row dt { color: var(--pg-muted); }
.pg-about-row dd { color: var(--pg-ink); font-weight: 600; }

/* ---- Smaller screens: no card is left alone in a narrow column ---- */
@media (max-width: 1180px) {
    .pg-about-facts { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .pg-about-fact { grid-column: span 2; }
    .pg-about-fact:nth-child(n+4) { grid-column: span 3; }
    .pg-about-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pg-about-section:last-child { grid-column: 1 / -1; }
    .pg-about-section:last-child .pg-about-text { max-width: none; }
}
@media (max-width: 900px) {
    .pg-about .pg-about-h1 { font-size: 28px; }
    .pg-about-hero { gap: 20px; }
}
@media (max-width: 700px) {
    .pg-about-sections { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .pg-about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .pg-about-fact,
    .pg-about-fact:nth-child(n+4) { grid-column: auto; padding: 14px 16px; }
    .pg-about-fact:last-child { grid-column: 1 / -1; }
    .pg-about-fact-value { font-size: 19px; }
    .pg-about-photo { flex-basis: 100%; padding: 20px; gap: 16px; }
    .pg-about-photo-logo { width: 110px; margin-top: 0; }
    .pg-about-photo-img { max-height: 190px; }
    .pg-about-section { padding: 20px 18px; }
    .pg-about-row { grid-template-columns: 112px minmax(0, 1fr); padding: 12px 18px; }
    .pg-about .pg-about-company-title { padding: 14px 18px; }
}
