/* Smaller alternating project images on desktop; the opening video stays unchanged. */
.site-header .header-controls { min-width: 0; }
.site-header nav { flex-wrap: wrap; justify-content: flex-end; row-gap: .5rem; }
@media(min-width:900px) {
 .home-page .projects { max-width: 1500px; margin: 0 auto; }
 .home-page .project.project-large.photo-project,
 .home-page .moraine-lead.photo-project { grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); gap: 3vw; align-items: center; }
 .home-page .project.project-large.photo-project .project-image { grid-column: 2; grid-row: 1; }
 .home-page .project.project-large.photo-project .project-meta { grid-column: 1; grid-row: 1; }
 .home-page .moraine-lead.photo-project { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); }
 .home-page .photo-project .project-image { width: 100%; margin-left: 0; min-height: 0; }
 .home-page .moraine-lead .project-image { aspect-ratio: 1.35; }
 .home-page .photo-project .project-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
 .home-page .photo-project .project-meta p:not(.project-number) { max-width: 430px; font-size: 1.1rem; line-height: 1.65; }
 .home-page .photo-project .photo-title { left: 2vw; right: 1.5vw; bottom: 2vw; }
 .home-page .photo-title h2 { font-size: clamp(2rem,3.7vw,3.8rem); }
 .home-page .moraine-project { margin-top: 4vw; }
}
.home-calendar { margin: 0 5vw 4rem; }
.home-calendar .section-label { padding-bottom: 2rem; }
.calendar-heading h2 { font-size: clamp(2rem,3.5vw,3.5rem); line-height: 1.05; font-weight: 500; letter-spacing: -.05em; margin: 0 0 2.5rem; }
.calendar-event { display: grid; grid-template-columns: minmax(150px,.7fr) minmax(0,2fr) auto; gap: 2rem; padding: 1.75rem 0; border-top: 1px solid var(--line); align-items: center; }
.calendar-event time { font: 500 1rem/1.6 'DM Mono',monospace; }
.calendar-kind { font-size: .875rem; margin: 0 0 .5rem; }
.calendar-event h3 { font-size: clamp(1.5rem,2.5vw,2.5rem); line-height: 1.15; font-weight: 500; letter-spacing: -.04em; margin: 0 0 .5rem; }
.calendar-venue { font-size: 1rem; margin: 0; }
.calendar-event .text-link { margin-top: 0; }
@media(max-width:700px) {
 .home-calendar { margin: 0 6vw 3rem; }
 .calendar-event { grid-template-columns: minmax(0,1fr); gap: .75rem; padding: 1.5rem 0; }
 .calendar-event .text-link { justify-self: start; margin-top: .5rem; }
}

/* Project photographs reach the outer edges; slightly quieter home typography. */
@media(min-width:900px) {
 .home-page .projects { max-width: none; }
 .home-page .photo-project .project-image { width: calc(100% + 5vw); }
 .home-page .moraine-lead.photo-project .project-image { margin-left: -5vw; }
 .home-page .photo-title h2 { font-size: clamp(1.8rem,3.2vw,3.25rem); }
 .home-page .photo-project .project-meta p:not(.project-number) { font-size: 1rem; line-height: 1.6; max-width: 470px; }
}
.home-page .intro-copy { font-size: 1rem; }
.home-page .calendar-heading h2 { font-size: clamp(1.8rem,3vw,3rem); }
.home-page .calendar-event h3 { font-size: clamp(1.4rem,2.1vw,2.1rem); }
.home-page .contact-content h2 { font-size: clamp(3rem,6.5vw,6.5rem); }
.home-page .calendar-event time { font-size: .9375rem; }
.home-page .cv-content p { font-size: 1rem; }
@media(max-width:700px) {
 .home-page .photo-title h2 { font-size: clamp(1.9rem,8vw,3rem); }
 .home-page .photo-project .project-meta p:not(.project-number) { font-size: 1rem; line-height: 1.6; }
}

/* Clear section markers replace the long separator rules. */
.home-page .section-label { border: 0; align-items: center; padding: 1.25rem 0 2rem; font-size: .875rem; gap: .85rem; }
.home-page .section-label span:first-child { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--paper); min-width: 2.5rem; min-height: 2rem; padding: .3rem .5rem; }
.home-page .cv-section, .home-page .contact-section { border-top: 0; }
.home-page .photo-project .project-image::after { display: none; }
.home-page .project-meta h2 { font-size: clamp(1.9rem,3.2vw,3.25rem); line-height: 1.05; letter-spacing: -.05em; margin: 0 0 .35rem; }
.home-page .moraine-project { margin-top: clamp(3rem,6vw,6rem); }
.home-page .photo-contact .section-label span:first-child { background: #fff; color: var(--ink); }
/* A quiet photographic wash gives the calendar its own distinct section. */
.home-page .home-calendar { position: relative; isolation: isolate; overflow: hidden; margin: 0 0 4rem; padding: 2.5rem 5vw; background: #e5e4df; }
.calendar-background { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: grayscale(1); opacity: .16; }
.calendar-events { display: grid; gap: .75rem; }
.calendar-event { border: 0; padding: 1.5rem; background: rgba(243,239,231,.91); }
.calendar-photo-credit { margin: 1.25rem 0 0; font-size: .875rem; }
@media(max-width:899px) {
 .home-page .photo-project .project-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
 .home-page .photo-project .project-meta .text-link { margin-top: 0; }
}
@media(max-width:700px) {
 .home-page .home-calendar { padding: 1.5rem 6vw; }
 .home-page .project-meta h2 { font-size: 2rem; }
 .calendar-event { padding: 1.25rem; }
}
