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

:root {
    --purple: #7C3AED;
    --blue: #3B82F6;
    --gradient-brand: linear-gradient(
        135deg,
        var(--purple),
        var(--blue)
    );
    --ink: #000000;
    --white: #dddddd;
    --bronze: #6960e4;
    --parchment: #E8D5C4;
    --gray: #484848;
    --muted: #9a9a9a;
    --card-w: 220px;
    --card-h: 290px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ink);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}


/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 52px;
    mix-blend-mode: normal;
}

nav::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 15, .9) 0%, transparent 100%);
    pointer-events: none;
}

.nav-logo {
    font-family: 'Afacad', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    position: relative;
    z-index: 1;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: .9rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: color .3s;
}

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

.nav-links a.active {
    color: var(--white);
    font-weight: 600;
}

/* ── HERO ── */
#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-text {
    position: relative;
    z-index: 10;
    max-width: 660px;
    user-select: none;
    padding: 0px 52px;
}

.section-header {
    font-size: 1rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}

h1 {
    font-family: 'Inter', sans-serif;
    font-size: 6rem;
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: var(--white);
    margin-bottom: 28px;
}

h2 {
    font-family: 'Inter', sans-serif;
    font-size: 5rem;
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: var(--white);
    margin-bottom: 28px;
}

h3 {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: var(--white);
    margin-bottom: 28px;
}

.gradient-text {
    font-style: normal;
    font-weight: 300;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: inherit;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--muted);
    max-width: 400px;
    margin-bottom: 44px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(240, 235, 225, .25);
    padding: 14px 28px;
    transition: border-color .3s, color .3s, background .3s;
}

.hero-cta:hover {
    border-color: var(--bronze);
    color: var(--bronze);
}

.hero-cta-arrow {
    display: inline-block;
    transition: transform .3s;
}

/* ── HELIX CANVAS AREA ── */
#helix-scene {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 5;
    perspective: 1100px;
}

@media (max-width: 400px) {
    #helix-scene {
        width: 100%;
        opacity: .35;
    }
}

.helix-card {
    position: absolute;
    width: var(--card-w);
    height: var(--card-h);
    border-radius: 4px;
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .7), 0 0 0 1px rgba(200, 169, 126, .12);
    transition: box-shadow .3s;
}

.helix-card:hover {
    box-shadow: 0 30px 80px rgba(0, 0, 0, .9), 0 0 0 1px rgba(200, 169, 126, .4);
    z-index: 20 !important;
}

.helix-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease, filter .4s;
    filter: saturate(.85) brightness(.88);
}

.helix-card:hover img {
    transform: scale(1.04);
    filter: saturate(1) brightness(1);
}

.helix-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, .85) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .4s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 16px;
}

.helix-card:hover .helix-card-overlay {
    opacity: 1;
}

.helix-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.3;
}

.helix-card-type {
    font-size: 1rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--bronze);
    margin-top: 4px;
}

/* ── MARQUEE ── */
.marquee-wrap {
    overflow: hidden;
    border-top: 1px solid rgba(240, 235, 225, .08);
    border-bottom: 1px solid rgba(240, 235, 225, .08);
    padding: 18px 0;
}

.marquee-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding: 0 32px;
    font-size: 1rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
}

.marquee-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--bronze);
    flex-shrink: 0;
}

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

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

/* ── SECTIONS ── */
section {
    padding: 120px 80px;
}

/* ── ABOUT ── */
#about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-number {
    font-family: 'Inter', sans-serif;
    font-size: 10rem;
    font-weight: 300;
    color: transparent;
    -webkit-text-stroke: 2px var(--white);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.about-headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 300;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 24px;
}

.about-body {
    font-size: 1.1rem;
    line-height: 1.95;
    color: var(--muted);
    margin-bottom: 18px;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(240, 235, 225, .06);
    border: 1px solid rgba(240, 235, 225, .06);
    margin-top: 48px;
}

.stat-item {
    padding: 28px 24px;
    background: var(--ink);
}

.stat-num {
    font-family: 'Inter', sans-serif;
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--bronze);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 1rem;
    color: var(--muted);
}

/* ── EXPERTISE ── */
#expertise {
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(240, 235, 225, .07);
    border: 1px solid rgba(240, 235, 225, .07);
}

.expertise-item {
    padding: 52px 44px;
    background: var(--ink);
    transition: background .4s;
    position: relative;
    overflow: hidden;
}

.expertise-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--bronze);
    transition: height .5s ease;
}

.expertise-item:hover {
    background: rgba(42, 31, 61, .4);
}

.expertise-item:hover::before {
    height: 100%;
}

.expertise-num {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--gray);
    line-height: 1;
    margin-bottom: 24px;
}

.expertise-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 16px;
}

.expertise-desc {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--muted);
}

/* ── CONTACT ── */
#contact {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-sub {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 52px;
    max-width: 520px;
    line-height: 1.8;
}

.contact-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-link {
    font-size: 1rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    transition: color .3s, border-color .3s;
}

.contact-link:hover {
    color: var(--bronze);
    border-color: var(--bronze);
}

/* ── FOOTER ── */
footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 52px;
}

.footer-copy {
    font-size: 1rem;
    letter-spacing: .14em;
    color: var(--gray);
    text-transform: uppercase;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    nav {
        padding: 22px 28px;
    }

    .nav-links {
        gap: 24px;
    }

    section {
        padding: 80px 28px;
    }

    #about {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    footer {
        padding: 24px 28px;
    }

    .hero-text {
        padding: 0 28px;
    }

    .scroll-hint {
        left: 28px;
    }
}

/* ── HAMBURGER ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    position: relative;
    z-index: 1;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: transform .35s ease, opacity .25s ease;
    transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ── MOBILE MENU ── */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--ink);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.mobile-nav-links a {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 10vw, 3.2rem);
    font-weight: 300;
    letter-spacing: .08em;
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    transition: color .3s;
}

.mobile-nav-links a:hover {
    color: var(--white);
}

@media (max-width: 600px) {
    .nav-hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.4rem;
    }

    h3 {
        font-size: 2rem;
    }

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

/* ── REVEAL ANIMATIONS ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s ease;
}

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

/* ── HELIX AMBIENT GLOW ── */
.helix-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(42, 31, 61, .6) 0%, transparent 70%);
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}