:root {
    /* palette */
    --sky: #89CFF0;
    --royal: #6495ED;
    --azure: #F0FFFF;
    --periwinkle: #A7C7E7;
    --baby: #ADD8E6;
    --teal: #088F8F;
    --cadet: #5F9EA0;
    --emerald: #50C878;
    --violet: #A300A3;

    /* section themes */
    --hero-bg: #e8f4fb;
    --about-bg: #eafaf3;
    --skills-bg: #f0f7ff;
    --proj-bg: #f5f0ff;
    --timeline-bg: #fff8e8;
    --contact-bg: #f0ffff;

    --ink: #0d1b2a;
    --ink2: #2d4059;
    --ink3: #4e6b8a;
    --white: #ffffff;

    --r: 14px;
    --shadow: 0 8px 32px rgba(13, 27, 42, 0.09);
    --shadow-lg: 0 24px 64px rgba(13, 27, 42, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Bricolage Grotesque', sans-serif;
    background: var(--hero-bg);
    color: var(--ink);
    overflow-x: hidden;
    cursor: none;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
#cur {
    position: fixed;
    width: 14px;
    height: 14px;
    background: var(--royal);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: background 0.25s, transform 0.12s;
    mix-blend-mode: multiply;
}

#cur-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--royal);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    transition: all 0.22s ease;
}

body:has(#about:hover) #cur,
body:has(.card:hover) #cur {
    background: var(--teal);
}

body:has(#projects:hover) #cur-ring {
    border-color: var(--violet);
}

/* ============================================================
   PROGRESS
   ============================================================ */
#prog {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sky), var(--royal), var(--teal));
    z-index: 9999;
    transition: width 0.1s;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 56px;
    background: rgba(232, 244, 251, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(100, 149, 237, 0.18);
}

.nav-name {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.03em;
}

.nav-name em {
    font-style: italic;
    color: var(--royal);
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: var(--ink3);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--royal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
}

.nav-links a:hover {
    color: var(--royal);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-dl {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    background: var(--ink);
    color: var(--white);
    border: none;
    border-radius: 20px;
    padding: 9px 22px;
    cursor: none;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.2s;
}

.nav-dl:hover {
    background: var(--royal);
    transform: translateY(-2px);
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.section-wrap {
    position: relative;
    overflow: hidden;
    padding: 120px 56px 100px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.sec-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink3);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sec-eyebrow::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: currentColor;
    display: inline-block;
}

h2.sec-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 56px;
}

/* ============================================================
   ★ HERO
   ============================================================ */
#hero {
    background: var(--hero-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 56px;
    position: relative;
    overflow: hidden;
}

/* Bubbles animation */
.bubbles-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    animation: riseBubble linear infinite;
    opacity: 0;
}

@keyframes riseBubble {
    0% {
        transform: translateY(110vh) scale(0.6);
        opacity: 0;
    }

    8% {
        opacity: var(--op);
    }

    88% {
        opacity: var(--op);
    }

    100% {
        transform: translateY(-12vh) scale(1) translateX(var(--sway));
        opacity: 0;
    }
}

/* Big wobbly blob */
.hero-blob {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 520px;
    height: 520px;
    background: radial-gradient(ellipse at 40% 40%, var(--sky) 0%, var(--baby) 45%, transparent 70%);
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
    animation: morphBlob 8s ease-in-out infinite;
    opacity: 0.55;
    filter: blur(2px);
}

@keyframes morphBlob {

    0%,
    100% {
        border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
        transform: translateY(-50%) rotate(0deg);
    }

    33% {
        border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
        transform: translateY(-52%) rotate(6deg);
    }

    66% {
        border-radius: 70% 30% 50% 50% / 30% 70% 50% 50%;
        transform: translateY(-48%) rotate(-4deg);
    }
}

/* Hero stars / sparkles */
.sparkle {
    position: absolute;
    pointer-events: none;
    animation: twinkle ease-in-out infinite;
}

