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

@font-face {
    font-family: 'HelveticaNeue';
    src: url('../fonts/HelveticaNeue-Medium.woff2') format('woff2');
    font-weight: 500;
}

@font-face {
    font-family: 'HelveticaNeue';
    src: url('../fonts/HelveticaNeue.woff2') format('woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'Morganite';
    src: url('../fonts/Morganite-ExtraBold.woff2') format('woff2');
    font-weight: 800;
}

@font-face {
    font-family: 'Morganite';
    src: url('../fonts/Morganite-Black.woff2') format('woff2');
    font-weight: 800;
}

@font-face {
    font-family: 'heliosextblackc';
    src: url('../fonts/heliosextblackc.woff2') format('woff2');
    font-weight: 500;
}

@font-face {
    font-family: '80font';
    src: url('../fonts/80font.woff2') format('woff2');
    font-weight: 500;
}

/* ===== HEADER ===== */

.logo {
    display: flex;
    justify-content: center;
    padding-top: 36px;
    padding-bottom: 36px;
}

.marquee {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background-color: #151A29;
    border-radius: 999px;
    color: white;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 13px;
    font-family: "Raleway", sans-serif; 
    font-weight: 600;
}

.marquee__track {
    display: inline-flex;
    gap: 13px; 
    width: max-content;
    animation: marquee-scroll 65s linear infinite;
}

.marquee__item img {
    width: 15px;
    height: 15px;
    display: block;
}

@keyframes marquee-scroll {
        from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ===== HOME ===== */

.label {
    text-align: center;
    color: white;
    font-size: 20px;
    font-family: "HelveticaNeue", sans-serif; 
    font-weight: 500;
    margin-top: 85px;
    margin-bottom: 12px;
}

.title {
    text-align: center;
    color: white;
    font-size: 220px;
    font-family: "Morganite", sans-serif; 
    font-weight: 800;
    margin-top: 12px;
    margin-bottom: -25px;
}

.description {
    text-align: center;
    color: #C2C2C2;
    font-size: 16px;
    font-family: "Raleway", sans-serif; 
    font-weight: 400;
    margin-top: -30px;
    margin-bottom: -25px;
}

.buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin-top: 90px;
}

.button-primary{
    width: 300px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 0px;
    background: linear-gradient(90deg, #4C007A, #A001D6);
    color: white;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 19px;
    box-shadow:
        inset 1px 1px 0px rgba(253, 253, 253, 0.253);
}

.button-secondary{
    width: 300px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 0px;
    background-color: white;
    color: black;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 19px;
}

.button-primary,
.button-secondary {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-2px) scale(1.02);
}

.button-primary:active,
.button-secondary:active {
    transform: translateY(0) scale(0.97);
}

.button-primary:hover {
    box-shadow:
        inset 1px 1px 0px rgba(253, 253, 253, 0.253),
        0 8px 24px rgba(160, 1, 214, 0.25);
}

.button-secondary:hover {
    box-shadow:
        0 8px 24px rgba(255, 255, 255, 0.12);
}

.service-card{
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    padding-top: 80px;
    padding-bottom: 90px;
    overflow: hidden;
}

.service-card__item{
    width: 340px;
    height: 170px; 
    padding: 30px 28px;
    background-color: #FFFFFF;
    border-radius: 30px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card__item:hover{
    transform: scale(1.025);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.service-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-card__number{
    color: black;
    white-space: nowrap;
    font-size: 19px;
    font-family: "80font", sans-serif; 
    font-weight: 500;
}

.service-card__title{
    color: black;
    text-transform: uppercase;
    white-space: nowrap;
    margin-top: 34px;
    margin-bottom: 8px;
    font-size: 17px;
    font-family: "heliosextblackc", sans-serif; 
    font-weight: 500;
}

.service-card__description{
    color: black;
    font-size: 14px;
    font-family: "Raleway", sans-serif; 
    font-weight: 500;
}

.content-width {
    width: calc(100% - 80px);
    max-width: 1450px;
    margin: 0 auto;
}

.hero__content {
    width: calc(100% - 80px);
    max-width: 1450px;
    margin: 0 auto;
}

/* ===== PORTFOLIO ===== */

.label-2 {
    text-align: left;
    color: #b300d3;
    padding-left: 0;
    font-size: 20px;
    font-family: "HelveticaNeue", sans-serif; 
    font-weight: 500;
    margin-top: 90px;
    margin-bottom: 10px;
}

.title-2 {
    text-align: left;
    color: white;
    padding-left: 0;
    font-size: 150px;
    font-family: "Morganite", sans-serif; 
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 15px;
}

.description-2 {
    text-align: left;
    color: #C2C2C2;
    font-size: 16px;
    font-family: "Raleway", sans-serif; 
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 15px;
    max-width: 560px;
    line-height: 1.6;
}

.portfolio-filters{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 30px;
}

.portfolio-filter {
    padding: 10px 18px;
    border: none;
    border-radius: 999px;
    background-color: #151A29;
    color: white;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
      transform 0.2s ease,
      background-color 0.2s ease;
}

.portfolio-filter:hover {
    transform: scale(1.04);
}

.portfolio-filter:active {
    transform: scale(0.98);
}

.portfolio-filter--active {
    background-color: #b300d3;
    color: white;
}

.portfolio-grid {
    display: grid;
   grid-template-columns: repeat(5, 1fr);
   gap: 20px;
   align-items: start;
}

.portfolio-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portfolio-item {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.portfolio-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.portfolio-item video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.portfolio-item--video[data-size="16:9"] video {
    aspect-ratio: 16 / 9;
}

.portfolio-item--video[data-size="9:16"] video {
    aspect-ratio: 9 / 16;
}

.portfolio-item--video[data-size="1:1"] video {
    aspect-ratio: 1 / 1;
}

.portfolio-item--video {
    position: relative;
}

.portfolio-meta {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;

    z-index: 3;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-meta {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-tag {
    padding: 6px 8px;
    border-radius: 999px;

    background: rgba(10, 14, 23, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);

    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.video-play {
    z-index: 4;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
}

.video-play img{
    width: 30px;
    height: 30px;
}

/* ===== CONTACTS ===== */

.label-3 {
    text-align: left;
    color: #b300d3;
    padding-left: 0;
    font-size: 20px;
    font-family: "HelveticaNeue", sans-serif; 
    font-weight: 500;
    margin-top: 150px;
    margin-bottom: 10px;
}

.title-3 {
    text-align: left;
    color: white;
    padding-left: 0;
    font-size: 150px;
    font-family: "Morganite", sans-serif; 
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 15px;
}

.title-3 span {
    display: block;
}

.title-3 span + span {
    margin-top: -15px;
}

.buttons-1 {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 36px;
    margin-top: 30px;
    margin-bottom: 100px;
}

.contact-section {
    position: relative;
    min-height: 610px;
}

.contact-bottom-mask {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -200;

    height: 300px;
    background: #090C15;

    z-index: 4;
}

.contact-character {
    position: absolute;
    right: 120px;
    bottom: -395px;

    width: 660px;
    height: auto;

    z-index: 2;
}

.contact-section .portfolio-header,
.contact-section .buttons-1 {
    position: relative;
    z-index: 3;
}

.contact-ellipse {
    position: absolute;

    width: 400px;
    height: 900px;

    border-radius: 50%;

    background: radial-gradient(
        ellipse at center,
        #B00BD4 0%,
        #F600FF 100%
    );

    filter: blur(100px);

    pointer-events: none;
    z-index: 1;
}

.contact-ellipse--right {
    right: -100px;
    bottom: -600px;

    transform: rotate(-121.79deg);
}

.contact-ellipse--left {
    left: -100px;
    bottom: -600px;

    transform: rotate(-60.21deg);
}

.contact-visuals {
    position: absolute;
    left: 0;
    right: 0;

    top: -120px;
    height: 730px;

    overflow: hidden;
}

/* ===== FOOTER ===== */

.footer {
    border-top: 1px solid #151A29;
    padding: 35px 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.footer__logo {
    width: 90px;
    height: auto;
    justify-self: start;
}

.footer__copyright {
    grid-column: 2;
    grid-row: 1;

    color: #8c8c8c;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

.footer__links {
    grid-column: 3;
    grid-row: 1;

    display: flex;
    justify-self: end;
    gap: 24px;
}

.footer__links a {
    color: #FFFFFF;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 400;

    text-decoration: none;

    transition: color 0.25s ease;
}

.footer__links a:hover {
    color: #b300d3;
}

/* ===== BG ===== */

.page-bg {
    position: absolute;

    left: 0;
    width: 100%;

    object-fit: cover;

    pointer-events: none;
}

.page-bg--main {
    top: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    z-index: 0;
}

header,
main {
    position: relative;
    z-index: 1;
}

.page-bg--contact {
    top: -60px;

    width: 100%;
    height: calc(100% + 60px);

    object-fit: cover;
    object-position: center bottom;

    transform: scale(0.88);
    transform-origin: center bottom;

    z-index: 0;
}

body {
    background-color: #090C15;
    color: white;
    overflow-x: hidden;
} 

.home-section {
    position: relative;
    overflow: hidden;
}

.home-section > :not(.page-bg--main) {
    position: relative;
    z-index: 1;
}

/* ===== ANIMATION ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================================================
   RESPONSIVE — DESKTOP
================================================== */

@media (max-width: 1600px) {

    .title {
        font-size: clamp(180px, 13vw, 220px);
    }

    .title-2,
    .title-3 {
        font-size: clamp(120px, 9vw, 150px);
    }

    .service-card {
        padding-left: 40px;
        padding-right: 40px;
        gap: 20px;
    }

    .service-card__item {
        width: auto;
        max-width: 340px;
        flex: 1 1 0;
        min-width: 0;
    }

    .contact-character {
        width: clamp(560px, 44vw, 660px);
        right: clamp(20px, 5vw, 120px);
    }
}


/* ==================================================
   RESPONSIVE — SMALL DESKTOP
================================================== */

@media (max-width: 1350px) {

    .title {
        font-size: 175px;
    }

    .title-2,
    .title-3 {
        font-size: 120px;
    }

    .service-card {
        gap: 18px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .service-card__item {
        padding: 26px 22px;
    }

    .service-card__title {
        font-size: 15px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }

    .portfolio-column {
        gap: 18px;
    }

}


/* ==================================================
   RESPONSIVE — TABLET
================================================== */

@media (max-width: 1050px) {

    .content-width,
    .hero__content {
        width: calc(100% - 48px);
    }

    .title {
        font-size: 145px;
    }

    .title-2,
    .title-3 {
        font-size: 105px;
    }

    .service-card {
        flex-wrap: wrap;
        gap: 20px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .page-bg--contact {
        transform: none;
    }

    .service-card__item {
        flex: 0 1 calc(50% - 10px);
        max-width: none;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .portfolio-column {
        gap: 16px;
    }

    .buttons-1 {
        gap: 20px;
    }

    .footer__inner {
        column-gap: 20px;
    }
    .contact-character {
        width: clamp(460px, 52vw, 550px);
        right: -20px;
    }
}


/* ==================================================
   RESPONSIVE — MOBILE
================================================== */

@media (max-width: 767px) {

    .content-width,
    .hero__content {
        width: calc(100% - 32px);
    }

    /* HEADER */

    .logo {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .logo img {
        max-width: 110px;
        height: auto;
    }

    .marquee__item {
        font-size: 11px;
        padding: 7px 12px;
    }

    .marquee__track {
        gap: 8px;
    }

    .page-bg--main {
        height: clamp(560px, 145vw, 640px);
        object-fit: cover;
        object-position: center top;
    }

    .page-bg--contact {
        width: 108%;
        left: -4%;
        object-position: center bottom;
    }

    /* HOME */

    .label {
        font-size: 15px;
        margin-top: 60px;
        margin-bottom: 10px;
    }

    .title {
        font-size: 130px;
        line-height: 0.9;
        margin-top: 10px;
        margin-bottom: 0;
    }

    .description {
        max-width: 90%;
        margin: 10px auto 0;
        font-size: 14px;
        line-height: 1.5;
    }

    .buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 40px;
        padding: 0 16px;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
        max-width: 420px;
        font-size: 17px;
    }


    /* SERVICES */

    .service-card {
        flex-direction: row;
        align-items: stretch;
        flex-wrap: wrap;
        gap: 12px;
        padding: 55px 12px 70px;
        background-color: #090C15;
    }

    .service-card__item {
        flex: 0 0 calc(50% - 6px);
        width: auto;
        max-width: none;
        height: auto;
        min-height: 155px;
        padding: 20px 16px;
        border-radius: 24px;
    }

    .service-card__description {
        font-size: 12px;
        line-height: 1.35;
    }

    .service-card__number {
        font-size: 17px;
    }

    .service-card__title {
        margin-top: 22px;
        margin-bottom: 8px;
        font-size: 15px;
        white-space: normal;
    }

    /* PORTFOLIO */

    .label-2 {
        font-size: 16px;
        margin-top: 60px;
    }

    .title-2 {
        font-size: 88px;
        line-height: 0.9;
    }

    .portfolio-filters {
        overflow-x: auto;
        flex-wrap: nowrap;

        gap: 8px;

        padding-bottom: 6px;

        scrollbar-width: none;
    }

    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }

    .portfolio-filter {
        flex-shrink: 0;

        padding: 9px 14px;
        font-size: 12px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .portfolio-column {
        gap: 12px;
    }

    .portfolio-item,
    .portfolio-item img,
    .portfolio-item video {
        border-radius: 14px;
    }

    .video-play {
        width: 48px;
        height: 48px;
    }

    .video-play img {
        width: 22px;
        height: 22px;
    }


    /* CONTACT */

    .contact-section {
        min-height: 820px;
        overflow: hidden;
    }

    .label-3 {
        font-size: 16px;
        margin-top: 75px;
    }

    .title-3 {
        font-size: 82px;
        line-height: 0.88;
        margin-top: 8px;
    }

    .title-3 span + span {
        margin-top: 0;
    }

    .buttons-1 {
        flex-direction: column;
        align-items: stretch;

        gap: 12px;

        margin-top: 25px;
        margin-bottom: 0;
    }

    .buttons-1 .button-primary,
    .buttons-1 .button-secondary {
        max-width: 420px;
    }

    .contact-visuals {
        top: auto;
        bottom: 0;

        height: 430px;
    }

    .contact-character {
        width: 390px;

        right: 50%;
        bottom: -225px;

        transform: translateX(50%);
    }

    .contact-ellipse {
        width: 260px;
        height: 520px;

        filter: blur(80px);
    }

    .contact-ellipse--left {
        left: -120px;
        bottom: -330px;
    }

    .contact-ellipse--right {
        right: -120px;
        bottom: -330px;
    }


    /* FOOTER */

    .footer {
        padding: 30px 0;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        justify-items: center;

        gap: 16px;
        text-align: center;
    }

    .footer__logo,
    .footer__copyright,
    .footer__links {
        grid-column: 1;
        grid-row: auto;
        justify-self: center;
    }

    .footer__copyright {
        white-space: normal;
    }
}


/* ==================================================
   RESPONSIVE — SMALL MOBILE
================================================== */

@media (max-width: 480px) {

    .content-width,
    .hero__content {
        width: calc(100% - 28px);
    }

    .title {
        font-size: 110px;
    }

    .title-2 {
        font-size: 72px;
    }

    .title-3 {
        font-size: 68px;
    }

    .label {
        font-size: 14px;
    }

    .description {
        font-size: 14px;
    }

    .button-primary,
    .button-secondary {
        font-size: 16px;
    }

    .service-card {
        padding-left: 14px;
        padding-right: 14px;
    }

    .contact-character {
        width: 360px;
        bottom: -220px;
    }
}