::-webkit-scrollbar {
    width: 6px;
    z-index: 0;
    background-color: rgba(24, 24, 24, 0);
}
::-webkit-scrollbar-thumb {
    background-color: rgb(90, 90, 90);
    border-radius: 10px;
    width: 4px;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
}
body {
	margin: 0;
	padding: 0;
    overflow-x: hidden;
    width: 100vw;
    min-height: 100vh;
    background-color: #17171c;
    /* cursor: none; */
    font-family: "SF Pro", sans-serif;

}
.buttons {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1000;
    padding: 32px;
    gap: 24px;
    transform: translateY(0);
    opacity: 0;
    animation: slide-up 0.8s ease-in-out 1 forwards;
}
@media only screen and (max-width: 600px) {
    .buttons {
        display: none;
    }
    
}
.buttons.home {
    animation: slide-up 0.8s ease-in-out 2.3s 1 forwards;
}
/* Grain texture overlay */
.grain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh; /* Default height, will be overridden by JavaScript */
    pointer-events: none;
    z-index: 1000;
    opacity: 0.45;
    background-image: url('../images/texture.png');
    background-size: 40vw auto;
    background-repeat: repeat;
    mix-blend-mode: soft-light;
    will-change: transform;
    backface-visibility: hidden;
}
.header-bar {
    background: linear-gradient(180deg, #0e0e1100 0%, #0e0e1100 96%)!important;
}

.back-to-top {
    cursor: pointer;
    transition: opacity 0.3s;
    opacity: 1;
    z-index: 1;
    /* position: fixed; */
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* margin: 32px; */
    height: 4rem;
    width: 4rem;
    border-radius: 50%;
    transition: 0.3s;
    background-color: rgba(169, 169, 169, 0.564);
    background-color: #717171c1;
    box-shadow: -3px 3px 20px rgba(38, 44, 75, 0.428);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* display: none; */
}
.material-icons-round {
    user-select: none!important;
    -moz-user-select: none!important;
}
.chatbtn {
    display: flex!important;
    background-color: #1467cc;
    color: #ffffff;
    font-size: 22px;
}
.chatbtn.active {
    background-color: rgb(164, 164, 164);
    color: black
}
.fa-xmark {
    font-size: 28px;
}
.back-to-top:hover {
    transform: scale(1.05);
    box-shadow: -1px 1px 20px #24409e62;

}
.hide {
    opacity: 0;
}
@font-face {
    font-family: SF Pro;
    src: url(../fonts/SF-Pro.ttf)
}
.hero-container {
    position: relative;
    top: 0;
    width: 100vw;
    overflow: hidden;
    height: -webkit-fill-available;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    /* mix-blend-mode: screen; */
    /* background-color: purple; */
}
#read-more {
    animation: slide-up 0.8s ease-in-out 0s 1 forwards;
}
.hero-container #read-more {
    position: absolute;
    bottom: 48px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    z-index: 100;
    animation: slide-up 0.8s ease-in-out 2.3s 1 forwards;
}
#read-more strong {
    font-weight: 500;
}
#read-more .fa-chevron-down {
    display: inline!important;
}
.hero-text {
    z-index: 1;
    /* background-color: pink; */
    color: white;
    /* min-width: ; */
    max-width: 1092px;
    margin: 0 35px;
    margin-top: 64px;
    font-family: "Instrument Serif", serif;
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* filter: blur(10px); */
    /* margin: auto; */
}
.hero-text h1 {
    font-size: 80px;
    font-weight: 300;
    line-height: 90px;
    /* background-color: palegreen; */
    margin: 0;
}

/* Default: show full title, hide short title */
#full-title {
    display: block;
}
#short-title {
    display: none;
}

