/* *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } */

:root {
    --black:   #0d0d0d;
    --dark:    #141414;
    --card-bg: #191410;
    --gold:    #c9a84c;
    --gold-lt: #e4c47a;
    --gold-dk: #9a7530;
    --white:   #f5f0e8;
    --muted:   #9e9285;
    --border:  rgba(201,168,76,.25);
    --radius:  18px;
}

.designs-section-pixel {
    width: 100vw;
    min-height: 100vh;
    flex-direction: row;
    position: relative;
    overflow: hidden;
}

/* ── Title ─────────────────────────────────────── */
#section-title {
    text-align: center;
    font-family: 'Poppins', 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    background: color-mix(in srgb, #D3A14A 11%, #FFEFD9 94%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

/* ── Tabs ───────────────────────────────────────── */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 44px;
}

.tab-btn {
    padding: 10px 26px;
    border-radius: 50px;
    border: 1.5px solid rgba(201,168,76,.45);
    background: transparent;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}

.tab-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--gold-lt), var(--gold));
    border-color: transparent;
    color: #1a1200;
    box-shadow: 0 4px 18px rgba(201,168,76,.35);
}

/* ── Grid ───────────────────────────────────────── */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* ── Card ───────────────────────────────────────── */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s;
    animation: fadeUp .5s both;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(201,168,76,.3);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* stagger */
.card:nth-child(1) { animation-delay: .05s; }
.card:nth-child(2) { animation-delay: .12s; }
.card:nth-child(3) { animation-delay: .19s; }
.card:nth-child(4) { animation-delay: .26s; }
.card:nth-child(5) { animation-delay: .33s; }
.card:nth-child(6) { animation-delay: .40s; }

/* image wrapper */
.card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #1e1710;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.22,1,.36,1);
    filter: sepia(.25) brightness(.9);
}

.card:hover .card-img img {
    transform: scale(1.06);
    filter: sepia(.1) brightness(1);
}

/* gold border glow on hover */
.card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0;
    box-shadow: inset 0 0 0 1px rgba(201,168,76,0);
    transition: box-shadow .32s;
    pointer-events: none;
}
.card:hover .card-img::after {
    box-shadow: inset 0 0 0 1px rgba(201,168,76,.4);
}

/* body */
.card-body {
    padding: 22px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
}

.card-desc {
    font-size: .78rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--muted);
    text-align: center;
}

.card-btn {
    margin-top: 6px;
    padding: 11px 34px;
    border-radius: 50px;
    border: 1.5px solid rgba(201,168,76,.5);
    background: transparent;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}

.card-btn:hover {
    background: linear-gradient(135deg, var(--gold-lt), var(--gold));
    border-color: transparent;
    color: #1a1200;
    box-shadow: 0 4px 16px rgba(201,168,76,.3);
}

/* hidden cards */
.card.hidden { display: none; }