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

body {
    font-family: 'Lato', sans-serif;
    color: #d5bba4;
    background: #654a3d;
    background-image: radial-gradient(circle, rgba(254, 176, 142, 0.215) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* page loader */
#page-loader {
    position: fixed;
    inset: 0;
    background: #654a3d;
    background-image: radial-gradient(circle, rgba(254, 176, 142, 0.215) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

#page-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* load stack */
.loader-stack {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.loader-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    animation: iconSpinFade 1.6s ease-in-out infinite;
}

.loader-icon.icon-1 {
    animation-delay: 0s;
}

.loader-icon.icon-2 {
    animation-delay: 0s;
}

@keyframes iconSpinFade {
    0% {
        transform: rotate(0deg);
        opacity: 0.35;
    }

    50% {
        transform: rotate(180deg);
        opacity: 1;
    }

    100% {
        transform: rotate(360deg);
        opacity: 0.35;
    }
}

/* navigation */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 48px;
    background: #654a3d;
    border-bottom: 1px solid #d5bba45d;
}

.nav .name {
    font-variant: all-small-caps slashed-zero;
    font-weight: 500;
    color: #d5bba4;
    font-size: 20px;
    text-decoration: none;
}

.name-short {
    display: none;
    text-decoration: none;
    font-variant: all-small-caps slashed-zero;
    font-weight: 400;
    color: #d5bba4;
}

.nav .links {
    display: flex;
    gap: 40px;
    font-size: 18px;
}

.nav .links a {
    font-variant: all-small-caps slashed-zero;
    font-weight: 400;
    color: #d5bba4;
    text-decoration: none;
}

.nav .links a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .name-full {
        display: none;
    }

    .name-short {
        display: inline;
    }

    .nav {
        padding: 16px 20px;
    }

    .nav .links {
        gap: 20px;
        font-size: 15px;
    }
}

/* blog header */
.blog-header {
    text-align: center;
    margin: 70px auto 60px;
    max-width: 700px;
    padding: 0 24px;
}

.journal-title {
    display: inline-block;

    font-family: "Cormorant Infant", serif;
    font-size: clamp(4rem, 8vw, 3.5rem);

    font-weight: 500;

    letter-spacing: -0.06em;
    line-height: .95;

    color: #d5bba4;
    text-decoration: none;

    transition: opacity .25s ease;
}

.journal-title:hover {
    opacity: .7;
}

.journal-subtitle {
    margin-top: 20px;

    font-family: "Lato", sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: .35em;

    color: #d5bba481;
}

.blog-header p {
    padding-bottom: 10px;
    font-size: 18px;
}

.blog-header .disclaimer {
    font-style: italic;
}

/* column */
.post-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0px 24px 100px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.post-container.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.post-date {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d5bba477;
    margin-bottom: 14px;
}

.post-title {
    font-family: "Cormorant Infant", serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #d5bba4;
}

.post-description {
    font-size: 19px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.post-banner {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 40px;
}

.post-body {
    font-size: 18px;
    line-height: 1.8;
}

.post-body p {
    margin-bottom: 24px;
}

.post-body h2 {
    font-family: "Cormorant Infant", serif;
    font-size: 26px;
    font-weight: 500;
    margin: 40px 0 16px;
}

.post-body img.post-image {
    width: 100%;
    border-radius: 6px;
    margin: 8px 0 32px;
    display: block;
}

.back-to-journal {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    color: #8b8072;
    text-decoration: none;
    letter-spacing: .02em;
}

.back-to-journal:hover {
    text-decoration: underline;
}

.site-footer {
    text-align: center;
    padding: 48px 24px 32px;
}

.footer-tagline {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-contact {
    font-size: 14px;
    margin-bottom: 16px;
}

.footer-contact a {
    color: inherit;
}

.footer-trademark {
    font-size: 12px;
    letter-spacing: 0.03em;
}

/* entry list */
.entry-list {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px 100px;
}

.entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    padding: 18px 0;
    border-bottom: 1px solid #d5bba45d;

    text-decoration: none;
    color: #d5bba4;

    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: calc(var(--stagger, 0) * 0.05s);
}

.entry:first-child {
    padding-top: 18px 0;
    border-top: 1px solid #d5bba45d;
}

.entry.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.entry-text {
    flex: 1;
    min-width: 0;
}

.entry-date {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d5bba47c;
    margin-bottom: 10px;
}

.entry-title {
    font-family: "Cormorant Infant", serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    color: #d5bba4;
    margin-bottom: 10px;
    transition: opacity .2s ease;
}

.entry:hover {
    opacity: .5;
}

.entry-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    max-width: 54ch;
}

.entry-tags {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    font-style: italic;
    color: #8b8072;
}

.entry-thumb {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .entry {
        flex-direction: column-reverse;
        gap: 14px;
        padding: 26px 0;
    }

    .entry-thumb {
        display: none;
    }

    .entry-title {
        font-size: 26px;
    }
}

.blog-empty-state {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 24px 100px;
    text-align: center;
    color: #8b8072;
    font-style: italic;
}