/* Work header section styling */
.work-header {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.work-header .headline {
    margin: 0;
}

.work-header hr {
    flex: 1;
    margin: 0;
}
.hero-text p{
    font-family: "SF Pro", sans-serif;
    /* font-size: 40px;
    line-height: 45px;
    font-weight: 200; */
    font-size: 16px;
    line-height: normal;
    font-weight: 200;

    /* background-color: aquamarine; */
    margin: 0;
    color: white;

}
.hero-text p a {
    /* text-decoration-style: wavy!important; */
    /* text-decoration-skip-ink: none!important; */
    text-decoration-thickness: 2px!important;
    /* text-decoration-offset: 20px!important; */
}
.texture {
    /* width: 100vw; */
    /* height: calc(100vh + 100px); */
    position: absolute;
    top: -100px;
    z-index: 1;
    mix-blend-mode: soft-light;
    user-select: none;
    opacity: 0.5;
    overflow: hidden;
}
.container {
    position: absolute;
    top:-100px;
	background:#000000;
	height: 100vh;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
    z-index: -3;
}
@media only screen and (hover: none) and (pointer: coarse){
    .container {
        /* height: -webkit-fill-available; */
    }
}
.blob-c {
	height: 150vh;
    width: 150vw;
	overflow: hidden;
	position:absolute;
	/* width: 100%; */
	filter: blur(150px);
}
@media only screen and (min-width: 2000px) {
    .blob-c {
        filter: blur(250px);
    }
    .hero-text h1 {
        font-size: 130px;
        line-height: normal;
    }
    .hero-text p, .hero-text p a {
        font-size: 50px;
        line-height: normal;
    }
}
@media only screen and (max-width: 900px) {
    .blob-c {
        filter: blur(70px);
    }
    .hero-text h1 {
        font-size: 90px;
        line-height: 100px;
    }
    .hero-text p, .hero-text p a {
        /* font-size: 30px;
        line-height: 35px; */
    }
}
.shape-blob {
	background:#0f1e35;
	height: 70vh;
	width: 50vw;
	border-radius: 40% 50% 30% 40%;
  	animation: 
		transform 18s ease-in-out infinite both alternate,
		movement_one 12s ease-in-out infinite both;
	opacity: 1;
	position: absolute;
	right: 0vw;
	bottom: 25vh;
}
.shape-blob.one{
	background:#14514a;
	height: 70vh;
	width: 60vw;
	left: 20vw;
	top: 20vh;
	transform: rotate(-180deg);
	animation: transform 8s ease-in-out infinite both alternate, movement_two 20s ease-in-out infinite both;
}

/* .shape-blob.six{
	background:#36113f;
	height: 60vh;
	width: 50vw;
	bottom: 10vh;
    left: 20vw;
	transform: rotate(-180deg);
	animation: transform 5s ease-in-out infinite both alternate, movement_two 5s ease-in-out infinite both;
} */

.shape-blob.four{
	background:#251e53;
	height: 80vh;
	width: 60vw;
	left: -20vw;
	top: 20vh;
	transform: rotate(-180deg);
	animation: transform 17s ease-in-out infinite both alternate, movement_two 13s ease-in-out infinite both;
}

/* .shape-blob.five{
	background:#2e2a60;
	height: 35vh;
	width: 40vw;
	left: 10vw;
	top: 20vh;
	transform: rotate(-180deg);
	animation: transform 12s ease-in-out infinite both alternate, movement_two 18s ease-in-out infinite both;
} */

.shape-blob.two{
	background:#814291;
	height: 80vh;
	width: 60vw;
	left: 70vw;
	bottom: 0;
	transform: rotate(-180deg);
	animation: transform 10s ease-in-out infinite both alternate, movement_two 10s ease-in-out infinite both;
}

@keyframes transform
{
    0%,
  100% { border-radius: 33% 67% 70% 30% / 30% 40% 70% 70%; } 
   20% { border-radius: 37% 63% 51% 49% / 37% 35% 35% 63%; } 
   40% { border-radius: 36% 64% 64% 36% / 64% 48% 52% 26%; } 
   60% { border-radius: 37% 63% 51% 49% / 30% 30% 70% 73%; } 
   80% { border-radius: 40% 60% 42% 58% / 51% 51% 49% 59%; } 
}


@keyframes movement_one
{
    0%,
  100% { transform: none; }
   50% { transform: translate(50%, 20%) rotateY(10deg) scale(1); }
}

@keyframes movement_two
{
    0%,
  500% { transform: none; }
   50% { transform: translate(50%, 20%) rotate(-200deg) scale(1.3);}
}

.hero-container {
    display: flex;
    align-items: center;
    height: 75vh;
    height: 75svh;
    /* background: linear-gradient(186deg, #25316b -7.7%, #131313 51.44%);
    background: linear-gradient(2deg, #222b58 6.85%, #000 70.99%);
    background: linear-gradient(12deg, #697094 -7.53%, #293678 18.64%, #000 97.59%);
    background: linear-gradient(2deg, #5a6288 -6.66%, #29346c 8.67%, rgb(17, 17, 28) 49.57%); */
    background: linear-gradient(2deg, #5a6288 5.66%, #29346c 30.67%, rgb(17, 17, 28) 60.57%);
    background:  linear-gradient(3deg, #17171c 30%, #2c376c 100%);

    background-size: 150% 150%;
    overflow: visible;
    animation: gradientShift 3s ease-in-out infinite;
}


@keyframes gradientShift {
    0% {
        background-position: 0% 20%;
    }
    50% {
        background-position: 100% 70%;
    }
    100% {
        background-position: 0% 20%;
    }
}
#splash {
    width: 100vw;
    height: 80vh;
    overflow-y: hidden;
    top: 40vh;
    position: absolute!important;
    mix-blend-mode:lighten;
    opacity: 0;
    animation: opacityOn 1s ease-in-out 3s 1 forwards;
}
.hero-text {
    width: 90vw;
    max-width: 1092px;
    font-family: "Instrument Serif";
}
.text-message p {
    font-family: SF Pro;
    color: white;
    font-size: 22px;
    line-height: normal;
    font-weight: 300;
    margin: 0!important;
}
h1 {
    opacity: 0;
    width: fit-content;
    color: white;
    z-index: 2;
    animation: slide-up 1s ease-in-out 2.3s 1 forwards;
    text-shadow: none;
    transition: text-shadow 1s;
    padding-top: 76px;
}
h1:hover {
    /* animation: slide-up 1s ease-in-out 3s 1 forwards, glow 2s ease-in-out 1s infinite alternate; */
    text-shadow: 0 0 0px rgba(255, 255, 255, 0.605), 0 0 0px rgba(255, 255, 255, 0.605), 0 0 30px #1b2349, 0 0 40px #1b2349, 0 0 50px #1b2349;
    transition: text-shadow 1s;
}
/* body::after {
  content: "";
  position: absolute;
  top: calc(var(--y, 0) * 1px);
  left: calc(var(--x, 0) * 1px);
  width: 20px;
  height: 20px;
  background: radial-gradient(white, #ffffff00 30%);
  opacity: 0;
  transition: opacity 0.2s;
}

body:hover::after {
  opacity: 0.6;
} */

h2 {
    /* width: 600px; */
    /* width: 550px; */
    opacity: 0;
    animation: slide-up 1s ease-in-out 2.5s 1 forwards;
    font-weight: 200;
    margin: 0;
    line-height: 40px;
}
h2 i{
    color: rgba(255, 255, 255, 0.70);
    font-size: 47px;
    font-size: 42px;
    letter-spacing: -0.05ch;
    font-family: "Instrument Serif";
    font-style: italic;
    padding: 4px;
    animation: glow 2s ease-in-out infinite alternate;
}

h2 i.first-in-line {
    padding-left: 0;
}
h2 z{
    color: rgba(255, 255, 255, 0.70);
    font-family: "SF Pro";
    font-size: 44.109px;
    font-size: 40px;
    font-style: normal;
    font-weight: 100;
    animation: glow 2s ease-in-out infinite alternate;
}

.experience-text {
    /* margin-top: 16px; */
}

.experience-text p {
    color: rgba(255, 255, 255, 0.5);
    font-family: "SF Pro", sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
    margin: 0;
    opacity: 0;
    animation: slide-up 1s ease-in-out 3s 1 forwards;
}
.experience-text p a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.5);
}
.hero-text .tags, .hero-container hr {
    opacity: 0;
    animation: slide-up 1s ease-in-out 2.8s 1 forwards;
    
}
.text-message {
    display: flex;
    padding: 13.215px 21.36px;
    justify-content: center;
    width: fit-content;
    height: fit-content;
    align-items: center;
    gap: 7.649px;
    border-radius: 30.827px;
    background: #3B3942;
    margin-bottom: 12px;
    position: relative;
    border-radius: 30.827px;
    /* border: 1px solid white; */
    box-shadow: 0.5px -0.5px 1px rgb(109, 109, 109);
    /* transform: scale(0.8)!important; */
    transform-origin: left!important;
    /* transform: scale(0.8); */
}
.text-tick {
    width: 23.12px;
    height: 31.983px;
    position: absolute;
    left: -10.615px;
    transform: rotate(2deg);
    bottom: -0px;
    fill: #3B3942;
    /* filter: drop-shadow(-1px 0px 1px rgba(81,81,81)); */
}
.memoji {
    width: auto;
    height: 34px;
}
#glow {
    height: 120vh;
    position: absolute!important;
    right: 5vw;
    overflow: visible;
    /* transform: translateX(20vw) translateY(10vh); */
    flex-shrink: 0;
    opacity: 0;
    mix-blend-mode: screen;
    animation: opacityOn 1s ease-in-out 3s 1 forwards;
}
#earth {
    transform: translate(5vw, -20vh);
}

