@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #07080b;
    --panel: #0e1015;
    --panel2: #12151c;
    --text: #f5f7fb;
    --muted: #9ba3b3;
    --line: rgba(255,255,255,.09);
    --accent: #8b5cf6;
    --accent2: #22d3ee;
    --max: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(139,92,246,.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 30%,
            rgba(34,211,238,.07),
            transparent 25%
        ),
        var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .035;

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

    background-size: 70px 70px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 80%
    );
}

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

.container {
    width: min(calc(100% - 40px), var(--max));
    margin: auto;
}


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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;

    background: rgba(7,8,11,.62);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid transparent;

    transition: .3s;
}

header.scrolled {
    border-color: var(--line);
    background: rgba(7,8,11,.86);
}

.nav {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: "Space Grotesk";
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.04em;
}

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

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    color: #c9ced9;
    transition: .25s;
}

.nav-links a:hover {
    color: #fff;
}

.menu {
    display: none;

    border: 1px solid var(--line);
    background: none;
    color: #fff;

    padding: 9px 11px;
    border-radius: 10px;

    font-size: 18px;
}


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

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 130px 0 80px;

    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;

    gap: 70px;

    align-items: center;
}

.eyebrow {
    display: inline-flex;
    gap: 9px;
    align-items: center;

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

    padding: 8px 12px;

    border-radius: 999px;

    color: #cfd4df;

    font-size: 12px;

    text-transform: uppercase;
    letter-spacing: .12em;

    background: rgba(255,255,255,.025);
}

.dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #5eead4;

    box-shadow: 0 0 18px #5eead4;

    animation: pulse 2s infinite;
}

h1,
h2,
h3 {
    font-family: "Space Grotesk";
    line-height: 1.05;
    letter-spacing: -.045em;
}

h1 {
    font-size: clamp(55px,8vw,104px);

    margin: 26px 0 25px;

    max-width: 850px;
}

.gradient {
    background:
        linear-gradient(
            100deg,
            #fff 20%,
            #b9a5ff 52%,
            #6ee7f9 90%
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--muted);
    max-width: 650px;
}

.actions {
    display: flex;
    gap: 14px;

    flex-wrap: wrap;

    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 13px 19px;

    border-radius: 12px;

    font-weight: 600;
    font-size: 14px;

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

    transition: .3s;

    position: relative;
    overflow: hidden;
}

.btn.primary {
    background: #fff;
    color: #090a0d;
}

.btn:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,.25);
}

.btn.primary:hover {
    box-shadow: 0 15px 40px rgba(255,255,255,.12);
}


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

.hero-card {
    position: relative;

    aspect-ratio: 4/5;

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

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            #171922,
            #0a0b0f
        );

    overflow: hidden;

    box-shadow: 0 35px 100px rgba(0,0,0,.45);

    transform: rotate(2deg);

    transition: .5s;
}

.hero-card:hover {
    transform: rotate(0) translateY(-8px);
}

.hero-card:after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    background: var(--accent);

    filter: blur(90px);

    opacity: .25;

    top: -90px;
    right: -70px;
}

.portrait-placeholder {
    position: absolute;
    inset: 28px;

    border-radius: 20px;

    border: 1px dashed rgba(255,255,255,.14);

    display: flex;
    align-items: flex-end;

    padding: 28px;

    background:
        radial-gradient(
            circle at 50% 25%,
            rgba(139,92,246,.25),
            transparent 30%
        ),
        linear-gradient(
            160deg,
            #171a24,
            #0b0d12
        );
}

.portrait-placeholder strong {
    font-family: "Space Grotesk";
    font-size: 30px;
}

.portrait-placeholder small {
    display: block;

    color: var(--muted);

    margin-top: 5px;
}


/* ========================================
   FLOATING ELEMENTS
======================================== */

.float {
    position: absolute;
    z-index: 3;

    background: rgba(16,18,25,.86);

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

    padding: 12px 15px;

    border-radius: 14px;

    backdrop-filter: blur(15px);

    font-size: 12px;

    box-shadow: 0 20px 50px rgba(0,0,0,.25);

    animation: float 5s ease-in-out infinite;
}

.f1 {
    top: 15%;
    left: -35px;
}

.f2 {
    bottom: 16%;
    right: -35px;

    animation-delay: -2s;
}


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

