:root {
    --nx-bg: #f4f2ee;
    --nx-surface: #fff;
    --nx-ink: #0c1a28;
    --nx-ink2: #374151;
    --nx-mute: #8a93a0;
    --nx-gold: #aa8850;
    --nx-gold-h: #c9a96e;
    --nx-gold-bg: #f7f0e4;
    --nx-border: #ddd9d2;
    --nx-sep: rgba(12, 26, 40, .08)
}

.nx-archive {
    padding: 0 32px 100px;
    color: var(--nx-ink)
}

.nx-mast {
    padding: 52px 0 36px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--nx-border);
    margin-bottom: 48px
}

.nx-mast__hl {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 400;
    letter-spacing: -.6px;
    line-height: 1
}

.nx-mast__sub {
    margin: 0;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--nx-gold);
    text-align: right
}

.nx-mast__subtext {
    max-width: 68ch;
    margin: 12px 0 0;
    font-size: .95rem;
    line-height: 1.7;
    color: var(--nx-ink2);
}

.nx-archive__discovery {
    margin-bottom: 28px;
}

.nx-archive__results {
    position: relative;
    transition: opacity .24s ease;
}

.nx-archive__results.is-loading {
    opacity: .45;
    pointer-events: none;
}

.nx-archive__summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
}

.nx-archive__summary p {
    margin: 0;
    padding: 8px 12px;
    border: 1px solid var(--nx-border);
    background: #faf8f4;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nx-ink2);
}

.nx-view-switcher {
    display: inline-flex;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--nx-border);
    background: #faf8f4;
}

.nx-view-switcher__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    color: var(--nx-ink2);
    text-decoration: none;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background .2s, color .2s;
}

.nx-view-switcher__button.is-active {
    background: var(--nx-ink);
    color: #fff;
}

.nx-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    width: 100%
}

@media(max-width:1400px) {
    .nx-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media(max-width:960px) {
    .nx-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

	.nx-archive__summary {
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
	}

    .nx-archive--list .nx-card {
        grid-template-columns: 1fr;
    }
}

.nx-frame {
    position: relative;
    overflow: hidden;
    background: #0c1a28;
    display: block
}

.nx-frame::before {
    content: '';
    display: block;
    padding-top: 62%
}

.nx-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.25, .46, .45, .94);
    will-change: transform
}

.nx-frame__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 26, 40, .72) 0%, transparent 52%);
    pointer-events: none
}

.nx-frame__meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px
}

.nx-frame__price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.4px;
    line-height: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5)
}

.nx-frame__badge {
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 9px;
    white-space: nowrap
}

.nx-card {
    background: var(--nx-surface);
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s
}

.nx-card:hover {
    border-color: var(--nx-gold);
    box-shadow: 0 8px 28px rgba(12, 26, 40, .09)
}

.nx-card:hover .nx-frame img {
    transform: scale(1.05)
}

.nx-archive--list .nx-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.nx-archive--list .nx-card {
    display: grid;
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
}

.nx-archive--list .nx-frame {
    min-height: 100%;
}

.nx-archive--list .nx-frame::before {
    padding-top: 0;
    min-height: 100%;
    height: 100%;
}

.nx-archive--list .nx-body {
    padding: 26px 28px;
}

.nx-archive--list .nx-specs {
    margin-top: 8px;
    margin-bottom: 20px;
}

.nx-archive--list .nx-thumbs {
    margin-bottom: 12px;
}

.nx-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1
}

.nx-body__kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--nx-gold);
    margin: 0 0 8px
}

.nx-body__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.nx-cat-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid color-mix(in srgb, var(--nx-gold) 34%, var(--nx-border));
    background: var(--nx-gold-bg);
    color: var(--nx-ink);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color .2s, color .2s, transform .2s;
}

.nx-cat-badge:hover {
    border-color: var(--nx-gold);
    color: var(--nx-gold);
    transform: translateY(-1px);
}

.nx-body__title {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -.2px
}

.nx-body__title a {
    color: inherit;
    text-decoration: none
}

.nx-body__title a:hover {
    color: var(--nx-gold)
}

.nx-body__loc {
    margin: 0 0 16px;
    font-size: .78rem;
    color: var(--nx-mute);
    display: flex;
    align-items: center;
    gap: 5px
}

.nx-body__loc svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0
}

.nx-body__excerpt {
    font-size: .82rem;
    color: var(--nx-ink2);
    line-height: 1.65;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.nx-specs {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--nx-sep);
    border-bottom: 1px solid var(--nx-sep);
    margin: auto 0 18px;
    padding: 12px 0
}

.nx-spec {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
    padding: 0 12px;
    border-right: 1px solid var(--nx-sep)
}

.nx-spec:first-child {
    padding-left: 0
}

.nx-spec:last-child {
    border-right: none
}

.nxi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--nx-gold)
}

.nxi svg {
    width: 100%;
    height: 100%;
    overflow: visible
}

.nx-spec__inner {
    display: flex;
    flex-direction: column;
    gap: 1px
}

.nx-spec__label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nx-mute);
    line-height: 1
}

.nx-spec__val {
    font-size: .8rem;
    font-weight: 700;
    color: var(--nx-ink);
    line-height: 1.2
}

.nx-body__foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 4px
}

.nx-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--nx-ink);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s, gap .2s
}

.nx-cta::after {
    content: '→';
    transition: transform .2s
}

.nx-cta:hover {
    background: var(--nx-gold);
    gap: 12px
}

.nx-cta:hover::after {
    transform: translateX(3px)
}

.nx-thumbs {
    display: flex;
    gap: 3px;
    margin: 0 0 16px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(12, 26, 40, .18) transparent;
    padding-bottom: 2px
}

.nx-thumbs img {
    width: 52px;
    height: 38px;
    object-fit: cover;
    filter: brightness(.85);
    transition: filter .2s;
    flex-shrink: 0
}

.nx-thumbs img:hover {
    filter: brightness(1)
}

.nx-pager {
    margin-top: 48px;
    border-top: 1px solid var(--nx-border);
    padding-top: 24px;
}

.nx-pager .nav-links {
    display: flex;
    gap: 2px;
    flex-wrap: wrap
}

.nx-pager .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid var(--nx-border);
    color: var(--nx-ink);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    transition: border-color .15s, color .15s
}

.nx-pager .page-numbers.current {
    background: var(--nx-ink);
    color: #fff;
    border-color: var(--nx-ink)
}

.nx-pager .page-numbers:hover:not(.current) {
    border-color: var(--nx-gold);
    color: var(--nx-gold)
}

@media(max-width:640px) {
    .nx-archive {
        padding: 0 14px 60px
    }

    .nx-grid {
        grid-template-columns: 1fr;
        display: block;
    }

    .nx-mast {
        padding: 28px 0 22px;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 24px
    }

    .nx-mast__sub {
        text-align: left
    }

    .nx-view-switcher {
        width: 100%;
    }

    .nx-view-switcher__button {
        flex: 1;
    }
}

@media(max-width:960px) {
    .nx-spec {
        padding: 0 8px
    }

    .nx-spec:first-child {
        padding-left: 0
    }
}

@media(max-width:480px) {
    .nx-specs {
        flex-wrap: wrap;
        gap: 8px;
        border-bottom: none;
        padding: 10px 0
    }

    .nx-spec {
        flex: 0 0 calc(50% - 4px);
        border-right: none;
        padding: 0
    }

    .nx-body {
        padding: 16px 16px 18px
    }
}