:root {
    --bg: #07090b;
    --bg-secondary: #0b0e11;
    --surface: #0e1216;
    --surface-light: #12171c;

    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(217, 169, 64, 0.45);

    --text: #f3f4f4;
    --muted: #929aa3;

    --gold: #d9a940;
    --gold-light: #f0c865;

    --max-width: 1450px;

    --transition: 0.35s ease;
}


/* =========================
   RESET
========================= */

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


html {
    scroll-behavior: smooth;
}


body {
    background: var(--bg);

    color: var(--text);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
select,
textarea {
    font: inherit;
}


img {
    display: block;
    max-width: 100%;
}


/* =========================
   CURSOR
========================= */

.cursor-glow {
    position: fixed;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    pointer-events: none;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(217, 169, 64, 0.07),
            transparent 65%
        );

    z-index: 0;
}


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

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background:
        rgba(7, 9, 11, 0.83);

    backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid var(--border);
}


.navbar {
    width:
        min(
            var(--max-width),
            calc(100% - 70px)
        );

    min-height: 96px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;
}


.logo {
    font-size: 34px;

    font-weight: 800;

    letter-spacing: 8px;
}


.logo span {
    color: var(--gold);
}


.nav-links {
    display: flex;

    list-style: none;

    gap: 42px;
}


.nav-links a {
    color: #afb5bb;

    font-size: 14px;

    transition: var(--transition);
}


.nav-links a:hover {
    color: var(--gold-light);
}


.nav-button {
    padding: 17px 27px;

    background: var(--gold);

    color: #07090b;

    font-size: 13px;

    font-weight: 700;

    transition: var(--transition);
}


.nav-button:hover {
    background: var(--gold-light);

    transform: translateY(-2px);
}


.mobile-toggle {
    display: none;

    border: none;

    background: transparent;

    width: 36px;

    height: 36px;

    cursor: pointer;
}


.mobile-toggle span {
    display: block;

    width: 100%;

    height: 2px;

    margin: 8px 0;

    background: white;
}


.mobile-menu {
    display: none;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    padding:
        145px 0 70px;

    overflow: hidden;
}


.hero-grid-background {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.035) 1px,
            transparent 1px
        );

    background-size:
        68px 68px;
}


.hero-orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(120px);

    opacity: 0.14;
}


.hero-orb-one {
    width: 450px;
    height: 450px;

    background: var(--gold);

    top: 8%;
    right: 12%;
}


.hero-orb-two {
    width: 280px;
    height: 280px;

    background: white;

    bottom: 5%;
    left: 25%;

    opacity: 0.04;
}


.hero-container {
    width:
        min(
            var(--max-width),
            calc(100% - 70px)
        );

    margin: auto;

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    align-items: center;

    gap: 90px;
}


.eyebrow,
.section-label {
    color: var(--gold);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 7px;

    margin-bottom: 32px;
}


.hero-title {
    font-size:
        clamp(
            65px,
            6.4vw,
            110px
        );

    line-height: 0.95;

    letter-spacing: -5px;
}


.title-line {
    display: block;
}


.title-line.gold {
    color: var(--gold);
}


.hero-text {
    max-width: 690px;

    margin-top: 45px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.9;
}


.hero-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;
}


.hero-tags span,
.project-tech span,
.service-bottom span {
    border:
        1px solid var(--border);

    color: #8f969c;

    padding: 10px 14px;

    font-size: 9px;

    letter-spacing: 1.5px;
}


.hero-buttons {
    display: flex;

    gap: 16px;

    margin-top: 40px;
}


.button-primary,
.button-secondary {
    min-width: 180px;

    padding: 18px 26px;

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border:
        1px solid var(--border);

    font-size: 13px;

    font-weight: 700;

    transition: var(--transition);
}


.button-primary {
    background: var(--gold);

    color: #080808;
}


.button-primary:hover {
    background: var(--gold-light);

    transform: translateY(-3px);
}