#hi-im-alice {
    position: absolute;
    top: 60%;
    left: 40%;
    transform-origin: bottom left!important;
    opacity: 0;
    animation: opacityOn 0.5s ease-in 1.5s 1 forwards, shift 1s ease-in-out 2.3s 1 forwards;
}
#loadingDots{
    position: absolute;
    top: 60%;
    left: 40%;
    /* transform: translate(-150%, -50%); */
    z-index: 1;
    padding: auto;
    background-color: #3B3942;
    border-radius: 40px;
    height: 60.43px;
    width: 100px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    animation: size-up 0.5s ease-in-out 0s 1 forwards, opacityOff 0.5s linear 1.5s 1 forwards;
    box-shadow: 0.5px -0.5px 1px rgb(109, 109, 109)
}
#loadingDots:after, #loadingDots:before{
   content: '';
   position: absolute;
   bottom: -5px;
   left: -2px;
   height: 20px;
   width: 20px;
   border-radius: 50%;
   background-color: #3B3942;

}
#loadingDots:before{
    bottom: -15px;
     height: 10px;
     width: 10px;
     left: -7px;
}
    .dot1, .dot2, .dot3{
        margin:auto 2px;
        background-color: #9E9EA1;
        height: 13px;
        width: 13px;
        border-radius: 50%;
        opacity: 0.4;
    }
