:root {
        --bg: #080807;
        --bg-2: #0f0f0d;
        --bg-3: #161614;
        --surface: #1a1a17;
        --border: #252522;
        --border-light: #2e2e2a;
        --text: #e8e4dc;
        --text-muted: #7a7872;
        --text-faint: #3a3a36;
        --accent: #c8622a;
        --accent-2: #e07840;
        --accent-light: rgba(200, 98, 42, 0.12);
        --accent-glow: rgba(200, 98, 42, 0.06);
        --white: #f5f2eb;
        --radius: 3px;
        --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        --font-display: 'Syne', sans-serif;
        --font-serif: 'Instrument Serif', serif;
        --font-mono: 'JetBrains Mono', monospace;
        /* v1 transplant vars */
        --void: #080807;
        --crimson: #FF1E1E;
        --lime: #c8ff47;
        --amber: #B8926A;
        --cream: #F0EDE8;
        --chrome: #8A8A8A;
        --v1-surface: #0f0f0d;
        --glass: rgba(8, 8, 7, 0.55);
        --card-bg: #161614;
        --v1-border: rgba(240, 237, 232, 0.08);
        --overlay-gradient: linear-gradient(90deg, #080807 85%, transparent);
        --f-display: 'Bebas Neue', sans-serif;
        --f-serif: Georgia, 'Times New Roman', serif;
        --f-mono: 'Space Mono', monospace;
        --f-mono2: 'DM Mono', monospace;
        --f-body: 'DM Sans', sans-serif;
        --cubic: cubic-bezier(0.23, 1, 0.32, 1);
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    html {
        scroll-behavior: smooth;
        font-size: 16px;
    }

    body {
        background: var(--bg);
        color: var(--text);
        font-family: var(--font-display);
        line-height: 1.6;
        overflow-x: hidden;
        cursor: none;
    }

    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
        opacity: 0.028;
        pointer-events: none;
        z-index: 9999;
    }

    ::selection {
        background: var(--accent);
        color: var(--white);
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    img {
        max-width: 100%;
        display: block;
    }

    button {
        cursor: none;
        border: none;
        background: none;
        font-family: var(--font-display);
    }

    /* ══════════════════════════════════════════
   CURSOR
══════════════════════════════════════════ */
    #cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 10px;
        height: 10px;
        background: var(--accent);
        border-radius: 50%;
        pointer-events: none;
        z-index: 10000;
        transition: transform 0.1s ease, opacity 0.3s ease;
        transform: translate(-50%, -50%);
        mix-blend-mode: normal;
    }

    #cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        width: 36px;
        height: 36px;
        border: 1px solid rgba(200, 98, 42, 0.5);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    }

    body:has(a:hover) #cursor-ring,
    body:has(button:hover) #cursor-ring {
        width: 56px;
        height: 56px;
        border-color: var(--accent);
    }

    /* ══════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════ */
    ::-webkit-scrollbar {
        width: 3px;
    }

    ::-webkit-scrollbar-track {
        background: var(--bg);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--accent);
    }

    /* ══════════════════════════════════════════
   UTILITY
══════════════════════════════════════════ */
    .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 40px;
    }

    .label {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .accent-dot {
        color: var(--accent);
    }

    .serif {
        font-family: var(--font-serif);
        font-style: italic;
    }

    .divider {
        width: 100%;
        height: 1px;
        background: var(--border);
    }

    .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .tag {
        display: inline-block;
        padding: 3px 10px;
        border: 1px solid var(--border-light);
        border-radius: 2px;
        font-family: var(--font-mono);
        font-size: 0.68rem;
        letter-spacing: 0.08em;
        color: var(--text-muted);
        transition: border-color 0.3s, color 0.3s;
    }

    .tag:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

    /* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 22px 40px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: background 0.4s, border-color 0.4s;
        border-bottom: 1px solid transparent;
    }

    nav.scrolled {
        background: rgba(8, 8, 7, 0.92);
        backdrop-filter: blur(20px);
        border-color: var(--border);
    }

    .nav-logo {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 1.1rem;
        letter-spacing: -0.02em;
        color: var(--white);
    }

    .nav-logo span {
        color: var(--accent);
    }

    .nav-links {
        display: flex;
        gap: 36px;
        list-style: none;
    }

    .nav-links a {
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--text-muted);
        transition: color 0.3s;
        position: relative;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 0;
        height: 1px;
        background: var(--accent);
        transition: width 0.3s ease;
    }

    .nav-links a:hover {
        color: var(--text);
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .nav-cta {
        padding: 9px 22px;
        background: var(--accent);
        color: var(--white) !important;
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        border-radius: var(--radius);
        transition: background 0.3s, transform 0.3s !important;
    }

    .nav-cta:hover {
        background: var(--accent-2);
        transform: translateY(-1px) !important;
    }

    .nav-cta::after {
        display: none !important;
    }

    /* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
    #hero {
        min-height: 100vh;
        display: flex;
        align-items: flex-end;
        padding-bottom: 80px;
        position: relative;
        overflow: hidden;
    }

    .hero-grid-overlay {
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(var(--border) 1px, transparent 1px),
            linear-gradient(90deg, var(--border) 1px, transparent 1px);
        background-size: 80px 80px;
        opacity: 0.18;
        mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    }

    .hero-number {
        position: absolute;
        top: 140px;
        right: 40px;
        font-family: var(--font-display);
        font-size: clamp(160px, 22vw, 340px);
        font-weight: 800;
        color: transparent;
        -webkit-text-stroke: 1px var(--border-light);
        line-height: 1;
        pointer-events: none;
        user-select: none;
        letter-spacing: -0.05em;
    }

    .hero-content {
        position: relative;
        z-index: 1;
        width: 100%;
    }

    .hero-eyebrow {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 32px;
    }

    .hero-status {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 14px;
        border: 1px solid var(--border-light);
        border-radius: 100px;
        background: var(--bg-3);
    }

    .status-dot {
        width: 6px;
        height: 6px;
        background: #4ade80;
        border-radius: 50%;
        animation: pulse-green 2s infinite;
    }

    @keyframes pulse-green {

        0%,
        100% {
            opacity: 1;
        }

        50% {
            opacity: 0.4;
        }
    }

    .hero-name {
        font-size: clamp(52px, 8vw, 116px);
        font-weight: 800;
        line-height: 0.92;
        letter-spacing: -0.04em;
        color: var(--white);
    }

    .hero-name .line-2 {
        display: block;
        color: transparent;
        -webkit-text-stroke: 1.5px var(--text-muted);
    }

    .hero-bottom {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: end;
        gap: 40px;
        margin-top: 48px;
    }

    .hero-role {
        font-family: var(--font-serif);
        font-size: 1.35rem;
        color: var(--text-muted);
        line-height: 1.4;
        max-width: 360px;
    }

    .hero-role strong {
        color: var(--accent);
        font-style: normal;
        font-family: var(--font-display);
        font-weight: 600;
    }

    .hero-divider {
        width: 1px;
        height: 80px;
        background: var(--border);
        margin: 0 auto;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: flex-end;
    }

    .btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 28px;
        background: var(--accent);
        color: var(--white);
        font-family: var(--font-mono);
        font-size: 0.78rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        border-radius: var(--radius);
        transition: background var(--transition), transform var(--transition);
    }

    .btn-primary:hover {
        background: var(--accent-2);
        transform: translateY(-2px);
    }

    .btn-ghost {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 13px 28px;
        border: 1px solid var(--border-light);
        color: var(--text-muted);
        font-family: var(--font-mono);
        font-size: 0.78rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        border-radius: var(--radius);
        transition: border-color var(--transition), color var(--transition), transform var(--transition);
    }

    .btn-ghost:hover {
        border-color: var(--accent);
        color: var(--text);
        transform: translateY(-2px);
    }

    .scroll-hint {
        position: absolute;
        bottom: 32px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        opacity: 0.4;
    }

    .scroll-line {
        width: 1px;
        height: 50px;
        background: linear-gradient(to bottom, var(--accent), transparent);
        animation: scroll-down 1.8s ease-in-out infinite;
    }

    @keyframes scroll-down {
        0% {
            transform: scaleY(0);
            transform-origin: top;
        }

        50% {
            transform: scaleY(1);
            transform-origin: top;
        }

        50.01% {
            transform-origin: bottom;
        }

        100% {
            transform: scaleY(0);
            transform-origin: bottom;
        }
    }

    /* ══════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════ */
    .stats-bar {
        background: var(--bg-2);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        padding: 32px 0;
        overflow: hidden;
    }

    .stats-track {
        display: flex;
        gap: 0;
    }

    .stat-item {
        flex: 1;
        padding: 0 40px;
        border-right: 1px solid var(--border);
        text-align: center;
    }

    .stat-item:last-child {
        border-right: none;
    }

    .stat-num {
        font-size: 2.8rem;
        font-weight: 800;
        color: var(--white);
        line-height: 1;
        letter-spacing: -0.03em;
    }

    .stat-num .accent-dot {
        font-size: 2rem;
    }

    .stat-label {
        font-family: var(--font-mono);
        font-size: 0.68rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--text-muted);
        margin-top: 6px;
    }

    /* ══════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════ */
    .section-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        margin-bottom: 56px;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border);
    }

    .section-heading {
        font-size: clamp(2rem, 4vw, 3.2rem);
        font-weight: 800;
        letter-spacing: -0.03em;
        line-height: 1;
        color: var(--white);
    }

    .section-index {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        color: var(--accent);
        letter-spacing: 0.15em;
        margin-bottom: 8px;
    }

    section {
        padding: 100px 0;
    }

    /* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
    #about {
        background: var(--bg);
    }

    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start;
    }

    .about-photo-wrap {
        position: relative;
    }

    .about-photo-frame {
        position: relative;
        aspect-ratio: 4/5;
        overflow: hidden;
        border-radius: var(--radius);
    }

    .about-photo-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(20%);
        transition: filter 0.6s, transform 0.6s;
    }

    .about-photo-frame:hover img {
        filter: grayscale(0%);
        transform: scale(1.02);
    }

    .about-photo-accent {
        position: absolute;
        top: -16px;
        left: -16px;
        width: 48px;
        height: 48px;
        background: var(--accent);
        border-radius: var(--radius);
        z-index: -1;
    }

    .about-photo-label {
        position: absolute;
        bottom: 20px;
        right: 20px;
        background: rgba(8, 8, 7, 0.85);
        backdrop-filter: blur(12px);
        border: 1px solid var(--border);
        padding: 12px 18px;
        border-radius: var(--radius);
    }

    .about-text h2 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 20px;
        letter-spacing: -0.02em;
    }

    .about-bio {
        color: var(--text-muted);
        line-height: 1.8;
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .about-bio+.about-bio {
        margin-top: -16px;
    }

    .about-highlights {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-bottom: 36px;
    }

    .highlight-item {
        padding: 16px;
        background: var(--bg-3);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        transition: border-color 0.3s;
    }

    .highlight-item:hover {
        border-color: var(--accent);
    }

    .highlight-icon {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .highlight-title {
        font-weight: 600;
        font-size: 0.85rem;
        color: var(--text);
        margin-bottom: 3px;
    }

    .highlight-sub {
        font-family: var(--font-mono);
        font-size: 0.68rem;
        color: var(--text-muted);
    }

    .about-links {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    /* ══════════════════════════════════════════
   PROJECTS
══════════════════════════════════════════ */
    #projects {
        background: var(--bg);
    }

    .projects-grid {
        display: grid;
        gap: 2px;
    }

    .project-row {
        display: grid;
        grid-template-columns: 60px 1fr auto auto;
        align-items: center;
        gap: 32px;
        padding: 28px 0;
        border-bottom: 1px solid var(--border);
        transition: background 0.3s;
        position: relative;
        cursor: none;
    }

    .project-row:first-child {
        border-top: 1px solid var(--border);
    }

    .project-row::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--accent-glow);
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
    }

    .project-row:hover::before {
        opacity: 1;
    }

    .project-num {
        font-family: var(--font-mono);
        font-size: 0.72rem;
        color: var(--accent);
        letter-spacing: 0.1em;
    }

    .project-info h3 {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--white);
        letter-spacing: -0.02em;
        margin-bottom: 5px;
        transition: color 0.3s;
    }

    .project-row:hover .project-info h3 {
        color: var(--accent);
    }

    .project-info p {
        font-size: 0.82rem;
        color: var(--text-muted);
        max-width: 500px;
        line-height: 1.5;
    }

    .project-tags {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: flex-end;
        max-width: 240px;
    }

    .project-link {
        width: 44px;
        height: 44px;
        border: 1px solid var(--border-light);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        font-size: 1rem;
        transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s;
        flex-shrink: 0;
    }

    .project-link:hover {
        border-color: var(--accent);
        color: var(--accent);
        background: var(--accent-light);
        transform: rotate(45deg);
    }

    /* Featured project card */
    .project-featured {
        position: relative;
        padding: 48px;
        background: var(--bg-3);
        border: 1px solid var(--border);
        border-radius: 4px;
        margin-bottom: 2px;
        overflow: hidden;
        transition: border-color 0.4s;
    }

    .project-featured:hover {
        border-color: var(--accent);
    }

    .project-featured::before {
        content: 'FEATURED';
        position: absolute;
        top: 24px;
        right: 24px;
        font-family: var(--font-mono);
        font-size: 0.62rem;
        letter-spacing: 0.2em;
        color: var(--accent);
        border: 1px solid var(--accent);
        padding: 3px 8px;
        border-radius: 2px;
    }

    .featured-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center;
    }

    .featured-content h3 {
        font-size: 2rem;
        font-weight: 800;
        color: var(--white);
        letter-spacing: -0.03em;
        margin: 12px 0;
    }

    .featured-content p {
        color: var(--text-muted);
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .featured-preview {
        position: relative;
        aspect-ratio: 16/10;
        background: var(--surface);
        border-radius: var(--radius);
        overflow: hidden;
        border: 1px solid var(--border);
    }

    .featured-preview-inner {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-mono);
        font-size: 0.75rem;
        color: var(--text-faint);
        flex-direction: column;
        gap: 12px;
        position: relative;
    }

    .preview-icon {
        font-size: 2.5rem;
        opacity: 0.5;
    }

    .featured-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    /* ══════════════════════════════════════════
   SKILLS
══════════════════════════════════════════ */
    #skills {
        background: var(--bg-2);
    }

    .skills-layout {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }

    .skill-category {
        padding: 32px;
        background: var(--bg-3);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        transition: border-color 0.3s;
    }

    .skill-category:hover {
        border-color: var(--border-light);
    }

    .skill-category-title {
        font-weight: 700;
        font-size: 0.85rem;
        color: var(--accent);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--border);
    }

    .skill-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 14px;
    }

    .skill-name {
        font-size: 0.85rem;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .skill-name .skill-icon {
        font-size: 0.9rem;
    }

    .skill-bar-wrap {
        width: 80px;
        height: 3px;
        background: var(--border);
        border-radius: 2px;
        overflow: hidden;
    }

    .skill-bar {
        height: 100%;
        background: var(--accent);
        border-radius: 2px;
        width: 0;
        transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* ══════════════════════════════════════════
   CASE STUDIES
══════════════════════════════════════════ */
    #case-studies {
        background: var(--bg);
    }

    .case-study-item {
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin-bottom: 2px;
        overflow: hidden;
        transition: border-color 0.3s;
    }

    .case-study-item:hover {
        border-color: var(--border-light);
    }

    .case-study-trigger {
        display: grid;
        grid-template-columns: 40px 1fr auto auto;
        align-items: center;
        gap: 24px;
        padding: 28px 32px;
        cursor: none;
        transition: background 0.3s;
    }

    .case-study-trigger:hover {
        background: var(--bg-3);
    }

    .cs-num {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        color: var(--accent);
    }

    .cs-meta h3 {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 4px;
    }

    .cs-meta p {
        font-size: 0.8rem;
        color: var(--text-muted);
    }

    .cs-badge {
        padding: 4px 12px;
        background: var(--accent-light);
        border: 1px solid rgba(200, 98, 42, 0.3);
        border-radius: 100px;
        font-family: var(--font-mono);
        font-size: 0.65rem;
        color: var(--accent);
        letter-spacing: 0.08em;
    }

    .cs-toggle {
        width: 32px;
        height: 32px;
        border: 1px solid var(--border-light);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        color: var(--text-muted);
        transition: transform 0.3s, border-color 0.3s, color 0.3s;
    }

    .case-study-item.open .cs-toggle {
        transform: rotate(45deg);
        border-color: var(--accent);
        color: var(--accent);
    }

    .case-study-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .case-study-item.open .case-study-body {
        max-height: 800px;
    }

    .case-study-content {
        padding: 0 32px 32px;
        border-top: 1px solid var(--border);
    }

    .cs-process {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        margin: 28px 0;
    }

    .cs-step {
        padding: 20px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        position: relative;
    }

    .cs-step-num {
        font-family: var(--font-mono);
        font-size: 1.8rem;
        font-weight: 800;
        color: var(--text-faint);
        line-height: 1;
        margin-bottom: 12px;
    }

    .cs-step h4 {
        font-size: 0.82rem;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 6px;
    }

    .cs-step p {
        font-size: 0.76rem;
        color: var(--text-muted);
        line-height: 1.5;
    }

    .cs-outcome {
        padding: 20px;
        background: var(--accent-light);
        border: 1px solid rgba(200, 98, 42, 0.25);
        border-radius: var(--radius);
        margin-top: 20px;
    }

    .cs-outcome-title {
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--accent);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        margin-bottom: 8px;
    }

    .cs-outcome p {
        font-size: 0.82rem;
        color: var(--text-muted);
    }

    /* ══════════════════════════════════════════
   BLOG
══════════════════════════════════════════ */
    #blog {
        background: var(--bg-2);
    }

    .blog-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .blog-card {
        background: var(--bg-3);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
        transition: border-color 0.3s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .blog-card:hover {
        border-color: var(--border-light);
        transform: translateY(-4px);
    }

    .blog-card-thumb {
        aspect-ratio: 16/9;
        background: var(--surface);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        position: relative;
        overflow: hidden;
    }

    .blog-card-thumb::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, var(--accent-light) 0%, transparent 60%);
    }

    .blog-card-body {
        padding: 24px;
    }

    .blog-category {
        font-family: var(--font-mono);
        font-size: 0.65rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 10px;
    }

    .blog-card-body h3 {
        font-size: 1rem;
        font-weight: 700;
        color: var(--white);
        line-height: 1.4;
        margin-bottom: 10px;
        transition: color 0.3s;
    }

    .blog-card:hover .blog-card-body h3 {
        color: var(--accent);
    }

    .blog-card-body p {
        font-size: 0.8rem;
        color: var(--text-muted);
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .blog-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-family: var(--font-mono);
        font-size: 0.65rem;
        color: var(--text-muted);
    }

    /* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
    #testimonials {
        background: var(--bg-2);
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .testimonial-card {
        padding: 32px;
        background: var(--bg-3);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        position: relative;
        transition: border-color 0.3s, transform 0.4s;
    }

    .testimonial-card:hover {
        border-color: var(--border-light);
        transform: translateY(-3px);
    }

    .testimonial-card::before {
        content: '"';
        position: absolute;
        top: 20px;
        right: 24px;
        font-family: var(--font-serif);
        font-size: 4rem;
        color: var(--text-faint);
        line-height: 1;
    }

    .testimonial-text {
        font-family: var(--font-serif);
        font-style: italic;
        font-size: 1rem;
        color: var(--text);
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .testimonial-author {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .testimonial-avatar {
        width: 44px;
        height: 44px;
        background: var(--surface);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        border: 1px solid var(--border);
    }

    .testimonial-name {
        font-weight: 700;
        font-size: 0.88rem;
        color: var(--white);
    }

    .testimonial-role {
        font-family: var(--font-mono);
        font-size: 0.68rem;
        color: var(--text-muted);
        margin-top: 2px;
    }

    .testimonials-note {
        text-align: center;
        margin-top: 32px;
        padding: 20px;
        border: 1px dashed var(--border-light);
        border-radius: var(--radius);
    }

    .testimonials-note p {
        font-family: var(--font-mono);
        font-size: 0.72rem;
        color: var(--text-muted);
    }

    .testimonials-note a {
        color: var(--accent);
        border-bottom: 1px solid var(--accent);
    }

    /* ══════════════════════════════════════════
   CERTIFICATIONS
══════════════════════════════════════════ */
    #certifications {
        background: var(--bg);
    }

    .cert-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .cert-card {
        padding: 24px;
        background: var(--bg-3);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        transition: border-color 0.3s, transform 0.3s;
    }

    .cert-card:hover {
        border-color: var(--accent);
        transform: translateY(-3px);
    }

    .cert-icon {
        font-size: 1.6rem;
        margin-bottom: 14px;
    }

    .cert-issuer {
        font-family: var(--font-mono);
        font-size: 0.65rem;
        color: var(--accent);
        letter-spacing: 0.1em;
        margin-bottom: 6px;
    }

    .cert-name {
        font-weight: 700;
        font-size: 0.88rem;
        color: var(--white);
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .cert-year {
        font-family: var(--font-mono);
        font-size: 0.65rem;
        color: var(--text-muted);
    }

    /* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
    #contact {
        background: var(--bg-2);
    }

    .contact-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start;
    }

    .contact-text h2 {
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 800;
        color: var(--white);
        letter-spacing: -0.03em;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .contact-text p {
        color: var(--text-muted);
        line-height: 1.8;
        margin-bottom: 36px;
    }

    .contact-info-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
    }

    .ci-icon {
        width: 40px;
        height: 40px;
        background: var(--bg-3);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
    }

    .ci-text {
        font-size: 0.85rem;
        color: var(--text);
    }

    .ci-label {
        font-family: var(--font-mono);
        font-size: 0.65rem;
        color: var(--text-muted);
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .form-label {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .form-control {
        background: var(--bg-3);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 14px 18px;
        color: var(--text);
        font-family: var(--font-display);
        font-size: 0.88rem;
        transition: border-color 0.3s, box-shadow 0.3s;
        outline: none;
        cursor: none;
    }

    .form-control:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px var(--accent-light);
    }

    .form-control::placeholder {
        color: var(--text-faint);
    }

    textarea.form-control {
        resize: vertical;
        min-height: 140px;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    /* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
    footer {
        background: var(--bg);
        border-top: 1px solid var(--border);
        padding: 40px 0;
    }

    .footer-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .footer-logo {
        font-weight: 800;
        font-size: 1rem;
        color: var(--text-muted);
    }

    .footer-logo span {
        color: var(--accent);
    }

    .footer-links {
        display: flex;
        gap: 24px;
    }

    .footer-links a {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        color: var(--text-muted);
        letter-spacing: 0.1em;
        transition: color 0.3s;
    }

    .footer-links a:hover {
        color: var(--accent);
    }

    .footer-copy {
        font-family: var(--font-mono);
        font-size: 0.68rem;
        color: var(--text-faint);
    }

    /* ══════════════════════════════════════════
   SOCIAL SIDEBAR
══════════════════════════════════════════ */
    .social-sidebar {
        position: fixed;
        left: 24px;
        bottom: 40px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
        z-index: 100;
    }

    .social-sidebar::after {
        content: '';
        width: 1px;
        height: 60px;
        background: linear-gradient(to bottom, var(--text-muted), transparent);
        margin-top: 8px;
    }

    .social-link {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        font-size: 0.85rem;
        transition: color 0.3s, transform 0.3s;
        border: 1px solid transparent;
        border-radius: var(--radius);
    }

    .social-link:hover {
        color: var(--accent);
        border-color: var(--border);
        transform: translateX(3px);
    }

    /* SVG social icons */
    .icon {
        display: inline-block;
        width: 16px;
        height: 16px;
        fill: currentColor;
    }

    /* ══════════════════════════════════════════
   ANIMATIONS & EFFECTS
══════════════════════════════════════════ */
    @keyframes fade-in-up {
        from {
            opacity: 0;
            transform: translateY(32px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-eyebrow {
        animation: fade-in-up 0.8s 0.1s both;
    }

    .hero-name {
        animation: fade-in-up 0.8s 0.25s both;
    }

    .hero-bottom {
        animation: fade-in-up 0.8s 0.45s both;
    }

    /* Mobile hamburger hidden on desktop */
    .mobile-menu-btn {
        display: none;
    }

    /* ══════════════════════════════════════════
   AVAILABILITY BADGE
══════════════════════════════════════════ */
    .availability-band {
        background: var(--accent);
        padding: 10px 0;
        text-align: center;
        overflow: hidden;
    }

    .availability-text {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--white);
        white-space: nowrap;
        animation: marquee 20s linear infinite;
        display: inline-block;
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    /* MARQUEE */
    #marquee {
        position: relative;
        background: var(--void);
        border-top: 1px solid var(--v1-border);
        border-bottom: 1px solid var(--v1-border);
        overflow: hidden;
        padding: 1.1rem 0
    }

    .marquee-track {
        display: flex;
        white-space: nowrap;
        animation: marquee-scroll 28s linear infinite
    }

    .marquee-track:hover {
        animation-play-state: paused
    }

    .marquee-item {
        font-family: var(--f-display);
        font-size: 1rem;
        letter-spacing: .15em;
        padding: 0 1.5rem;
        flex-shrink: 0
    }

    .marquee-item.cream {
        color: var(--cream)
    }

    .marquee-item.crimson {
        color: var(--crimson)
    }

    .marquee-item.sep {
        color: var(--chrome);
        opacity: .4
    }

    @keyframes marquee-scroll {
        from {
            transform: translateX(0)
        }

        to {
            transform: translateX(-50%)
        }
    }

    /* PROJECTS SLIDER */
    #projects {
        background: var(--bg);
        padding: 8rem 0;
        overflow: hidden
    }

    .projects-header {
        max-width: 1200px;
        margin: 0 auto 4rem;
        padding: 0 3rem;
        display: flex;
        align-items: flex-end;
        justify-content: space-between
    }

    .projects-title {
        font-family: var(--f-serif);
        font-style: italic;
        font-size: clamp(2.5rem, 6vw, 6rem);
        line-height: 1;
        color: var(--cream)
    }

    .projects-count {
        font-family: var(--f-display);
        font-size: 5rem;
        color: rgba(240, 237, 232, .05);
        line-height: 1
    }

    .slider-section {
        position: relative;
        min-height: 520px;
        height: 520px;
        font-size: 1.1vw;
        display: flex;
        align-items: center
    }

    .slider-overlay {
        z-index: 2;
        background: var(--overlay-gradient);
        justify-content: flex-start;
        align-items: center;
        width: 37.5em;
        height: 100%;
        padding-left: 3rem;
        display: flex;
        position: absolute;
        inset: 0 auto 0 0;
        pointer-events: none
    }

    .slider-overlay-inner {
        flex-flow: column;
        justify-content: space-between;
        align-items: flex-start;
        height: 28em;
        display: flex;
        pointer-events: auto
    }

    .slider-count-row {
        gap: .2em;
        flex-flow: row;
        justify-content: flex-start;
        align-items: center;
        font-family: var(--f-display);
        font-size: 5.625em;
        font-weight: 700;
        display: flex;
        line-height: 1
    }

    .slider-count-col {
        height: 1em;
        overflow: hidden;
        align-self: flex-start;
    }

    .slider-count-h {
        width: 2ch;
        font-size: 1em;
        line-height: 1;
        color: var(--cream)
    }

    .slider-count-divider {
        background-color: var(--cream);
        width: 2px;
        height: .75em;
        transform: rotate(15deg);
        opacity: .4
    }

    .slider-proj-info {
        max-width: 22em
    }

    .slider-proj-name {
        font-family: var(--f-display);
        font-size: 2.2em;
        letter-spacing: .05em;
        color: var(--cream);
        line-height: 1;
        margin-bottom: .4em
    }

    .slider-proj-desc {
        font-family: var(--f-body);
        font-size: .85em;
        color: var(--chrome);
        line-height: 1.55;
        margin-bottom: .8em
    }

    .slider-proj-link {
        font-family: var(--f-mono2);
        font-size: .65em;
        letter-spacing: .2em;
        text-transform: uppercase;
        color: var(--lime);
        text-decoration: none;
        border-bottom: 1px solid rgba(200, 255, 71, .3);
        padding-bottom: .1em;
        display: inline-flex;
        align-items: center;
        gap: .4em;
        margin-bottom: .8em;
        transition: color .2s, border-color .2s
    }

    .slider-proj-link:hover {
        border-color: var(--lime)
    }

    .slider-proj-tags {
        display: flex;
        flex-wrap: wrap;
        gap: .4em
    }

    .slider-tag {
        font-family: var(--f-mono);
        font-size: .6em;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--chrome);
        border: 1px solid var(--v1-border);
        padding: .25em .6em
    }

    .slider-tag.featured {
        border-color: var(--crimson);
        color: var(--crimson)
    }

    .slider-tag.ongoing {
        border-color: var(--lime);
        color: var(--lime)
    }

    .slider-nav-row {
        display: flex;
        gap: 2em
    }

    .slider-btn {
        background-color: transparent;
        color: var(--cream);
        border: 1px solid rgba(240, 237, 232, .2);
        border-radius: .4em;
        justify-content: center;
        align-items: center;
        width: 4em;
        height: 4em;
        padding: 0;
        display: flex;
        position: relative;
        cursor: pointer;
        transition: transform .45s var(--cubic), opacity .45s var(--cubic)
    }

    .slider-btn-arrow {
        flex: none;
        width: 1em;
        height: .75em;
        fill: currentColor
    }

    .slider-btn-arrow.next {
        transform: rotate(180deg)
    }

    .slider-btn-corners {
        z-index: 2;
        position: absolute;
        inset: -1px;
        transition: transform .45s var(--cubic), opacity .45s var(--cubic)
    }

    .btn-corner {
        border-top: 1px solid var(--cream);
        border-left: 1px solid var(--cream);
        border-top-left-radius: .4em;
        width: 1em;
        height: 1em
    }

    .btn-corner.tr {
        position: absolute;
        inset: 0 0 auto auto;
        transform: rotate(90deg)
    }

    .btn-corner.bl {
        position: absolute;
        inset: auto auto 0 0;
        transform: rotate(-90deg)
    }

    .btn-corner.br {
        position: absolute;
        inset: auto 0 0 auto;
        transform: rotate(180deg)
    }

    .slider-btn:hover .slider-btn-corners {
        transform: scale(1.4)
    }

    .slider-btn:hover {
        transform: scale(.85);
        opacity: 1 !important
    }

    .slider-main {
        z-index: 0;
        width: 100%;
        height: 100%;
        position: absolute;
        inset: 0;
        overflow: hidden
    }

    .slider-wrap {
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        height: 100%;
        display: flex
    }

    .slider-list {
        flex-flow: row;
        justify-content: flex-start;
        align-items: stretch;
        display: flex;
        position: relative
    }

    .slider-slide {
        flex: none;
        width: 42.5em;
        height: calc(42.5em * 9 / 16);
        aspect-ratio: 16 / 9;
        padding-left: 1.25em;
        padding-right: 1.25em;
        transition: opacity .4s;
        position: relative
    }

    [data-slider="slide"] {
        opacity: .2
    }

    [data-slider="slide"].active {
        opacity: 1
    }

    [data-slider="slide"].active .slide-caption {
        transition-delay: .3s
    }

    .slide-inner {
        border-radius: .5em;
        width: 100%;
        height: 100%;
        position: relative;
        overflow: hidden;
        background: var(--card-bg)
    }

    .slide-thumb {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover
    }

    .slide-caption {
        z-index: 2;
        gap: .4em;
        background-color: var(--cream);
        color: var(--void);
        white-space: nowrap;
        border-radius: .25em;
        justify-content: flex-start;
        align-items: center;
        padding: .4em .75em .4em .5em;
        display: flex;
        position: absolute;
        top: 1.25em;
        left: 1.25em;
        overflow: hidden;
        transition: transform .525s var(--cubic), opacity .525s var(--cubic);
        transition-delay: 0s;
        opacity: 0;
        transform: translate(-25%, 0)
    }

    [data-slider="slide"].active .slide-caption {
        opacity: 1;
        transform: translate(0, 0)
    }

    .caption-dot {
        background-color: var(--void);
        border-radius: 10em;
        flex: none;
        width: .5em;
        height: .5em
    }

    .caption-text {
        font-size: .75em;
        font-family: var(--f-mono2);
        letter-spacing: .1em
    }

    /* TIMELINE */
    .section-label {
        font-family: var(--f-mono2, var(--font-mono));
        font-size: .6rem;
        letter-spacing: .2em;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: .75rem
    }

    #experience {
        background: var(--bg-2);
        padding: 8rem 3rem
    }

    .experience-inner {
        max-width: 900px;
        margin: 0 auto
    }

    .experience-header {
        margin-bottom: 5rem
    }

    .experience-title {
        font-family: var(--f-serif);
        font-style: italic;
        font-size: clamp(2.5rem, 5vw, 5rem);
        color: var(--cream);
        line-height: 1
    }

    .timeline {
        position: relative;
        padding-left: 3rem
    }

    .timeline::before {
        content: '';
        position: absolute;
        left: 0;
        top: .5rem;
        bottom: .5rem;
        width: 1px;
        background: var(--v1-border)
    }

    .timeline-item {
        position: relative;
        margin-bottom: 4rem
    }

    .timeline-item:last-child {
        margin-bottom: 0
    }

    .timeline-dot {
        position: absolute;
        left: -3rem;
        top: .35rem;
        width: .5rem;
        height: .5rem;
        background: var(--crimson);
        border-radius: 50%;
        transform: translateX(-.125rem);
        box-shadow: 0 0 0 3px rgba(255, 30, 30, .15)
    }

    .timeline-dot.active-dot {
        background: var(--lime);
        box-shadow: 0 0 0 3px rgba(200, 255, 71, .15), 0 0 12px rgba(200, 255, 71, .3)
    }

    .timeline-meta {
        font-family: var(--f-mono2);
        font-size: .6rem;
        letter-spacing: .2em;
        text-transform: uppercase;
        color: var(--chrome);
        margin-bottom: .5rem;
        display: flex;
        align-items: center;
        gap: 1rem
    }

    .timeline-meta-badge {
        background: rgba(255, 30, 30, .12);
        color: var(--crimson);
        border: 1px solid rgba(255, 30, 30, .2);
        padding: .15em .5em;
        font-size: .85em;
        border-radius: 2px
    }

    .timeline-meta-badge.current {
        background: rgba(200, 255, 71, .08);
        color: var(--lime);
        border-color: rgba(200, 255, 71, .2)
    }

    .timeline-role {
        font-family: var(--f-display);
        font-size: clamp(1.6rem, 3vw, 2.5rem);
        letter-spacing: .08em;
        color: var(--cream);
        margin-bottom: .4rem
    }

    .timeline-org {
        font-family: var(--f-body);
        font-size: .9rem;
        color: var(--amber);
        margin-bottom: .75rem
    }

    .timeline-desc {
        font-family: var(--f-body);
        font-size: .9rem;
        color: var(--chrome);
        line-height: 1.7;
        max-width: 540px
    }

    .timeline-tags {
        display: flex;
        flex-wrap: wrap;
        gap: .4rem;
        margin-top: .75rem
    }

    .timeline-tag {
        font-family: var(--f-mono2);
        font-size: .6rem;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--chrome);
        border: 1px solid var(--v1-border);
        padding: .2em .5em
    }

    /* CONTACT — v1 overrides removed; handled by v2 .contact-layout */

    /* RESPONSIVE overrides for v1 sections */
    @media(max-width:900px) {
        #hero .hero-content {
            grid-template-columns: 1fr;
            padding: 0 1.5rem;
            padding-top: 5rem
        }

        .hero-right {
            display: none
        }

        .slider-section {
            font-size: 2.2vw;
            min-height: 380px
        }

        .slider-overlay {
            width: 100%;
            background: linear-gradient(to top, var(--bg) 60%, transparent);
            top: auto;
            height: 60%;
            inset: auto 0 0 0;
            padding: 2rem 1.5rem
        }

        .slider-overlay-inner {
            height: auto;
            gap: 1.5rem;
            flex-direction: column-reverse
        }

        .slider-count-row {
            font-size: 3em
        }

        #projects {
            padding: 5rem 0
        }

        .projects-header {
            padding: 0 1.5rem
        }

        .timeline {
            padding-left: 2rem
        }

        .timeline-dot {
            left: -2rem
        }

        .contact-links {
            flex-direction: column;
            gap: 1rem
        }

        #music-btn {
            bottom: 1.5rem;
            right: 1.5rem
        }
    }

    @media(max-width:480px) {
        .slider-section {
            font-size: 3.5vw;
            min-height: 300px
        }

        .hero-cta-row {
            flex-direction: column;
            align-items: flex-start
        }
    }
/* ══ SLIDE IMAGE THUMBNAIL ══ */
.slide-img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider-slide:hover .slide-img,
.slider-slide.active .slide-img {
    transform: scale(1.04);
}
.slide-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.08) 0%,
        rgba(0,0,0,0.55) 100%
    );
    /* subtle accent tint on the bottom edge */
    box-shadow: inset 0 -3px 0 0 var(--accent, #FF1E1E);
}
