/* ============================================================
   SNACKIT — Sell on Snackit / brands.html (page-only)
   Scoped under .page-brands — does not alter shared styles.
   ============================================================ */

.page-brands {
    --sell-ink: #0c0b09;
    --sell-stone: #c8bfae;
}

/* ---------- shared type ---------- */
.page-brands .sell-k {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.page-brands .sell-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.1rem, 5.2vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--white);
}

.page-brands .sell-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    color: var(--gold-bright);
}

.page-brands .sell-lead {
    margin-top: 1.25rem;
    max-width: 46ch;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.7;
    color: var(--muted);
}

/* ============================================================
   HERO — full-bleed product image (no video motion)
   ============================================================ */
.sell-hero {
    position: relative;
    min-height: 100svh;
    min-height: 100dvh;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--sell-ink);
}

.sell-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sell-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.sell-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.2) 35%, rgba(10, 10, 10, 0.75) 72%, rgba(10, 10, 10, 0.95) 100%),
        radial-gradient(80% 60% at 70% 20%, rgba(212, 175, 55, 0.12), transparent 55%);
    pointer-events: none;
}

.sell-hero__grain {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    pointer-events: none;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sell-hero__content {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: clamp(5.5rem, 12vh, 7.5rem);
    max-width: 16rem;
}

@media (min-width: 720px) {
    .sell-hero__content {
        max-width: 36rem;
    }
}

.sell-hero__brand {
    margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.sell-hero__brand img {
    width: clamp(7.5rem, 14vw, 10rem);
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.sell-hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 7vw, 5.4rem);
    line-height: 0.94;
    letter-spacing: -0.035em;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.sell-hero__title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    color: var(--gold-bright);
}

.sell-hero__sub {
    margin-top: clamp(1.1rem, 2.5vw, 1.6rem);
    max-width: 38ch;
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    line-height: 1.65;
    color: rgba(240, 236, 226, 0.82);
}

.sell-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.85rem;
}

.sell-hero__scroll {
    position: absolute;
    z-index: 2;
    left: var(--pad);
    bottom: clamp(1.4rem, 3vh, 2.2rem);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sell-stone);
    transition: color 0.25s;
}

.sell-hero__scroll svg {
    width: 1rem;
    height: 1rem;
    animation: sell-scroll-bob 1.8s var(--ease) infinite;
}

.sell-hero__scroll:hover { color: var(--gold-bright); }

@keyframes sell-scroll-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

[data-sell-reveal] {
    opacity: 0;
    transform: translateY(28px);
}

.sell-hero.is-ready [data-sell-reveal] {
    animation: sell-rise 1s var(--ease-expo) forwards;
}

.sell-hero.is-ready .sell-hero__brand { animation-delay: 0.08s; }
.sell-hero.is-ready .sell-hero__title { animation-delay: 0.22s; }
.sell-hero.is-ready .sell-hero__sub { animation-delay: 0.38s; }
.sell-hero.is-ready .sell-hero__actions { animation-delay: 0.5s; }
.sell-hero.is-ready .sell-hero__scroll { animation-delay: 0.7s; }

@keyframes sell-rise {
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   WHY
   ============================================================ */
.sell-why {
    position: relative;
    padding: clamp(4.5rem, 10vw, 7.5rem) 0;
    background:
        radial-gradient(90% 80% at 0% 0%, rgba(212, 175, 55, 0.1), transparent 50%),
        linear-gradient(180deg, #12110e 0%, var(--bg) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.sell-why__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.sell-why__lead {
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    line-height: 1.7;
    color: var(--muted);
    max-width: 38ch;
    padding-bottom: 0.35rem;
}

.sell-why__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(212, 175, 55, 0.16);
    border: 1px solid rgba(212, 175, 55, 0.16);
}

.sell-why__list li {
    display: grid;
    gap: 1.1rem;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    background: #12110e;
    transition: background 0.4s var(--ease);
}

.sell-why__list li:hover { background: #1a1812; }

.sell-why__num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--gold);
}

.sell-why__list h3 {
    font-family: var(--font-display);
    font-weight: 650;
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    color: var(--white);
    margin-bottom: 0.45rem;
}

.sell-why__list p {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

/* ============================================================
   RANGE — homepage product images
   ============================================================ */
.sell-range {
    padding: clamp(4rem, 9vw, 6.5rem) 0;
    background: linear-gradient(180deg, #16140f 0%, #0f0e0c 100%);
    border-block: 1px solid rgba(212, 175, 55, 0.1);
}

.sell-range__head {
    max-width: 36rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.sell-range__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.sell-cat,
.sell-cat--tall {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    isolation: isolate;
}

.sell-cat__media {
    position: absolute;
    inset: 0;
}

.sell-cat__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}

.sell-cat::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 40%, rgba(8, 7, 5, 0.9) 100%);
    pointer-events: none;
}