.dot1{
 animation: dot1L 1s ease-in-out 0.5s   2  forwards;
}
.dot2{
 animation: dot1L 1s ease-in-out 0.7s   2  forwards;
}
.dot3{
 animation: dot1L 1s ease-in-out 1s    2 forwards;
}
@media only screen and (max-width: 900px) {
    .hero-container {
        height:80vh;
        height: 80svh;
    }
    .hero-text, #projects {
        width: 90vw;
    }
    
    /* Show short title, hide full title on smaller screens */
    #full-title {
        display: none;
    }
    #short-title {
        display: block;
    }
    
    /* Work header section responsive */
    .work-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .work-header hr {
        width: 100%;
        flex: none;
    }
    
    .text-message p{
        font-size: 16px;
    }
    .text-message {
        padding: 8px 13px;
    }
    
    .footer-social-links .social-link span {
        font-size: 16px;
    }
    
    .text-message.social-link .footer-social-links span {
        font-size: 16px;
    }
    .experience-text {
        display: none;
    }
    .hero-text hr {
        display: none !important;
    }
    .hero-text {
        margin-top: 90px;
        gap: 8px;
    }
    #hi-im-alice, #loadingDots {
        left: 20%;
        top: 30%;
        /* transform: scale(1)!important; */
    }
    #loadingDots {
        height: 40px;
        width: fit-content;
        padding: 0 12px;
        border-radius: 20px;
    }
    #loadingDots:after, #loadingDots:before{
        content: '';
        position: absolute;
        bottom: -2px;
        left: -2px;
        height: 15px;
        width: 15px;
        border-radius: 50%;
        background-color: #3B3942;
     
    }
    #loadingDots:before{
        bottom: -9px;
        height: 7px;
        width: 7px;
        left: -6px;
    }
    .dot1, .dot2, .dot3{
        height: 8px;
        width: 8px;
    }
    .memoji {
        width: 24px;
        height: 24px;
    }
    .text-tick {
        width: 16.12px;
        height: 24.983px;
        left: -7.516px;
        bottom: -1px;        
    }
    .hero-text h1 {
        font-size: 80px;
        line-height: 85px;
        padding-top: 50px;
    }
    h2 {
        max-width: 90vw;
        line-height: 35px;
        transform-origin: top left;
    }
    h2 i {
        font-size: 36px;
    }
    h2 z {
        font-size: 34px;
    }
    #glow {
        right: -130px;
    }
    #splash {
        top: 0;
        height: 100vh;
    }
}
@keyframes glow {
    from {
      text-shadow: 0 0 0px rgba(255, 255, 255, 0.605), 0 0 0px rgba(255, 255, 255, 0.257);
    }
    to {
      text-shadow: 0 0 10px rgba(255, 255, 255, 0.121);
    }
  }
