html {
    scrollbar-gutter: stable;
}
html {
    scrollbar-gutter: stable;
    scrollbar-width: none;      /* Firefox */
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
}
:root {
    --black: #000;
    --white: #fff;
}
::selection {
    background-color: rgb(0, 0, 0);
    color: #fff;
}
body {
    color: var(--black);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: -1.2px;
    font-size: 16px;
    margin: 0;
}
a:link, a:visited {
    text-decoration: none;
    color: #000;
}
a:hover {
    filter: blur(2px);
    transition: 0.2s ease;
}
header {
    padding: 0px 0 40px;
}
nav {
    margin: 10px auto;
    width: 93%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 99;
    left: 50%;
    transform: translateX(-50%);
}
.list-grid a {
    padding: 5px 10px;
}
#pc-nav {
    display: none;
    width: 99%;
}
#pc-links a {
    padding: 5px 0px 5px 10px;
}
#pc-links {
    width: 200px;
    text-align: right;
}
#pc-ime {
    width: 200px;
}


/* /////////////////////// ----------- ////////////////////////////// */
/* /////////////////////// CLIENT LIST ////////////////////////////// */
/* /////////////////////// ----------- ////////////////////////////// */

section.client-list a:hover {
    font-weight: 550;
    filter: blur(4px);
    transition: 0.2s ease;
}
main section.client-list {
    margin: 0 auto;
}
section.client-list {
    max-width: 360px;
    letter-spacing: -3px;
    padding: 120px 0;
    display: flex;
    white-space: nowrap;
    flex-direction: column;
    text-align: center;
    font-size: 50px;
    line-height: .85;
}
@media (min-width: 1024px) {

    section.client-list {
        max-width: 1024px;
        font-size: 120px;
        letter-spacing: -7px;
        padding: 20px 0;
    }
}
#client-1 {
    margin-left: 0px;
}
#client-2 {
    margin-left: 116px;
}
@media (min-width: 1024px) {
    #client-2 {
    margin-left: 336px;
}
}
#client-3 {
    margin-left: -100px;
}
@media (min-width: 1024px) {
    #client-3 {
    margin-left: -200px;
}
}
#client-4 {
    margin-left: 0px;
}
@media (min-width: 1024px) {
    #client-4 {
    margin-left: 100px;
}
}
#client-5 {
    margin-left: -100px;
}
@media (min-width: 1024px) {
    #client-5 {
    margin-left: -200px;
}
}
#client-6 {
    margin-left: 0px;
}
@media (min-width: 1024px) {
    #client-6 {
    margin-left: 100px;
}
}
#client-7 {
    margin-left: -10px;
}
@media (min-width: 1024px) {
    #client-7 {
    margin-left: -150px;
}
}
#client-8 {
    margin-left: 0px;
}
@media (min-width: 1024px) {
    #client-8 {
    margin-left: 300px;
}
}


/* /////////////////////// ----------- ////////////////////////////// */
/* /////////////////////// CLIENT LIST ////////////////////////////// */
/* /////////////////////// ----------- ////////////////////////////// */




/* /////////////////////// ----------- ////////////////////////////// */
/* /////////////////////// CLIENT GRID ////////////////////////////// */
/* /////////////////////// ----------- ////////////////////////////// */


section.client-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 0 10px 100px;
    row-gap: 40px;
}
section.client-grid a {
    display: inline-block;
    transition: 0.2s ease-in;
}
section.client-grid a:hover {
    cursor: pointer;
    filter: blur(0);
    transform: scale(0.95);
}
@media (min-width: 1300px) {
    section.client-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

section.client-grid img {
    width: 100%;
    height: auto;
    display: block;
}

section.client-grid h3 {
    text-align: center;
    font-size: 16px;
    margin: 10px 0 0;
    line-height: 1;
    font-weight: 500;
}


/* /////////////////////// ----------- ////////////////////////////// */
/* /////////////////////// CLIENT GRID ////////////////////////////// */
/* /////////////////////// ----------- ////////////////////////////// */



/* /////////////////////// ----------- ////////////////////////////// */
/* /////////////////////// PROJECT ////////////////////////////// */
/* /////////////////////// ----------- ////////////////////////////// */


.project section.project-main .project-title {
    margin: -30px 0 0 0;
}
.project section.project-main {
    padding: 0 0 70px 0;
}
.project section.project-main h1 {
    font-size: 38px;
    font-weight: 700;
}
.project section.project-main .project-title h1, 
.project section.project-main .project-title p {
    text-align: center;
    line-height: .7;
    margin: 10px 0;
}
.project-title a {
    text-align: center;
    display: block;
    line-height: .6;
    margin: 10px 0;
    font-weight: 400;
    font-size: 16px;
}
.project section.project-main p {
    font-weight: 400;
    font-size: 16px;
    margin: 14px 0;
}
.project-showcase img {
    width: 100%;
    max-width: 95%;
    height: auto;
    display: block;
}
.project-showcase {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.img-small {
    max-width: 70vw !important;
}
.img-medium {
    max-width: 80vw !important;
}
.img-large {
    max-width: 80vw !important;
}

@media (min-width: 1024px) {

    #pc-nav {
        display: flex;
    }
    #mob-nav {
        display: none;
    }
    .project section.project-main h1 {
        font-size: 100px;
        margin: 20px 0;
    }
    .project-showcase img {
        max-width: 1000px;
    }
    .img-small {
        max-width: 700px !important;
    }
    .img-medium {
        max-width: 1000px !important;
    }
}
@media (min-width: 1400px) {
    
    .project-showcase img {
            max-width: 1200px;
        }
}

