/* =========================================================
   REFLECTIONS
   ========================================================= */

.reflections {
    max-width: 850px;
    margin: 4rem auto 7rem;
    padding: 0 1.5rem;
}

/* --------------------------
   Header
   -------------------------- */

.reflections-header {
    margin-bottom: 6rem;
}

.reflections-header h1 {
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.reflections-header p {
    max-width: 540px;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
}


/* =========================================================
   ARCHIVE
   ========================================================= */

.reflection-archive {
    width: 100%;
}


/* --------------------------
   Year
   -------------------------- */

.reflection-year {
    display: grid;
    grid-template-columns: 80px 1fr;
    column-gap: 2.5rem;
    margin-bottom: 6rem;
}

.year {
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .08em;
    color: #888;

    padding-top: .35rem;
}


/* --------------------------
   Entries
   -------------------------- */

.year-entries {
    min-width: 0;
}

.reflection-entry {
    padding: 0;
    margin-bottom: 2.75rem;
}

.reflection-entry:first-child {
    padding-top: 0;
}

.reflection-entry:last-child {
    margin-bottom: 0;
}

/* --------------------------
   Title
   -------------------------- */

.reflection-title {
    display: inline;

    color: #222;
    text-decoration: none;

    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;

    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0 1px;
    background-position: left bottom;
    background-repeat: no-repeat;

    transition:
        background-size .25s ease,
        color .2s ease;
}

.reflection-title:hover {
    color: #000;
    background-size: 100% 1px;
}


/* --------------------------
   Description
   -------------------------- */

.reflection-preview {
    max-width: 620px;

    margin-top: .55rem;

    color: #666;

    font-size: .95rem;
    line-height: 1.65;
}


/* --------------------------
   Keywords
   -------------------------- */

.reflection-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 0;

    margin-top: .8rem;

    color: #999;

    font-size: .72rem;
    font-weight: 400;
    letter-spacing: .04em;
}

.reflection-tags span:not(:last-child)::after {
    content: "/";
    margin: 0 .55rem;
    color: #ccc;
}


/* --------------------------
   Archive note
   -------------------------- */

.archive-note {
    margin: -2.5rem 0 4rem;
}

.archive-note p {
    margin: 0;
    color: #888;
    font-size: .85rem;
    line-height: 1.7;
}

.archive-note strong {
    color: #666;
    font-weight: 500;
}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .reflections {
        margin-top: 3.5rem;
        padding: 0 1.5rem;
    }

    .reflections-header {
        margin-bottom: 4.5rem;
    }

    .reflections-header h1 {
        font-size: 2.5rem;
    }

    .reflection-year {
        display: block;
        margin-bottom: 5rem;
    }

    .year {
        margin-bottom: 2rem;
        padding-top: 0;
    }

    .reflection-entry {
        padding-bottom: 1.75rem;
        margin-bottom: 1.75rem;
    }

    .reflection-title {
        font-size: 1.15rem;
    }

    .reflection-preview {
        font-size: .9rem;
    }


}