section {
    padding: 120px 0;
}

.section-head {
    display: flex;

    justify-content: space-between;

    gap: 40px;

    align-items: end;

    margin-bottom: 50px;
}

.section-head h2 {
    font-size: clamp(38px,5vw,65px);

    max-width: 680px;
}

.kicker {
    color: #8f98a9;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: .13em;

    margin-bottom: 14px;
}

.section-head p {
    max-width: 390px;
    color: var(--muted);
}


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

.stats {
    display: grid;

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

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

.stat {
    padding: 32px 25px;

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

.stat:last-child {
    border: 0;
}

.stat b {
    font: 700 42px "Space Grotesk";
    display: block;
}

.stat span {
    color: var(--muted);
    font-size: 13px;
}


/* ========================================
   CARDS
======================================== */

.cards {
    display: grid;

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

    gap: 18px;
}

.card {
    padding: 30px;

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

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.012)
        );

    border-radius: 20px;

    transition: .35s;
}

.card:hover {
    transform: translateY(-7px);

    border-color: rgba(139,92,246,.35);

    box-shadow: 0 25px 60px rgba(0,0,0,.25);
}

.icon {
    width: 42px;
    height: 42px;

    border-radius: 12px;

    display: grid;
    place-items: center;

    background: rgba(139,92,246,.12);

    color: #c7b7ff;

    margin-bottom: 22px;
}

.card h3 {
    font-size: 23px;
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
    font-size: 14px;
}


/* ========================================
   TIMELINE
======================================== */

.timeline {
    position: relative;
    margin-top: 20px;
}

.timeline:before {
    content: "";

    position: absolute;

    left: 9px;
    top: 0;
    bottom: 0;

    width: 1px;

    background: var(--line);
}

.timeline-item {
    position: relative;

    padding-left: 45px;

    margin-bottom: 48px;
}

.timeline-item:before {
    content: "";

    position: absolute;

    left: 4px;
    top: 7px;

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: var(--bg);

    border: 2px solid var(--accent2);

    box-shadow: 0 0 15px rgba(34,211,238,.5);
}

.timeline-item .year {
    color: #76e6f5;

    font-size: 12px;

    letter-spacing: .1em;

    text-transform: uppercase;
}

.timeline-item h3 {
    font-size: 26px;

    margin: 7px 0;
}

.timeline-item p {
    color: var(--muted);

    max-width: 800px;
}


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

.about-grid {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 80px;
}

.about-copy p {
    color: #b0b7c5;

    margin-bottom: 20px;
}

.quote {
    border-left: 2px solid var(--accent);

    padding: 8px 0 8px 22px;

    font: 500 22px/1.45 "Space Grotesk";

    margin-top: 30px;
}


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

.contact-box {
    padding: 60px;

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

    border-radius: 28px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(139,92,246,.18),
            transparent 35%
        ),
        var(--panel);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;
}

.contact-box h2 {
    font-size: clamp(38px,5vw,65px);
}

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

    max-width: 550px;

    margin-top: 15px;
}


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

footer {
    padding: 35px 0;

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

    color: #7f8796;

    font-size: 13px;
}

.footer {
    display: flex;

    justify-content: space-between;

    gap: 20px;
}


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