/* /////////////////////// ----------- ////////////////////////////// */
/* /////////////////////// PROJECT ////////////////////////////// */
/* /////////////////////// ----------- ////////////////////////////// */


/* /////////////////////// ----------- ////////////////////////////// */
/* /////////////////////// ABOUT ////////////////////////////// */
/* /////////////////////// ----------- ////////////////////////////// */


#about main {
    margin: -10px 0 0 0;
    padding-bottom: 200px;
}
.hero-title {
  font-weight: 500;
  line-height: .9;
  max-width: 300px;
  padding: 0 10px;
  margin: 20px auto 1px;
}
h1.hero-title span {
    font-size: 40px;
}
h2.hero-title span {
    font-size: 40px;
}
.hero-title .line {
  display: flex;
}
.hero-title .line-1 {
  justify-content: space-between;
}
.hero-title .line-2 {
  justify-content: flex-start;
}
#about main img {
    position: relative;
    z-index: 99;
    max-width: 270px;
    display: block;
    margin: 0 auto;
}
.img-movingtext {
  position: relative;
  max-width: 350px;
  height: 360px;
  margin: 0 auto;
  overflow: hidden;
}
.img-movingtext h2 {
    display: inline-block ;
}
.moving-text-track {
  display: flex;
  gap: 0;
  justify-content: left;
  position: absolute;
  top: 0;
  left: 0;
  width: fit-content;
  animation: scrollX 20s linear infinite;
}
.behind-text {
  white-space: nowrap;
  pointer-events: none;
  position: relative;
  max-width: 300px;
}
.text1 { 
    top: 0px;
}
.text2 { 
    top: 110px;
}
.text3 { 
    top: 220px;
}
.img-movingtext img {
  position: relative;
  z-index: 99;
  max-width: 270px;
  display: block;
  margin: 0 auto;
}
@keyframes scrollX {
  0% { transform: translateX(0); }
  100% { transform: translateX(-70%); }
}
.about-text {
    width: 300px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: center;
}
#about main p {
    padding: 3px;
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 400;
    max-width: 250px;
    letter-spacing: -1px;
    text-align: left;
}
@media (min-width: 1024px) {

    #about main {
        margin: -50px 0 0 0;
    }
    h1.hero-title span {
        font-size: 120px;
    }
        h2.hero-title span {
        font-size: 80px;
    }
    .hero-title {
        max-width: 950px;
    }
    #about main img {
        max-width: 500px;
    }
    .img-movingtext {
        position: relative;
        max-width: 930px;
        height: auto;
        margin: 0 auto;
        overflow: hidden;
    }
    .text1 { 
        top: 0px;
        left: 0;
    }
    .text2 { 
        top: 180px;
    }
    .text3 { 
        top: 350px;
    }
    .about-text {
        width: fit-content;
        display: flex;
        flex-direction: row;
        position: relative;
        left: 8%;
    }
    #about main p {
        margin: 10px;
        font-size: 13px;
        font-weight: 400;
        max-width: 400px;
        text-align: left;
    }
}
body {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(30px); /* starting lower for fade-in */
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease;
}
body.fade-in {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0); /* normal position */
}
body.fade-out {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-20px); /* moves up on exit */
}
header {
  transition: opacity 0.6s ease, filter 0.6s ease;
  pointer-events: auto;
}
header.fade-in {
  opacity: 1;
  filter: blur(0);
}
header.fade-out {
  opacity: 0;
  filter: blur(8px);
}
#intro {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
}
#intro h1 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 5vw, 10px);
  font-weight: 300;
  letter-spacing: -0.03em;
  transition: opacity 0.6s ease, filter 5s ease, transform 0.6s ease;
}
#intro.hide {
  opacity: 0;
  pointer-events: none;
}
#intro.hide h1 {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(-10px);
}
.no-scroll {
  overflow: hidden;
  height: 100vh;
}