.button-secondary:hover {
    border-color: var(--gold);

    color: var(--gold);
}


/* =========================
   HERO CARD
========================= */

.hero-visual {
    position: relative;
}


.hero-card {
    min-height: 450px;

    padding: 36px;

    border:
        1px solid var(--border);

    background:
        linear-gradient(
            145deg,
            #141411,
            #0c0e10
        );

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    box-shadow:
        0 40px 80px
        rgba(0,0,0,0.35);

    transition:
        transform 0.15s ease;
}


.hero-card-top,
.hero-card-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: #777e84;

    font-size: 8px;

    letter-spacing: 4px;
}


.status {
    color: var(--gold);
}


.hero-card-center {
    text-align: center;
}


.hero-logo {
    font-size: 100px;

    font-weight: 800;

    letter-spacing: -10px;
}


.hero-logo span {
    color: var(--gold);
}


.hero-card-center p {
    margin-top: 15px;

    color: var(--gold);

    letter-spacing: 10px;
}


.floating-badge {
    position: absolute;

    padding: 17px 21px;

    background:
        rgba(12,15,18,0.95);

    border:
        1px solid var(--border);

    color: #7e858d;

    font-size: 9px;

    letter-spacing: 2px;

    line-height: 1.5;
}


.floating-badge span {
    color: var(--gold);

    display: block;

    font-size: 14px;

    font-weight: 800;
}


.badge-one {
    top: 10px;
    left: -75px;
}


.badge-two {
    right: -80px;
    top: 145px;
}


.badge-three {
    bottom: -8px;
    left: -28px;
}


.scroll-indicator {
    position: absolute;

    bottom: 18px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    color: #697079;

    font-size: 8px;

    letter-spacing: 4px;
}


.scroll-indicator i {
    width: 1px;

    height: 40px;

    background:
        linear-gradient(
            var(--gold),
            transparent
        );
}


/* =========================
   TICKER
========================= */

.tech-ticker {
    overflow: hidden;

    padding: 22px 0;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

    background: var(--gold);

    color: #07090b;
}


.ticker-track {
    width: max-content;

    display: flex;

    align-items: center;

    gap: 32px;

    animation:
        ticker 30s linear infinite;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 3px;
}


@keyframes ticker {

    from {
        transform: translateX(0);
    }

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

}


/* =========================
   GENERAL SECTIONS
========================= */

.section,
.projects-section,
.process-section,
.about-section {
    width:
        min(
            var(--max-width),
            calc(100% - 70px)
        );

    margin: auto;

    padding: 145px 0;
}


.section-header {
    display: grid;

    grid-template-columns:
        1.15fr 0.85fr;

    align-items: end;

    gap: 80px;

    margin-bottom: 70px;
}


.section-header h2,
.about-left h2,
.contact-copy h2 {
    font-size:
        clamp(
            50px,
            5vw,
            86px
        );

    line-height: 0.95;

    letter-spacing: -4px;
}


.section-header h2 span,
.about-left h2 span,
.contact-copy h2 span,
.contact-modal-card h2 span {
    color: var(--gold);
}


.section-description {
    max-width: 580px;

    color: var(--muted);

    line-height: 1.9;

    font-size: 16px;
}


/* =========================
   SERVICES
========================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    border-top:
        1px solid var(--border);

    border-left:
        1px solid var(--border);
}


.service-card {
    min-height: 350px;

    padding: 35px;

    border-right:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

    position: relative;

    transition: var(--transition);
}


.service-card:hover {
    background:
        linear-gradient(
            145deg,
            rgba(217,169,64,0.07),
            transparent
        );

    transform: translateY(-4px);
}


.service-number {
    position: absolute;

    top: 25px;
    right: 28px;

    color: var(--gold);

    font-size: 10px;
}


.service-icon {
    margin-top: 30px;

    color: var(--gold);

    font-size: 35px;

    font-weight: 700;
}


.service-card h3 {
    margin-top: 35px;

    font-size: 25px;
}


.service-card p {
    margin-top: 18px;

    color: var(--muted);

    line-height: 1.8;

    font-size: 14px;
}


.service-bottom {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 28px;
}


/* =========================
   STATS
========================= */

