/* ============================================
   Katherine Ullman — Shared Theme
   ============================================ */

/* --- Variables --- */
:root {
    --cream: #FAF7F2;
    --cream-dark: #F0EBE3;
    --slate: #4A6670;
    --slate-deep: #3D555E;
    --slate-light: #6B8A95;
    --coral: #E8877C;
    --coral-deep: #D9706A;
    --coral-pink: #F2A59D;
    --blush: #F4D3C4;
    --charcoal: #2D3436;
    --warm-gray: #6B6560;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Noise texture overlay --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 1000;
}

/* --- Decorative background blobs --- */
.bg-texture {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.bg-blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, var(--slate) 0%, transparent 70%);
    opacity: 0.06;
    top: -200px;
    right: -100px;
    border-radius: 50%;
}

.bg-blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, var(--coral-pink) 0%, transparent 70%);
    opacity: 0.08;
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
}

/* --- Home logo --- */
.home-logo {
    position: fixed;
    top: 38px;
    left: 40px;
    z-index: 100;
    text-decoration: none;
    width: 48px;
    height: 48px;
    background: var(--coral);
    border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.home-logo:hover {
    background: var(--slate);
    transform: scale(1.05);
}

/* --- Navigation dock --- */
.nav-top {
    position: fixed;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 100;
    padding: 10px 14px;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 60px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.nav-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1.5px solid transparent;
    color: var(--slate-deep);
    background: transparent;
}

.nav-top a:hover,
.nav-top a.active {
    background: var(--slate);
    color: var(--cream);
}

.nav-top a:nth-child(1) { border-radius: 45px 30px 40px 35px; }
.nav-top a:nth-child(2) { border-radius: 35px 45px 30px 40px; }
.nav-top a:nth-child(3) { border-radius: 40px 35px 45px 30px; }
.nav-top a:nth-child(4) { border-radius: 30px 40px 35px 45px; }
.nav-top a:nth-child(5) { border-radius: 42px 32px 38px 48px; }
.nav-top a:nth-child(6) { border-radius: 38px 48px 32px 42px; }

/* --- Main content area --- */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 120px 40px 80px 40px;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

/* --- Page header --- */
.page-header {
    margin-bottom: 4px;
}

.page-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.page-header h1 span {
    color: var(--coral);
    font-weight: 500;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--warm-gray);
}

/* --- Content sections --- */
.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--coral);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.content-section p {
    color: var(--charcoal);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-section p:last-child {
    margin-bottom: 0;
}

/* --- Footer --- */
footer {
    padding: 24px 40px;
    background: var(--slate-deep);
    position: relative;
    z-index: 1;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

footer .footer-links {
    display: flex;
    gap: 24px;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--coral-pink);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .nav-top {
        padding: 8px 12px;
        gap: 6px;
    }

    .nav-top a {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .main {
        padding: 120px 24px 60px 24px;
    }

    .page-header h1 {
        font-size: 2.4rem;
    }

    footer {
        padding: 24px;
    }

    footer .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .nav-top {
        width: calc(100% - 32px);
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 24px;
        top: 16px;
    }

    .nav-top a {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .main {
        padding: 140px 24px 60px 24px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    footer {
        padding: 24px;
    }

    footer .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