@keyframes dot1L{
 0%{
   opacity: 0.4;
 }
 50%{
   opacity: 1
 }
   100%{
   opacity: 0.4;
 }
}
@keyframes opacityOff {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes opacityOn {
    0% {
        opacity: 0;
        transform: scale(1.3)!important;
    }
    100% {
        opacity: 1;
    }
}

@keyframes size-up {
    0% {
        transform: scale(0);
        transform-origin: bottom left;
    }
    100% {
        transform: scale(1.3)!important;
        transform-origin: bottom left;
    }
}
@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(100px);
        filter: blur(10px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
        filter: blur(0px);
    }
}
@keyframes shift {
    0% {
        transform: scale(1.3)!important;
    }
    
    100% {
        top: 0;
        left: 0;
        transform: scale(0.9);
    }
}
@keyframes slide-left {
    0% {
        transform: scale(1.5) translateX(20vw) translateY(-10vh);
        transform-origin: right top;
    }
    100% {
        transform: scale(1) translateX(20vw) translateY(20vh);
        opacity: 1;
        transform-origin: right top;
    }
}

/* PROJECT CARDS */
#my-projects {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* height: 12px; */
}

#my-projects a {
    color: rgba(255, 255, 255, 0.7);
    line-height: 30px;
    font-weight: 100;
}
#projects {
    width: 90vw;
    max-width: 1092px;
    margin: auto;
    color: white;
    /* margin-top: 64px; */
    padding-top: 64px;
    /* background-color: purple; */
}
.primary-projects {
    animation:slide-up 0.8s ease-in-out 2.9s 1 both
}
#projects h2 {
    /* background-color: green; */
    animation: none;
    opacity: 1;
    font-family: "SF Pro", sans-serif;
    font-weight: 300;
    /* display: block; */
    width: fit-content;
    font-size: 18px;
    line-height: 18px;
    text-transform: uppercase;
}
#projects hr, footer hr, .hero-container hr {
    display: block;
    height: 0.8px;
    border: none;
    background-color: rgba(255, 255, 255, 0.2);
    width: 100%;
    margin: 16px;
}
.work, .more-work {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    flex-direction: row;
    gap: 24px;
    gap: 32px;
    width: 100%;
    max-width: 1092px;
    align-items: start;
}

.work {
    grid-template-columns: 1fr 1fr;
}

.more-work {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}
.work .project, .more-work .project {
    width: 100%;
    margin-top: 15px;
    row-gap: 24px;
}
.more-work .text {
    gap: 24px
}
.thumbnail {
    aspect-ratio: 3/2 !important;
    width: 100% !important;
    height: auto !important;
}
.more-work .thumbnail {
    aspect-ratio: 5/4 !important;
}
.thumbnail video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
}

.thumbnail img:not(.year) {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
}
/*  */
/* .pega img {
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.356), 
    0px 0px 6px rgba(0, 0, 0, 0.502);
} */
 .pega  {
    mix-blend-mode: lighten;
    /* width: 60%; */
 }
