<!DOCTYPE html>
<html lang="en">
<head>
    <link rel="icon" type="image/svg+xml" href="/favicon.svg">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404 — Page Not Found</title>
    <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&display=swap" rel="stylesheet">
    <style>
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .animate-in {
            animation: fadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
            opacity: 0;
        }
        .nav { animation-delay: 0.1s; }
        h1 { animation-delay: 0.25s; }
        .subtitle { animation-delay: 0.35s; }
        .body-text { animation-delay: 0.45s; }
        .contact { animation-delay: 0.55s; }

        body {
            font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
            line-height: 1.6;
            max-width: 1000px;
            margin: 40px auto;
            padding: 0 20px;
            color: #333;
            background-color: #f7f7f2;
        }

        .nav {
            border-bottom: 1px solid #ddd;
            padding-bottom: 12px;
            margin-bottom: 20px;
        }

        .nav a {
            margin-right: 20px;
            font-size: 1.1em;
            color: #555;
            text-decoration: none;
            transition: color 0.2s ease;
            position: relative;
            padding-bottom: 2px;
            background-image: none;
        }

        .nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 1px;
            background-color: #333;
            transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .nav a:hover {
            color: #000;
            text-decoration: none;
        }

        .nav a:hover::after {
            width: 100%;
        }

        h1 {
            color: #000;
            margin: 0 0 20px 0;
            font-weight: 600;
            font-size: 2.5em;
        }

        .subtitle {
            color: #666;
            margin: 0;
            font-size: 1em;
            font-style: italic;
        }

        .body-text {
            margin-top: 30px;
            font-size: 1em;
        }

        a {
            color: #0066cc;
            text-decoration: none;
            background-image: linear-gradient(currentColor, currentColor);
            background-position: 0% 100%;
            background-repeat: no-repeat;
            background-size: 0% 1px;
            transition: background-size 0.3s ease, color 0.2s ease;
        }

        a:hover {
            text-decoration: none;
            background-size: 100% 1px;
        }

        .contact {
            margin-top: 30px;
            padding-top: 15px;
            border-top: 1px solid #ddd;
            line-height: 1.6;
        }
    </style>
</head>
<body>
    <nav class="nav animate-in">
        <a href="/">Home</a>
        <a href="/links">Links</a>
        <a href="/writing">Writing</a>
        <a href="/about">About</a>
    </nav>
    <h1 class="animate-in">404</h1>
    <p class="subtitle animate-in">This page doesn't exist</p>
    <p class="body-text animate-in">You might be lost. Head <a href="/">back home</a>.</p>
    <div class="contact animate-in">
        <strong>Message Me:</strong><br>
        Email: <a href="mailto:johngrosswhitaker@gmail.com">johngrosswhitaker@gmail.com</a><br>
        <a href="https://x.com/jackgwhitaker">Twitter</a> ·
        <a href="https://www.linkedin.com/in/jack-whitaker-75ba24264/">LinkedIn</a>
    </div>
</body>
</html>

