        /* SKILLS PAGE – LOCAL OVERRIDES */

        /* Disable snap-scroll globally on this page */
        html[data-page="no-snap"],
        html[data-page="no-snap"] body {
            scroll-snap-type: none !important;
            height: auto !important;
        }

        html[data-page="no-snap"] section {
            scroll-snap-align: none !important;
            height: auto !important;
        }

        html[data-page="no-snap"] .snap-section {
            scroll-snap-align: none !important;
        }

        /* Hide snap-scroll toggle in footer – not needed on this page */
        .scrollsnap-toggle {
            display: none !important;
        }

        /* --- Compact Skills Grid --- */
        #skills {
            padding: 7.5rem 1.5rem 3rem;
            min-height: 15vh;
            display: block;
        }

        .skills-page-header {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .skills-page-header p {
            font-size: 1.45rem;
            color: var(--accent-color);
            font-family: 'Titillium Web', sans-serif;
            margin: 0;
        }

        /* Compact grid: 4 columns on wide screens */
        .skills-grid-compact {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
            gap: 1.4rem;
            max-width: 1260px;
            margin: 0 auto 3rem auto;
        }

        /* Compact skill card */
        .skill-card-compact {
            background: var(--skills-card-color);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 14px;
            padding: 1.2rem 1.4rem 1.1rem;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
        }

        .skill-card-compact:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
        }

        /* Card header row: icon + title */
        .skill-card-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .skill-card-icon {
            width: 42px;
            height: 42px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .skill-card-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            filter: hue-rotate(210deg) brightness(0.6) saturate(1.5);
        }

        .skill-card-icon i {
            font-size: 1.8rem;
            color: var(--navbar-color);
        }

        [data-theme="dark"] .skill-card-icon img {
            filter: none;
        }

        [data-theme="dark"] .skill-card-icon i {
            color: var(--navbar-color);
        }

        .skill-card-title {
            font-family: 'Geist Mono', monospace;
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--accent-color);
            margin: 0;
        }

        /* Skill item row */
        .skill-item-compact {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
        }

        .skill-item-compact+.skill-item-compact {
            border-top: 1px solid rgba(128, 128, 128, 0.15);
            padding-top: 0.6rem;
        }

        .skill-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .skill-name-compact {
            font-family: 'Geist Mono', monospace;
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--accent-color);
        }

        .skill-pct {
            font-family: 'Geist Mono', monospace;
            font-size: 0.78rem;
            font-weight: 700;
            color: var(--accent-color);
            opacity: 0.8;
        }

        .progress-bar-compact {
            width: 100%;
            height: 6px;
            background: var(--progress-bar-bg);
            border-radius: 4px;
            overflow: visible;
            position: relative;
        }

        .progress-fill-compact {
            height: 100%;
            background: var(--progress-bar-fill, #1795d9);
            border-radius: 4px;
            width: 0%;
            transition: width 0.85s ease-out;
            position: relative;
        }

        .progress-fill-compact::after {
            content: '';
            position: absolute;
            right: -5px;
            top: 50%;
            transform: translateY(-50%);
            width: 13px;
            height: 13px;
            border-radius: 50%;
            background: var(--accent-color);
            border: 2px solid var(--secondary-color);
            box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
        }

        .skill-desc-compact {
            font-size: 0.78rem;
            color: var(--skill-description-color);
            margin: 0;
            line-height: 1.4;
        }

        /* PowerShell badge — distinguish from standard */
        .skill-card-compact.powershell {
            border-color: rgba(0, 120, 212, 0.35);
        }

        /* Headline */
        .headline-skills {
            text-align: right;
        }

        @media (max-width: 768px) {
            .skills-grid-compact {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
        }

        @media (min-width: 769px) and (max-width: 1100px) {
            .skills-grid-compact {
                grid-template-columns: repeat(2, 1fr);
            }
        }