/* ==========================================================================
   SKILLS HUB, JOURNEY TIMELINE, RINGS & GITHUB METRICS
   ========================================================================== */

.experience {
    padding: 3.5rem 0;
    border-top: 1px solid var(--border);
}

.expertise {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.expertise__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.expertise__tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise__tags li {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
}

.skills-hub {
    padding: 3.5rem 0;
    border-top: 1px solid var(--border);
}

.skills-hub__title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-heading);
}

/* ── PROFESSIONAL JOURNEY TIMELINE ── */
.journey {
    padding: 0.5rem 0 2rem;
}

.journey__header {
    margin-bottom: 1.75rem;
    max-width: 600px;
}

.journey__title {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
}

.journey__lede {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.journey__list {
    list-style: none;
    position: relative;
    padding-left: 0;
}

.journey__list::before {
    content: '';
    position: absolute;
    left: 139px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
}

.journey-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 2.5rem;
    position: relative;
}

.journey-item:last-child {
    margin-bottom: 0;
}

.journey-item__date {
    width: 120px;
    min-width: 120px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--accent);
    font-size: 0.875rem;
    text-align: right;
    padding-top: 2px;
    flex-shrink: 0;
    white-space: nowrap;
}

.journey-item__content {
    flex-grow: 1;
    position: relative;
    padding-left: 40px;
}

.journey-item__content::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg);
    box-shadow: 0 0 0 3px var(--accent-light);
    z-index: 2;
}

.journey-item__role {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-heading);
}

.journey-item__loc {
    color: var(--muted);
    font-weight: 400;
    font-size: 0.9rem;
    margin-left: 0.35rem;
}

.journey-item__desc {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.journey-item__desc strong {
    color: var(--text-heading);
    font-weight: 600;
}

.journey-item__desc .metric {
    display: inline-block;
    color: var(--accent);
    background: var(--accent-light, rgba(99, 102, 241, 0.12));
    border: 1px solid var(--accent-muted, rgba(99, 102, 241, 0.3));
    padding: 0.05rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.84rem;
    letter-spacing: -0.01em;
}

.journey-item__desc .metric--success {
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.3);
}

.journey-item__tech {
    list-style: none;
    margin: 0.85rem 0 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.5rem;
    align-items: center;
}

.journey-item__tech li {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition, 0.2s ease);
}

.journey-item__tech li:hover {
    border-color: var(--border-hover);
    color: var(--text-heading);
}

/* ── CAPABILITY RINGS ── */
.skill-rings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

.ring-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: var(--transition);
}

.ring-card:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.ring-card__circle {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring-card__circle svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-card__circle circle {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
}

.ring-card__circle circle:nth-child(1) {
    stroke: var(--border);
}

.ring-card__circle circle:nth-child(2) {
    stroke: var(--amber);
    stroke-dasharray: 283;
    stroke-dashoffset: calc(283 - (283 * var(--percent)) / 100);
}

.ring-card__num {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
}

.ring-card__label {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    color: var(--text-heading);
}

.ring-card__sub {
    color: var(--muted);
    font-size: 0.78rem;
}

/* ── CREDENTIALS & METRICS ── */
.credentials-box {
    border-top: 1px solid var(--border);
    padding: 2.25rem 0 0;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
}

.credentials__heading {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-heading);
}

.credentials__grid {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.cred-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.85rem 1.15rem;
    border-radius: 8px;
    transition: var(--transition);
}

.cred-card:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
}

.cred-card__icon {
    font-size: 1rem;
    color: var(--amber);
}

.cred-card__title {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
}

.skills-stats {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.stat-item {
    font-family: var(--font-display);
}

.stat-item__num {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-heading);
}

.stat-item__suffix {
    font-size: 1.6rem;
    color: var(--amber);
    font-weight: 700;
}

.stat-item__label {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.15rem;
    font-weight: 500;
}
