/* === ASTRO UI — Minimal Monochrome === */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&display=swap');

:root {
    --bg: #0a0a0f;
    --bg-2: #111118;
    --bg-3: #17171f;
    --accent: #a8a8b8;
    --accent-dim: rgba(168, 168, 184, 0.10);
    --accent-border: rgba(168, 168, 184, 0.22);
    --text-1: #f0f0f8;
    --text-2: #9191a8;
    --text-3: #52525e;
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.13);
    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease: all 0.2s ease;
    --r: 10px;
    --r-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text-1);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.65;
    overflow-x: hidden;
}

/* ---- CANVAS ---- */
#star-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-1);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.1rem;
    align-items: center;
}

.nav-links a {
    display: block;
    padding: 0.4rem 0.8rem;
    border-radius: 7px;
    text-decoration: none;
    font-size: 0.875rem;
    color: var(--text-2);
    font-weight: 500;
    transition: var(--ease);
}

.nav-links a:hover {
    color: var(--text-1);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links .btn-nav {
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    color: var(--accent);
    border-radius: 999px;
    padding: 0.4rem 1rem;
}

.nav-links .btn-nav:hover {
    background: rgba(168, 168, 184, 0.18);
    color: var(--text-1);
}

/* ---- BUTTONS ---- */
.btn-primary {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: var(--accent);
    color: #0a0a0f;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--ease);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: #c4c4d0;
    box-shadow: 0 0 18px rgba(168, 168, 184, 0.25);
}

.btn-ghost {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: transparent;
    color: var(--text-2);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--ease);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--text-1);
    border-color: var(--border-hover);
}

/* ---- HERO (2-col split) ---- */
.hero {
    position: relative;
    z-index: 1;
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 6rem 1.5rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.hero::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(168, 168, 184, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.hero-split {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--accent-border);
    background: var(--accent-dim);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: var(--text-1);
    margin-bottom: 1rem;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-2);
    max-width: 420px;
    margin: 0 0 1.75rem;
    line-height: 1.7;
}

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

.hero-meta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-meta a {
    color: var(--text-3);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--ease);
}

.hero-meta a:hover {
    color: var(--accent);
}

/* Right column: stats grid */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    width: 100%;
}

.hero-stat {
    background: var(--bg-2);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--ease);
}

.hero-stat:hover {
    background: var(--bg-3);
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    letter-spacing: -1px;
}

.hero-stat-label {
    color: var(--text-3);
    font-size: 0.75rem;
    margin-top: 0.3rem;
    line-height: 1.4;
}



/* ---- SECTIONS ---- */
.section {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    color: var(--text-1);
}

.section-desc {
    font-size: 0.9rem;
    color: var(--text-2);
    max-width: 440px;
    margin-bottom: 2rem;
}

/* ---- COMPETENCY CARDS ---- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.comp-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    transition: var(--ease);
}

.comp-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-3);
}

.card-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
}

.comp-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.comp-card p {
    color: var(--text-2);
    font-size: 0.875rem;
}

/* ---- ZIGZAG TIMELINE ---- */
.zz-timeline {
    position: relative;
    margin-top: 2rem;
}

/* Center spine */
.zz-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-hover);
    transform: translateX(-50%);
}

.zz-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    margin-bottom: 1.25rem;
    position: relative;
}

.zz-item:last-child {
    margin-bottom: 0;
}

/* Card fills left column */
.zz-left .zz-card {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
    padding-right: 2rem;
}

.zz-left .zz-connector {
    grid-column: 2;
    grid-row: 1;
}

/* Card fills right column */
.zz-right .zz-connector {
    grid-column: 2;
    grid-row: 1;
}

.zz-right .zz-card {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
    padding-left: 2rem;
}

.zz-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.1rem 1.4rem;
    transition: var(--ease);
}

.zz-card:hover {
    border-color: var(--border-hover);
}

/* Highlights: left cards – right-align bullets */
.zz-left .timeline-highlights li {
    flex-direction: row-reverse;
}

.zz-left .timeline-highlights li::before {
    content: '–';
}

.zz-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
    z-index: 1;
}

.zz-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg);
    box-shadow: 0 0 8px rgba(168, 168, 184, 0.4);
    flex-shrink: 0;
}


.timeline-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-3);
    letter-spacing: 0.3px;
    display: block;
    margin-bottom: 0.3rem;
}

.timeline-role {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 0.15rem;
}

.timeline-company {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.timeline-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.timeline-highlights li {
    color: var(--text-2);
    font-size: 0.875rem;
    display: flex;
    gap: 0.5rem;
}

.timeline-highlights li::before {
    content: '–';
    color: var(--text-3);
    flex-shrink: 0;
}

/* ---- VENTURES & EDU ---- */
.ventures-edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.venture-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.25rem 1.5rem;
    transition: var(--ease);
}

.venture-card:hover {
    border-color: var(--border-hover);
}

.venture-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.venture-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.venture-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
}

.role-pill {
    display: inline-flex;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-left: 0.4rem;
    vertical-align: middle;
}

.venture-card p {
    color: var(--text-2);
    font-size: 0.875rem;
}

.awards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.award-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-2);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ---- FOOTER ---- */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    background: var(--bg);
    padding: 3.5rem 1.5rem 2.5rem;
    text-align: center;
}

.footer-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    color: var(--text-1);
}

.footer-title span {
    color: var(--accent);
}

.footer-subtitle {
    color: var(--text-3);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.footer-cta {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-3);
    text-decoration: none;
    font-size: 0.82rem;
    transition: var(--ease);
}

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

.footer-copy {
    color: var(--text-3);
    font-size: 0.78rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

/* ---- ANIMATIONS ---- */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.08s;
}

.delay-2 {
    transition-delay: 0.16s;
}

.delay-3 {
    transition-delay: 0.24s;
}

.delay-4 {
    transition-delay: 0.32s;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .hero-cta {
        justify-content: center;
    }

    .hero-meta {
        justify-content: center;
    }

    .hero-subtitle {
        margin: 0 auto 1.75rem;
    }

    /* Zigzag collapses to single left-side stack */
    .zz-timeline::before {
        left: 12px;
        transform: none;
    }

    .zz-item {
        grid-template-columns: auto 1fr;
        margin-bottom: 1rem;
    }

    .zz-left .zz-card,
    .zz-right .zz-card {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        padding-left: 1.25rem;
        padding-right: 0;
    }

    .zz-left .zz-connector,
    .zz-right .zz-connector {
        grid-column: 1;
        grid-row: 1;
    }

    .zz-left .timeline-highlights li {
        flex-direction: row;
    }

    .ventures-edu-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .nav-links li:not(:last-child) {
        display: none;
    }

    .hero-title {
        letter-spacing: -0.5px;
    }

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