/* ============================================================================
   about.css — team cards and the "how one gets made" steps.
   ========================================================================= */

/* ── Team ───────────────────────────────────────────────────────────────── */

.team { display: grid; gap: var(--sp-6); }

.team-card {
    display: grid;
    gap: var(--sp-5);
    padding: var(--sp-6);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    align-items: start;
}

@media (min-width: 760px) {
    .team-card { grid-template-columns: 13rem minmax(0, 1fr); gap: var(--sp-7); }
}

.team-card__portrait {
    position: relative;
    aspect-ratio: 1;
    max-width: 13rem;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface-2);
}

.team-card__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* A logo needs breathing room and must not be cropped like a face. */
.team-card__portrait--logo { background: var(--inverse); padding: 1.6rem; }
.team-card__portrait--logo img { object-fit: contain; }

/* Stand-in for a member with no photograph on file. Solid amber rather than
   the dawn gradient: the gradient's dark end would leave the initials at
   roughly 3:1 against the letters sitting on it. */
.team-card__portrait--monogram {
    display: grid;
    place-items: center;
    background: var(--amber);
}

.team-card__portrait--monogram span {
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 700;
    letter-spacing: -.04em;
    color: #1a0d06;
}

.team-card__role {
    font-family: var(--font-mono);
    font-size: var(--step--2);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--sp-2);
}

.team-card__name {
    font-size: var(--step-2);
    margin-bottom: var(--sp-4);
}

.team-card__bio {
    color: var(--ink-soft);
    max-width: var(--measure);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-top: var(--sp-5);
}

.chips li {
    padding: .3em .85em;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: var(--step--2);
    letter-spacing: .05em;
    color: var(--ink-muted);
}

.team-card .link { margin-top: var(--sp-5); }


/* ── Process steps ──────────────────────────────────────────────────────── */

.ab-process { border-top: 1px solid var(--line); }

.steps {
    display: grid;
    gap: var(--sp-5);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    counter-reset: step;
}

.steps__item {
    position: relative;
    padding-top: var(--sp-5);
    border-top: 2px solid var(--line);
}

/* The first step's rule carries the brand gradient, so the eye starts there. */
.steps__item:first-child { border-top-color: transparent; background-clip: padding-box; }

.steps__item:first-child::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--dawn);
}

.steps__num {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--step--2);
    letter-spacing: .14em;
    color: var(--ink-faint);
    margin-bottom: var(--sp-3);
}

.steps__title {
    font-size: var(--step-1);
    margin-bottom: var(--sp-3);
}

.steps__text {
    color: var(--ink-soft);
    font-size: var(--step--1);
}
