@font-face {
    font-family: 'Bounded';
    src: url('/assets/fonts/Bounded-Variable.woff2');
}
@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-Variable.woff2');
}
:root { 
    --light-green: #b1f05a;
    --light-green-rgb: 177, 240, 90;
    --orange: #ea6437; 
    --orange-rgb: 234, 88, 55;
    --blue: #1a3654;
}
body {
    margin: 0;
    padding: 0;
    background-color: #000000;
}
p {
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 10px;
}
a {
    color: inherit;
    transition: 0.3s ease-in-out;
}
a:hover {
    color: var(--light-green);
}
h1 {
    font-family: "Bounded", sans-serif;
    font-size: clamp(20px, 6.7vw, 44px);
    font-weight: 200;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #fff;
}
h2 {
    font-family: "Bounded", sans-serif;
    font-size: clamp(16px, 11vw, 52px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #fff;
}
h3 {
    font-family: "Bounded", sans-serif;
    font-size: 8vw;
    font-weight: 200;
    line-height: 1.1;
    color: #fff;
}
h4 {
    font-family: "Bounded", sans-serif;
    font-size: clamp(16px, 4vw, 24px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #fff;
}
.grid-box {
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    display: grid;
    max-width: 600px;
}
#loading {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    transition: opacity 1s ease-in-out;
}
#loading .loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#loading .loading p {
    color: #ddd;
}
#loading.hide {
    opacity: 0;
}
@media screen and (min-width: 1050px) {
    .grid-box {
        max-width: 1200px;
    }
    p {
        font-size: 16px;
    }
    h3 {
        font-size: 60px;
    }
    h4 {
        font-size: 20px;
    }
    .grid-box {
        padding: 0 40px;
    }
}

