
/* hero gallery */

.hero-gallery {
    margin: 2.75rem auto 0;
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
    border-top: 1px solid rgba(111, 29, 27, .18);

    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;

    max-width: 1120px;
    scrollbar-width: thin;
}

.hero-gallery img {
    display: block;
    flex: 0 0 auto;
    height: 170px;
    width: auto;
    object-fit: cover;
    margin-bottom: 0.25rem;

       box-shadow:
        0 10px 20px rgba(0,0,0,.15),
        0 24px 40px rgba(0,0,0,.24);
}

.hero-gallery a {
    display: block;
    flex: 0 0 auto;
}


/* Monthly report extensions only.
   This file assumes style.css is the design system. */

.report-page .hero-sheet h1 span {
    white-space: nowrap;
}

.kicker,
.day-header .category {
    font-family: Inter, system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    color: var(--accent);
}

.report-summary h2,
.report-themes h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.1;
    font-weight: 400;
    color: var(--accent);
}

.report-day-sheet {
    padding-top: 4rem;
}

.report-day {
    position: relative;
}

.report-day-sheet:nth-of-type(odd) {
    transform: translateX(-10px) rotate(-0.15deg);
}

.report-day-sheet:nth-of-type(even) {
    transform: translateX(10px) rotate(0.15deg);
}

.report-day--with-float-image .day-image {
    float: right;
    width: 200px;
    margin: 0.35rem -160px 1.75rem 2rem;
    position: relative;
    z-index: 40;
    text-align: center;
}

.report-day--with-float-image .day-image a {
    display: block;
}

.report-day--with-float-image .day-image img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    margin-bottom: -6px;

    box-shadow:
        0 4px 8px rgba(0,0,0,.07),
        0 9px 16px rgba(0,0,0,.12);
}

.report-day--with-float-image .day-image figcaption {
    position: relative;
    z-index: 1;

    width: 103%;
    left: 50%;
    transform: translateX(-50%);

    margin-top: 0;
    padding: 0.55rem 0.65rem;

    background: #f8f1df;
    border: 1px solid rgba(111, 29, 27, .16);

    font-family: Georgia, serif;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #333;
    text-align: center;

    box-shadow:
        0 6px 12px rgba(0,0,0,.10),
        0 14px 22px rgba(0,0,0,.18);
}

.day-header {
    margin: 0 0 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(111, 29, 27, .22);
}

.day-header .category {
    margin: 0 0 .75rem;
}

.day-header h2 {
    margin: 0;
    font-size: clamp(2.4rem, 4vw, 4.25rem);
    line-height: .95;
    letter-spacing: -0.045em;
    font-weight: 400;
}

.day-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 2.5rem;
    align-items: start;
}

.day-text {
    min-width: 0;
}



.day-image a {
    display: block;
}

.day-image img {
    display: block;
    width: 100%;
    height: auto;

    box-shadow:
        0 10px 20px rgba(0,0,0,.15),
        0 24px 40px rgba(0,0,0,.38);
}



.report-entry {
    padding-left: 1rem;
    border-left: 3px solid rgba(111, 29, 27, .35);
}

.report-day--with-float-image::after {
    content: "";
    display: block;
    clear: both;
}



.report-page .essay-sheet {
    margin-bottom: 2.5rem;
}

.report-page .report-day-sheet,
.report-page .gallery-sheet {
    margin-top: 0;
    margin-bottom: 3rem;
}


.gallery-sheet {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
    padding: 1rem 0 0.75rem;
}

.gallery-figure {
margin: 0;
}

.gallery-strip {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 5vw 0.75rem;
    scrollbar-width: thin;
}

.gallery-item {
display: block;
flex: 0 0 auto;
}

.gallery-item img {
display: block;
height: clamp(220px, 30vw, 340px);
width: auto;
max-width: none;
object-fit: contain;

box-shadow:
    0 10px 20px rgba(0,0,0,.15),
    0 24px 40px rgba(0,0,0,.24);

}

.gallery-figure figcaption {
margin-top: 0.75rem;
padding: 0 0.5rem 0.25rem;
font-family: Inter, system-ui, sans-serif;
font-size: 0.75rem;
line-height: 1.5;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #555;
}

.gallery-figure {
    margin: 0;
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stats-grid p {
    margin: 0;
    padding: 1.25rem 1rem;
    text-align: center;
    background: rgba(111, 29, 27, .06);
    border: 1px solid rgba(111, 29, 27, .16);
    font-family: Inter, system-ui, sans-serif;
}

.stats-grid strong {
    display: block;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 2.25rem;
    line-height: 1;
    font-weight: 400;
    color: var(--accent);
}

.stats-grid span {
    display: block;
    margin-top: .5rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .65rem;
}

@media (max-width: 900px) {
    .day-layout {
        display: block;
    }


       .report-day--with-float-image .day-image {
        float: right;
        width: 150px;
        margin: 0.5rem -3rem 0.75rem 0.75rem;
            }

        .hero-gallery {
        justify-content: flex-start;
        margin-top: 2rem;
        padding-top: 1rem;
    }

    .report-day-sheet:nth-of-type(odd),
    .report-day-sheet:nth-of-type(even) {
        transform: none;
    }
}

    .hero-gallery img {
        height: 130px;
    }

.gallery-sheet {
width: fit-content;
max-width: calc(100vw - 2rem);
margin: 0 auto 3rem;
padding: 1rem 1rem 0.75rem;
}

.gallery-item img {
    height: clamp(180px, 48vw, 260px);
}

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


@media (max-width: 600px) {
   
       .hero-gallery {
        gap: .75rem;
    }

    .hero-gallery img {
        height: 105px;
    }
   
    
    .report-day--with-float-image  .day-image {
        width: 125px;
        margin: 0.4rem -0.5rem 0.75rem 0.75rem;        }
   
.gallery-sheet {
width: 100vw;
max-width: none;
margin-left: calc(50% - 50vw);
padding: 0.75rem 0 0.5rem;
}

.gallery-strip {
    gap: 0.75rem;
    padding: 0 5vw 0.75rem;
}

.gallery-item img {
    height: clamp(150px, 52vw, 220px);
}

.gallery-figure figcaption {
    padding: 0 5vw 1rem;
}

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
