/* =========================================================
   NDA — NEW DATA ANALYTICS
   Dark Analytics / Editorial / Tech
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --black: #050505;
    --black-soft: #0b0b0b;
    --black-card: #10100f;

    --white: #f4f4f0;
    --white-soft: #d6d6d1;

    --gray: #777772;
    --gray-light: #a5a5a0;
    --gray-dark: #454540;

    --line: #20201d;
    --line-light: #30302c;

    --container: 1220px;

    --header-height: 78px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


section {
    scroll-margin-top: 10px;
}




body {

    background: var(--black);

    color: var(--white);

    font-family:
        Inter,
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.5;

    overflow-x: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


img {
    display: block;
    max-width: 100%;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

.container {

    width: min(
        var(--container),
        calc(100% - 56px)
    );

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3 {

    font-weight: 600;

    letter-spacing: -0.06em;
}


h1,
h2 {

    line-height: 0.94;

}


h2 {

    font-size:
        clamp(48px, 6vw, 88px);

}


h2 em {

    color: var(--gray);

    font-style: normal;

}


.eyebrow {

    color: var(--gray);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.20em;

}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    height: var(--header-height);

    background:
        rgba(5, 5, 5, 0.88);

    border-bottom:
        1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(18px);

}


.header-container {

    width: min(
        var(--container),
        calc(100% - 56px)
    );

    height: 100%;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;

}


/* =========================================================
   BRAND
   ========================================================= */

.brand {

    display: flex;

    align-items: baseline;

    gap: 10px;

    white-space: nowrap;

}


.brand-mark {

    color: var(--white);

    font-size: 17px;

    font-weight: 900;

    letter-spacing: 0.08em;

}


.brand-name {

    color: var(--gray);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navigation {

    display: flex;

    align-items: center;

    gap: 34px;

}


.navigation a {

    color: var(--gray-light);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.10em;

    text-transform: uppercase;

    transition:
        color 0.2s ease;

}


.navigation a:hover {

    color: var(--white);

}


/* =========================================================
   HEADER BUTTON
   ========================================================= */

.header-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 11px 16px;

    background: var(--white);

    color: var(--black);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


.header-button span {

    font-size: 15px;

}


.header-button:hover {

    background: var(--white-soft);

    transform: translateY(-2px);

}


/* =========================================================
   HERO
   ========================================================= */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    border-bottom:
        1px solid var(--line);

}


.hero-grid {

    position: absolute;

    inset: 0;

    opacity: 0.35;

    background-image:

        linear-gradient(
            var(--line) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            var(--line) 1px,
            transparent 1px
        );

    background-size: 72px 72px;

    mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            transparent 90%
        );

}


.hero-container {

    position: relative;

    z-index: 2;

    width: min(
        var(--container),
        calc(100% - 56px)
    );

    margin: auto;

    padding-top: 110px;

    padding-bottom: 90px;

}


/* =========================================================
   HERO LABEL
   ========================================================= */

.hero-label {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 34px;

    color: var(--gray);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.18em;

}


.status-dot {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--white);

}


/* =========================================================
   HERO TITLE
   ========================================================= */

.hero-title {

    max-width: 1100px;

    font-size:
        clamp(
            68px,
            10.8vw,
            158px
        );

}


.hero-title span {

    display: block;

    margin-left: 12vw;

    color: var(--gray);

}


/* =========================================================
   HERO BOTTOM
   ========================================================= */

.hero-bottom {

    max-width: 920px;

    margin-top: 72px;

    margin-left: auto;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 50px;

}


.hero-description {

    max-width: 720px;

    color: var(--gray-light);

    /*border: red 2px solid;*/

    font-size: 25px;
}


/* =========================================================
   HERO CIRCLE
   ========================================================= */

.hero-circle {

    width: 128px;

    height: 128px;

    flex-shrink: 0;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 18px;

    border:
        1px solid var(--gray-dark);

    border-radius: 50%;

    transition:

        background 0.3s ease,

        color 0.3s ease,

        transform 0.3s ease;

}


.hero-circle span {

    font-size: 9px;

    line-height: 1.3;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;

}


.hero-circle strong {

    font-size: 20px;

    font-weight: 400;

}


.hero-circle:hover {

    background: var(--white);

    color: var(--black);

    transform: rotate(-5deg);

}


/* =========================================================
   HERO INDEX
   ========================================================= */

.hero-index {

    position: absolute;

    right: 28px;

    bottom: 25px;

    color: #393934;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.14em;

}


