:root {
    --bg: #0c0c0f;
    --fg: #f4f4f5;
    --muted: #a1a1aa;
    --accent-1: #32b6c4;
    --accent-2: #f59e0b;
    --container: 1200px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--fg);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

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

main {
    flex: 1
}

/* lets footer sit at bottom when content is short */
/* ---------- NAV ---------- */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    height: 68px;
    display: flex;
    align-items: center;
    padding: 0 clamp(16px, 3vw, 32px);
    z-index: 10;
    backdrop-filter: blur(8px);
    background: linear-gradient(to bottom, rgba(12, 12, 15, .75), rgba(12, 12, 15, .35) 65%, transparent);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.brand {
    display: flex;
    align-items: center
}

.logo img {
    height: 40px;
    width: auto
}

.spacer {
    flex: 1
}

.nav a {
    font-size: 14px;
    margin-inline: 16px;
    color: var(--muted);
    transition: color .2s
}

.nav a:hover {
    color: var(--fg)
}

/* ---------- GLOBAL CANVAS BG ---------- */
#bgCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    /* behind content, not blocking clicks */
    width: 100%;
    height: 100%;
}

/* ---------- HERO (home only) ---------- */
.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    position: relative;
    padding: 96px 24px 32px;
    /* room for fixed nav */
}

.hero .content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto
}

.kicker {
    text-transform: uppercase;
    letter-spacing: .22em;
    font-weight: 600;
    font-size: 22px;
    color: var(--muted)
}

.title {
    margin: 12px 0;
    font-weight: 900;
    line-height: .9;
    letter-spacing: .01em;
    font-size: clamp(48px, 12vw, 164px)
}

.tagline {
    max-width: 800px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted)
}

.cta {
    display: flex;
    gap: 12px;
    margin-top: 28px
}

.btn {
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    color: var(--fg);
    transition: background .2s, transform .05s
}

.btn:hover {
    background: rgba(255, 255, 255, .08)
}

.btn:active {
    transform: translateY(1px)
}

.accent-bar {
    margin-top: clamp(18px, 2.5vw, 36px);
    height: clamp(8px, 1.2vw, 12px);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    box-shadow: 0 8px 30px rgba(0, 0, 0, .45)
}

.vignette {
    position: absolute;
    inset: -10%;
    pointer-events: none;
    box-shadow: inset 0 0 240px rgba(0, 0, 0, .75);
    z-index: 1
}

/* ---------- SECTIONS ---------- */
section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 96px 24px;
    position: relative;
    z-index: 1;
    scroll-margin-top: 84px;
    /* anchor links not hidden under fixed nav */
}

section h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 26px;
    color: var(--fg)
}

section p,
section li {
    font-size: 22px;
    line-height: 1.7;
    color: var(--muted);


}

ul {
    padding-left: 18px
}

.Projects .project-list {
    display: grid;
    gap: 32px;
    margin-top: 32px
}

.Projects article {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 24px;
    border-radius: 16px;
    transition: transform .2s, background .2s
}

.Projects article:hover {
    background: rgba(255, 255, 255, .06);
    transform: translateY(-4px)
}

.Projects h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 700
}

.Resume .btn {
    margin-top: 16px;
    display: inline-block
}

/* ---------- FOOTER ---------- */
footer {
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding: 28px 24px;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, .4);
    z-index: 1;
}

html {
    scroll-behavior: smooth
}

.TechStack .tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.TechStack .card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s, transform 0.2s;
}

.TechStack .card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.TechStack .span {
    grid-column: span 2;
}
.TechStack strong{
    font-size: 22px;
}

.Note p {
    font-size: 12px;
}