.sparkle::before,
.sparkle::after {
    content: '';
    position: absolute;
    background: var(--royal);
    border-radius: 2px;
}

.sparkle::before {
    width: 2px;
    height: 14px;
    top: -7px;
    left: 0;
}

.sparkle::after {
    width: 14px;
    height: 2px;
    top: 0;
    left: -7px;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.4) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1) rotate(45deg);
    }
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: var(--teal);
    letter-spacing: 0.1em;
    background: rgba(8, 143, 143, 0.1);
    border: 1px solid rgba(8, 143, 143, 0.25);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 28px;
}

.hero-tag::before {
    content: '●';
    font-size: 8px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }
}

h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(58px, 9vw, 108px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.92;
    margin-bottom: 28px;
}

h1 .wave {
    display: inline-block;
    animation: waveHand 2.5s ease-in-out infinite;
}

@keyframes waveHand {

    0%,
    100% {
        transform: rotate(0deg)
    }

    15% {
        transform: rotate(18deg)
    }

    30% {
        transform: rotate(-8deg)
    }

    45% {
        transform: rotate(14deg)
    }
}

h1 .italic {
    font-style: italic;
    color: var(--royal);
}

h1 .teal {
    color: var(--teal);
}

h1 .em-line {
    position: relative;
    display: inline-block;
}

h1 .em-line::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--sky);
    opacity: 0.5;
    z-index: -1;
    border-radius: 4px;
    transform: skewX(-4deg);
}

.hero-sub {
    font-size: 18px;
    line-height: 1.65;
    color: var(--ink2);
    max-width: 500px;
    margin-bottom: 44px;
}

.hero-sub strong {
    color: var(--ink);
    font-weight: 700;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-pill {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    padding: 13px 28px;
    border-radius: 30px;
    border: none;
    cursor: none;
    letter-spacing: 0.04em;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-pill:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-fill {
    background: var(--ink);
    color: var(--white);
}

.btn-fill:hover {
    background: var(--royal);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 2px solid var(--ink);
}

.btn-outline:hover {
    border-color: var(--royal);
    color: var(--royal);
}

/* Hero scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--ink3);
    letter-spacing: 0.1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s 1.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0)
    }
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--ink3);
    border-bottom: 2px solid var(--ink3);
    transform: rotate(45deg);
    animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0)
    }

    50% {
        transform: rotate(45deg) translateY(5px)
    }
}

/* ============================================================
   ★ ABOUT — emerald-tinted
   ============================================================ */
#about {
    background: var(--about-bg);
}

#about .sec-eyebrow {
    color: var(--teal);
}

#about h2.sec-title em {
    font-style: italic;
    color: var(--teal);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: start;
}

.about-bio {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink2);
}

.about-bio p {
    margin-bottom: 20px;
}

.about-bio strong {
    color: var(--ink);
}

.about-bio .highlight {
    background: linear-gradient(120deg, rgba(80, 200, 120, 0.25) 0%, rgba(80, 200, 120, 0.1) 100%);
    padding: 1px 6px;
    border-radius: 4px;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-card {
    background: var(--white);
    border-radius: var(--r);
    padding: 24px 20px;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: var(--shadow);
    transition: border-color 0.25s, transform 0.25s;
}

.about-card:hover {
    border-color: var(--emerald);
    transform: translateY(-5px);
}

.about-card .num {
    font-family: 'Fraunces', serif;
    font-size: 44px;
    font-weight: 900;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 6px;
}

.about-card .lbl {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--ink3);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fun-facts {
    margin-top: 32px;
}

.fun-fact {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(8, 143, 143, 0.2);
}

.fun-fact:last-child {
    border-bottom: none;
}

.fact-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.fact-text {
    font-size: 14px;
    color: var(--ink2);
    line-height: 1.5;
}

.fact-text strong {
    color: var(--ink);
}

/* ============================================================
   ★ SKILLS — blue sky
   ============================================================ */
#skills {
    background: var(--skills-bg);
}