.more-work video, .more-work img:first-child {
    /* border-radius: 8px; */
    /* filter: blur(0.5px); */
    object-fit: fill;
    height: auto;
}

.more-work .v3, .work .v3 {
    width: 100%;
    height: 100%;
    min-height: 220px;
    /* overflow: hidden; */
    padding-top: 48px;
    padding-bottom: 48px;
}

.more-work .v3 {
    min-height: 150px;
}
.work .v3 {
    max-height: 300px;
}
.more-work .headline {
    font-size: 32px;
    line-height: 38px;
}
.project {
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: blue; */
    column-gap: 48px;
    /* margin: 32px 0px; */
    /* margin-bottom: 48px; */
    transition: 0.5s;
    opacity: 0.8;
}
.phone {
    transition: 0.5s;
}
.project .year {
    position: absolute; 
    top: -3px; 
    right: -3px; 
    height: 72px;
}
.project:hover .text{
    transform: scale(1.03);
    transition: 0.3s;
}
.project:hover {
    opacity: 1;
}
.project:hover .v3, .project:hover .thumbnail{
    transform: scale(1.02);
}
.project:hover .phone{
    transform: scale(1.06);
}
/* .more-work .project:hover .thumbnail {
    transform: scale(1.1);
} */
.reverse {
    flex-direction: row-reverse;
    /* background-color: purple; */
}
.vertical {
    flex-direction: column;
    row-gap: 32px;
}
.v3 {
    width: 45%;
    aspect-ratio: 3/2;
    background: linear-gradient(307deg, #1F6B7C 6.14%, #38ABC6 98.68%);
    position: relative;
    border-radius: 12px;
    border-radius: 24px;
    /* border-top-right-radius: 90px; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* transition: transform 0.3s; */
    transition: 0.5s!important;
    /* overflow: hidden; */
}
.phone {
    min-width: 250px;
    width: 80%;
    height: auto;
    object-fit: contain;
    max-height: 100%;
    margin: 80px;
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

.thumbnail {
    width: 100%;
    aspect-ratio: 3/2;
    border-radius: 12px;
    /* border-radius: 24px; */
    margin-top: 16px;
    /* background-color: #ff69b4; */
    position: relative;
    transition: transform 0.3s ease;
    /* overflow: hidden; */
}

.thumbnail video, .thumbnail img:not(.year) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.pega .phone {
    mix-blend-mode: lighten;
}
.headline {
    font-size: 40px;
    line-height: 48px;
    font-size: 36px;
    line-height: 45px;
    font-family: "Instrument Serif", serif;
    margin: 0;
    color: rgba(255, 255, 255, 0.52);
    font-style: italic;
    transition: 0.3s;
}

.headline i {
    display: block;
    color: rgb(255, 255, 255);
    font-style: normal;
}

.headline.small {
    font-size: 32px!important;
    line-height: 38px;
}
#projects a {
    text-decoration: none;
}
#projects .text {
    width: auto;
    color: rgba(255, 255, 255, 0.7);
    display: grid;
    gap: 16px;
    transition: 0.3s;
}
#projects .message {
    font-size: 20px;
    font-weight: 200;
    line-height: 30px;  
    margin: 0; 
}
.tags {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 10px;
}
.chip {
    text-transform: uppercase;
    width: fit-content;
    font-size: 14px!important;
    font-weight: 400!important;
    border-radius: 163.478px;
    background: #3B3942;
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    box-shadow: 0.5px -0.5px 1px rgb(109, 109, 109);
    /* box-shadow: 0px 0px 1.635px 0px rgba(255, 255, 255, 0.25) inset; */
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 16.348px;
    margin: 0;
    color: #ffffffb3!important;
}

