:root {
    --bg: #0b1020;
    --bg-elevated: #121a30;
    --panel: #16203a;
    --text: #eaf2ff;
    --muted: #9db0d3;
    --accent: #5ea2ff;
    --accent-strong: #82b7ff;
    --border: #223153;
    --success: #86efac;
    --max-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: radial-gradient(circle at 12% 0%, #1a2b4d 0%, var(--bg) 42%);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: var(--accent-strong);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(var(--max-width), 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--border);
    background: rgba(11, 16, 32, 0.92);
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

.brand {
    font-weight: 700;
    color: var(--text);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--text);
    text-decoration: none;
}

.hero {
    padding: 88px 0 52px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 28px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.82rem;
    color: var(--accent-strong);
    margin: 0 0 10px;
    font-weight: 700;
}

h1,
h2,
h3 {
    margin: 0 0 12px;
    line-height: 1.25;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.lead {
    color: var(--muted);
    margin: 0 0 24px;
    max-width: 66ch;
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 10px 14px;
    font-weight: 700;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
    border-color: var(--accent);
}

.btn-primary {
    background: var(--accent);
    color: #06142d;
    border-color: transparent;
}

.btn-primary:hover {
    background: var(--accent-strong);
    color: #041022;
}

.btn-secondary {
    background: transparent;
    color: var(--text);
}

.hero-card,
.panel {
    background: linear-gradient(180deg, rgba(19, 30, 55, 0.9), rgba(14, 22, 42, 0.92));
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
}

.meta-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.meta-list li {
    color: var(--muted);
}

.section {
    padding: 28px 0;
}

.section-title {
    margin-bottom: 14px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

.card p {
    margin: 0 0 12px;
    color: var(--muted);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.tag {
    display: inline-block;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 10px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.list-compact {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.list-compact li + li {
    margin-top: 6px;
}

.experience-item + .experience-item {
    margin-top: 16px;
}

.role-title {
    font-weight: 700;
}

.role-meta {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0 38px;
    margin-top: 36px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.small {
    color: var(--muted);
    font-size: 0.9rem;
}

.project-list {
    display: grid;
    gap: 16px;
}

.project-card h3 {
    margin-bottom: 6px;
}

.project-sub {
    color: var(--muted);
    margin: 0 0 8px;
    font-size: 0.95rem;
}

.project-section-title {
    margin-top: 12px;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 1rem;
}

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

.project-links a {
    font-weight: 700;
}

@media (max-width: 900px) {
    .hero-grid,
    .grid-2,
    .cards {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 64px;
    }
}
