/* ===== Variables ===== */
:root {
    --color-accent: #a0644e;
    --color-text: #333;
    --color-muted: #999;
    --color-bg: #fff;
    --color-photo-bg: #f0e4dd;
}

/* ===== Page Layout ===== */
.about-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 30px 20px;
    font-family: "Lora", serif;
    color: var(--color-text);
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Back Link ===== */
.back-link {
    display: inline-block;
    font-size: 0.95rem;
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.2s;
    margin-bottom: 10px;
}

.back-link:hover {
    opacity: 0.65;
}

/* ===== Page Title ===== */
.about-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.4rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 40px;
}

/* ===== Bio Section ===== */
.bio-section {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.bio-photo-wrapper {
    flex-shrink: 0;
}

.bio-photo-placeholder {
    width: 220px;
    height: 280px;
    background-color: var(--color-photo-bg);
    border: 2px solid var(--color-accent);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-size: 1rem;
    font-style: italic;
}

.bio-photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.bio-text {
    flex: 1;
}

.bio-name {
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}

.bio-text p {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 18px;
    color: #444;
}

.bio-text p:last-child {
    margin-bottom: 0;
}

/* ===== Links Section ===== */
.links-section {
    margin-bottom: 50px;
}

.links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.link-pill {
    display: inline-block;
    padding: 8px 22px;
    font-family: "Lora", serif;
    font-size: 0.95rem;
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.link-pill:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: translateY(-1px);
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ccc;
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* ===== Responsive ===== */
@media (max-width: 50em),
(hover: none) and (pointer: coarse) {
    .about-page {
        padding: 24px 16px 16px;
    }

    .about-title {
        margin-bottom: 28px;
    }

    .bio-section {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        text-align: center;
    }

    .bio-photo-placeholder {
        width: 180px;
        height: 230px;
    }

    .bio-name {
        font-size: 1.4rem;
    }

    .bio-text p {
        font-size: 1rem;
    }

    .links-row {
        justify-content: center;
    }
}