/* space — terminal / clean slate */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,200;0,300;0,400;1,200;1,300&family=Space+Grotesk:wght@300;400;500&display=swap');

:root {
    --color-bg: #fafaf9;
    --color-text: #292524;
    --color-muted: #a8a29e;
    --color-subtle: #d6d3d1;
    --color-surface: #ffffff;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

/* Grain — barely there */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.02;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Navigation */
.nav-link {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

/* Buttons — bracket style */
.btn-bracket {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 300;
    padding: 10px 0;
    color: var(--color-text);
    transition: opacity 0.3s ease;
    display: inline-block;
}

.btn-bracket::before { content: '[ '; opacity: 0.4; }
.btn-bracket::after { content: ' ]'; opacity: 0.4; }

.btn-bracket:hover {
    opacity: 0.6;
}

/* Artwork cards */
.artwork-card {
    overflow: hidden;
}

.artwork-card img {
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease;
}

.artwork-card:hover img {
    transform: scale(1.02);
    opacity: 0.95;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Prose */
.prose-journal p {
    margin-bottom: 1.4em;
    line-height: 1.9;
}

.prose-journal blockquote {
    border-left: 1px solid var(--color-subtle);
    padding-left: 1.2em;
    margin: 1.5em 0;
    opacity: 0.7;
    font-style: italic;
}

.prose-journal img {
    margin: 2em 0;
    width: 100%;
}

/* Newsletter input */
.newsletter-input {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 300;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-subtle);
    padding: 10px 0;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--color-text);
}

.newsletter-input::placeholder {
    color: var(--color-muted);
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-subtle); border-radius: 2px; }