/* =====================================
   HERO BACKGROUND IMAGE
===================================== */

.hero {
    position: relative;
    overflow: hidden;
}

/* Existing image goes behind everything */
.hero-bg-image {
    position: absolute;
    inset: 0;

    background-image: url("images/herobg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.50;
    filter: grayscale(1%);

    z-index: 0;
}

/* Keep your existing hero content above image */
.hero-grid,
.hero-container,
.hero-label,
.hero-title,
.hero-bottom,
.hero-description,
.hero-circle,
.hero-index {
    position: relative;
    z-index: 2;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {

    padding-top: 140px;

    padding-bottom: 140px;

    border-bottom:
        1px solid var(--line);

}


/* =========================================================
   INTRO
   ========================================================= */

.intro {

    padding-top: 150px;

    padding-bottom: 150px;

}


.intro-layout {

    display: grid;

    grid-template-columns:
        1fr 3fr;

    gap: 50px;

}

.intro-layout{
    display: block;
}


.section-number {

    color: #44443f;

    font-size: 10px;

    font-weight: 800;

}


.intro-content {

    max-width: 950px;

}


.intro-content h2 {

    margin-top: 35px;

}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 70px;

    margin-bottom: 75px;

}


.section-heading h2 {

    margin-top: 25px;

}


.section-note {

    max-width: 310px;

    margin-bottom: 5px;

    color: var(--gray);

    font-size: 14px;

}


/* =========================================================
   SOLUTION GRID
   ========================================================= */

.solution-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 1px;

    background: var(--line-light);

    border:
        1px solid var(--line-light);

}


.solution-card {

    position: relative;

    min-height: 390px;

    padding: 28px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    overflow: hidden;

    background: var(--black);

    transition:
        background 0.3s ease;

}


.solution-card:hover {

    background:
        var(--black-soft);

}


.solution-card.featured {

    background:
        var(--black-card);

}


/* =========================================================
   CARD TOP
   ========================================================= */

.card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: #555550;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.14em;

}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.card-content h3 {

    margin-bottom: 16px;

    font-size: 32px;

    line-height: 0.94;

}


.card-content p {

    max-width: 340px;

    color: var(--gray);

    font-size: 14px;

}


/* =========================================================
   CARD ARROW
   ========================================================= */

.card-arrow {

    position: absolute;

    right: 27px;

    bottom: 23px;

    color: #555550;

    font-size: 23px;

    transition:

        color 0.25s ease,

        transform 0.25s ease;

}


.solution-card:hover .card-arrow {

    color: var(--white);

    transform:
        translate(4px, -4px);

}


/* =========================================================
   WORK
   ========================================================= */

.work-heading {

    margin-bottom: 60px;

}


.project-count {

    color: #555550;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.14em;

}


/* =========================================================
   PROJECT
   ========================================================= */

.project {

    display: grid;

    grid-template-columns:
        1.45fr 0.55fr;

    min-height: 610px;

    border:
        1px solid var(--line-light);

}


/* =========================================================
   PROJECT VISUAL
   ========================================================= */

.project-visual {

    position: relative;

    min-height: 610px;

    overflow: hidden;

    background:

        radial-gradient(
            circle at center,
            #242421 0%,
            #0d0d0c 38%,
            #050505 72%
        );

}

.project-visual {
    position: relative;
    overflow: hidden;
    background: #050505;
}

.analytics-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0.18;
    filter: grayscale(100%);
    transform: scale(1.05);

    z-index: 0;
}

.analytics-wash {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.10);

    z-index: 1;
}

.project-center {
    position: absolute;
    z-index: 2;
}


/* =========================================================
   PROJECT GRID
   ========================================================= */

.project-grid {

    position: absolute;

    inset: 0;

    opacity: 0.35;

    background-image:

        linear-gradient(
            #343430 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            #343430 1px,
            transparent 1px
        );

    background-size: 52px 52px;

}


/* =========================================================
   PROJECT LABELS
   ========================================================= */

.project-label,
.project-corner {

    position: absolute;

    color: #777771;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.15em;

}


.project-label {

    top: 25px;

    left: 28px;

}


.project-corner {

    right: 28px;

    bottom: 25px;

    text-align: right;

    line-height: 1.4;

}


/* =========================================================
   PROJECT CENTER
   ========================================================= */

.project-center {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    line-height: 0.82;

    text-align: center;

}


