/* =========================================================
   ABOUT PAGE
   Shared components come from /style.css
========================================================= */


/* =========================================================
   HEADER
========================================================= */

.about-header {
    min-height: 470px;

    padding:
        160px
        clamp(48px, 7vw, 120px)
        70px;

    display: flex;
    align-items: flex-end;

    background:
        linear-gradient(
            to top right,
            #0e1e32 0%,
            #2c3d54 100%
        );

    border-radius: 28px;
}


.about-header__inner {
    max-width: 1050px;
}


.about-header__label {
    display: block;

    margin-bottom: 24px;

    color: rgba(255, 255, 255, 0.56);

    font-family: "Inter Tight", sans-serif;
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.about-header h1 {
    max-width: 980px;

    margin: 0;

    color: #ffffff;

    font-family: "Satoshi", sans-serif;
    font-size: clamp(48px, 6vw, 82px);
    font-weight: 500;

    line-height: 0.98;
    letter-spacing: -0.05em;
}



/* =========================================================
   PROFILE SECTION
========================================================= */

.profile-section {
    margin-top: 20px;

    padding: clamp(32px, 5vw, 72px);

    display: grid;

    grid-template-columns:
        minmax(320px, 0.9fr)
        minmax(0, 1.1fr);

    gap: clamp(50px, 7vw, 100px);

    align-items: stretch;

    background: #ffffff;

    border-radius: 28px;
}



/* =========================================================
   PROFILE IMAGE
========================================================= */

.profile-section__image {
    min-height: 760px;

    overflow: hidden;

    border-radius: 22px;

    background: #e9edf1;
}


.profile-section__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}



/* =========================================================
   PROFILE CONTENT
========================================================= */

.profile-section__content {
    align-self: center;

    max-width: 720px;

    padding:
        40px
        20px
        40px
        0;
}


.profile-section__content .section-label {
    margin-bottom: 34px;
}


.profile-section__content h2 {
    max-width: 700px;

    margin:
        0
        0
        36px;

    color: #0e1e32;

    font-family: "Satoshi", sans-serif;
    font-size: clamp(46px, 4.8vw, 68px);
    font-weight: 500;

    line-height: 0.98;
    letter-spacing: -0.045em;
}


.profile-section__content p {
    max-width: 660px;

    margin:
        0
        0
        20px;

    color: #66717d;

    font-size: 16px;
    line-height: 1.7;
}


.profile-section__content
.profile-section__lead {
    margin-bottom: 28px;

    color: #0e1e32;

    font-size: 21px;
    line-height: 1.5;

    letter-spacing: -0.015em;
}


.profile-section__content strong {
    color: #0e1e32;

    font-weight: 600;
}



/* =========================================================
   CASES / HOW I WORK SECTION
========================================================= */

.about-cases {
    margin-top: 20px;

    min-height: 650px;

    padding: clamp(32px, 5vw, 72px);

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, 0.9fr);

    gap: clamp(50px, 7vw, 100px);

    align-items: stretch;

    background: #e9edf1;

    border-radius: 28px;
}



/* =========================================================
   CASES COPY
========================================================= */

.about-cases__content {
    align-self: center;

    max-width: 720px;

    padding:
        40px
        0
        40px
        20px;
}


.about-cases__content .section-label {
    margin-bottom: 34px;
}


.about-cases__content h2 {
    max-width: 700px;

    margin:
        0
        0
        32px;

    color: #0e1e32;

    font-family: "Satoshi", sans-serif;
    font-size: clamp(46px, 4.8vw, 68px);
    font-weight: 500;

    line-height: 0.98;
    letter-spacing: -0.045em;
}


.about-cases__content p {
    max-width: 590px;

    margin:
        0
        0
        18px;

    color: #66717d;

    font-size: 16px;
    line-height: 1.7;
}


.about-cases__content
.about-cases__lead {
    color: #0e1e32;

    font-size: 20px;
    line-height: 1.5;

    letter-spacing: -0.015em;
}