.reveal {
    opacity: 0;

    transform: translateY(28px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.visible {
    opacity: 1;

    transform: none;
}


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

.cursor-glow {
    position: fixed;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background: rgba(139,92,246,.06);

    filter: blur(30px);

    pointer-events: none;

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

    z-index: -1;
}


/* ========================================
   EXPERTISE ACCORDION
======================================== */

.expertise-list {
    width: 100%;
}

.expertise-item {
    width: 100%;

    border-bottom: 1px solid rgba(17,20,23,.15);
}


/* Expertise clickable header */

.expertise-header {
    appearance: none;
    -webkit-appearance: none;

    width: 100%;

    padding: 28px 0;

    border: 0;
    outline: 0;

    background: transparent;

    display: flex;

    align-items: center;

    justify-content: space-between;

    cursor: pointer;

    text-align: left;

    color: #111417;
}


/* Number + title */

.expertise-title {
    display: flex;

    align-items: center;

    gap: 28px;
}


/* Number */

.expertise-row-number {
    display: inline-block;

    font-family: "DM Sans", sans-serif;

    font-size: 11px;

    font-weight: 500;

    color: #ef7437;

    letter-spacing: .06em;

    flex-shrink: 0;
}


/* Main expertise title */

.expertise-row-title {
    display: inline-block;

    font-family: "Instrument Serif", serif;

    font-size: clamp(34px,4vw,58px);

    font-weight: 400;

    line-height: 1;

    color: #111417;

    transition: color .3s ease;
}


/* Arrow */

.expertise-row-arrow {
    display: inline-block;

    font-family: "DM Sans", sans-serif;

    font-size: 25px;

    font-weight: 400;

    color: #ef7437;

    flex-shrink: 0;

    transition:
        transform .45s ease,
        color .3s ease;
}


/* ========================================
   ACCORDION CONTENT
======================================== */

.expertise-content {
    max-height: 0;

    opacity: 0;

    overflow: hidden;

    transform: translateY(-12px);

    transition:
        max-height .55s ease,
        opacity .4s ease,
        transform .5s ease;
}


/* Description */

.expertise-content p {
    max-width: 720px;

    margin: 0 0 22px 42px;

    font-family: "DM Sans", sans-serif;

    font-size: 15px;

    font-weight: 400;

    line-height: 1.7;

    color: #555b60;
}


/* Bullet list */

.expertise-content ul {
    margin: 0 0 32px 42px;

    padding: 0;

    list-style: none;

    display: flex;

    flex-wrap: wrap;

    gap: 10px 30px;
}

.expertise-content li {
    position: relative;

    padding-left: 14px;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    line-height: 1.6;

    color: #111417;
}

.expertise-content li::before {
    content: "•";

    position: absolute;

    left: 0;
    top: 0;

    color: #ef7437;
}


/* ========================================
   OPEN ACCORDION
======================================== */

.expertise-item.active .expertise-content {
    max-height: 500px;

    opacity: 1;

    transform: translateY(0);
}


/* Rotate arrow when opened */

.expertise-item.active .expertise-row-arrow {
    transform: rotate(90deg);
}


/* ========================================
   EXPERTISE HOVER
======================================== */

.expertise-header:hover .expertise-row-title {
    color: #ef7437;
}

.expertise-header:hover .expertise-row-arrow {
    transform: translateX(5px);
}

.expertise-item.active .expertise-header:hover .expertise-row-arrow {
    transform: rotate(90deg);
}


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

@media(max-width:850px) {

    .nav-links {
        display: none;

        position: absolute;

        top: 76px;

        left: 20px;
        right: 20px;

        padding: 18px;

        background: #0c0e13;

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

        border-radius: 15px;

        flex-direction: column;

        align-items: flex-start;
    }

    .nav-links.open {
        display: flex;
    }

    .menu {
        display: block;
    }

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

    .hero-card {
        max-width: 500px;
        margin: auto;
    }

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

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

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .section-head {
        display: block;
    }

    .section-head p {
        margin-top: 20px;
    }

    .contact-box {
        display: block;

        padding: 38px;
    }

    .contact-box .btn {
        margin-top: 28px;
    }

    .f1 {
        left: 0;
    }

    .f2 {
        right: 0;
    }


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

    .expertise-header {
        padding: 22px 0;
    }

    .expertise-title {
        gap: 16px;
    }

    .expertise-row-title {
        font-size: clamp(30px,8vw,42px);
    }

    .expertise-row-number {
        font-size: 10px;
    }

    .expertise-row-arrow {
        font-size: 20px;
    }

    .expertise-content p {
        margin-left: 30px;

        margin-right: 10px;

        font-size: 14px;
    }

    .expertise-content ul {
        margin-left: 30px;

        margin-right: 10px;

        display: block;
    }

    .expertise-content li {
        margin-bottom: 8px;
    }
}


/* ========================================
   REDUCED MOTION
======================================== */

@media(prefers-reduced-motion:reduce) {

    * {
        scroll-behavior: auto !important;

        animation: none !important;

        transition: none !important;
    }
}


/* ========================================
   ANIMATIONS
======================================== */

@keyframes pulse {
    50% {
        opacity: .35;
        transform: scale(.7);
    }
}

@keyframes float {
    50% {
        transform: translateY(-12px);
    }
}