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

        :root {
            --bg:     #f2ede7;
            --white:  #ffffff;
            --ink:    #111010;
            --ink2:   #2c2825;
            --muted:  #8a7e75;
            --faint:  #c5bdb5;
            --border: #e4ddd6;
            --green:  #3a8f52;
            --green-l:#edf6f0;
        }

        html { scroll-behavior: smooth; }

        body {
            font-family: 'Manrope', sans-serif;
            background: var(--bg);
            color: var(--ink);
            font-size: 15px;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        ::selection { background: var(--green); color: #fff; }
        a { color: inherit; text-decoration: none; }

        /* Leaves */
        .foliage {
            position: fixed; inset: 0;
            pointer-events: none; z-index: 0; overflow: hidden;
        }
        .leaf {
            position: absolute; top: -30px;
            border-radius: 0 70% 0 70%;
            animation: fall linear infinite;
        }
        @keyframes fall {
            0%   { opacity: 0;    transform: translateY(-30px) translateX(0) rotate(0deg) scale(1); }
            10%  { opacity: 0.35; }
            90%  { opacity: 0.18; }
            100% { opacity: 0;    transform: translateY(105vh) translateX(45px) rotate(280deg) scale(0.8); }
        }
        .leaf:nth-child(1) { left:6%;  width:11px; height:7px; background:#3a8f52; animation-duration:20s; animation-delay:0s;  }
        .leaf:nth-child(2) { left:21%; width:8px;  height:5px; background:#5aaa6e; animation-duration:25s; animation-delay:6s;  }
        .leaf:nth-child(3) { left:47%; width:13px; height:8px; background:#2d7040; animation-duration:21s; animation-delay:3s;  }
        .leaf:nth-child(4) { left:68%; width:9px;  height:6px; background:#3a8f52; animation-duration:28s; animation-delay:9s;  }
        .leaf:nth-child(5) { left:86%; width:11px; height:6px; background:#5aaa6e; animation-duration:22s; animation-delay:12s; }
        .leaf:nth-child(6) { left:34%; width:7px;  height:4px; background:#2d7040; animation-duration:26s; animation-delay:8s;  }
        .leaf:nth-child(7) { left:58%; width:12px; height:7px; background:#3a8f52; animation-duration:23s; animation-delay:15s; }
        .leaf:nth-child(8) { left:13%; width:10px; height:6px; background:#5aaa6e; animation-duration:29s; animation-delay:11s; }

        /* Sticky nav */
        .nav-wrap {
            position: sticky;
            top: 0;
            z-index: 100;
            background: var(--bg);
            border-bottom: 1px solid var(--border);
        }
        nav {
            max-width: 1080px;
            margin: 0 auto;
            padding: 0 2.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 58px;
        }
        .logo {
            font-family: 'DM Serif Display', serif;
            font-size: 1.15rem;
            color: var(--ink);
            letter-spacing: -0.2px;
        }
        .logo-dot { color: var(--green); }
        .nav-right {
            display: flex;
            align-items: center;
            gap: 2.5rem;
        }
        .nav-link {
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--muted);
            letter-spacing: 0.3px;
            transition: color 0.2s;
        }
        .nav-link:hover { color: var(--ink); }
        .nav-cta {
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--ink);
            border-bottom: 1px solid var(--ink);
            padding-bottom: 1px;
            transition: color 0.2s, border-color 0.2s;
        }
        .nav-cta:hover { color: var(--green); border-color: var(--green); }

        /* Page */
        .page {
            position: relative; z-index: 1;
            max-width: 1080px;
            margin: 0 auto;
            padding: 0 2.5rem;
        }

        /* Hero */
        .hero {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: end;
            padding: 10rem 0 9rem;
            border-bottom: 1px solid var(--border);
        }

        .hero-label {
            font-size: 0.68rem;
            font-weight: 500;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            color: var(--faint);
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .hero-label::before {
            content: '';
            display: block;
            width: 24px; height: 1px;
            background: var(--faint);
        }

        .hero h1 {
            font-family: 'DM Serif Display', serif;
            font-size: clamp(2.8rem, 4.5vw, 4.5rem);
            font-weight: 400;
            color: var(--ink);
            line-height: 1.06;
            letter-spacing: -2px;
        }
        .hero h1 em {
            font-style: italic;
            color: var(--green);
        }

        .hero-right {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            gap: 2.25rem;
        }
        .hero-desc {
            font-size: 0.97rem;
            color: var(--muted);
            line-height: 1.85;
            font-weight: 300;
        }
        .hero-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }
        .hero-link-primary {
            font-size: 0.83rem;
            font-weight: 500;
            color: var(--ink);
            border-bottom: 1.5px solid var(--ink);
            padding-bottom: 2px;
            transition: color 0.2s, border-color 0.2s;
        }
        .hero-link-primary:hover { color: var(--green); border-color: var(--green); }
        .hero-link-secondary {
            font-size: 0.83rem;
            font-weight: 400;
            color: var(--muted);
            transition: color 0.2s;
        }
        .hero-link-secondary:hover { color: var(--ink); }

        /* Stack */
        .stack-bar {
            display: flex;
            align-items: center;
            gap: 2.5rem;
            padding: 1.35rem 0;
            border-bottom: 1px solid var(--border);
            flex-wrap: wrap;
        }
        .stack-label {
            font-size: 0.65rem;
            font-weight: 500;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--faint);
            flex-shrink: 0;
        }
        .stack-items {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            row-gap: 0.5rem;
        }
        .stack-item {
            font-size: 0.72rem;
            font-weight: 400;
            color: var(--muted);
            letter-spacing: 0.2px;
            transition: color 0.2s;
        }
        .stack-item::after {
            content: '·';
            color: var(--faint);
            margin: 0 0.7rem;
        }
        .stack-item:last-child::after { display: none; }
        .stack-item:hover { color: var(--ink); }

        /* Work */
        .work-section {
            padding-top: 4rem;
            scroll-margin-top: 1.2rem;
        }

        .section-eyebrow {
            font-size: 0.65rem;
            font-weight: 500;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            color: var(--faint);
            margin-bottom: 2.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .section-eyebrow::before {
            content: '';
            display: block;
            width: 24px; height: 1px;
            background: var(--faint);
        }

        .project {
            display: grid;
            grid-template-columns: 220px 1fr auto;
            align-items: baseline;
            gap: 3rem;
            padding: 1.85rem 0;
            border-top: 1px solid var(--border);
            transition: padding-left 0.3s ease;
            color: inherit;
        }
        .project:last-child { border-bottom: 1px solid var(--border); margin-bottom: 0; }
        .project:hover { padding-left: 0.6rem; }
        .project:hover .proj-name { color: var(--ink); }
        .project:hover .proj-arrow { opacity: 1; transform: translate(0, 0); color: var(--green); }

        .proj-name {
            font-family: 'DM Serif Display', serif;
            font-size: 1.9rem;
            font-weight: 400;
            color: var(--ink2);
            letter-spacing: -0.5px;
            line-height: 1;
            transition: color 0.3s;
        }
        .proj-meta {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
        }
        .proj-type {
            font-size: 0.68rem;
            font-weight: 500;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--faint);
        }
        .proj-desc {
            font-size: 0.87rem;
            color: var(--muted);
            font-weight: 300;
            line-height: 1.7;
            max-width: 500px;
        }
        .proj-desc strong { color: var(--ink2); font-weight: 500; }
        .proj-arrow {
            font-size: 1.1rem;
            color: var(--faint);
            opacity: 0.5;
            transform: translate(-5px, 3px);
            transition: all 0.3s ease;
            flex-shrink: 0;
            align-self: center;
        }

        /* About */
        .about-section {
            padding: 4rem 0 5rem;
            border-top: 1px solid var(--border);
            margin-top: 3.5rem;
            display: grid;
            grid-template-columns: 220px 1fr;
            gap: 3rem;
            align-items: start;
        }
        .about-heading {
            font-family: 'DM Serif Display', serif;
            font-size: 1.75rem;
            font-weight: 400;
            color: var(--ink);
            letter-spacing: -0.5px;
            line-height: 1.2;
            padding-top: 0.15rem;
        }
        .about-body {
            font-size: 0.92rem;
            color: var(--muted);
            line-height: 1.95;
            font-weight: 300;
        }
        .about-body strong { color: var(--ink2); font-weight: 500; }
        .about-body p + p { margin-top: 0.6rem; }
        .about-contact {
            color: var(--green);
            border-bottom: 1px solid var(--green-l);
            transition: border-color 0.2s;
        }
        .about-contact:hover { border-color: var(--green); }

        /* Footer */
        footer {
            border-top: 1px solid var(--border);
            padding: 1.85rem 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        .footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
        .footer-links a {
            font-size: 0.75rem;
            color: var(--muted);
            font-weight: 400;
            transition: color 0.2s;
        }
        .footer-links a:hover { color: var(--ink); }
        .footer-copy { font-size: 0.68rem; color: var(--faint); }

        code {
        background-color: #ebe5de; 
        padding: 2px 4px;          
        border-radius: 4px;        
        font-family: monospace;    
        }

        /* Responsive */
        @media (max-width: 820px) {
            .hero { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 0 3.5rem; }
            .project { grid-template-columns: 1fr; gap: 0.6rem; }
            .proj-arrow { display: none; }
            .about-section { grid-template-columns: 1fr; gap: 1.5rem; }
            .stack-bar { padding: 1rem 0; gap: 1.5rem; }
            .work-section { padding-top: 2.5rem; scroll-margin-top: 3rem; }
        }
        @media (max-width: 560px) {
            .page { padding: 0 1.25rem; }
            nav { padding: 0 1.25rem; }
            .hero h1 { font-size: 2.6rem; letter-spacing: -1.5px; }
            .stack-bar { padding: 0.85rem 0; }
            .work-section { padding-top: 2.2rem; scroll-margin-top: 3.5rem}
        }

         /* @media (prefers-color-scheme: dark) {
            :root {
                --bg:     #131110;
                --white:  #1c1a18;
                --ink:    #ede8e2;
                --ink2:   #c9c2b8;
                --muted:  #6e6560;
                --faint:  #6e6560;
                --border: #2a2520;
                --green:  #4aaf66;
                --green-l:#152a1c;
            }
            code {
                background-color: #2a2520;
            }
        }
         */