/* ==========================================================================
   V Morel — Author Landing Page Styles
   Background: #1a1a1a | Primary (titular): #085e37 or #0D9658 | Body text: #e0e0e0 or #E8FDF3 or #BDF9DE
   ========================================================================== */

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

html, body {
    height: 100%;
}

body {
    background-color: #1a1a1a;
    color: #BDF9DE;
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 1.5rem;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 720px;
    width: 100%;
    text-align: center;
}

/* NOTE: #064528 is a deep forest green. On a #292929 background, raw #064528
   has a low contrast ratio (~1.5:1) and will appear muddy or hard to read.
   Title text is large enough to remain legible, but if you find it too dim
   in practice, consider lightening to something like #4a8f6b for body use
   while keeping #064528 only for the largest titular element. */

.title {
    font-size: clamp(3rem, 9vw, 6rem);
    font-weight: 500;
    color: #085e37;
    line-height: 1.1;
    letter-spacing:;
    margin-bottom: 3rem;

    /* Subtle outline stroke to lift #064528 off the dark background.
       Remove this rule if you prefer the raw color.
    text-shadow:
        0 0 1px rgba(224, 224, 224, 0.25),
        0 2px 12px rgba(0, 0, 0, 0.5); */
}

.section-heading {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-style: italic;
    font-weight: 500;
    letter-spacing: ;
    text-transform:;
    color: #BDF9DE;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.bio {
    max-width: 600px;
    margin-bottom: 3rem;
}

.bio p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: #e0e0e0;
    line-height: 1.8;
}

.link-line {
    margin-top: 1rem;
}

.book-link {
    color: #E8FDF3;
    text-decoration: none;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    border-bottom: 1px solid rgba(224, 224, 224, 0.4);
    padding-bottom: 2px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.book-link em {
    font-style: italic;
}

.book-link:hover,
.book-link:focus {
    color: #ffffff;
    border-bottom-color: #e0e0e0;
    outline: none;
}

.footer {
    font-size: 0.85rem;
    color: #e0e0e0;
    opacity: 0.6;
    padding-top: 2rem;
    text-align: center;
}

.footer p {
    margin: 0;
}

/* Smaller screens */
@media (max-width: 480px) {
    .container {
        padding: 2rem 1rem;
    }

    .section-heading {
        letter-spacing: 0.15em;
    }

    .bio p {
        line-height: 1.7;
    }
}
