:root {
    --bg: #F7F3EE;
    --text: #493E3A;
    --primary: #79515C;
    --accent: #C8AEB4;
    --secondary: #B58C82;
    --secondary-text: #7A5A53;
    --light: #E7D8D2;
    --on-primary: #F7F3EE;

    --shadow: rgba(73, 62, 58, 0.14);
}

body {
    min-height: 100vh;
    margin: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: Arial, sans-serif;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

.background-blobs {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    display: block;
    pointer-events: none;
    filter: blur(0.2px);
}

main {
    position: relative;
    z-index: 1;
}

a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.brand-link:hover {
    color: inherit;
}

.brand-link:focus-visible {
    outline: 2px solid var(--light);
    outline-offset: 5px;
    border-radius: 6px;
}

header {
    background-color: var(--primary);
    padding: 15px 0;
    border-bottom: 4px solid var(--accent);
    box-shadow: 0 4px 18px var(--shadow);
    position: relative;
    z-index: 10;
}

h1 {
    font-family: Georgia, serif;
    font-size: 32px;
    color: var(--text);
    line-height: 1.3;
}

.logo {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
    background-color: var(--light);
    margin-right: 15px;
    border: 2px solid var(--bg);
}

.name {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--on-primary);
}

.nav-links a {
    position: relative;
    color: var(--on-primary);
    text-decoration: none;
    margin: 5px 8px;
    font-size: 15px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--light);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a.active::after {
    width: 100%;
}

.nav-links:hover a.active::after {
    width: 0;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--light);
}

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

footer {
    text-align: center;
    background-color: var(--primary);
    border-top: 4px solid var(--accent);
    font-size: 14px;
    color: var(--on-primary);
    padding: 14px 0;
    position: relative;
    z-index: 10;
}

footer p {
    margin: 0;
}

@media (max-width: 575.98px) {
    .logo {
        width: 48px;
        height: 48px;
        margin-right: 10px;
    }

    .name {
        font-size: 18px;
        letter-spacing: 1.5px;
        line-height: 1.2;
    }
}

img {
    max-width: 100%;
    height: auto;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.legal-links {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.4;
}

.legal-links a {
    color: var(--on-primary);
    text-decoration: none;
    opacity: 0.78;
    transition: opacity 0.2s ease;
}

.legal-links a:hover,
.legal-links a:focus-visible {
    opacity: 1;
}

.legal-links span {
    margin: 0 5px;
    opacity: 0.6;
}