:root {
    --cream: #f8f5f0;
    --charcoal: #2a2522;
    --rust: #b74a41;
    --sage: #8b9d77;
    --ink: #1a1612;
    --paper: #fffef9;
    --shadow: rgba(26, 22, 18, 0.15);
    --shadow-strong: rgba(26, 22, 18, 0.3);
}

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

body {
	font-family: museo-sans, sans-serif;
	font-weight: 300;
	font-size: 1.75em;
	/* From Claude
    font-family: 'Crimson Pro', serif;
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
	*/
}

h1, h2{
	font-variant-caps: all-small-caps;
	color: #b74a41;
	margin-bottom: 0;
}

/* Grain texture overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 100;
    mix-blend-mode: multiply;
    opacity: 0.5;
}

/* Decorative elements */
.decoration {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.decoration-top {
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, var(--rust) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.decoration-bottom {
    bottom: -100px;
    left: -150px;
    background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* Header */
.site-header {
	/*Mine*/
	padding: 1rem 0;
	background-color: #000;
	/*Claude*/
    /*padding: 2rem 0;*/
    border-bottom: 2px solid var(--charcoal);
    /*background-color: var(--paper);*/
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 10px var(--shadow);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-content {
	/*Mine*/
	/*Claude*/
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.site-title {
	/*Mine*/
	font-weight: 900;
	font-variant-caps: all-small-caps;
	color: #fff;
	font-size: 1.8em;
	line-height: .8em;
	margin: 0;
	/*Claude*/
    /*font-family: 'DM Mono', monospace;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -1px;
    display: flex;
    flex-direction: column;
    line-height: 1.1;*/
}


.main-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
	/*Mine*/
	color: #fff;
	/*Claude*/
    /*font-family: 'DM Mono', monospace;*/
    font-size: 0.95rem;
    font-weight: 400;
    /*color: var(--charcoal);*/
    text-decoration: none;
    position: relative;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
	/*Mine*/
	/*Claude*/
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--rust);
    transition: width 0.3s ease;
}

.nav-link:hover {
	/*Mine*/
	/*Claude*/
    color: var(--rust);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-store {
    background-color: var(--rust);
    color: var(--paper);
    padding: 0.5rem 1.2rem;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-link-store::after {
    display: none;
}

.nav-link-store:hover {
    background-color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

/* Main content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.section-title {
    /*font-family: 'Crimson Pro', serif;*/
    font-size: 2.5rem;
    font-weight: 700;
    /*color: var(--ink);*/
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--rust);
}

/* Project Grid - Flexbox */
.project-grid {
    display: flex;
    gap: 2rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    background-color: var(--paper);
    flex: 1;
    min-width: 300px;
}

.project-card-large {
    flex: 2;
    min-width: 400px;
}

.card-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .card-image img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 22, 18, 0.95) 0%, rgba(26, 22, 18, 0.7) 60%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.card-title {
    /*font-family: 'Crimson Pro', serif;*/
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--paper);
    margin-bottom: 0.3rem;
}

.card-desc {
    font-family: 'DM Mono', monospace;
    font-size: 0.9rem;
    color: var(--cream);
    font-weight: 300;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-strong);
}

/* Store Section - Flexbox */
.store-section {
    margin-bottom: 5rem;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

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

.store-flex {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.store-item {
    flex: 1;
    min-width: 350px;
    display: flex;
    background-color: var(--paper);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.4s ease;
    text-decoration: none;
    align-items: center;
}

.store-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px var(--shadow-strong);
}

.store-image {
    flex: 0 0 200px;
    height: 200px;
    overflow: hidden;
}

.store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.store-item:hover .store-image img {
    transform: scale(1.1) rotate(2deg);
}

.store-info {
    flex: 1;
    padding: 2rem;
}

.store-title {
    /*font-family: 'Crimson Pro', serif;*/
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.store-desc {
    font-family: 'DM Mono', monospace;
    font-size: 0.95rem;
    color: var(--sage);
    font-weight: 300;
}

/* Misc Section - Flexbox */
.misc-section {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.misc-flex {
    display: flex;
    justify-content: center;
}

.misc-card {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--paper);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 20px var(--shadow);
    text-decoration: none;
    transition: all 0.4s ease;
}

.misc-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px var(--shadow-strong);
}

.misc-image {
    margin-bottom: 1.5rem;
}

.misc-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.misc-tagline {
    /*font-family: 'Crimson Pro', serif;*/
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
    color: var(--charcoal);
    text-align: center;
}

/* Footer */
.site-footer {
    background-color: var(--ink);
    color: var(--cream);
    padding: 2rem;
    text-align: center;
    margin-top: 5rem;
    border-top: 3px solid var(--rust);
}

.footer-text {
    /*font-family: 'DM Mono', monospace;*/
    font-size: 0.9rem;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .site-title {
        align-items: center;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .project-grid {
        flex-direction: column;
    }
    
    .project-card,
    .project-card-large {
        min-width: 100%;
    }
    
    .card-image {
        height: 300px;
    }
    
    .store-item {
        flex-direction: column;
        min-width: 100%;
    }
    
    .store-image {
        flex: 0 0 250px;
        width: 100%;
        height: 250px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 2rem 1rem 3rem;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .card-title {
        font-size: 1.4rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
}