#skills .sec-eyebrow {
    color: var(--royal);
}

#skills h2.sec-title em {
    font-style: italic;
    color: var(--royal);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-box {
    background: var(--white);
    border-radius: var(--r);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    border-top: 4px solid transparent;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.skill-box:nth-child(1) {
    border-top-color: var(--royal);
}

.skill-box:nth-child(2) {
    border-top-color: var(--teal);
}

.skill-box:nth-child(3) {
    border-top-color: var(--violet);
}

.skill-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.skill-box-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.skill-box-title {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--ink);
}

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

.stag {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 12px;
    background: var(--hero-bg);
    color: var(--ink2);
    border: 1px solid rgba(100, 149, 237, 0.25);
    transition: background 0.2s, color 0.2s;
}

.stag:hover {
    background: var(--sky);
    color: var(--ink);
}

/* ============================================================
   ★ PROJECTS — violet-tinted
   ============================================================ */
#projects {
    background: var(--proj-bg);
}

#projects .sec-eyebrow {
    color: var(--violet);
}

#projects h2.sec-title em {
    font-style: italic;
    color: var(--violet);
}

.proj-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.proj-card {
    background: var(--white);
    border-radius: var(--r);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: none;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.proj-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad, linear-gradient(90deg, var(--sky), var(--royal)));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.proj-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(163, 0, 163, 0.12);
}

.proj-card:hover::before {
    transform: scaleX(1);
}

.proj-card:nth-child(1) {
    --grad: linear-gradient(90deg, var(--sky), var(--royal));
}

.proj-card:nth-child(2) {
    --grad: linear-gradient(90deg, var(--teal), var(--emerald));
}

.proj-card:nth-child(3) {
    --grad: linear-gradient(90deg, var(--violet), var(--royal));
}

.proj-card:nth-child(4) {
    --grad: linear-gradient(90deg, var(--cadet), var(--sky));
}

.proj-num {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--ink3);
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.proj-title {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ink);
}

.proj-desc {
    font-size: 14px;
    color: var(--ink2);
    line-height: 1.65;
    margin-bottom: 20px;
}

.proj-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 22px;
}

.ptag {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 10px;
    background: rgba(163, 0, 163, 0.08);
    color: var(--violet);
    border: 1px solid rgba(163, 0, 163, 0.18);
}

.proj-links {
    display: flex;
    gap: 18px;
}

.plink {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: var(--royal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s, gap 0.2s;
}

.plink:hover {
    color: var(--violet);
    gap: 8px;
}

.plink::before {
    content: '→';
}

/* ============================================================
   ★ TIMELINE — warm amber, story-style
   ============================================================ */
#timeline {
    background: var(--timeline-bg);
}

#timeline .sec-eyebrow {
    color: #b07a10;
}

#timeline h2.sec-title em {
    font-style: italic;
    color: #c98a14;
}

.timeline-intro {
    font-size: 17px;
    color: var(--ink2);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 64px;
}

.tl-track {
    position: relative;
    padding-left: 48px;
}

.tl-track::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--sky), var(--royal), var(--teal), var(--emerald), var(--violet));
    border-radius: 2px;
}

.tl-item {
    position: relative;
    margin-bottom: 0;
    padding-bottom: 0;
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.tl-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Chapter-style connectors */
.tl-dot {
    position: absolute;
    left: -42px;
    top: 26px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px currentColor, var(--shadow);
    z-index: 2;
    background: var(--white);
    transition: transform 0.25s;
}

.tl-item:hover .tl-dot {
    transform: scale(1.3);
}

.tl-card {
    background: var(--white);
    border-radius: var(--r);
    padding: 28px 28px 24px;
    margin-bottom: 28px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--dot-color, var(--royal));
    position: relative;
    transition: box-shadow 0.25s;
}

.tl-item:hover .tl-card {
    box-shadow: var(--shadow-lg);
}