/* HERO *********************************************************************/
#hero {
    min-height: 100vh;
    opacity: 0;
    transition: 1s ease-in-out;
    transition-delay: 0.4s;
}
#hero.show {
    opacity: 1;
}
.hero {
    padding-top: 15px;
    min-height: 85vh;
    overflow: hidden;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr 40vw auto 25vw 25vw;
    grid-template-areas: 
        "hero-1 hero-1 hero-1 hero-1 hero-1 hero-2"
        "hero-1 hero-1 hero-1 hero-1 hero-1 hero-3"
        "hero-4 hero-4 hero-4 hero-4 hero-4 hero-4"
        "hero-5 hero-6 hero-6 hero-6 hero-6 hero-6"
        ".      hero-6 hero-6 hero-6 hero-6 hero-6"
        "hero-7 hero-7 hero-7 hero-7 hero-7 hero-7";
}
.hero-1 {
    grid-area: hero-1;
    position: relative;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),
        url("/assets/images/chain-3.jpg");
    background-position: top center;
    background-size: cover;
    border-radius: 25px 25px 0 0;
    transform: scale(1, 0);
    transform-origin: bottom;
    transition: 0.2s ease;
    transition-delay: 1s;
}
.hero-1.show {
    transform: scale(1, 1);
}
.hero-1 .overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 40vw;
    background-color: rgba(var(--light-green-rgb), 0.6);
    backdrop-filter: blur(6px);
    border-radius: 25px 0 0 0;
    transform: scale(1, 0);
    transform-origin: bottom;
    transition: 0.2s ease;
    transition-delay: 1.5s;
}
.hero-1 .overlay.show {
    transform: scale(1, 1);
}
.hero-1 .title {
    padding: 20px;
    margin-bottom: 40vw;
    aspect-ratio: 1.8/1;
    opacity: 0;
    transform: translateY(100px);
    transition: 0.2s ease-in-out;
    transition-delay: 3.5s;
}
.hero-1 .title.show {
    opacity: 1;
    transform: translateY(0);
}
.hero-1 .title h1 span {
    font-weight: 900;
}
.hero-1 .title h3 {
    margin-top: 20px;
    font-size: clamp(12px, 3.6vw, 22px);
    font-weight: 200;
    letter-spacing: -0.02;
}
.hero-2 {
    grid-area: hero-2;
}
.hero-3 {
    grid-area: hero-3;
    background-color: var(--light-green);
    border-radius: 0 25px 0 0;
    transform: scale(1, 0);
    transform-origin: bottom;
    transition: 0.2s ease;
    transition-delay: 1.5s;
}
.hero-3.show {
    transform: scale(1, 1);
}
.hero-3 p {
    display: none;
}
.hero-4 {
    grid-area: hero-4;
    position: relative;
}
.hero-4 .title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.3em 0 0.6em 0;
    display: flex;
    background-color: #000;
    transform: scale(1, 0);
    transform-origin: bottom;
    transition: 0.2s ease-in-out;
    transition-delay: 2s;
}
.hero-4 .title.show {
    transform: scale(1, 1);
}
.hero-4 .title h2 {
    font-size: clamp(32px, 11vw, 72px);
    transform: scale(0);
    transition: 0.5s cubic-bezier(.49,0,.24,1.39);
    transition-delay: 2.2s;
}
.hero-4 .title h2.show {
    transform: scale(1);
}
.hero-4 .title h4 {
    height: min-content;
    margin-top: 0.8em;
    margin-left: -4em;
    font-family: "Inter";
    font-weight: 400;
    font-size: clamp(10px, 3.6vw, 23px);
    padding: 0.15em 0.6em 0.2em 0.6em;
    border: #fff solid 2px;
    border-radius: 1em;
    background-color: #000;
    transform: translateX(800px);
    transition: 0.5s cubic-bezier(.49,0,.24,1.2);
    transition-delay: 2.7s;
}
.hero-4 .title h4.show {
    transform: translateX(0);
}
.hero-5 {
    grid-area: hero-5;
    width: 500%;
    margin-right: -400%;
    background-color: var(--orange);
    border-radius: 0 0 25px 25px;
    transform: scale(1, 0);
    transform-origin: top;
    transition: 0.2s ease;
    transition-delay: 1s;
}
.hero-5.show {
    transform: scale(1, 1);
}
.hero-6 {
    grid-area: hero-6;
    position: relative;
    background-color: var(--blue);
    background-image: url("/assets/images/globus-3.png");
    background-size: 100% auto;
    background-position: top 50px right -50px;
    background-repeat: no-repeat;
    border-radius: 0 0 25px 25px;
    transform: scale(1, 0);
    transform-origin: top;
    transition: 0.2s ease;
    transition-delay: 1.5s;
}
.hero-6.show {
    transform: scale(1, 1);
}
.hero-6 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 25vw;
    background-color: rgba(var(--orange-rgb), 0.6);
    backdrop-filter: blur(6px);
    border-radius: 0 0 25px 0;
}
.hero-7 {
    grid-area: hero-7;
    justify-self: end;
}
.hero-7 h4 {
    text-align: right;
    padding: 10px 20px 0 0;
}
.hero-7 h4 a {
    text-decoration: none;
}
.go-feedback {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.2s cubic-bezier(.49,0,.24,1.2);
    transition-delay: 5s;
}
.go-feedback.show {
    opacity: 1;
    transform: translateY(0);
}
.go-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.2s cubic-bezier(.49,0,.24,1.2);
    transition-delay: 5.5s;
}
.go-scroll.show {
    opacity: 1;
    transform: translateY(0);
}
@media screen and (min-width: 1050px) {
    #hero {
        position: sticky;
        top: 0;
    }
    .hero {
        padding-top: 80px;
        padding-bottom: 80px;
        min-height: calc(100vh - 160px);
        grid-template-rows: 80px 1fr auto 100px 100px;
        grid-template-areas: 
            "hero-1 hero-1 hero-1 hero-1 hero-2 hero-2"
            "hero-1 hero-1 hero-1 hero-1 hero-3 hero-3"
            "hero-4 hero-4 hero-4 hero-4 hero-4 hero-4"
            "hero-5 hero-5 hero-5 hero-6 hero-6 hero-6"
            "hero-7 hero-7 hero-7 hero-6 hero-6 hero-6";
    }
    .hero-1 {
        background: 
            linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)),
            url("/assets/images/chain-3.jpg");
        background-position: top center;
        background-size: cover;
        border-radius: 40px 40px 0 0;
    }
    .hero-1 .overlay {
        width: 25%;
        height: calc(100% - 80px);
        border-radius: 40px 0 0 0;
        background-color: rgba(var(--orange-rgb), 0.6);
    }
    .hero-1 .title {
        position: absolute;
        left: 0;
        bottom: 0;
        padding: 30px calc(25% + 30px) 25px 30px;
        margin-bottom: 82px;
        aspect-ratio: unset;
    }
    .hero-1 .title h1 {
        font-size: 40px;
    }
    .hero-1 .title h3 {
        font-size: 18px;
    }
    .hero-3 {
        background-color: var(--orange);
        border-radius: 0 40px 0 0;
        display: grid;
    }
    .hero-3 p {
        display: block;
        align-self: end;
        padding: 0 30px 110px 30px;
        color: #fff;
        opacity: 0;
        transition: 0.2s ease-in-out;
        transition-delay: 4s;
    }
    .hero-3 p.show {
        opacity: 1;
    }
    .hero-4 .title {
        padding: 0 0 10px 0;
    }
    .hero-4 .title h2 {
        font-size: 72px;
    }
    .hero-4 .title h4 {
        height: min-content;
        margin-top: 20px;
        margin-left: 10px;
        font-size: 16px;
        padding: 1px 10px 3px 10px;
        border-radius: 15px;
    }
    .hero-5 {
        width: 133.33%;
        margin-right: -33.33%;
        background: unset;
        background-color: var(--light-green);
        border-radius: 0 0 40px 40px;
    }
    .hero-6 {
        background-size: 70% auto;
        background-position: top 20px right -50px;
        border-radius: 0 0 40px 40px;
    }
    .hero-6 .overlay {
        width: 33.33%;
        height: 100px;
        background-color: #fff;
        background-image: url("/assets/images/barcode.svg");
        background-size: auto 60%;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 0 0 40px 0;
    }
    .hero-7 {
        padding-top: 10px;
    }
    .hero-7 h4 {
        padding: 10px 30px 0 0;
    }
}

