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

:root {
    --parchment: #f7f1e6;
    --ink: #3a3228;
    --faded: #8a7a68;
    --accent: #7a6248;
    --rule: #d4c9b8;
    --hover: #5a4230;
    --tag-bg: #ede5d6;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    background: var(--parchment);
    color: var(--ink);
    line-height: 1.75;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.container {
    max-width: 600px;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--rule);
}

.emoji {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    display: inline-block;
    animation: sway 4s ease-in-out infinite;
}

@keyframes sway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

h1 {
    font-size: 2.2rem;
    font-weight: normal;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.tagline {
    font-style: italic;
    color: var(--faded);
    font-size: 1rem;
    margin-top: 0.25rem;
}

h2 {
    font-size: 1.1rem;
    color: var(--faded);
    font-weight: normal;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

section {
    margin-bottom: 2.5rem;
}

p { margin-bottom: 0.75rem; }

code {
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: 0.9em;
    background: var(--tag-bg);
    padding: 0.1em 0.35em;
    border-radius: 3px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--tag-bg);
    color: var(--accent);
    padding: 0.3rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    border: 1px solid var(--rule);
    transition: all 0.2s ease;
    cursor: default;
}

.tag:hover {
    background: var(--accent);
    color: var(--parchment);
    border-color: var(--accent);
}

a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: var(--rule);
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--hover);
    text-decoration-color: var(--hover);
}

footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rule);
    text-align: center;
    color: var(--faded);
}

.small {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: var(--rule);
}

@media (max-width: 480px) {
    body { padding: 2rem 1rem; }
    h1 { font-size: 1.7rem; }
    .emoji { font-size: 2.8rem; }
    section { margin-bottom: 2rem; }
}