.sell-cat__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.35rem 1.25rem;
}

.sell-cat__tag {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 0.4rem;
}

.sell-cat__body h3 {
    font-family: var(--font-display);
    font-weight: 650;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    color: var(--white);
}

.sell-cat:hover .sell-cat__media img {
    transform: scale(1.05);
}

/* CTA — add your product */
.sell-cat--cta {
    background:
        radial-gradient(ellipse 85% 65% at 18% 12%, rgba(212, 175, 55, 0.3), transparent 55%),
        radial-gradient(ellipse 60% 50% at 92% 88%, rgba(212, 175, 55, 0.14), transparent 52%),
        linear-gradient(155deg, #17140f 0%, #0a0a0a 50%, #13110c 100%);
    border: 1px solid rgba(212, 175, 55, 0.34);
}
.sell-cat--cta::after { display: none; }
.sell-cat__cta {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.45rem 1.3rem;
    text-decoration: none;
    color: #fff;
}
.sell-cat__cta-glow {
    position: absolute;
    top: 14%;
    right: 6%;
    width: 46%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 214, 122, 0.38), transparent 68%);
    filter: blur(18px);
    pointer-events: none;
}
.sell-cat__cta .sell-cat__tag {
    position: relative;
    z-index: 1;
    color: #0a0a0a;
    background: var(--gold-bright);
    padding: 0.28rem 0.6rem;
    border-radius: 100px;
    margin-bottom: 0.15rem;
}
.sell-cat__cta h3 {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-weight: 650;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 11ch;
    margin: 0;
    color: var(--white);
}
.sell-cat__cta h3 em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--gold-bright);
}
.sell-cat__cta p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(247, 242, 234, 0.72);
    max-width: 24ch;
}
.sell-cat__cta-action {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--gold-bright);
}
.sell-cat__cta-action svg {
    width: 15px;
    height: 15px;
    transition: transform 0.35s var(--ease);
}
.sell-cat--cta:hover {
    border-color: rgba(245, 214, 122, 0.55);
    box-shadow: 0 22px 48px rgba(212, 175, 55, 0.18);
}
.sell-cat--cta:hover .sell-cat__cta-action svg {
    transform: translateX(4px);
}

/* ============================================================
   STEPS
   ============================================================ */
.sell-steps {
    padding: clamp(4.5rem, 10vw, 7rem) 0;
    background:
        radial-gradient(70% 80% at 100% 0%, rgba(212, 175, 55, 0.08), transparent 55%),
        var(--bg);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.sell-steps__head {
    max-width: 28rem;
    margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

.sell-steps__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

.sell-steps__list li {
    position: relative;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.22);
}

.sell-steps__n {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--gold);
    margin-bottom: 1.1rem;
}

.sell-steps__list h3 {
    font-family: var(--font-display);
    font-weight: 650;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    color: var(--white);
    margin-bottom: 0.65rem;
}

.sell-steps__list p {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 32ch;
}

/* ============================================================
   CTA
   ============================================================ */
.sell-cta {
    position: relative;
    overflow: hidden;
    min-height: clamp(22rem, 55vh, 32rem);
    display: grid;
    align-items: center;
}

.sell-cta__bg {
    position: absolute;
    inset: 0;
}

.sell-cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sell-cta__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(8, 7, 5, 0.92) 0%, rgba(8, 7, 5, 0.72) 48%, rgba(8, 7, 5, 0.55) 100%),
        radial-gradient(60% 80% at 80% 50%, rgba(212, 175, 55, 0.18), transparent 60%);
}

.sell-cta__inner {
    position: relative;
    z-index: 1;
    padding-block: clamp(4rem, 10vw, 6.5rem);
    max-width: 36rem;
}

.sell-cta__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--white);
}

.sell-cta__title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    color: var(--gold-bright);
}

.sell-cta__sub {
    margin-top: 1.2rem;
    font-size: 1.08rem;
    line-height: 1.65;
    color: rgba(240, 236, 226, 0.78);
    max-width: 34ch;
}

.sell-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.85rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .sell-why__grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .sell-why__list {
        grid-template-columns: 1fr;
    }

    .sell-range__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sell-cat,
    .sell-cat--tall {
        aspect-ratio: 4 / 5;
    }

    .sell-steps__list {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .sell-hero__content {
        padding-bottom: clamp(6rem, 18vh, 7.5rem);
    }

    .sell-hero__title {
        font-size: clamp(2.3rem, 11vw, 3.1rem);
    }

    .sell-hero__actions .btn,
    .sell-cta__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .sell-range__grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sell-hero__scroll svg,
    .sell-cat__media img,
    [data-sell-reveal] {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}
