/* Minimal landing — Joe Wimmer */

:root {
    --bg: #f4f2ee;
    --bg-accent: #e8e4dc;
    --text: #1a1815;
    --muted: #5c5852;
    --accent: #2d4a3e;
    --focus: #1e66f5;
    --font-sans: "DM Sans", system-ui, sans-serif;
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #121110;
        --bg-accent: #1c1a17;
        --text: #edeae4;
        --muted: #9a958c;
        --accent: #a8c4b8;
        --focus: #7eb4ff;
    }
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100dvh;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -20%, var(--bg-accent), transparent 55%),
        radial-gradient(ellipse 80% 50% at 100% 100%, rgba(45, 74, 62, 0.06), transparent 50%);
}

@media (prefers-color-scheme: dark) {
    body {
        background-image:
            radial-gradient(ellipse 120% 80% at 50% -20%, var(--bg-accent), transparent 55%),
            radial-gradient(ellipse 80% 50% at 100% 100%, rgba(168, 196, 184, 0.08), transparent 50%);
    }
}

.shell {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 5vw, 3rem);
}

.card {
    width: 100%;
    max-width: 28rem;
    text-align: center;
}

.name {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 2.75rem);
    font-weight: 500;
    font-variation-settings: "SOFT" 50, "WONK" 0.9;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.tagline {
    margin: 0 0 1.75rem;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 400;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    justify-content: center;
    align-items: center;
}

.links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.links a:hover {
    border-bottom-color: currentColor;
}

.links a:focus {
    outline: none;
}

.links a:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
    border-radius: 2px;
}

.fade-in {
    animation: fade-in 0.7s ease-out both;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        animation: none;
    }

    .links a {
        transition: none;
    }
}