/* ANDY *********************************************************************/
.grid-box.andy {
    position: relative;
    overflow: hidden;
    grid-template-columns: repeat(6, 1fr);
    row-gap: 20px;
    grid-template-areas: 
        "title  title  title  title  title  img    "
        "text-1 text-1 text-1 text-1 text-1 img    "
        "text-2 text-2 text-2 text-2 text-2 text-2 "
        "text-3 text-3 text-3 text-3 text-3 text-3 ";
}
.andy .bg {
    position: absolute;
    display: none;
}
.andy .title {
    grid-area: title;
    padding: 0 20px 0 15px;
    border-left: var(--orange) solid 5px;
}
.andy .text-1 {
    grid-area: text-1;
    padding: 20px 30px 10px 20px;
    background-color: #fff;
    border-radius: 25px;
}
.andy .text-2 {
    grid-area: text-2;
    margin: 0 -15px;
    padding: 20px 35px 10px 35px;
    background-color: var(--blue);
}
.andy .text-2 p {
    color: #fff;
}
.andy .text-3 {
    grid-area: text-3;
    padding: 0 20px;
}
.andy .text-3 h4 {
    color: var(--light-green);
}
.andy .img {
    grid-area: img;
    position: relative;
}
.andy .img img {
    position: absolute;
    bottom: -45px;
    right: -20px;
    max-height: 100%;
    max-width: 190%;
}
@media screen and (min-width: 1050px) {
    #andy {
        padding-top: 50vh;
    }
    .grid-box.andy {
        overflow: unset;
        grid-template-areas: 
            "title  title  title  img    .      .      "
            "text-1 text-1 text-1 img    text-2 text-2 "
            "text-1 text-1 text-1 img    text-3 text-3 ";
    }
    .andy .bg {
        display: block;
        top: 80px;
        right: 40px;
        width: 40%;
        filter: blur(5px);
    }
    .andy .title {
        padding: 0;
        border-left: unset;
    }
    .andy .text-1 {
        height: min-content;
        padding: 30px 50px 20px 30px;
        border-radius: 40px;
    }
    .andy .text-2 {
        margin: 0;
        padding: 0 0 20px 0;
        background: none;
    }
    .andy .text-2 p {
        color: #fff;
    }
    .andy .text-3 {
        grid-area: text-3;
        padding: 0;
    }
    .andy .text-3 h4 {
        color: var(--light-green);
    }
    .andy .img {
        grid-area: img;
        position: relative;
    }
    .andy .img img {
        position: absolute;
        bottom: -60px;
        right: unset;
        left: -30px;
        max-height: 110%;
        max-width: auto;
    }
}

