@import url('https://fonts.googleapis.com/css2?family=Geist:ital,wght@0,100..900;1,100..900&family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Playwrite+US+Trad:wght@100..400&display=swap');



*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: "Geist", sans-serif;
}

li{
    list-style: none;
}

button{
    border: none;
}

body{
    width: 100%;
    height: 100vh;
    background: #000;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container{
width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 60px;
}

.workContainer{
width: 100%;
max-width: 690px;
height: auto;
min-width: 0;
    margin: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    max-width: 690px;
}

.work-title{
    font-size: clamp(20px, 4vw, 32px);
line-height: 1.15;
}

.work-title, .work-para{
    width: 100%;
    overflow-wrap: anywhere;
    will-change: transform, opacity, filter;
}

.work-para{
    margin-top: 12px;
    color: gray;
    font-size: clamp(14px, 1.5vw, 16px);
line-height: 1.6;
}

.images{
width: 100%;
max-width: 690px;
height: auto;
aspect-ratio: 690 / 457;
margin-top: 24px;
padding: clamp(6px, 1.5vw, 12px);

    background: #212121;
    border-radius: 16px;
    overflow: hidden;
    box-sizing: border-box;
}

.images img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    background: #000;

    display: block;
    will-change: transform;
    overflow: hidden;
}

.images img[src*="design-engineer"] {
    border-radius: 8px;
    clip-path: inset(0 round 8px);
}

.cta{
    margin-top: 12px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.cta a{
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 130px;
    min-height: 35px;

    text-decoration: none;
    cursor: pointer;

        transition:
        background-color 0.3s ease,
        color 0.3s ease;
    font-weight: 600;
}

.github{
    background: #252525;
    color: #fff;
    border-radius: 8px;
    box-shadow: inset 1px 1px 8px #303030;
}

.github:hover{
    background: #2b2b2b;
}

.live{
    background: #fff;
    color: #000;
    border-radius: 8px;
}

nav{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.workCount{
    color: #474747;
    flex-shrink: 0;
}



.workHeader{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 230px;
    max-width: 100%;
    min-width: 0;
}

.titleWork{
    color: #414141;
    width: 100%;
}

ul{
display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
}

ul li{
        list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    color: #505050;
    cursor: pointer;
    font-weight: 500;

    min-width: 0;

    position: relative;
    transition: color 0.3s ease;
}

.list-item.active{
    color: #fff;
}

.list-item.active .li-highlights{
    /* width: 25px; */
    background: #fff;
}

.li-highlights{
    background: #505050;
    width: 0px;
    height: 1px;
    display: inline-block;
    will-change: width, backgroundColor;
    transition: background-color 0.24s ease,
                width 0.3s ease;

                flex-shrink: 0;
}

.project-name{
    min-width: 0;
overflow-wrap: anywhere;
}



@media (max-width: 768px) {

.container {
    justify-content: center;
    padding: 32px 24px;
    gap: 48px;
}


.workContainer {
    max-width: 100%;
    margin: 0;
}

.images {
    margin-top: 20px;
    border-radius: 12px;
}

nav {
        display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.workHeader {
    width: 190px;
}

}

/* =========================================
MOBILE: 480px AND BELOW
========================================= */

@media (max-width: 480px) {

.container {
    padding: 24px 16px;
    gap: 36px;
}

.work-title {
    font-size: clamp(24px, 7vw, 32px);
}

.work-para {
    font-size: 14px;
    line-height: 1.6;
}

.images {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-top: 18px;
    padding: 6px;
    border-radius: 10px;
}

.images img {
    border-radius: 6px;
}

.cta {
    gap: 8px;
}

.cta a {
    width: auto;
    min-width: 110px;
    min-height: 40px;
    flex: 1;
}

nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.workHeader {
    width: 100%;
    align-items: flex-start;
}

.workHeader ul {
    gap: 16px;
}

.list-item {
    font-size: 13px;
    gap: 6px;
}

.workCount {
    font-size: 14px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

}

/* =========================================
SMALL MOBILE: 360px AND BELOW
========================================= */

@media (max-width: 360px) {

.container {
    padding: 20px 12px;
    gap: 28px;
}

.work-title {
    font-size: 20px;
}

.images {
    aspect-ratio: 1 / 1;
}

.cta {
    flex-direction: column;
    align-items: stretch;
}

.cta a {
    width: 100%;
    flex: auto;
}

nav{
    margin-top: 20px;
}

}

/* =========================================
ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

.li-highlights,
.list-item,
.cta a {
    transition: none;
}

}