/* =========================================================
   CASES BUTTON
========================================================= */

.about-cases__button,
.about-cases__button:visited {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 50px;

    margin-top: 20px;

    padding:
        0
        22px;

    border-radius: 999px;

    background: #2F6BFF;
    color: #ffffff;

    font-family: "Inter Tight", sans-serif;
    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.about-cases__button:hover {
    background: #2c3d54;

    color: #ffffff;

    transform: translateY(-2px);
}


.about-cases__button span {
    transition:
        transform 0.2s ease;
}


.about-cases__button:hover span {
    transform:
        translate(2px, -2px);
}



/* =========================================================
   SECOND IMAGE
========================================================= */

.about-cases__image {
    min-height: 560px;

    overflow: hidden;

    border-radius: 22px;

    background: #dce5f4;
}


.about-cases__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .about-header {
        min-height: 430px;

        padding:
            150px
            48px
            60px;
    }


    .profile-section {
        grid-template-columns: 1fr;

        gap: 48px;
    }


    .profile-section__image {
        min-height: 620px;
    }


    .profile-section__content {
        max-width: none;

        padding: 20px 10px;
    }


    .about-cases {
        grid-template-columns: 1fr;

        gap: 48px;
    }


    .about-cases__content {
        max-width: none;

        padding: 20px 10px;
    }


    .about-cases__image {
        min-height: 520px;
    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .about-header {
        min-height: 390px;

        padding:
            130px
            28px
            46px;

        border-radius: 20px;
    }


    .about-header h1 {
        font-size:
            clamp(
                42px,
                12vw,
                58px
            );
    }


    /* PROFILE */

    .profile-section {
        margin-top: 12px;

        padding: 18px;

        gap: 34px;

        border-radius: 20px;
    }


    .profile-section__image {
        min-height: 480px;

        border-radius: 16px;
    }


    .profile-section__content {
        padding:
            30px
            8px
            38px;
    }


    .profile-section__content h2 {
        margin-bottom: 28px;

        font-size: 42px;
    }


    .profile-section__content
    .profile-section__lead {
        font-size: 18px;
    }


    .profile-section__content p {
        font-size: 15px;
    }


    /* CASES */

    .about-cases {
        margin-top: 12px;

        padding: 18px;

        gap: 34px;

        border-radius: 20px;
    }


    .about-cases__content {
        padding:
            38px
            8px
            26px;
    }


    .about-cases__content h2 {
        font-size: 42px;
    }


    .about-cases__content
    .about-cases__lead {
        font-size: 18px;
    }


    .about-cases__content p {
        font-size: 15px;
    }


    .about-cases__image {
        min-height: 420px;

        border-radius: 16px;
    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

    .about-header h1,
    .profile-section__content h2,
    .about-cases__content h2 {
        font-size: 38px;
    }


    .profile-section__image {
        min-height: 420px;
    }


    .about-cases__image {
        min-height: 360px;
    }

}
/* =========================================================
   LINKEDIN BUTTON
========================================================= */

.profile-section__linkedin,
.profile-section__linkedin:visited {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 20px;

    min-height: 50px;

    padding: 0 20px;

    border-radius: 999px;

    background: #2F6BFF;
    color: #ffffff;

    font-family: "Inter Tight", sans-serif;
    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.profile-section__linkedin svg {
    width: 18px;
    height: 18px;

    flex-shrink: 0;

    fill: currentColor;
}

.profile-section__linkedin-arrow {
    margin-left: 2px;

    transition: transform 0.2s ease;
}

.profile-section__linkedin:hover {
    background: #2c3d54;
    color: #ffffff;

    transform: translateY(-2px);
}

.profile-section__linkedin:hover
.profile-section__linkedin-arrow {
    transform: translate(2px, -2px);
}
/* =========================================================
   TOOLS SECTION
========================================================= */

.tools-section {
    margin-top: 20px;

    padding:
        clamp(70px, 8vw, 110px)
        clamp(36px, 6vw, 80px);

    background: #ffffff;

    border-radius: 28px;

    overflow: hidden;
}


/* =========================================================
   TOOLS HEADER
========================================================= */

.tools-section__header {
    display: grid;

    grid-template-columns:
        minmax(180px, 0.6fr)
        minmax(0, 1.4fr);

    gap: 60px;

    align-items: start;

    margin-bottom: 62px;
}


.tools-section__intro {
    max-width: 760px;
}


.tools-section__intro h2 {
    margin: 0 0 22px;

    color: #0e1e32;

    font-family: "Satoshi", sans-serif;
    font-size: clamp(46px, 5vw, 68px);
    font-weight: 500;

    line-height: 1;
    letter-spacing: -0.045em;
}


.tools-section__intro p {
    max-width: 580px;

    margin: 0;

    color: #66717d;

    font-size: 17px;
    line-height: 1.65;
}


/* =========================================================
   SLIDER
========================================================= */

.tools-slider {
    position: relative;

    width: 100%;

    overflow: hidden;
}


/* EDGE FADES */

.tools-slider::before,
.tools-slider::after {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    z-index: 10;

    width: 80px;

    pointer-events: none;
}


.tools-slider::before {
    left: 0;

    background:
        linear-gradient(
            to right,
            #ffffff 0%,
            rgba(255, 255, 255, 0) 100%
        );
}


.tools-slider::after {
    right: 0;

    background:
        linear-gradient(
            to left,
            #ffffff 0%,
            rgba(255, 255, 255, 0) 100%
        );
}


/* =========================================================
   TRACK
========================================================= */

.tools-slider__track {
    display: flex;

    width: max-content;

    gap: 14px;

    animation:
        tools-marquee
        42s
        linear
        infinite;
}


/* PAUSE ON HOVER */

.tools-slider:hover
.tools-slider__track {
    animation-play-state: paused;
}


/* =========================================================
   GROUP
========================================================= */

.tools-slider__group {
    display: flex;

    flex-shrink: 0;

    gap: 14px;
}


/* =========================================================
   TOOL CARD
========================================================= */

.tool-card {
    display: flex;

    flex-shrink: 0;

    align-items: center;

    gap: 14px;

    min-width: 195px;
    min-height: 78px;

    padding:
        14px
        18px;

    background: #eef5ff;

    border:
        1px
        solid
        rgba(47, 107, 255, 0.08);

    border-radius: 18px;
}


/* =========================================================
   TOOL ICON
========================================================= */

.tool-card__icon {
    display: flex;

    flex-shrink: 0;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    color: #2F6BFF;

    background: #ffffff;

    border-radius: 12px;
}


.tool-card__icon svg {
    width: 23px;
    height: 23px;

    overflow: visible;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/*
Some icons contain filled shapes such as GA4/Figma.
These elements deliberately inherit the blue.
*/

.tool-card__icon svg rect,
.tool-card__icon svg circle {
    stroke: currentColor;
}


/* =========================================================
   TOOL NAME
========================================================= */

.tool-card__name {
    color: #0e1e32;

    font-family: "Inter Tight", sans-serif;
    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes tools-marquee {

    from {
        transform: translateX(0);
    }

    to {
        transform:
            translateX(
                calc(-50% - 7px)
            );
    }

}


/* =========================================================
   TOOLS — TABLET
========================================================= */

@media (max-width: 900px) {

    .tools-section__header {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    .tools-slider::before,
    .tools-slider::after {
        width: 55px;
    }


    .tool-card {
        min-width: 185px;
    }

}


/* =========================================================
   TOOLS — MOBILE
========================================================= */

@media (max-width: 700px) {

    .tools-section {
        margin-top: 12px;

        padding:
            70px
            24px;

        border-radius: 20px;
    }


    .tools-section__header {
        margin-bottom: 44px;
    }


    .tools-section__intro h2 {
        font-size: 42px;
    }


    .tools-section__intro p {
        font-size: 16px;
    }


    .tools-slider::before,
    .tools-slider::after {
        width: 30px;
    }


    .tools-slider__track,
    .tools-slider__group {
        gap: 10px;
    }


    .tools-slider__track {
        animation-duration: 34s;
    }


    .tool-card {
        min-width: 165px;
        min-height: 68px;

        gap: 11px;

        padding:
            12px
            14px;

        border-radius: 15px;
    }


    .tool-card__icon {
        width: 36px;
        height: 36px;

        border-radius: 10px;
    }


    .tool-card__icon svg {
        width: 20px;
        height: 20px;
    }


    .tool-card__name {
        font-size: 13px;
    }

}


/* =========================================================
   ACCESSIBILITY — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tools-slider__track {
        animation: none;
    }

}
/* ========================================
   CAREER TIMELINE
======================================== */

.career-timeline {
    margin-top: 20px;
    padding: clamp(80px, 9vw, 130px) 0;

    background: #ffffff;
    border-radius: 28px;

    overflow: hidden;
}


/* HEADER */

.career-timeline__header {
    padding: 0 clamp(36px, 6vw, 90px);
    margin-bottom: clamp(60px, 7vw, 90px);
}


.career-timeline__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);

    gap: clamp(50px, 8vw, 120px);

    align-items: end;
}


.career-timeline__intro h2 {
    max-width: 850px;

    margin: 0;

    color: #0e1e32;

    font-family: "Satoshi", sans-serif;

    font-size: clamp(52px, 5.5vw, 82px);
    font-weight: 500;

    line-height: .96;
    letter-spacing: -.052em;
}


.career-timeline__intro p {
    max-width: 470px;

    margin: 0 0 4px;

    color: #66717d;

    font-size: 17px;
    line-height: 1.65;
}



/* ========================================
   SCROLL AREA
======================================== */

.career-timeline__scroll {
    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;
}


.career-timeline__scroll::-webkit-scrollbar {
    display: none;
}



/* ========================================
   TRACK
======================================== */

.career-timeline__track {
    position: relative;

    min-width: 1380px;
    height: 620px;

    display: grid;
    grid-template-columns: repeat(6, minmax(210px, 1fr));

    padding: 0 clamp(36px, 6vw, 90px);
}


/* central line */

.career-timeline__track::before {
    content: "";

    position: absolute;

    left: clamp(36px, 6vw, 90px);
    right: clamp(36px, 6vw, 90px);

    top: 50%;

    height: 1px;

    background: rgba(14, 30, 50, .12);

    transform: translateY(-50%);
}



/* ========================================
   STEP
======================================== */

.timeline-step {
    position: relative;

    min-width: 0;

    display: grid;

    grid-template-rows:
        1fr
        54px
        1fr;

    padding: 0 12px;
}



/* ========================================
   YEAR
======================================== */

.timeline-step__year {
    position: relative;
    z-index: 3;

    min-width: 66px;
    height: 34px;

    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    justify-self: center;

    background: #ffffff;
    color: #0e1e32;

    border: 1px solid rgba(14, 30, 50, .12);

    border-radius: 999px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .04em;

    box-shadow: 0 3px 10px rgba(14, 30, 50, .05);
}



/* position year on central line */

.timeline-step--top .timeline-step__year {
    grid-row: 2;

    align-self: center;
}


.timeline-step--bottom .timeline-step__year {
    grid-row: 2;

    align-self: center;
}



/* ========================================
   CONNECTOR
======================================== */

.timeline-step__connector {
    position: relative;

    width: 1px;

    justify-self: center;

    background: rgba(14, 30, 50, .12);
}


/* top card connector */

.timeline-step--top .timeline-step__connector {
    grid-row: 1;

    height: 34px;

    align-self: end;
}


/* bottom card connector */

.timeline-step--bottom .timeline-step__connector {
    grid-row: 3;

    height: 34px;

    align-self: start;
}



/* connector dot */

.timeline-step__connector::after {
    content: "";

    position: absolute;

    left: 50%;

    width: 7px;
    height: 7px;

    background: #ffffff;

    border: 2px solid #2f6bff;

    border-radius: 50%;

    transform: translateX(-50%);
}


.timeline-step--top
.timeline-step__connector::after {
    top: -3px;
}


.timeline-step--bottom
.timeline-step__connector::after {
    bottom: -3px;
}



/* ========================================
   CARD
======================================== */

.timeline-step__card {
    width: 100%;
    max-width: 240px;

    min-height: 190px;

    padding: 24px;

    display: flex;
    flex-direction: column;

    justify-self: center;

    background: #f5f5f3;

    border: 1px solid rgba(14, 30, 50, .065);

    border-radius: 22px;

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}


/* above line */

.timeline-step--top
.timeline-step__card {
    grid-row: 1;

    align-self: end;

    margin-bottom: 34px;
}


/* below line */

.timeline-step--bottom
.timeline-step__card {
    grid-row: 3;

    align-self: start;

    margin-top: 34px;
}



/* hover */

.timeline-step__card:hover {
    transform: translateY(-4px);

    border-color: rgba(14, 30, 50, .11);

    background: #f1f3f5;
}



/* META */

.timeline-step__meta {
    display: block;

    color: #82909e;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .09em;

    text-transform: uppercase;
}



/* TITLE */

.timeline-step h3 {
    margin: auto 0 0;

    color: #0e1e32;

    font-family: "Satoshi", sans-serif;

    font-size: clamp(24px, 1.8vw, 29px);
    font-weight: 500;

    line-height: 1.04;
    letter-spacing: -.04em;
}



/* COPY */

.timeline-step p {
    margin: 13px 0 0;

    color: #77838e;

    font-size: 13px;
    line-height: 1.5;
}



/* ========================================
   CURRENT STEP
======================================== */

.timeline-step--current
.timeline-step__year {
    background: #2f6bff;
    color: #ffffff;

    border-color: #2f6bff;

    box-shadow:
        0 5px 16px rgba(47, 107, 255, .18);
}


.timeline-step--current
.timeline-step__connector::after {
    background: #2f6bff;

    box-shadow:
        0 0 0 5px rgba(47, 107, 255, .08);
}


.timeline-step--current
.timeline-step__card {
    background:
        linear-gradient(
            145deg,
            #0e1e32,
            #273b52
        );

    border-color: transparent;
}


.timeline-step--current
.timeline-step__meta {
    color: rgba(255, 255, 255, .42);
}


.timeline-step--current h3 {
    color: #ffffff;
}


.timeline-step--current p {
    color: rgba(255, 255, 255, .58);
}



/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .career-timeline__intro {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    .career-timeline__intro p {
        max-width: 600px;
    }


    .career-timeline__track {
        min-width: 1320px;
    }

}



/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {

    .career-timeline {
        margin-top: 12px;

        padding: 72px 0;

        border-radius: 20px;
    }


    .career-timeline__header {
        padding: 0 24px;

        margin-bottom: 45px;
    }


    .career-timeline__intro h2 {
        font-size: 42px;
    }


    .career-timeline__intro p {
        font-size: 16px;
    }


    .career-timeline__track {
        min-width: 1250px;
        height: 560px;

        grid-template-columns: repeat(6, 200px);

        padding: 0 24px;
    }


    .career-timeline__track::before {
        left: 24px;
        right: 24px;
    }


    .timeline-step {
        padding: 0 8px;
    }


    .timeline-step__card {
        max-width: 180px;
        min-height: 175px;

        padding: 20px;

        border-radius: 18px;
    }


    .timeline-step h3 {
        font-size: 25px;
    }

}