/* WORKS ********************************************************************/
#works {
    padding-top: 100px;
    position: relative;
}
#works .bg {
    display: none;
}
.work-box {
    display: grid;
    padding-top: 100px;
    gap: 20px;
}
.work-box .work-title {
    position: sticky;
    top: 0;
    left: 0;
    padding: 18px;
    border-color: #fff;
    border-width: 2px;
    border-style: solid;
    border-radius: 25px;
    background-color: #000;
    box-shadow: #000 0 0 20px;
    z-index: 10;
}
.work-box .work-title p {
    padding: 10px 0 0 0;
    color: rgba(255, 255, 255, 0.9);
}
.work-box .work-title.sticked {
    border-radius: 0 0 25px 25px;
    border-top: none;
}
.work-box .work-item {
    aspect-ratio: 3/2;
    overflow: hidden;
    position: relative;
    border-radius: 25px;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    transition: 0.3s ease-in-out;
}
.animate {
    opacity: 0;
    transform: scale(0.5);
}
.animate.show {
    opacity: 1;
    transform: scale(1);
}
@media screen and (min-width: 1050px) {
    #works {
        padding-top: 200px;
    }
    #works .bg {
        display: block;
        position: sticky;
        top: 0;
        left: 50px;
        padding-top: 40vh;
        height: 50vh;
        filter: blur(5px);
        z-index: -1;
    }
    .works {
        grid-template-rows: 0 auto auto;
    }
    .work-box {
        gap: 0;
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas: 
        "title  card-1 card-2"
        ".      card-3 card-4"
        ".      card-5 card-6";
    }
    .work-box.large {
        grid-template-areas: 
        "title  card-1 card-2"
        ".      card-3 card-3"
        ".      card-4 card-5";
    }
    .work-box .work-title {
        grid-area: title;
        align-self: start;
        top: 100px;
        padding: 0 30px 0 0;
        border: none;
        background: none;
        box-shadow: unset;
    }
    .work-box .work-title h4 {
        font-size: 28px;
    }
    .work-box .work-item {
        aspect-ratio: 1/1;
        border: #000 solid 1px;
        border-radius: 40px;
    }
    .work-box.large .work-item.large {
        aspect-ratio: 2/1;
    }
    .work-box .work-item.circle {
        border-radius: 50%;
    }
    .work-box .work-item:hover {
        border-radius: 0;
        transform: scale(1.1);
        box-shadow: #000 0 0 20px;
        z-index: 100;
    }
    .work-box:has(.work-item:hover) .work-item:not(:hover) {
        opacity: 0.5;
    }
    .work-box .card-1 {
        grid-area: card-1;
    }
    .work-box .card-2 {
        grid-area: card-2;
        transition-delay: 0.2s;
    }
    .work-box .card-3 {
        grid-area: card-3;
    }
    .work-box .card-4 {
        grid-area: card-4;
        transition-delay: 0.2s;
    }
    .work-box .card-5 {
        grid-area: card-5;
    }
    .work-box .card-6 {
        grid-area: card-6;
        transition-delay: 0.2s;
    }
}


/* PRISM ********************************************************************/
.grid-box.prism {
    display: block;
    aspect-ratio: 1/1;
}
.flash {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/assets/images/flash-2.svg");
    background-size: auto 70%;
    background-position: center center;
    background-repeat: no-repeat;
    filter: blur(4px);
}
.stretch {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: clamp(16px, 12vw, 80px);
    transform: translate(-50%, -50%);
}
.stretch p {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    text-align: center;
    font-family: 'Bounded';
    font-size: clamp(16px, 12vw, 80px);
    font-weight: 600;
    line-height: 1;
    padding: 0;
    width: 100%;
    opacity: 1;
    will-change: transform;
    transition: transform 0.5s ease-in;
}
.stretch p.up {
    transform-origin: top;
}
.stretch p.down {
    transform-origin: bottom;
}
.stretch p.slim {
    transform: scale(1, 0);
}
.stretch h4 {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: clamp(8px, 2.5vw, 16px);
    font-weight: 900;
    padding: 0.15em 0.5em 0.1em 0.5em;
    color: rgba(0, 0, 0, 0.9);
    background-color: var(--light-green);
    transform: translate(-50%, -50%) rotate(-5deg);
}
@media screen and (min-width: 1050px) {
    #prism {
        padding: 100px 0;
    }
    .grid-box.prism {
        aspect-ratio: 2/1;
    }
    .flash {
        filter: blur(7px);
        background-size: auto 80%;
    }
    .stretch {
        height: 120px;
    }
    .stretch p {
        font-size: 120px;
    }
    .stretch h4 {
        font-size: 18px;
    }
}

