.nml-at {
    padding: 144px 0 80px;
    background: var(--color-bg);
    overflow: hidden;
}

/* ── Header ── */
.nml-at__header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding-bottom: 88px;
}

.nml-at__heading {
    margin: 0;
    font-size: 56px;
    line-height: 64px;
    font-weight: 700;
    color: var(--color-text-primary);
}

/* Wrap a word in <span> to give it the accent colour. */
.nml-at__heading span { color: var(--color-accent); }

.nml-at__subhead {
    max-width: 740px;
    margin: 0;
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* ── Stickers ── */
.nml-at__sticker {
    position: absolute;
    pointer-events: none;
    user-select: none;
}
.nml-at__sticker img { display: block; }

.nml-at__sticker--1 { top: -8px;  left: 40px;  width: 80px; }

.nml-at__sticker--4 { 
    top: -57px;
    left: 55.3%;
    transform: translateX(180px);
    width: 109px;
}

.nml-at__sticker--3 { 
    top: 80px;
    right: 0;
    width: 81px;
}

/* ── Desktop marquee (running strip) ── */
.nml-at__marquee {
    width: 100%;
    overflow: hidden;
}

.nml-at__marquee-track {
    display: flex;
    align-items: flex-end;   /* bottom flush, tops vary */
    gap: 20px;
    width: max-content;
    animation: nml-at-scroll 50s linear infinite;
}

.nml-at__marquee:hover .nml-at__marquee-track {
    animation-play-state: paused;
}

@keyframes nml-at-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.nml-at__slide {
    flex: 0 0 auto;
    width: 280px;
    height: 320px;
    position: relative;
}

/* ── Photo sticker overlay ── */
.nml-at__photo-sticker {
    position: absolute;
    top: -35px;
    width: 64px;
    pointer-events: none;
    user-select: none;
    z-index: 2;
}

.nml-at__photo-sticker--top-right { right: -14px; }
.nml-at__photo-sticker--top-left  { left: -33px; }

.nml-at__photo-sticker img {
    display: block;
    width: 100%;
    height: auto;
}

/* Varied heights for a staircase look (bottom-aligned) */
.nml-at__slide:nth-child(6n+1) { height: 300px; }
.nml-at__slide:nth-child(6n+2) { height: 360px; }
.nml-at__slide:nth-child(6n+3) { height: 280px; }
.nml-at__slide:nth-child(6n+4) { height: 400px; }
.nml-at__slide:nth-child(6n+5) { height: 320px; }
.nml-at__slide:nth-child(6n+6) { height: 360px; }

.nml-at__slide--tall {
    height: 400px;
}

.nml-at__photo {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-line-light);
    box-shadow: 0px 2px 4px 0px #4C83F33D;
    overflow: hidden;
}

.nml-at__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0px 2px 4px 0px #4C83F33D;
    border: 1px solid var(--color-line-light);
    border-radius: 12px;
}

/* ── Mobile masonry — hidden on desktop ── */
.nml-at__masonry {
    display: none;
}

/* ── Responsive ── */
@media (max-width: 1280px) {
    .nml-at__slider {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .nml-at {
        padding: 104px 0 40px;
    }

    .nml-at__heading {
        font-size: 40px;
        line-height: 48px;
    }

    .nml-at__header {
        gap: 16px;
        padding-bottom: 32px;
    }

    .nml-at__subhead {
        font-size: 16px;
        line-height: 24px;
    }

    .nml-at__sticker--1 { 
        left: -10px;
        width: 52px;
        top: -30px;
    }

    .nml-at__sticker--2 { 
        left: 12px;
        width: 52px;
        top: -35px;
    }

    .nml-at__sticker--3 { 
        display: none;
    }

    .nml-at__sticker--4 {
        left: 48%;
    }

    /* hide marquee, show masonry */
    .nml-at__marquee { display: none; }

    .nml-at__masonry {
        display: flex;
        gap: 12px;
        padding: 0 16px;
    }

    .nml-at__masonry-col {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .nml-at__masonry-item {
        position: relative;
    }

    .nml-at__masonry-item .nml-at__photo-sticker {
        width: 48px;
        top: -14px;
    }

    .nml-at__masonry-item .nml-at__photo-sticker--top-right { right: -10px; }
    .nml-at__masonry-item .nml-at__photo-sticker--top-left  { left: -10px; }

    .nml-at__masonry .nml-at__photo {
        height: auto;
        border-radius: 12px;
    }

    /* natural heights → true masonry */
    .nml-at__masonry .nml-at__photo img {
        height: auto;
        object-fit: cover;
    }

}