.cooklab {
    background: linear-gradient(307deg, #194b24 6.14%, #3b8b4b 98.68%);
}
.mpa {
    background: linear-gradient(307deg, #03134D 6.14%, #204996 98.68%);
}
.ecw {
    background: linear-gradient(307deg, #1b4464 6.14%, #1b6ba0 98.68%);
}
.cinema {
    background: linear-gradient(307deg, #762121 6.14%, #A04040 98.68%);
}
.sevenseas {
    background: linear-gradient(307deg, #452b20 6.14%, #82533a 98.68%);
}
.unio {
    background: linear-gradient(307deg, #53357B 6.14%, #9761DE 98.68%);
}
.pega {
    background: linear-gradient(307deg, #181f4f 6.14%, #434c97 98.68%);
}
.bytebrew {
    background: linear-gradient(307deg, #065589 6.14%, #2ca6ac 98.68%);
}
.portfolio {
    background: linear-gradient(307deg, rgb(19, 27, 52) 6.14%, #3a4e88 98.68%);
}
.kiosk {
    background: linear-gradient(307deg, #202F66 6.14%, #6F6295 98.68%);
}
.visionfusion {
    background: linear-gradient(307deg, #3b357b 6.14%, #6197de 98.68%);
}
.hidden {
    opacity: 0;
    transform: scale(0.9); /* slightly smaller */
    transform-origin: center top;
    filter: blur(5px);
    transition: 1s, opacity ease-in-out 0.5s, transform ease-in-out 0.6s, 
    filter ease-in-out 0.8s;
}
@media(prefers-reduced-motion) {
    .hidden {
        transition: none;
    }
}
.show {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0px);
}
@media only screen and (max-width: 1100px) {
    .work, .more-work {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .more-work .thumbnail {
        aspect-ratio: 3/2 !important;
    }
}

@media only screen and (max-width: 900px) {
    .project {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
        opacity: 1;
        margin-bottom: 24px;
    }  
    .work, .more-work {
        grid-template-columns: 1fr;
        gap: 0px;
        width: 100%;
        max-width: 1092px;
    }   
    .work .headline{
        font-size: 32px;
        line-height: 36px;
    }
    .v3 {
        width: 100%;
        aspect-ratio: 3/2;
        max-height: none;
    }
    .phone {
        min-width: 200px;
        width: 50%;
        max-width: 80%;
    }
    
    .thumbnail {
        width: 100%;
        aspect-ratio: 3/2;
        margin-top: 12px;
    }
    
    /* .headline {
        font-size: 45px;
        line-height: 50px;
    } */
    .headline i {
        display: inline;
    }
}
@media only screen and (max-width: 600px) {
    .v3 {
        aspect-ratio: 3/2;
    }
    .back-to-top {
        display: none;
    }
}
/* FOOTER */
footer {
    width: 100vw;
    height: fit-content;
    margin-top: 64px;
    /* padding-top: 64px; */
    /* padding-bottom: 28px; */
    /* background-color: #000000; */
}
footer .content {
    max-width: 1092px;
    margin: auto;
    margin-top: 48px;
    margin-bottom: 48px;
    width: 90vw;
    display: flex;
    justify-content: space-between;
}
footer nav a{
    display: block;
    width: fit-content;
    text-align: end;
    font-size: 32px;
    line-height: 34px;
    font-family: "Instrument Serif", serif;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}
nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
footer .active {
    color: white;
    border-bottom: 1px white solid;
    margin-bottom: 2px;
}
#copyright {
    color: white;    
    text-align: center;
    margin: 0;
    /* font-family: "Instrument Serif", serif; */
    /* font-style: italic; */
    text-transform: uppercase;
    font-weight: 200;
    font-size: 16px;
    padding: 24px 0;
    background-color: #3B3942;
    color: rgba(255, 255, 255, 0.7);
}
.button {
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-sizing: border-box;
    width: fit-content;
    padding: 14px 24px 14px 24px;
    border-radius: 100px;
    margin-top: 24px;
}
.button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.button p{
    color: white;
    opacity: 0.7;
    font-size: 24px;
    line-height: normal;
    font-family: "SF Pro", sans-serif;
}

/* Modal overlay */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(50, 50, 50, 0.445);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  overflow: auto;
}

/* Modal inner content */
.modal-content {
  position: relative;
  width: 90vw;
  max-width: 900px;
  height: auto;
  background: #000;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Close button */
.modal-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  z-index: 10;
}

/* Video styling */
.modal-content video {
  width: 100%;
  aspect-ratio: 16 / 9; /* force widescreen */
  object-fit: contain;   /* no cropping */
  border-radius: 8px;
  display: block;
}

/* PDF styling */
.modal-content iframe {
  width: 100%;
  height: 90vh;  /* fill most of the viewport */
  border: none;
  border-radius: 8px;
  background: #fff;
}

/* custom cursor */
/* Hide the default cursor */
/* Hide native cursor */
/* Keep system cursor by default */
body {
  cursor: none;
}

.custom-cursor {
  position: fixed;
  top: -9999px;
  left: -9999px;
  transform: translate(0, -50%);
  pointer-events: none;
  z-index: 10000000;

  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: -3px 3px 20px rgba(38, 44, 75, 0.428);
  border: 0.5px solid rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;

  display: flex;
  align-items: center; /* center vertically */
  justify-content: flex-start; /* left to right expansion */
  overflow: hidden;

  font-size: 14px;
  line-height: 20px;
  color: black;
  font-family: 'SF Pro', sans-serif;
  /* font-weight: 100; */
  font-weight: 500!important;
  white-space: nowrap;

  transition:
    width 0.15s ease,
    height 0.15s ease,
    padding 0.15s ease,
    border-radius 0.15s ease,
    opacity 0.1s ease,
    transform 0.15s ease;

  transform-origin: left center;
  opacity: 1 !important; /* visible by default */
  transform: translate(0, -50%) scaleX(1);
  display: block !important;
}

/* Hide cursor when mouse is outside viewport */
.custom-cursor.outside {
  display: none !important;
}

/* Active hover cursor */
.custom-cursor.active {
  opacity: 1;
  height: auto;
  padding: 6px 16px;
  border-radius: 20px;
  width: auto;
  min-width: 15px;
  transform: translate(0, -50%) scaleX(1);
  transform-origin: left center;
  animation: expandCursor 0.2s ease-out forwards;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@keyframes expandCursor {
  0% {
    transform: translate(0, -50%) scaleX(0);
  }
  100% {
    transform: translate(0, -50%) scaleX(1);
  }
}
@media only screen and (max-width: 768px) {
    [data-cursor]:hover {
        cursor: default;
    }
}
/* Text animation */
.cursor-text {
  display: inline-flex;
  align-items: center; /* center vertically */
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.custom-cursor.active .cursor-text {
  transform: translateX(0);
  opacity: 1;
}

.cursor-text .arrow {
  font-size: 18px;
  padding-left: 4px;
  display: inline-block;
  vertical-align: middle; /* ensure arrow aligns with text */
}

/* Hide system cursor globally and on all hoverable elements */
* {
  cursor: none !important;
}


/* Ensure custom cursor is always visible */

.custom-cursor.hoverable {
  opacity: 0.5 !important;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  transform: translate(0, -50%) scaleX(1);
  transform-origin: left center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


/* Default cursor state - always visible circle */
.custom-cursor.default {
  opacity: 1;
  width: 15px;
  height: 15px;
  padding: 0;
  border-radius: 50%;
  transform: translate(0, -50%) scaleX(1);
  transform-origin: left center;
}

/* When transitioning from default to active, start collapsed */
.custom-cursor.default:not(.active) {
  transform: translate(0, -50%) scaleX(1);
}

/* Footer social links styling */
.footer-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-social-links .social-link {
  color: white;
  /* font-size: 20px; */
  text-decoration: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social-links .social-link span {
  font-size: 22px;
  font-weight: 300;
  font-family: "SF Pro", sans-serif;
}

.footer-social-links .social-link:hover {
  opacity: 0.7;
}

/* Preserve text-message styling when used as social link */
.text-message.social-link {
  color: white;
  text-decoration: none;
  display: block;
}

.text-message.social-link:hover {
  color: white;
  text-decoration: none;
}

.text-message.social-link .footer-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.text-message.social-link .footer-social-links i {
  font-size: 24px;
  color: white;
}

.text-message.social-link .footer-social-links span {
  font-size: 22px;
  font-weight: 300;
  font-family: "SF Pro", sans-serif;
  color: white;
}
