/* ================================================================
   project-v2.css — Projects page redesign
   Scope: Projects page only. Loaded once from page/project.blade.php.
   Relies on tokens defined in main.css (--mta-*, --accent-color, etc.)
   ================================================================ */

/* ── Consistent, non-distorted project thumbnails ──────────────── */
.mta-project-grid .member-img {
    aspect-ratio: 4 / 3;
}

.mta-project-grid .member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Category badge — bold/solid, was a broken empty-href link ────
   Selector matches the exact ancestor chain of the pre-existing
   `.team .team-member .member-info span` rule (which sets
   display:block + a muted gray color for the description text) so
   this badge reliably wins instead of silently losing to it: without
   that override the badge rendered as a full-width block with the
   text nearly invisible against the red background. */
.team .team-member .member-info span.mta-project-category {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 18px;
    border-radius: 50px;
    background: var(--accent-color);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: var(--mta-shadow-cta);
}

/* ── Team stats row (projects / maintenance contracts / clients) ──
   Bigger, shaded cards with an icon + alternating brand color per
   stat, so this reads as a genuine trust/credibility moment rather
   than a footnote under the team text. */
.mta-team-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.mta-team-stat {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--mta-radius-lg);
    background: var(--surface-color);
    box-shadow: var(--mta-shadow-sm);
    border-top: 4px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mta-team-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--mta-shadow-md);
}

.mta-team-stat-accent {
    border-top-color: var(--accent-color);
}

.mta-team-stat-ink {
    border-top-color: var(--heading-color);
}

.mta-team-stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.mta-team-stat-accent .mta-team-stat-icon {
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    color: var(--accent-color);
}

.mta-team-stat-ink .mta-team-stat-icon {
    background: color-mix(in srgb, var(--heading-color), transparent 88%);
    color: var(--heading-color);
}

.mta-team-stat .stat-number {
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.mta-team-stat-accent .stat-number,
.mta-team-stat-accent .plus {
    color: var(--accent-color);
}

.mta-team-stat-ink .stat-number,
.mta-team-stat-ink .plus {
    color: var(--heading-color);
}

.mta-team-stat .plus {
    font-size: 1.8rem;
    font-weight: 800;
}

.mta-team-stat .label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    margin-top: 10px;
}