.stats-section {
    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);
}


.stats-grid {
    width:
        min(
            var(--max-width),
            calc(100% - 70px)
        );

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4,1fr);
}


.stat {
    padding: 55px 35px;

    border-right:
        1px solid var(--border);

    text-align: center;
}


.stat:first-child {
    border-left:
        1px solid var(--border);
}


.stat strong {
    display: block;

    color: var(--gold);

    font-size: 52px;
}


.stat span {
    display: block;

    margin-top: 11px;

    color: var(--muted);

    font-size: 9px;

    letter-spacing: 3px;
}


/* =========================
   FILTERS
========================= */

.project-filters {
    display: flex;

    gap: 10px;

    margin-bottom: 35px;

    flex-wrap: wrap;
}


.filter-button {
    border:
        1px solid var(--border);

    background: transparent;

    color: #8c939a;

    padding: 11px 18px;

    cursor: pointer;

    font-size: 11px;

    transition: var(--transition);
}


.filter-button:hover,
.filter-button.active {
    border-color: var(--gold);

    color: var(--gold);
}


/* =========================
   PROJECTS
========================= */

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 30px;
}


.project-card {
    border:
        1px solid var(--border);

    background: var(--surface);

    overflow: hidden;

    transition:
        transform 0.15s ease,
        border-color var(--transition);
}


.project-card:hover {
    border-color:
        rgba(217,169,64,0.45);
}


.project-card.hidden {
    display: none;
}


/*
IMPORTANT:
The container and the image use CONTAIN.
This prevents your posters from being zoomed/cropped.
*/

.project-image-wrapper {
    width: 100%;

    height: 470px;

    position: relative;

    overflow: hidden;

    background: #080a0c;

    display: flex;

    align-items: center;

    justify-content: center;
}


.project-image {
    width: 100%;

    height: 100%;

    object-fit: contain !important;

    object-position:
        center center !important;

    background: #080a0c;

    transition:
        transform 0.45s ease;
}


/*
Only a very small hover zoom.
It will NOT crop like object-fit cover.
*/

.project-card:hover
.project-image {
    transform: scale(1.01);
}


.project-overlay {
    position: absolute;

    inset:
        auto 0 0 0;

    padding:
        65px 26px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,0.92)
        );
}


.project-overlay span,
.project-overlay a {
    color: var(--gold);

    font-size: 9px;

    letter-spacing: 2px;
}


.project-role {
    color:
        var(--gold-light)
        !important;
}


.project-content {
    padding: 30px;
}


.project-top {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: #626a71;

    font-size: 9px;

    letter-spacing: 2px;
}


.project-top span:first-child {
    color: var(--gold);
}


.project-content h3 {
    margin-top: 25px;

    font-size: 29px;
}


.project-content p {
    margin-top: 18px;

    color: var(--muted);

    line-height: 1.8;

    font-size: 14px;
}


.project-tech {
    margin-top: 25px;

    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.project-links {
    display: flex;

    gap: 25px;

    margin-top: 25px;

    flex-wrap: wrap;
}


.project-links a {
    color: var(--gold);

    font-size: 12px;

    font-weight: 700;
}


.project-links a:hover {
    color: var(--gold-light);
}


.project-meta {
    margin-top: 25px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;
}


.project-meta div {
    border-top:
        1px solid var(--border);

    padding-top: 14px;
}


.project-meta span {
    display: block;

    color: #646b72;

    font-size: 8px;

    letter-spacing: 2px;
}


.project-meta strong {
    display: block;

    margin-top: 6px;

    font-size: 12px;
}


.development-label {
    margin-top: 23px;

    display: inline-block;

    padding: 10px 14px;

    border:
        1px solid
        rgba(217,169,64,0.35);

    color: var(--gold);

    font-size: 9px;

    letter-spacing: 2px;
}


/* =========================
   PROCESS
========================= */

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);
}


