/* opensource.bid - Brutalist Auction Terminal */

:root {
    --white: #FAFAFA;
    --black: #0A0A0A;
    --bid-red: #E62222;
    --lot-grey: #7A7A7A;
    --border: #000000;
    --void: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

/* --- THE GAVEL --- */
#gavel {
    min-height: 100vh;
    background: var(--white);
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 15vh 5vw 5vh;
}

.gavel-frame {
    border-left: 8px solid var(--black);
    border-bottom: 8px solid var(--black);
    padding: 0 0 4vh 2vw;
    width: 100%;
}

.bid-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(20vw, 30vw, 40vw);
    line-height: 0.85;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--black);
    margin-left: 0;
    margin-top: -2vh;
}

.manifesto {
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--lot-grey);
    max-width: 500px;
    margin-top: 3em;
    line-height: 1.7;
}

/* --- LOT CATALOGUE --- */
#lots {
    padding: 4rem 5vw;
}

.lot-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
}

.lot {
    padding: 2.5rem;
    position: relative;
}

.lot-full {
    grid-column: 1 / 13;
}

.lot-half-left {
    grid-column: 1 / 6;
}

.lot-half-right {
    grid-column: 6 / 13;
}

.lot-narrow-right {
    grid-column: 8 / 13;
    margin-top: 40px;
}

/* Border fragments */
.border-lb {
    border-left: 4px solid var(--black);
    border-bottom: 4px solid var(--black);
}

.border-tr {
    border-top: 4px solid var(--black);
    border-right: 4px solid var(--black);
}

.border-all {
    border: 4px solid var(--black);
}

.lot-number {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 6vw, 5rem);
    letter-spacing: -0.02em;
    color: var(--black);
    display: block;
    margin-bottom: 0.2em;
    mix-blend-mode: difference;
}

.lot-title {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--black);
    margin-bottom: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.lot-desc {
    color: var(--lot-grey);
    margin-bottom: 1.5em;
    max-width: 600px;
}

.lot-bid {
    display: flex;
    align-items: baseline;
    gap: 1em;
}

.bid-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--lot-grey);
    text-transform: uppercase;
}

.bid-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--bid-red);
    letter-spacing: -0.01em;
}

/* --- BIDDING FLOOR --- */
#bidding-floor-wrapper {
    overflow: hidden;
    padding: 80px 0;
}

#bidding-floor {
    background: var(--black);
    color: var(--white);
    transform: rotate(-3deg) scale(1.05);
    padding: 80px 60px;
    border-top: 4px solid var(--white);
    border-right: 4px solid var(--white);
}

.floor-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 1em;
    color: var(--white);
}

.floor-content {
    max-width: 700px;
}

.floor-content p {
    color: rgba(250, 250, 250, 0.85);
    margin-bottom: 1.5em;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    line-height: 1.7;
}

.floor-content p:last-child {
    color: var(--bid-red);
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: 1rem;
}

/* --- RESERVE PRICE --- */
#reserve-price {
    min-height: 100vh;
    background: var(--void);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.reserve-content {
    text-align: center;
    max-width: 500px;
}

.reserve-content p {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--black);
    margin-bottom: 1em;
    line-height: 1.8;
}

/* --- HAMMER DOWN --- */
#hammer-down {
    background: var(--black);
    padding: 3rem 5vw;
}

.hammer-content {
    max-width: 600px;
}

.hammer-content p {
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 1.2em;
    letter-spacing: 0.02em;
}

.sold {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: clamp(3rem, 8vw, 6rem) !important;
    letter-spacing: -0.02em;
    color: var(--bid-red) !important;
    margin-top: 1em !important;
    line-height: 1 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .lot-half-left,
    .lot-half-right,
    .lot-narrow-right {
        grid-column: 1 / 13;
    }

    .lot-narrow-right {
        margin-top: 0;
    }

    #bidding-floor {
        padding: 60px 30px;
    }

    .gavel-frame {
        border-left-width: 5px;
        border-bottom-width: 5px;
    }
}
