/* Home layout: intrinsic section heights and no video or slide spacers. */
.home-hero {
    padding-block: clamp(2rem, 5vw, 4rem);
    background: var(--thm-background-4);
}
.machine-collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.collage-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--thm-background-3);
    border-radius: 16px;
    background: var(--thm-background-7);
    color: var(--thm-text-2);
    text-decoration: none;
}
.collage-wide {
    grid-column: 1 / -1;
}
.collage-card img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: contain;
}
.collage-wide img {
    height: 220px;
}
.collage-card span {
    margin-top: .75rem;
    font-size: .9rem;
    font-weight: 600;
}
.home-introduction,
.home-about {
    padding-block: clamp(2rem, 4vw, 3rem);
    background: var(--thm-background-7);
}
.home-introduction {
    border-bottom: 1px solid var(--thm-background-3);
}
.home-sections > .machine-feature {
    margin-block: 0;
    padding-block: clamp(2rem, 4vw, 3rem);
    min-height: 0;
}
.home-sections > .machine-feature + .machine-feature {
    padding-top: 1.5rem;
}
.home-sections :is(h1, h2) {
    scroll-margin-top: 110px;
}
@media (max-width: 575px) {
    .machine-collage { gap: .65rem; }
    .collage-card { padding: .75rem; }
    .collage-card img { height: 120px; }
    .collage-wide img { height: 170px; }
}