.tl-chapter {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--dot-color, var(--royal));
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.tl-year {
    font-family: 'Fraunces', serif;
    font-size: 13px;
    color: var(--ink3);
    margin-bottom: 8px;
    font-style: italic;
}

.tl-title {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.tl-place {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: var(--ink3);
    margin-bottom: 12px;
}

.tl-story {
    font-size: 14px;
    color: var(--ink2);
    line-height: 1.7;
}

.tl-story em {
    font-style: italic;
    color: var(--ink);
}

.tl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.tl-tag {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.04);
    color: var(--ink3);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Progress line animation */
.tl-progress-line {
    position: absolute;
    left: 10px;
    top: 0;
    width: 2px;
    height: 0;
    background: var(--emerald);
    border-radius: 2px;
    transition: height 0.4s ease;
    z-index: 1;
}

/* ============================================================
   ★ CONTACT — azure / teal
   ============================================================ */
#contact {
    background: var(--contact-bg);
}

#contact .sec-eyebrow {
    color: var(--cadet);
}

#contact h2.sec-title em {
    font-style: italic;
    color: var(--teal);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.contact-blurb {
    font-size: 17px;
    color: var(--ink2);
    line-height: 1.75;
    margin-bottom: 32px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.clink {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--ink);
    font-size: 14px;
    transition: all 0.22s;
    border: 2px solid transparent;
}

.clink:hover {
    border-color: var(--teal);
    transform: translateX(5px);
    color: var(--teal);
}

.clink-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.clink-label {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.fgroup {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.fgroup label {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--ink3);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fgroup input,
.fgroup textarea {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 14px;
    background: var(--white);
    color: var(--ink);
    border: 2px solid rgba(100, 149, 237, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.fgroup input:focus,
.fgroup textarea:focus {
    border-color: var(--teal);
}

.fgroup textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-send {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    background: var(--teal);
    color: var(--white);
    border: none;
    border-radius: 30px;
    padding: 14px 36px;
    cursor: none;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    align-self: flex-start;
}

.btn-send:hover {
    background: var(--cadet);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(8, 143, 143, 0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.5);
    padding: 36px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-l {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
}

.footer-r {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
}

.footer-r span {
    color: var(--sky);
}

/* ============================================================
   DOWNLOAD PANEL
   ============================================================ */
.dl-panel {
    position: fixed;
    bottom: 90px;
    right: 28px;
    z-index: 600;
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    width: 230px;
    box-shadow: 0 24px 64px rgba(13, 27, 42, 0.2);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(100, 149, 237, 0.2);
}

.dl-panel.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.dl-panel-head {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--ink3);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.dl-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    cursor: none;
    transition: background 0.2s;
    margin-bottom: 6px;
}

.dl-opt:hover {
    background: var(--hero-bg);
}

.dl-opt:last-child {
    margin-bottom: 0;
}

.dl-opt-icon {
    font-size: 22px;
}

.dl-opt-lbl {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: var(--ink);
    font-weight: 500;
}

.dl-opt-sub {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--ink3);
    margin-top: 1px;
}

.dl-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 601;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    border: none;
    cursor: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(13, 27, 42, 0.3);
    transition: all 0.25s;
}

.dl-fab:hover {
    background: var(--royal);
    transform: scale(1.1);
}

.dl-fab.open {
    background: var(--violet);
    transform: rotate(45deg);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
    position: fixed;
    bottom: 92px;
    right: 28px;
    z-index: 9999;
    background: var(--ink);
    color: var(--white);
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ============================================================
   SCROLL-IN
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
    nav {
        padding: 16px 24px;
    }

    .nav-links {
        display: none;
    }

    #hero {
        padding: 0 24px;
    }

    .hero-blob {
        display: none;
    }

    .section-wrap {
        padding: 80px 24px 70px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    footer {
        flex-direction: column;
        gap: 10px;
        padding: 28px 24px;
    }
}

/* ============================================================
   SELECTION
   ============================================================ */
::selection {
    background: var(--sky);
    color: var(--ink);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--hero-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--periwinkle);
    border-radius: 3px;
}