/* ===================================================
   Arkane Agents — Landing Page Styles
   Accent: #6366F1 (Indigo-500)
   Dark band: #0C0C0F
   Light bg: #FAFAFA
   =================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #FAFAFA;
    color: #1A1A1A;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* ── Typography tokens ── */
.label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6366F1;
    margin-bottom: 1rem;
}

.label--light { color: #818CF8; }

.heading-2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: #111;
}

.heading-2--light { color: #F5F5F5; }

.heading-2--large {
    font-size: clamp(2rem, 4vw, 3rem);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1.5px solid transparent;
}

.btn--primary {
    background: #6366F1;
    color: #fff;
    border-color: #6366F1;
}

.btn--primary:hover {
    background: #4F46E5;
    border-color: #4F46E5;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn--ghost {
    background: transparent;
    color: #555;
    border-color: rgba(0,0,0,0.15);
}

.btn--ghost:hover {
    border-color: #6366F1;
    color: #6366F1;
}

/* ── Nav ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2.5rem;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.3s;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.nav__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #6366F1;
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
}

.nav__cta {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border: 1.5px solid rgba(0,0,0,0.15);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav__cta:hover {
    border-color: #6366F1;
    color: #6366F1;
}

/* ── Hero ── */
.hero {
    padding: 8rem 2.5rem 5rem;
}

.hero__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    background: rgba(99, 102, 241, 0.08);
    color: #6366F1;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-size: clamp(2.75rem, 5.5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: #0C0C0F;
}

.hero__sub {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #555;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ── Work cards ── */
.work {
    padding: 6rem 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.work__header {
    margin-bottom: 3rem;
}

.work__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    padding: 2rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #6366F1;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.card:hover::before {
    transform: scaleY(1);
}

.card__num {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #6366F1;
    margin-bottom: 1rem;
}

.card__title {
    font-size: 1.2rem;
    font-weight: 750;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.card__text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

/* ── Traction dark band ── */
.traction {
    background: #0C0C0F;
    padding: 6rem 2.5rem;
    margin: 0;
    max-width: none;
    width: 100%;
}

.traction__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.traction__header {
    margin-bottom: 3rem;
}

.traction__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.traction__card {
    padding: 2rem 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s;
}

.traction__card:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.traction__number {
    display: block;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #818CF8, #6366F1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.traction__unit {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.45;
}

/* ── Approach split ── */
.approach {
    padding: 6rem 2.5rem;
}

.approach__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.approach__left {
    position: sticky;
    top: 6rem;
    align-self: start;
}

.approach__right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.approach__right p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}



/* ── Vision ── */
.vision {
    background: #0C0C0F;
    padding: 6rem 2.5rem 7rem;
}

.vision__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.vision__heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 0.5rem;
}

.vision__accent {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #6366F1;
    margin-bottom: 2rem;
}

.vision__text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 2.5rem;
}

/* ── Footer ── */
.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 2rem 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer__name {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
}

.footer__meta {
    display: block;
    font-size: 0.8rem;
    color: #999;
}

.footer__email {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6366F1;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.footer__email:hover {
    border-color: #6366F1;
}

.footer__bottom {
    font-size: 0.75rem;
    color: #bbb;
}

/* ── Scroll animations ── */
/* Animations only when JS is ready */
.js-ready [data-stagger],
.js-ready .fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-ready [data-stagger].visible,
.js-ready .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.js-ready .hero__inner {
    opacity: 0;
    transform: translateY(36px);
    animation: heroEnter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

@keyframes heroEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .work__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

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

    .approach__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .approach__left {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav { padding: 0.85rem 1.25rem; }

    .hero {
        padding: 6.5rem 1.25rem 3rem;
    }

    section, .work, .approach, .vision {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .traction { padding: 4rem 1.25rem; }

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

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        text-align: center;
        justify-content: center;
    }

    .footer {
        padding: 1.5rem 1.25rem;
    }

    .footer__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .traction__grid {
        grid-template-columns: 1fr;
    }
}