.process-card {
    min-height: 260px;

    padding: 35px;

    border:
        1px solid var(--border);

    border-right: none;

    position: relative;
}


.process-card:last-child {
    border-right:
        1px solid var(--border);
}


.process-card > span {
    color: var(--gold);

    font-size: 11px;
}


.process-card h3 {
    margin-top: 40px;

    font-size: 26px;
}


.process-card p {
    margin-top: 15px;

    color: var(--muted);

    line-height: 1.7;

    font-size: 13px;
}


.process-card i {
    position: absolute;

    right: -16px;
    top: 50%;

    width: 30px;

    height: 1px;

    background: var(--gold);

    z-index: 2;
}


/* =========================
   ABOUT
========================= */

.about-layout {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: start;
}


.about-right p {
    color: var(--muted);

    line-height: 1.9;

    font-size: 16px;

    margin-bottom: 23px;
}


.about-values {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    margin-top: 80px;
}


.value-card {
    padding: 35px;

    border:
        1px solid var(--border);

    border-right: none;
}


.value-card:last-child {
    border-right:
        1px solid var(--border);
}


.value-card > span {
    color: var(--gold);

    font-size: 10px;
}


.value-card h3 {
    margin-top: 35px;

    font-size: 24px;
}


.value-card p {
    margin-top: 15px;

    color: var(--muted);

    line-height: 1.8;

    font-size: 13px;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    position: relative;

    overflow: hidden;

    padding: 140px 0;

    border-top:
        1px solid var(--border);

    background: #090b0d;
}


.contact-container {
    width:
        min(
            var(--max-width),
            calc(100% - 70px)
        );

    margin: auto;

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 100px;

    position: relative;

    z-index: 2;
}


.contact-copy p:not(.section-label) {
    margin-top: 30px;

    color: var(--muted);

    line-height: 1.8;
}


.contact-points {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 30px;
}


.contact-points span {
    padding: 10px 14px;

    border:
        1px solid var(--border);

    color: var(--gold);

    font-size: 9px;
}


.contact-form {
    padding: 35px;

    border:
        1px solid var(--border);

    background:
        rgba(13,16,19,0.8);
}


.form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;
}


.form-field {
    margin-bottom: 22px;
}


.form-field label {
    display: block;

    margin-bottom: 10px;

    color: #787f86;

    font-size: 9px;

    letter-spacing: 2px;
}


.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    padding: 16px;

    border:
        1px solid var(--border);

    background: #090b0d;

    color: white;

    outline: none;
}


.form-field textarea {
    resize: vertical;
}


.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--gold);
}


.contact-form button {
    width: 100%;

    border: none;

    padding: 18px 22px;

    background: var(--gold);

    color: black;

    cursor: pointer;

    display: flex;

    justify-content: space-between;

    font-weight: 800;
}


/* =========================
   MODAL
========================= */

.contact-modal {
    position: fixed;

    inset: 0;

    background:
        rgba(0,0,0,0.80);

    display: none;

    align-items: center;

    justify-content: center;

    padding: 30px;

    z-index: 3000;
}


.contact-modal.open {
    display: flex;
}


.contact-modal-card {
    position: relative;

    width:
        min(
            520px,
            100%
        );

    padding: 45px;

    background: var(--surface);

    border:
        1px solid var(--border-strong);
}


.contact-modal-card h2 {
    font-size: 42px;

    margin-bottom: 20px;
}


.contact-modal-card p {
    color: var(--muted);

    line-height: 1.7;
}


