/* sora.markets - Muji Marketplace Network */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --muji-white: #FAFAF8;
    --natural-linen: #F0EDE5;
    --warm-charcoal: #3A3A3A;
    --wood-tan: #C8B090;
    --dark-charcoal: #1A1A1A;
    --muted-wood: #7A7060;
}
body {
    background: var(--muji-white);
    color: var(--dark-charcoal);
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    overflow-x: hidden;
}

/* Hero */
#hero {
    text-align: center;
    padding: 4rem 2rem 3rem;
}
.hero-title {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--warm-charcoal);
}
.hero-subtitle {
    font-size: 1rem;
    color: var(--muted-wood);
    margin-top: 0.25rem;
}

/* Hex Category Grid */
#categories {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}
.hex-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    justify-items: center;
}
.hex-cat {
    width: 100%;
    max-width: 160px;
    aspect-ratio: 1 / 1.15;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--tint, var(--natural-linen));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: transform 0.3s ease;
}
.hex-cat:hover {
    transform: scale(1.05);
}
.hex-label {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--warm-charcoal);
    text-align: center;
}

/* Listings */
#listings {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}
.list-header {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--warm-charcoal);
    border-bottom: 1px solid var(--wood-tan);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Product Rows */
.product-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #E8E4DC;
}
.product-box {
    width: 60px;
    height: 60px;
    background: var(--natural-linen);
    border: 1px solid var(--wood-tan);
    flex-shrink: 0;
    transform: perspective(200px) rotateY(-5deg) rotateX(3deg);
}
.box-b { background: #FFB4A2; }
.box-c { background: #C8B8E8; }
.box-d { background: #B4E4D0; }
.box-e { background: #FFD6A5; }
.product-info {
    display: flex;
    flex-direction: column;
}
.product-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-charcoal);
}
.product-price {
    font-family: 'Noto Sans Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--muted-wood);
    margin-top: 0.15rem;
}

/* Section animation */
.section {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
#footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--wood-tan);
}
.footer-text {
    font-size: 0.85rem;
    color: var(--muted-wood);
}

/* Responsive */
@media (max-width: 600px) {
    .hex-grid { grid-template-columns: repeat(2, 1fr); }
    .product-row { gap: 1rem; }
}
