/* =========================================================
   SKILLS PAGE
   matssch.online
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.skills-page {
    --navy: #0e1e32;
    --navy-mid: #2c3d54;
    --navy-dark: #081521;

    --blue: #2f6bff;

    --white: #ffffff;
    --off-white: #f5f5f3;
    --light-grey: #e9edf1;

    --text: #0e1e32;
    --copy: #66717d;
    --muted: #84909c;

    --border: rgba(14, 30, 50, 0.08);
}


.skills-page main {
    width: 100%;
}



/* =========================================================
   ACTIVE NAV
========================================================= */

.skills-page .navbar__links a[aria-current="page"] {
    color: #0e1e32;
}


.skills-page .navbar__links a[aria-current="page"]::after {
    width: 100%;
}



/* =========================================================
   HERO
========================================================= */

.skills-hero {
    position: relative;

    min-height: 720px;

    padding:
        180px
        clamp(48px, 7vw, 120px)
        clamp(72px, 8vw, 110px);

    display: flex;
    align-items: flex-end;

    background:
        linear-gradient(
            to top right,
            #0e1e32 0%,
            #2c3d54 100%
        );

    border-radius: 28px;

    overflow: hidden;
}


/* subtle depth */

.skills-hero::after {
    content: "";

    position: absolute;

    width: min(48vw, 720px);
    aspect-ratio: 1;

    right: -14%;
    top: -28%;

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius: 50%;

    box-shadow:
        0 0 0 80px rgba(255, 255, 255, 0.012),
        0 0 0 160px rgba(255, 255, 255, 0.008);

    pointer-events: none;
}


.skills-hero__inner {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1380px;

    margin: 0 auto;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: clamp(50px, 8vw, 120px);
}


.skills-hero__copy {
    max-width: 980px;
}