.modal-close {
    position: absolute;

    right: 18px;

    top: 15px;

    border: none;

    background: transparent;

    color: white;

    font-size: 27px;

    cursor: pointer;
}


.modal-done {
    margin-top: 25px;

    border: none;

    padding: 13px 20px;

    background: var(--gold);

    color: black;

    cursor: pointer;
}


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

footer {
    border-top:
        1px solid var(--border);
}


.footer-main {
    width:
        min(
            var(--max-width),
            calc(100% - 70px)
        );

    margin: auto;

    padding: 65px 0;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;
}


.footer-main p {
    margin-top: 14px;

    color: var(--muted);
}


.footer-links {
    display: flex;

    gap: 28px;

    flex-wrap: wrap;
}


.footer-links a {
    color: var(--muted);

    font-size: 13px;
}


.footer-links a:hover {
    color: var(--gold);
}


.footer-bottom {
    padding: 22px 35px;

    border-top:
        1px solid var(--border);

    display: flex;

    justify-content: space-between;

    color: #626970;

    font-size: 9px;

    letter-spacing: 2px;
}


/* =========================
   REVEAL
========================= */

.reveal {
    opacity: 0;

    transform:
        translateY(28px);

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


.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================
   TABLET
========================= */

@media (max-width: 1100px) {

    .nav-links,
    .nav-button {
        display: none;
    }


    .mobile-toggle {
        display: block;
    }


    .mobile-menu {
        position: fixed;

        top: 96px;

        left: 0;

        width: 100%;

        padding: 25px;

        background: #090b0d;

        border-bottom:
            1px solid var(--border);

        flex-direction: column;

        gap: 20px;
    }


    .mobile-menu.open {
        display: flex;
    }


    .hero-container {
        grid-template-columns: 1fr;

        gap: 80px;
    }


    .section-header,
    .about-layout,
    .contact-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .services-grid {
        grid-template-columns:
            repeat(2,1fr);
    }


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


    .project-image-wrapper {
        height: 520px;
    }


    .process-grid {
        grid-template-columns:
            repeat(2,1fr);
    }


    .process-card {
        border:
            1px solid var(--border);
    }


    .process-card i {
        display: none;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 720px) {

    .navbar,
    .hero-container,
    .section,
    .projects-section,
    .process-section,
    .about-section,
    .stats-grid,
    .contact-container,
    .footer-main {

        width:
            calc(100% - 30px);

    }


    .navbar {
        min-height: 78px;
    }


    .mobile-menu {
        top: 78px;
    }


    .hero {
        padding-top: 120px;
    }


    .hero-title {
        font-size: 55px;

        letter-spacing: -3px;
    }


    .hero-text {
        font-size: 15px;
    }


    .hero-buttons {
        flex-direction: column;
    }


    .button-primary,
    .button-secondary {
        width: 100%;
    }


    .hero-card {
        min-height: 350px;
    }


    .hero-logo {
        font-size: 70px;
    }


    .floating-badge {
        display: none;
    }


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


    .stats-grid {
        grid-template-columns:
            repeat(2,1fr);
    }


    .stat {
        border:
            1px solid var(--border);
    }


    .project-image-wrapper {
        height: 330px;
    }


    .project-content {
        padding: 23px;
    }


    .project-content h3 {
        font-size: 24px;
    }


    .project-meta {
        grid-template-columns: 1fr;
    }


    .process-grid,
    .about-values {
        grid-template-columns: 1fr;
    }


    .value-card {
        border:
            1px solid var(--border);
    }


    .form-row {
        grid-template-columns: 1fr;
    }


    .footer-main {
        flex-direction: column;

        align-items: flex-start;
    }


    .footer-bottom {
        flex-direction: column;

        gap: 12px;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .project-image-wrapper {
        height: 270px;
    }


    .hero-title {
        font-size: 46px;
    }


    .section-header h2,
    .about-left h2,
    .contact-copy h2 {
        font-size: 44px;
    }

}