* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: #1a1a1a;
    background: #f7f7f5;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e8e6e3;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.nav nav {
    display: flex;
    gap: 1rem;
}

.brand {
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hero {
    padding: 4rem 0 2.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%);
}

.hero h1 {
    font-size: clamp(1.7rem, 5vw, 3rem);
    margin: 0 0 0.75rem;
    max-width: 18ch;
}

.hero p {
    max-width: 58ch;
}

.hero-actions {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.filters input,
.filters select,
.filters button {
    padding: 0.62rem 0.7rem;
    border: 1px solid #d8d5d0;
    border-radius: 0.35rem;
    background: #fff;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1rem;
    border-radius: 0.4rem;
    font-weight: 600;
}

.btn-primary {
    background: #101010;
    color: #ffffff;
}

.btn-secondary {
    border: 1px solid #d2cfca;
    background: #ffffff;
}

.section {
    padding: 2rem 0;
}

.section-alt {
    background: #ffffff;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.card {
    background: #ffffff;
    border: 1px solid #e8e6e3;
    border-radius: 0.5rem;
    overflow: hidden;
}

.card-image,
.detail-image {
    width: 100%;
    height: auto;
    display: block;
}

.card-body {
    padding: 0.9rem;
}

.eyebrow {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: #666;
}

.price {
    font-weight: 700;
}

.sold {
    color: #8f2f2f;
    font-weight: 700;
}

.detail {
    display: grid;
    gap: 1rem;
}

.prose {
    max-width: 760px;
}

.stack {
    display: grid;
    gap: 0.9rem;
}

.form-card {
    background: #fff;
    border: 1px solid #e8e6e3;
    border-radius: 0.5rem;
    padding: 1rem;
}

.form-card input,
.form-card textarea {
    width: 100%;
    padding: 0.62rem 0.7rem;
    border: 1px solid #d8d5d0;
    border-radius: 0.35rem;
}

.flash-wrap {
    margin-top: 0.8rem;
}

.flash {
    background: #eaf8ee;
    color: #0b5b23;
    border: 1px solid #bfe5c8;
    border-radius: 0.4rem;
    padding: 0.6rem 0.8rem;
}

@media (min-width: 720px) {
    .filters {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        align-items: center;
    }

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

    .detail {
        grid-template-columns: 1.1fr 1fr;
    }
}

@media (min-width: 1000px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