.project-center span {

    color: #686863;

    font-size:
        clamp(14px, 2vw, 23px);

    letter-spacing: 0.30em;

}


.project-center strong {

    margin: 8px 0;

    color: var(--white);

    font-size:
        clamp(46px, 7vw, 94px);

    letter-spacing: -0.07em;

}


/* =========================================================
   PROJECT INFORMATION
   ========================================================= */

.project-information {

    display: flex;

    flex-direction: column;

    padding: 38px;

    border-left:
        1px solid var(--line-light);

}


.project-category {

    color: var(--gray);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.15em;

}


.project-information h3 {

    margin-top: 70px;

    margin-bottom: 25px;

    font-size:
        clamp(30px, 3.2vw, 48px);

    line-height: 0.95;

}


.project-description {

    margin-bottom: 25px;

    color: var(--gray);

    font-size: 13px;

}


/* =========================================================
   PROJECT TAGS
   ========================================================= */

.project-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 35px;

}


.project-tags span {

    padding: 6px 8px;

    border:
        1px solid var(--line-light);

    color: #858580;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.05em;

}


/* =========================================================
   PROJECT LINK
   ========================================================= */

.project-link {

    margin-top: auto;

    padding-top: 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top:
        1px solid var(--line-light);

    color: var(--white);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;

}


.project-link span:last-child {

    font-size: 18px;

    transition:
        transform 0.2s ease;

}


.project-link:hover span:last-child {

    transform:
        translate(4px, -4px);

}


/* =========================================================
   DASHBOARD PLACEHOLDER
   ========================================================= */

.dashboard-area {

    margin-top: 70px;

}


.dashboard-placeholder {

    min-height: 320px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border:
        1px dashed #33332f;

    color: #4d4d48;

    text-align: center;

}


.dashboard-placeholder span {

    color: #777771;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.20em;

}


.dashboard-placeholder p {

    margin-top: 8px;

    color: #4d4d48;

    font-size: 12px;

}



/* === new add */

.dashboard-area {
    padding: 90px 0;
}

.dashboard-heading {
    margin-bottom: 35px;
}

.dashboard-heading span {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 3px;
    color: #777;
}

.dashboard-heading h3 {
    margin: 0;
    max-width: 700px;
    font-size: 42px;
    line-height: 1.05;
    font-weight: 600;
    color: #f2f2f2;
}

.dashboard-image {
    position: relative;
    overflow: hidden;
    border: 1px solid #292929;
    background: #080808;
}

.dashboard-image img {
    width: 100%;
    height: auto;
    display: block;

    /* grey wash */
    filter: grayscale(100%);
    opacity: 0.48;

    transition: opacity 0.35s ease;
}

.dashboard-image:hover img {
    opacity: 0.68;
}


/* =========================================================
   METRICS
   ========================================================= */

.metrics-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid var(--line-light);

    border-left:
        1px solid var(--line-light);

}


.metric {

    min-height: 250px;

    padding: 28px;

    border-right:
        1px solid var(--line-light);

    border-bottom:
        1px solid var(--line-light);

}


.metric > span {

    display: block;

    margin-bottom: 80px;

    color: #555550;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.15em;

}


.metric strong {

    display: block;

    margin-bottom: 8px;

    font-size:
        clamp(34px, 4vw, 59px);

    line-height: 0.9;

    letter-spacing: -0.06em;

}


.metric small {

    color: var(--gray);

    font-size: 11px;

}


/* =========================================================
   APPROACH
   ========================================================= */

.approach-layout {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

}


.approach-intro h2 {

    margin-top: 30px;

}


.process {

    border-top:
        1px solid var(--line-light);

}


.process-step {

    display: grid;

    grid-template-columns:
        70px 1fr;

    gap: 20px;

    padding: 27px 0;

    border-bottom:
        1px solid var(--line-light);

}


.process-step > span {

    color: #555550;

    font-size: 10px;

    font-weight: 800;

}


.process-step h3 {

    margin-bottom: 6px;

    font-size: 20px;

}


.process-step p {

    color: var(--gray);

    font-size: 13px;

}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {

    padding-top: 170px;

    padding-bottom: 170px;

}


.contact h2 {

    max-width: 950px;

    margin-top: 30px;

    margin-bottom: 65px;

    font-size:
        clamp(58px, 8vw, 118px);

}


.contact-link {

    max-width: 850px;

    padding-bottom: 15px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom:
        1px solid #44443f;

    color: var(--white);

    font-size:
        clamp(17px, 2.5vw, 28px);

    letter-spacing: -0.02em;

}