/* FEEDBACK *****************************************************************/
#feedback {
    padding-top: 100px;
    overflow: hidden;
}
.feedback .title  {
    padding: 0 20px 0 15px;
    border-left: var(--orange) solid 5px;
}
.feedback .bg-1 {
    position: absolute;
    right: -20%;
    bottom: 10%;
    width: 60%;
}
.feedback .bg-2 {
    position: absolute;
    display: none;
}
.feedback .form {
    height: 450px;
    padding-top: 20px;
    grid-template-rows: repeat(5, auto);
    gap: 20px;
    opacity: 0;
    display: none;
    transition: 0.3s ease-in-out;
}
.form input[type="text"] {
    height: 30px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 18px;
    color: #fff;
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.3s ease-in-out;
}
.form textarea {
    min-height: 150px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 18px;
    color: #fff;
    resize: none;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: 0.3s ease-in-out;
}
.form input[type="text"]::placeholder,
.form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.form input[type="text"]:focus,
.form textarea:focus {
    color: #333;
    background-color: #ffffff;
}
.form input[type="submit"] {
    width: min-content;
    height: 50px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 18px;
    background-image: linear-gradient(to right, var(--blue), var(--orange));
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.form input[type="submit"]:hover {
    box-shadow: #fff 0 0 0 7px;
}
.form p {
    color: #777;
}
.feedback .sending {
    height: 430px;
    padding: 20px;
    opacity: 0;
    display: none;
    background: url("/assets/images/820.png") center center no-repeat;
    transition: 0.3s ease-in-out;
}
.feedback .error,
.feedback .result {
    height: 430px;
    padding: 20px;
    opacity: 0;
    display: none;
    position: relative;
    transition: 0.3s ease-in-out;
}
.feedback .error .text,
.feedback .result .text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.feedback .error .text p,
.feedback .result .text p {
    color: #fff;
    font-size: 16px;
    text-align: center;
}
.feedback .error .text p.emoji,
.feedback .result .text p.emoji {
    font-size: 50px;
}
.feedback .form.show {
    opacity: 1;
    display: grid;
}
.feedback .sending.show,
.feedback .result.show,
.feedback .error.show {
    opacity: 1;
    display: block;
}
@media screen and (min-width: 1050px) {
    #feedback {
        padding-top: 200px;
    }
    .feedback {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: 
            "title   form-box";
    }
    .feedback .title  {
        grid-area: title;
        padding: 0;
        border: none;
    }
    .feedback .form-box {
        grid-area: form-box;
    }
    .feedback .form {
        height: 470px;
        padding-top: 0;
    }
    .form input[type="text"] {
        width: calc(66.66% - 40px);
    }
    .feedback .bg-1 {
        left: 40px;
        bottom: 0;
        width: 25%;
        transform: scaleX(-1);
    }
    .feedback .bg-2 {
        display: block;
        top: -40px;
        right: 40px;
        width: 18%;
        filter: blur(5px);
        opacity: 0.8;
    }
}


/* FOOTER *******************************************************************/
footer {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)), url("/assets/images/chain-3.jpg");
    background-position: center center;
    background-size: cover;
}
.footer {
    height: 30vh;
    min-height: 250px;
    padding-bottom: 20px;
    grid-template-rows: 1fr auto;
}
.footer .icons {
    align-self: end;
}
.footer p {
    font-size: 12px;
    color: #fff;
}
.footer a {
    text-decoration: none;
}
.footer svg {
    width: 32px;
    height: 32px;
    margin-right: 5px;
    opacity: 0.7;
    transition: 0.3s ease-in-out;
}
.footer svg:hover {
    opacity: 1;
    transform: scale(1.1);
}
.footer svg:hover path {
    fill: var(--light-green);
}
@media screen and (min-width: 1050px) {
    .footer {
        grid-template-columns: repeat(6, 1fr);
        padding-bottom: 40px;
    }
    .footer .icons {
        grid-column: 5/7;
        align-self: end;
        padding-left: 18px;
        border-left: var(--orange) solid 2px;
    }
    .footer .text {
        grid-column: 5/7;
        align-self: end;
        padding-left: 18px;
        border-left: var(--orange) solid 2px;
    }
    .footer .text p:last-child {
        padding-bottom: 5px;
    }
}