:root {
    color-scheme: dark;
    --bg: #000000;
    --surface: #0a0e1a;
    --surface-2: #050a14;
    --text: #ffffff;
    /*    --muted: #b0b8c8; */
    --muted: #ffffff;
    --accent: #00d9ff;
    --accent-2: #0099cc;
    --line: rgba(0, 217, 255, 0.15);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    --radius: 18px;
}

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

body {
    font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
    background: radial-gradient(circle at top, rgba(0, 217, 255, 0.08), transparent 55%),
        radial-gradient(circle at 20% 20%, rgba(0, 153, 204, 0.1), transparent 50%),
        var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    padding: 32px clamp(20px, 4vw, 64px) 64px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 16px;
    background: var(--accent);
    color: #0b0f17;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    left: 24px;
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(0px);
    opacity: 0.5;
    z-index: -1;
}

.bg-orb--one {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15), transparent 60%);
    top: -200px;
    left: -120px;
}

.bg-orb--two {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(0, 153, 204, 0.12), transparent 65%);
    bottom: -220px;
    right: -120px;
}

a {
    color: inherit;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 24px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--line);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    margin-bottom: 64px;
}

.logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(0, 217, 255, 0.12);
    border: 1px solid rgba(0, 217, 255, 0.5);
    font-weight: 700;
}

nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    font-size: 0.95rem;
    color: var(--muted);
}

nav a:hover {
    color: var(--text);
}

.cta,
.ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.cta {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #0b0f17;
    box-shadow: var(--shadow);
}

.ghost {
    border-color: var(--line);
    color: var(--text);
    background: transparent;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    align-items: center;
    margin-bottom: 64px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 12px;
}

h1 {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    word-break: break-word;
    overflow-wrap: break-word;
}

.lede {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 24px;
}

.accent {
    color: var(--accent);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chips li {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.6);
    font-size: 0.85rem;
}

.hero-card {
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.6));
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.small {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: var(--muted);
    margin-bottom: 10px;
}

.muted {
    color: var(--muted);
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.pill {
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(0, 217, 255, 0.12);
    border: 1px solid rgba(0, 217, 255, 0.5);
    font-size: 0.8rem;
}

.panel {
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.7);
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
}

.panel-text {
    color: var(--muted);
    margin-bottom: 24px;
    max-width: 700px;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.two {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid.three {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
    background: rgba(17, 24, 39, 0.8);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--line);
}

.list {
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.list-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.list-inline li {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.6);
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    justify-content: space-between;
}

.project-card h3 {
    font-size: 1.1rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 0.85rem;
}

.project-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.timeline {
    display: grid;
    gap: 18px;
}

.timeline-item {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.6);
}

.timeline-item h3 {
    font-size: 1rem;
}

.contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.contact-card {
    height: 100%;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    padding: 24px 8px 0;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 900px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    body {
        padding: 24px 16px 40px;
    }

    .panel {
        padding: 24px;
    }

    .top-bar {
        border-radius: 20px;
    }

    nav {
        gap: 12px;
    }

    h2 {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
        max-width: 100%;
    }

    .panel-head {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

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

    .contact>div {
        width: 100%;
        min-width: 0;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions a {
        width: 100%;
        overflow-wrap: break-word;
        word-break: break-word;
    }
}