/* SKILLS */
.skills {
    padding: 120px 6vw 140px;
    max-width: 1300px;
    margin: 0 auto;
}

.skills-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: center;
}

.skills-title {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.95;
}

.skills-title span {
    color: var(--accent);
}

.skills-group {
    margin-top: 28px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.skills-hint {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.95rem;
}

.skills-count {
    margin-top: 28px;
    color: var(--muted);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* the list (plain stacked text if JavaScript is off) */
.skills-wheel {
    list-style: none;
    outline: none;
}

.skills-wheel li button {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.4rem, 5.5vw, 5rem);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.1;
    color: var(--text);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: color 0.25s ease;
}

/* the wheel (turned on by skills.js) */
.skills-wheel.is-wheel {
    --step: 88px;
    position: relative;
    height: 560px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
}

.skills-wheel.is-wheel.dragging {
    cursor: grabbing;
}

.skills-wheel.is-wheel li {
    position: absolute;
    left: 14px;
    top: 50%;
    transform-origin: left center;
    will-change: transform, opacity, filter;
}

.skills-wheel.is-wheel li button {
    cursor: inherit;
}

.skills-wheel li.is-focus button {
    color: var(--accent);
}

.skills-wheel:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 6px;
    border-radius: 12px;
}

@media (max-width: 800px) {
    .skills-inner {
        grid-template-columns: 1fr;
    }

    .skills-wheel.is-wheel {
        --step: 66px;
        height: 420px;
    }
}
