/* About page — extends style.css + library.css.
 * Story block (2-col with timeline), stat grid, product grid, locations grid.
 */

/* Accent heading — used for the "From Hasselblad heritage..." section header
 * to visually anchor the origin story. */
.about-h2-accent {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.about-story {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.about-story-grid p {
    color: var(--pix-text-soft);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 1.02rem;
}

.about-story-grid strong {
    color: var(--pix-text);
    font-weight: 600;
}

/* ─── Danny portrait — subtle recognition-cue for returning visitors ──
 * The cyan-striped portrait has been Pixometry's marketing face since the
 * Claro days. On the new site we keep him small and quiet (not hero-sized)
 * so people who know him think "same Pixometry" without newcomers being
 * confronted with a bold mascot they don't understand. Sits above the
 * timeline in the story-visual column.
 */
.about-danny {
    margin: 0 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    max-width: 100%;
}

/* Circular crop, small enough that it reads as an aside rather than a
 * hero image. Cyan stripes still register as "the Pixometry brand image"
 * for people who know it. Explicit width/height on the img plus
 * flex-shrink:0 keeps the circle exactly 72px regardless of what its
 * flex parent tries to do. */
.about-danny img {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    flex-shrink: 0;
    flex-grow: 0;
}

.about-danny figcaption {
    font-size: 0.82rem;
    color: var(--pix-muted);
    font-style: italic;
    line-height: 1.4;
    margin: 0;
}

/* ─── Timeline (right side of story block) ──────────────────────────── */

.about-timeline {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem 1.25rem;
    align-items: baseline;
    background: var(--pix-panel);
    border-left: 4px solid var(--pix-cta);
    border-radius: 0 8px 8px 0;
    padding: 1.5rem 1.75rem;
}

.about-timeline-year {
    color: var(--pix-cta);
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
    padding-top: 0.15rem;
}

.about-timeline-year.about-timeline-now {
    color: var(--pix-text);
}

.about-timeline-event {
    color: var(--pix-text);
    font-size: 0.95rem;
    line-height: 1.45;
}

/* ─── Stats grid ─────────────────────────────────────────────────────── */

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.about-stat {
    background: white;
    border: 1px solid var(--pix-border-soft);
    border-radius: 12px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.about-stat-value {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--pix-cta);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.about-stat-label {
    color: var(--pix-text-soft);
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 20ch;
    margin: 0 auto;
}

/* ─── Products grid ──────────────────────────────────────────────────── */

.about-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.about-product {
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: white;
    border: 1px solid var(--pix-border-soft);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.15s, box-shadow 0.15s;
}

.about-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.about-product-icon {
    font-size: 2rem;
    color: var(--pix-cta);
    margin-bottom: 0.75rem;
}

.about-product h3 {
    font-size: 1.15rem;
    margin: 0 0 0.6rem;
}

.about-product p {
    color: var(--pix-text-soft);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* ─── Locations grid ─────────────────────────────────────────────────── */

.about-locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-location {
    background: white;
    border: 1px solid var(--pix-border-soft);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.about-location-flag {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.about-location h3 {
    font-size: 1.15rem;
    margin: 0 0 1rem;
}

.about-location-addr {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--pix-text);
    margin: 0 0 1rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.about-location-note {
    color: var(--pix-text-soft);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

/* ─── Responsive ────────────────────────────────────────────────────── */

@media (max-width: 991px) {
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-h2-accent { font-size: 1.65rem; }
    .about-stat-value { font-size: 2.25rem; }
}
