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


@font-face {
    font-family: "Bitcount Prop Single Ink";
    src: url("fonts/BitcountPropSingleInk-VariableFont_CRSV\,ELSH\,ELXP\,SZP1\,SZP2\,XPN1\,XPN2\,YPN1\,YPN2\,slnt\,wght.woff2")
         format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* Smooth scroll behavior */
html .aboutsection {
    scroll-behavior: smooth;
    scroll-margin-top: 100px;
}


body    {
    font-family: 'Geist', sans-serif;
    background-color: #0E07D1;
    color: #FFFF2E;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.header-marquee-wrapper {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #0E07D1;
}

.combined-bar {
    display: flex;
    height: 100px; /* Desktop height */
    overflow: hidden;
}

/* LEFT SIDE - HEADER/NAV (Blue section) */
.inline-header {
    background-color: #0E07D1;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    flex-shrink: 0;
    width: 350px; /* Fixed width for nav section */
}

.inline-header h3 {
    font-weight: 600;
    font-size: 2rem;
    color: #FFFF2E;
    margin: 0;
    
}

.inline-header h3 a {
    text-decoration: none; 
    color: inherit;

}

.inline-header nav {
    display: flex;
    gap: 2rem;
}

.inline-header nav a {
    color: #FFFF2E;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* RIGHT SIDE - MARQUEE (Red section) */
.inline-marquee {
    flex: 1;
    background: #FE0002;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}


.marquee    {
    animation: scroll 25s linear infinite;
    display: flex;
    will-change: transform;
}

.marqueetext    {
    display: flex;
    flex-shrink: 0;
    gap: 3rem;
    align-items: center;
}



.marqueetext img  {
    height: 5rem;
    width: auto;
    padding: 0 4rem;
    flex-shrink: 0;
    display: block;

}


@keyframes scroll {
    0% {
    transform: translateX(0); /* Start at original position */
    }
    100% {
    transform: translateX(-50%); /* Move left by 50% (half of duplicated content) */
        }
}


.container_work   {
    display: flex;
    flex-direction: column;
    gap: 100px; /* Creates 100px space between each project instance */
    margin-top: 360px;
}


.line-frame {
    display: flex;
}

.line {
    border-bottom: 1.5px dashed #679CFF;
    width: 100%;
    flex: 1;
}


.line-text {
    font-size: 0.75rem;
    font-weight: 600;
    padding-left: 70px;
    color: #FFFF2E;
    margin: 24px 0;
}


.containeroyibo     {
    height: 528px;
    overflow: hidden;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    
}

.imglayout_oyibo    {
    display: flex;
    align-items: center;
    width: 1540px;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.imglayout_oyibo img {
    width: 422px;
    height: 528px;
    display: block;
    flex-shrink: 0;
    margin-left: -320px;
    transition: margin-left 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.imglayout_oyibo img:first-child    {
    margin-left: 0;
}

.containeroyibo:hover   .imglayout_oyibo img {
    margin-left: 0;
}


/* Infinite scroll after spread completes */
.containeroyibo:hover .imglayout_oyibo {
    animation: infiniteScroll 60s linear 0.4s infinite;
}

/* Stop animation when hover ends */
.containeroyibo:not(:hover) .imglayout_oyibo {
    animation: none;
}

/* Seamless infinite scroll animation */
@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-5908px); /* 14 images × 422px = 5908px */
    }
}



.prjcontent {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    padding: 56px 0 90px 70px;
    align-items: start;
}

h2  {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 700;
}

.largetitle {
    width: 420px;
    height: 104px;
}

.prjparagraph {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 420px;
    height: auto;
}

.prjparagraph p {
    font-size: 0.813rem;
    line-height: 180%;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.collabtxt  {
    padding-top: 45px;
}



.containerfwa   {
    height: 528px;
    overflow: hidden;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.imglayout_fwa  {
    display: flex;
    align-items: center;
    width: 1496px;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.imglayout_fwa img  {
    width: 528px;
    height: 528px;
    display: block;
    flex-shrink: 0;
    margin-left: -400px;
    transition: margin-left 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.imglayout_fwa img:first-child {
    margin-left: 0;
}

.containerfwa:hover  .imglayout_fwa img {
    margin-left: 0;
}


/* Infinite scroll after spread completes */
.containerfwa:hover .imglayout_fwa {
    animation: infiniteScroll 60s linear 0.4s infinite;
}

/* Stop animation when hover ends */
.containerfwa:not(:hover) .imglayout_fwa {
    animation: none;
}

/* Seamless infinite scroll animation */
@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-6336px); /* 12 images × 528px = 6336px */
    }
}



.containerhmhp  {
    height: 528px;
    overflow: hidden;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.imglayout_hmhp     {
    display: flex;
    align-items: center;
    width: 3026px;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.imglayout_hmhp img  {
    height: 528px;
    display: block;
    flex-shrink: 0;
    margin-left: -400px;
    max-width: 100%;
    transition: margin-left 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.imglayout_hmhp img:first-child {
    margin-left: 0;
}

.containerhmhp:hover .imglayout_hmhp img {
    margin-left: 0;
}


/* Infinite scroll after spread completes */
.containerhmhp:hover .imglayout_hmhp {
    animation: infiniteScroll 60s linear 0.4s infinite;
}

/* Stop animation when hover ends */
.containerhmhp:not(:hover) .imglayout_hmhp {
    animation: none;
}

/* Seamless infinite scroll animation */
@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-7920px); /* 15 images × 528px = 7920 */
    }
}



.archive-section {
    margin: 200px auto 0px auto;
    height: auto;
}



.archivewrapper {
    overflow: hidden;
    margin: 0px auto 60px auto;
}

.archivecontainer   {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollImages 60s linear infinite;
}

.archivecontainer:hover {
    animation-play-state: paused;
}

.archivegroup {
    display: flex;
    gap: 20px;
}

@keyframes scrollImages {
    0% {
    transform: translateX(0);
    }
    100% {
    transform: translateX(calc(-50% - 20px));
    }
}

.archiveitem {
    width: 420px;
    height: 525px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.archiveitem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.aboutsection   {
    max-width: 1440px;
    background-color: #0E07D1;
    padding: 0 70px;
    margin: 100px auto 0 auto;
    
}

.aboutcontent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.25rem;
    color: #FFFF2E;
    align-items: start;
}

.aboutleft, .aboutright  {
    font-size: 1.25rem;
    font-weight: normal;
    line-height: 1.6;
    text-align: justify;
    width: 100%;
    height: auto;
}


.aboutleft p, .aboutright p {
    margin: 0;
}


footer  {
    height: auto;
    margin: 200px auto 40px auto;
}


.footercontent  {
    max-width: 1440px;
    margin: 4.6rem auto 0;
    padding: 0 70px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footerlinks    {
    display: flex;
    gap: 40px;
}


.footerlinks a {
    color: #FFFF2E;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bolder;
    text-transform: uppercase;
}

.footercontact  {
    text-align: right;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}

.footercontact .label {
    font-size: 1rem;
    text-transform: uppercase;
    align-self: flex-start;
    color: #FFFF2E;
}

.footercontact .email {
    font-size: 2.25rem;
    font-weight: bolder;
    color: #FFFF2E;
}

.copyright {
    padding: 0 70px;
    max-width: 1440px;
    margin: 2rem auto 0;
}



/* =================
   RESPONSIVE MEDIA QUERIES
   ================= */

/* =================
   MOBILE - BELOW 768PX
   ================= */

@media (max-width: 768px) {
    /* HEADER */
    .combined-bar {
        height: 80px; /* Height adjusted for mobile */
    }
    
    .inline-header {
        width: 200px; /* Width for mobile nav */
        padding: 15px 20px;
        gap: 0.5rem;
    }
    
    .inline-header h3 {
        font-size: 1rem;
        line-height: 1.1;
    }
    
    .inline-header nav {
        flex-direction: row; /* Keep horizontal */
        gap: 1.5rem;
    }
    
    .inline-header nav a {
        font-size: 0.9rem;
    }

    .marqueetext {
        gap: 1rem;
    }


    .marqueetext img {
        /* font-size: 2.5rem;
        padding: 0 2rem; */
        height: 2.5rem;
        padding: 0 1.5rem;
        
    }

    .container_work {
        margin-top: 180px;
    }
    
    /* OYIBO GALLERY - Swipeable */
    .containeroyibo {
        height: 350px;
        overflow-x: auto; /* Enable horizontal scroll */
        overflow-y: hidden;
        scroll-snap-type: x mandatory; /* Snap to images */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        cursor: grab;
    }

    .containeroyibo:active {
        cursor: grabbing;
    }

    .imglayout_oyibo {
        animation: none !important; /* Remove autoscroll */
        gap: 1rem; /* Add gap between images */
    }
    
    .imglayout_oyibo img {
        width: 280px;
        height: 350px;
        margin-left: 0; /* No overlap */
        scroll-snap-align: start; /* Snap each image to start */
        flex-shrink: 0;
    }

    .imglayout_oyibo img:nth-child(n+15) {
        display: none; /* Hide images 15-28 (the duplicates) */
    }

    /* Remove hover/not-hover animations */
    .containeroyibo:not(:hover) .imglayout_oyibo {
        animation: none !important;
    }
    
    /* Hide scrollbar */
    .containeroyibo::-webkit-scrollbar {
        display: none;
    }
    
    .containeroyibo {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    
    /* FWA GALLERY - Horizontal with auto-scroll */
    .containerfwa {
        height: 350px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        cursor: grab;
    }


    .containerfwa:active {
        cursor: grabbing;
    }
    
    .imglayout_fwa {
        animation: none !important;
        gap: 1rem;
    }
    
    .imglayout_fwa img {
        width: 350px;
        height: 350px;
        margin-left: 0;
        scroll-snap-align: start;
        flex-shrink: 0;
    }


    /* Hide duplicate images on mobile */
    .imglayout_fwa img:nth-child(n+13) {
        display: none; /* Hide images 13-24 (the duplicates) */
    }
    
    .containerfwa:not(:hover) .imglayout_fwa {
        animation: none !important;
    }
    
    .containerfwa::-webkit-scrollbar {
        display: none;
    }
    
    .containerfwa {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }


    
    /* HMHP GALLERY - Horizontal with auto-scroll */
    .containerhmhp {
        height: 350px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        cursor: grab;
    }
    
    .imglayout_hmhp {
        animation: none !important;
        gap: 1rem;
    }
    
    .imglayout_hmhp img {
        height: 350px;
        margin-left: 0;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    /* Hide duplicate images on mobile */
    .imglayout_hmhp img:nth-child(n+16) {
        display: none; /* Hide images 16-30 (the duplicates) */
    }
    
    .containerhmhp:not(:hover) .imglayout_hmhp {
        animation: none !important;
    }
    
    .containerhmhp::-webkit-scrollbar {
        display: none;
    }
    
    .containerhmhp {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    
    /* PROJECT CONTENT */
    .prjcontent {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .largetitle {
        width: 100%;
        height: auto;
    }
    
    .prjparagraph {
        width: 100%;
        height: auto;
    }
    
    .prjparagraph p {
        font-size: 0.9rem;
    }
    
    .collabtxt {
        padding-top: 40px;
    }
    
    /* CONTAINER SPACING */
    .container_work {
        gap: 60px;
    }

    .archive-section {
    margin: 180px auto 0px auto;
    }
    
    /* ARCHIVE - Horizontal scroll */
    .archiveitem {
        width: 250px;
        height: 312px;
    }
    

    .line-text {
    padding-left: 1rem;
    }


    .archivewrapper {
        margin: 0px auto 50px auto;
    }
    
    /* ABOUT SECTION */
    .aboutsection {
        margin: 50px auto 0 auto;
        padding: 0 2rem;
    }
    
    .aboutcontent {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .aboutleft, .aboutright {
        width: 100%;
        height: auto;
        font-size: 1rem;
        text-align: left;
    }
    
    /* FOOTER CONTENT */
    footer {
        margin: 100px auto 20px auto;
    }

    
    .footercontent {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding: 0 2rem;
        margin-top: 3rem;
    }
    
    .footerlinks {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footercontact {
        text-align: left;
        align-items: flex-start;
    }
    
    .footercontact .label {
        align-self: flex-start;
    }
    
    .footercontact .email {
        font-size: 1.5rem;
    }


    .copyright {
    padding: 0 2rem;
    }


}

/* =================
   EXTRA SMALL MOBILE - BELOW 480PX
   ================= */

@media (max-width: 480px) {
    .combined-bar {
        height: 70px;
    }
    
    .inline-header {
        width: 180px;
        padding: 12px 15px;
    }
    
    .inline-header h3 {
        font-size: 1rem;
    }
    
    .inline-header nav {
        gap: 1.2rem;
    }
    
    .inline-header nav a {
        font-size: 0.8rem;
    }


    .marqueetext {
        gap: 0.5rem;
    }
    

    .marqueetext img {
        /* font-size: 2.5rem;
        padding: 0 1.5rem; */

        height: 2rem;
        padding: 0 1rem;
        
    }

    .container_work {
        margin-top: 180px;
    }
    
    /* OYIBO GALLERY */
    .containeroyibo {
        height: 280px;
    }

    
    .imglayout_oyibo img {
        width: 224px;
        height: 280px;
    }
    
    /* FWA GALLERY */
    .containerfwa {
        height: 280px;
    }
    
    .imglayout_fwa img {
        width: 280px;
        height: 280px;
    }
    
    /* HMHP GALLERY */
    .containerhmhp {
        height: 280px;
    }
    
    .imglayout_hmhp img {
        height: 280px;
    }
    
    /* ARCHIVE */

    .archive-section {
    margin: 180px auto 0px auto;
    }

    .archiveitem {
        width: 200px;
        height: 250px;
    }
    
    /* PROJECT CONTENT */
    .prjcontent {
        padding: 2rem 1rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .prjparagraph p {
        font-size: 0.85rem;
    }
    
    /* ABOUT SECTION */
    .aboutsection {
        margin: 50px auto 0 auto;
        padding: 0 1.5rem;
    }
    
    .aboutleft, .aboutright {
        font-size: 0.9rem;
    }
    
    /* FOOTER */
    footer {
        margin: 100px auto 20px auto;
    }

    .footercontent {
        padding: 0 1.5rem;
    }
    
    .footercontact .email {
        font-size: 1.25rem;
    }


    .copyright {
    padding: 0 1.5rem;
    }

    .copyright p {
        font-size: 0.85rem
    }
}

/* =================
   TABLET - 769PX TO 1023PX
   ================= */

@media (min-width: 769px) and (max-width: 1023px) {
    /* HEADER */
   .inline-header {
        width: 280px;
        padding: 20px 30px;
    }
    
    .inline-header h3 {
        font-size: 1.6rem;
    }
    
    .inline-header nav {
        gap: 1.5rem;
    }
    
    .marqueetext img {
        height: 5rem;
    }
    
    /* OYIBO GALLERY */
    .containeroyibo {
        height: 440px;
    }
    
    .imglayout_oyibo img {
        width: 352px;
        height: 440px;
        margin-left: -260px;
    }
    
    /* FWA GALLERY */
    .containerfwa {
        height: 440px;
    }
    
    .imglayout_fwa img {
        width: 440px;
        height: 440px;
        margin-left: -320px;
    }
    
    /* HMHP GALLERY */
    .containerhmhp {
        height: 440px;
    }
    
    .imglayout_hmhp img {
        height: 440px;
        margin-left: -320px;
    }
    
    /* PROJECT CONTENT */
    .prjcontent {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 2rem;
    }
    
    .largetitle {
        width: 100%;
        height: auto;
    }
    
    .prjparagraph {
        width: 100%;
        height: auto;
    }
    
    /* ABOUT SECTION */
    .aboutsection {
        padding: 0 3rem;
    }
    
    .aboutcontent {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .aboutleft, .aboutright {
        width: 100%;
        height: auto;
        font-size: 1.1rem;
    }
    
    /* FOOTER */
    .footercontent {
        padding: 0 40px;
    }
    
    /* ARCHIVE */
    .archiveitem {
        width: 350px;
        height: 437px;
    }
}

/* =================
   LAPTOP - 1024PX TO 1439PX
   ================= */

@media (min-width: 1024px) and (max-width: 1439px) {
    header {
        padding: 24px 50px;
    }
    
    .prjcontent {
        padding: 56px 0 90px 50px;
    }
    
    .aboutsection {
        padding: 0 3rem;
    }
    
    .aboutcontent {
        column-gap: 2rem;
    }
    
    .aboutleft, .aboutright {
        width: 100%;
    }
    
    .footercontent {
        padding: 0 50px;
    }
}