.skills-hero__label {
    display: inline-block;

    margin-bottom: 32px;

    color: rgba(255, 255, 255, 0.5);

    font-family: "Inter Tight", sans-serif;

    font-size: 11px;
    font-weight: 600;

    line-height: 1;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


.skills-hero h1 {
    max-width: 1000px;

    margin: 0;

    color: #ffffff;

    font-family: "Satoshi", sans-serif;

    font-size: clamp(58px, 6.8vw, 104px);
    font-weight: 500;

    line-height: 0.94;

    letter-spacing: -0.055em;
}


.skills-hero p {
    max-width: 700px;

    margin: 34px 0 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 18px;

    line-height: 1.65;
}



/* HERO CTA */

.skills-hero__cta {
    flex-shrink: 0;

    min-height: 50px;

    padding: 0 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    background: var(--blue);
    color: #ffffff;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.skills-hero__cta span {
    transition: transform 0.2s ease;
}


.skills-hero__cta:hover {
    background: #ffffff;

    color: var(--navy);

    transform: translateY(-2px);
}


.skills-hero__cta:hover span {
    transform: translateY(2px);
}



/* =========================================================
   CAPABILITIES
========================================================= */

.capabilities {
    margin-top: 20px;

    padding:
        clamp(80px, 9vw, 130px)
        0;

    background: #ffffff;

    border-radius: 28px;

    overflow: hidden;
}



/* HEADER */

.capabilities__header {
    padding:
        0
        clamp(36px, 6vw, 90px);

    margin-bottom: 64px;
}


.capabilities__intro {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;
}


.capabilities__intro h2 {
    margin: 0;

    color: var(--navy);

    font-family: "Satoshi", sans-serif;

    font-size: clamp(52px, 5.5vw, 82px);
    font-weight: 500;

    line-height: 0.96;

    letter-spacing: -0.052em;
}



/* =========================================================
   SLIDER CONTROLS
========================================================= */

.capabilities__controls {
    display: flex;

    align-items: center;

    gap: 8px;
}


.capabilities__arrow {
    width: 50px;
    height: 50px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5f5f3;
    color: #0e1e32;

    border: 1px solid rgba(14, 30, 50, 0.08);

    border-radius: 50%;

    font-family: "Inter Tight", sans-serif;

    font-size: 18px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.capabilities__arrow:hover {
    background: #0e1e32;
    color: #ffffff;

    border-color: #0e1e32;

    transform: translateY(-2px);
}


.capabilities__arrow:active {
    transform: translateY(0);
}



/* =========================================================
   CAPABILITIES SLIDER
========================================================= */

.capabilities-slider {
    width: 100%;

    display: flex;

    gap: 16px;

    padding:
        0
        clamp(36px, 6vw, 90px)
        12px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    overscroll-behavior-x: contain;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;

    cursor: grab;
}


.capabilities-slider:active {
    cursor: grabbing;
}


.capabilities-slider::-webkit-scrollbar {
    display: none;
}



/* =========================================================
   CAPABILITY CARD
========================================================= */

.capability-card {
    flex:
        0
        0
        clamp(370px, 33vw, 480px);

    min-height: 500px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    scroll-snap-align: start;
    scroll-snap-stop: always;

    background: #f5f5f3;

    border: 1px solid rgba(14, 30, 50, 0.07);

    border-radius: 22px;
}


.capability-card--dark {
    background:
        linear-gradient(
            to top right,
            #0e1e32,
            #2c3d54
        );

    border: none;

    color: #ffffff;
}



/* CARD TOP */

.capability-card__top {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    color: #89949e;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.capability-card--dark
.capability-card__top {
    color: rgba(255, 255, 255, 0.45);
}



/* CARD CONTENT */

.capability-card__content {
    margin-top: auto;
}


.capability-card h3 {
    max-width: 390px;

    margin: 0;

    color: #0e1e32;

    font-family: "Satoshi", sans-serif;

    font-size: clamp(34px, 3vw, 46px);
    font-weight: 500;

    line-height: 1;

    letter-spacing: -0.045em;
}


.capability-card--dark h3 {
    color: #ffffff;
}


.capability-card p {
    max-width: 390px;

    margin: 20px 0 28px;

    color: #66717d;

    font-size: 15px;

    line-height: 1.65;
}


.capability-card--dark p {
    color: rgba(255, 255, 255, 0.68);
}



/* TAGS */

.capability-card__tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.capability-card__tags span {
    padding: 8px 11px;

    background: #ffffff;

    color: #435163;

    border:
        1px solid
        rgba(14, 30, 50, 0.06);

    border-radius: 999px;

    font-size: 11px;
    font-weight: 500;
}


.capability-card--dark
.capability-card__tags span {
    background:
        rgba(255, 255, 255, 0.08);

    color: #ffffff;

    border:
        1px solid
        rgba(255, 255, 255, 0.11);
}



/* =========================================================
   HOW I WORK
========================================================= */

.workflow {
    margin-top: 20px;

    padding:
        clamp(80px, 9vw, 130px)
        clamp(36px, 6vw, 90px);

    background:
        linear-gradient(
            to bottom right,
            #2c3d54 0%,
            #0e1e32 55%,
            #081521 100%
        );

    border-radius: 28px;
}



/* HEADER */

.workflow__header {
    max-width: 1380px;

    margin:
        0
        auto
        clamp(70px, 8vw, 105px);
}


.section-label--light {
    color: rgba(255, 255, 255, 0.42);
}


.workflow__intro {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(300px, 0.85fr);

    align-items: end;

    gap: clamp(50px, 8vw, 120px);
}


.workflow__intro h2 {
    margin: 0;

    color: #ffffff;

    font-family: "Satoshi", sans-serif;

    font-size: clamp(52px, 5.5vw, 82px);
    font-weight: 500;

    line-height: 0.96;

    letter-spacing: -0.052em;
}


.workflow__intro p {
    max-width: 500px;

    margin: 0 0 4px;

    color: rgba(255, 255, 255, 0.6);

    font-size: 17px;

    line-height: 1.65;
}



/* =========================================================
   WORKFLOW STEPS
========================================================= */

.workflow__steps {
    max-width: 1380px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    border-top:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.12);
}


.workflow-step {
    min-height: 360px;

    padding:
        28px
        clamp(22px, 2.5vw, 36px)
        32px;

    display: flex;
    flex-direction: column;

    border-right:
        1px solid
        rgba(255, 255, 255, 0.10);
}


.workflow-step:first-child {
    padding-left: 0;
}


.workflow-step:last-child {
    padding-right: 0;

    border-right: none;
}


.workflow-step__number {
    color:
        rgba(255, 255, 255, 0.25);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.08em;
}


.workflow-step__content {
    margin-top: auto;
}


.workflow-step__label {
    display: block;

    margin-bottom: 15px;

    color: #7da0ff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


.workflow-step h3 {
    max-width: 260px;

    margin: 0;

    color: #ffffff;

    font-family: "Satoshi", sans-serif;

    font-size: clamp(27px, 2.4vw, 38px);
    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -0.04em;
}


.workflow-step p {
    max-width: 240px;

    margin: 18px 0 0;

    color:
        rgba(255, 255, 255, 0.52);

    font-size: 14px;

    line-height: 1.6;
}



/* =========================================================
   TOOLS
========================================================= */

.tools {
    margin-top: 20px;

    padding:
        clamp(80px, 9vw, 130px)
        0;

    background: #e9edf1;

    border-radius: 28px;

    overflow: hidden;
}


.tools__header {
    padding:
        0
        clamp(36px, 6vw, 90px);

    margin-bottom: 64px;
}


.tools__intro {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(300px, 0.85fr);

    align-items: end;

    gap: clamp(50px, 8vw, 120px);
}


.tools__intro h2 {
    margin: 0;

    color: #0e1e32;

    font-family: "Satoshi", sans-serif;

    font-size: clamp(52px, 5.5vw, 82px);
    font-weight: 500;

    line-height: 0.96;

    letter-spacing: -0.052em;
}


.tools__intro p {
    max-width: 500px;

    margin: 0 0 4px;

    color: #66717d;

    font-size: 17px;

    line-height: 1.65;
}



/* =========================================================
   TOOL SLIDER
========================================================= */

.tools-marquee {
    width: 100%;

    overflow: hidden;
}


.tools-marquee__track {
    width: max-content;

    display: flex;

    gap: 10px;

    padding:
        0
        10px;

    animation:
        toolsScroll
        44s
        linear
        infinite;
}


.tools-marquee:hover
.tools-marquee__track {
    animation-play-state: paused;
}


.tool-item {
    width: 220px;
    height: 110px;

    flex-shrink: 0;

    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background:
        rgba(255, 255, 255, 0.76);

    border:
        1px solid
        rgba(14, 30, 50, 0.07);

    border-radius: 14px;
}


.tool-item span {
    color: #89949e;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


.tool-item strong {
    color: #0e1e32;

    font-family: "Satoshi", sans-serif;

    font-size: 21px;
    font-weight: 500;

    line-height: 1;

    letter-spacing: -0.03em;
}


@keyframes toolsScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}



/* =========================================================
   EXPLORE / NEXT SECTION
========================================================= */

.skills-next {
    margin-top: 20px;

    min-height: 620px;

    padding: clamp(24px, 4vw, 52px);

    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(420px, 1.1fr);

    gap: clamp(40px, 6vw, 90px);

    align-items: stretch;

    background: #ffffff;

    border-radius: 28px;
}



/* CONTENT */

.skills-next__content {
    align-self: center;

    max-width: 620px;

    padding:
        clamp(30px, 4vw, 60px)
        clamp(10px, 2vw, 30px);
}


.skills-next__content
.section-label {
    margin-bottom: 30px;
}


.skills-next h2 {
    margin: 0;

    color: #0e1e32;

    font-family: "Satoshi", sans-serif;

    font-size: clamp(50px, 5vw, 76px);
    font-weight: 500;

    line-height: 0.96;

    letter-spacing: -0.05em;
}


.skills-next p {
    max-width: 520px;

    margin: 28px 0 0;

    color: #66717d;

    font-size: 17px;

    line-height: 1.65;
}



/* =========================================================
   EXPLORE BUTTONS
========================================================= */

.skills-next__actions {
    margin-top: 34px;

    display: flex;
    align-items: center;

    gap: 12px;
}


.skills-next__button {
    min-height: 50px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}



/* PRIMARY */

.skills-next__button--primary {
    background: #2f6bff;

    color: #ffffff;

    border:
        1px solid
        #2f6bff;
}


.skills-next__button--primary:hover {
    background: #0e1e32;

    border-color: #0e1e32;

    transform: translateY(-2px);
}


.skills-next__button--primary span {
    transition:
        transform 0.2s ease;
}


.skills-next__button--primary:hover span {
    transform:
        translate(2px, -2px);
}



/* SECONDARY */

.skills-next__button--secondary {
    background: transparent;

    color: #0e1e32;

    border:
        1px solid
        rgba(14, 30, 50, 0.18);
}


.skills-next__button--secondary:hover {
    border-color: #0e1e32;

    transform: translateY(-2px);
}



/* =========================================================
   EXPLORE IMAGE
========================================================= */

.skills-next__visual {
    min-height: 520px;

    overflow: hidden;

    background: #e9edf1;

    border-radius: 22px;
}


.skills-next__visual img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .workflow__steps {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .workflow-step {
        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.10);
    }


    .workflow-step:nth-child(2) {
        border-right: none;
    }


    .workflow-step:nth-child(3),
    .workflow-step:nth-child(4) {
        border-bottom: none;
    }


    .workflow-step:nth-child(3) {
        padding-left: 0;
    }

}



/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 900px) {

    /* HERO */

    .skills-hero {
        min-height: 680px;

        padding:
            160px
            40px
            70px;
    }


    .skills-hero__inner {
        flex-direction: column;

        align-items: flex-start;
    }



    /* WORKFLOW */

    .workflow__intro,
    .tools__intro {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    .workflow__intro p,
    .tools__intro p {
        max-width: 620px;
    }



    /* NEXT */

    .skills-next {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    .skills-next__content {
        max-width: 700px;
    }


    .skills-next__visual {
        min-height: 480px;
    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    /* HERO */

    .skills-hero {
        min-height: 640px;

        padding:
            140px
            28px
            55px;

        border-radius: 20px;
    }


    .skills-hero::after {
        display: none;
    }


    .skills-hero h1 {
        font-size:
            clamp(46px, 14vw, 60px);
    }


    .skills-hero p {
        margin-top: 24px;

        font-size: 16px;
    }


    .skills-hero__cta {
        width: 100%;
    }



    /* CAPABILITIES */

    .capabilities {
        margin-top: 12px;

        padding:
            72px
            0;

        border-radius: 20px;
    }


    .capabilities__header {
        padding:
            0
            24px;

        margin-bottom: 44px;
    }


    .capabilities__intro h2 {
        font-size: 42px;
    }


    .capabilities__controls {
        display: none;
    }


    .capabilities-slider {
        gap: 12px;

        padding:
            0
            24px
            8px;
    }


    .capability-card {
        flex:
            0
            0
            calc(100vw - 72px);

        min-height: 440px;

        padding: 24px;

        border-radius: 18px;
    }


    .capability-card h3 {
        font-size: 36px;
    }



    /* WORKFLOW */

    .workflow {
        margin-top: 12px;

        padding:
            72px
            24px;

        border-radius: 20px;
    }


    .workflow__header {
        margin-bottom: 50px;
    }


    .workflow__intro h2 {
        font-size: 42px;
    }


    .workflow__intro p {
        font-size: 16px;
    }


    .workflow__steps {
        grid-template-columns: 1fr;
    }


    .workflow-step,
    .workflow-step:first-child,
    .workflow-step:nth-child(3),
    .workflow-step:last-child {
        min-height: 280px;

        padding:
            26px
            0;

        border-right: none;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.10);
    }


    .workflow-step:last-child {
        border-bottom: none;
    }


    .workflow-step h3 {
        font-size: 32px;
    }



    /* TOOLS */

    .tools {
        margin-top: 12px;

        padding:
            72px
            0;

        border-radius: 20px;
    }


    .tools__header {
        padding:
            0
            24px;

        margin-bottom: 46px;
    }


    .tools__intro h2 {
        font-size: 42px;
    }


    .tools__intro p {
        font-size: 16px;
    }


    .tool-item {
        width: 175px;
        height: 92px;

        padding: 16px;
    }


    .tool-item strong {
        font-size: 18px;
    }



    /* NEXT */

    .skills-next {
        margin-top: 12px;

        padding: 22px;

        border-radius: 20px;
    }


    .skills-next__content {
        padding:
            42px
            4px
            24px;
    }


    .skills-next h2 {
        font-size: 42px;
    }


    .skills-next p {
        font-size: 16px;
    }


    .skills-next__actions {
        flex-direction: column;

        align-items: stretch;
    }


    .skills-next__button {
        width: 100%;
    }


    .skills-next__visual {
        min-height: 380px;

        border-radius: 16px;
    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

    .skills-hero h1 {
        font-size: 44px;
    }


    .capabilities__intro h2,
    .workflow__intro h2,
    .tools__intro h2,
    .skills-next h2 {
        font-size: 38px;
    }


    .capability-card {
        flex-basis:
            calc(100vw - 58px);

        min-height: 420px;
    }


    .skills-next__visual {
        min-height: 320px;
    }

}



/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tools-marquee__track {
        animation: none;
    }


    .capabilities-slider {
        scroll-behavior: auto;
    }


    .skills-hero__cta,
    .skills-hero__cta span,
    .capabilities__arrow,
    .skills-next__button,
    .skills-next__button span {
        transition: none;
    }

}