.contact-link span:last-child {

    font-size: 25px;

    transition:
        transform 0.2s ease;

}


.contact-link:hover span:last-child {

    transform:
        translate(5px, -5px);

}


/* new Contact Styling */
.contact-details {
    width: 100%;
}

.contact-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #303030;
    color: #f2f2f2;
    text-decoration: none;
    font-size: 32px;
    line-height: 1.1;
}

.contact-line:last-child {
    margin-bottom: 0;
}

.contact-line span:last-child {
    font-size: 28px;
}

.contact-line:hover {
    color: #fff;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {

    padding: 27px 0;

    color: #555550;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.12em;

}


.footer-inner {

    display: grid;

    grid-template-columns:
        1fr 1fr auto;

    gap: 20px;

}


.footer-inner span:nth-child(2) {

    text-align: center;

}

/* new Footer */
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid #252525;
    color: #777;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.footer-right strong {
    color: #aaa;
    font-weight: 500;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {


    .container,
    .header-container,
    .hero-container {

        width:
            calc(100% - 36px);

    }


    .navigation {

        display: none;

    }


    .header-button {

        margin-left: auto;

    }


    .hero-title {

        font-size:
            clamp(60px, 12vw, 105px);

    }


    .hero-title span {

        margin-left: 4vw;

    }


    .hero-bottom {

        margin-left: 0;

    }


    .section-heading {

        display: block;

    }


    .section-note {

        margin-top: 30px;

    }


    .solution-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .project {

        grid-template-columns:
            1fr;

    }


    .project-information {

        border-left: 0;

        border-top:
            1px solid var(--line-light);

    }


    .project-visual {

        min-height: 500px;

    }


    .metrics-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .approach-layout {

        grid-template-columns:
            1fr;

        gap: 60px;

    }


    .footer-inner {

        grid-template-columns:
            1fr;

    }


    .footer-inner span:nth-child(2) {

        text-align: left;

    }

}

/* new media for contact below */


@media (max-width: 768px) {
    .contact-line {
        font-size: 20px;
        padding-bottom: 18px;
        margin-bottom: 18px;
    }

    .contact-line span:last-child {
        font-size: 20px;
    }
}


@media (max-width: 768px) {
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        line-height: 1.5;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {


    :root {

        --header-height: 68px;

    }


    .container,
    .header-container,
    .hero-container {

        width:
            calc(100% - 28px);

    }


    .brand {

        gap: 7px;

    }


    .brand-mark {

        font-size: 15px;

    }


    .brand-name {

        font-size: 8px;

    }


    .header-button {

        padding:
            9px 11px;

        font-size: 8px;

    }


    .hero {

        min-height:
            92vh;

    }


    .hero-container {

        padding-top:
            100px;

        padding-bottom:
            80px;

    }


    .hero-title {

        font-size:
            clamp(52px, 16vw, 82px);

    }

    
    .hero-title{
        font-size:clamp(48px,13vw,72px);
    }



    .hero-title span {

        margin-left: 0;

    }


    .hero-bottom {

        flex-direction:
            column;

        align-items:
            flex-start;

        gap: 30px;

        margin-top: 55px;

    }


    .hero-description {

        font-size: 14px;

    }


    .hero-circle {

        width: 105px;

        height: 105px;

    }


    .section {

        padding-top:
            90px;

        padding-bottom:
            90px;

    }


    .intro {

        padding-top:
            100px;

        padding-bottom:
            100px;

    }


    h2 {

        font-size:
            clamp(42px, 12vw, 62px);

    }


    .solution-grid {

        grid-template-columns:
            1fr;

    }


    .solution-card {

        min-height:
            330px;

    }


    .project-visual {

        min-height:
            390px;

    }


    .project-center strong {

        font-size:
            55px;

    }


    .project-information {

        padding:
            28px;

    }


    .project-information h3 {

        margin-top:
            55px;

    }


    .metrics-grid {

        grid-template-columns:
            1fr;

    }


    .metric {

        min-height:
            210px;

    }


    .metric > span {

        margin-bottom:
            55px;

    }


    .process-step {

        grid-template-columns:
            45px 1fr;

    }


    .contact {

        padding-top:
            110px;

        padding-bottom:
            110px;

    }


    .contact h2 {

        margin-bottom:
            50px;

    }


    .contact-link {

        font-size:
            17px;

        word-break:
            break-word;

        gap: 20px;

    }

}