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

:root {
    --warm-cream: #fff8ee;
    --sand-light: #e0d4c4;
    --sand-mid: #ddd1c2;
    --sand-deep: #efe5d8;
    --caramel: #dbb48a;
    --amber: #e8943a;
    --terracotta: #d4a574;
    --muted-tan: #c4b49e;
    --golden: #c89760;
    --dark-brown: #3d3229;
    --warm-gray: #7a6b5d;
}

body {
    background-color: var(--warm-cream);
    font-family: 'Nunito', sans-serif;
    color: var(--dark-brown);
    min-height: 100vh;
    overflow-x: hidden;
    padding: 2rem;
    position: relative;
}

/* Bokeh Background */
.bokeh-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bokeh-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
}

.b1 { width: 200px; height: 200px; top: 10%; left: 5%; background: radial-gradient(circle, rgba(232, 148, 58, 0.08) 0%, transparent 70%); }
.b2 { width: 150px; height: 150px; top: 60%; left: 80%; background: radial-gradient(circle, rgba(219, 180, 138, 0.1) 0%, transparent 70%); }
.b3 { width: 120px; height: 120px; top: 30%; left: 70%; background: radial-gradient(circle, rgba(200, 151, 96, 0.07) 0%, transparent 70%); }
.b4 { width: 180px; height: 180px; top: 75%; left: 20%; background: radial-gradient(circle, rgba(232, 148, 58, 0.06) 0%, transparent 70%); }
.b5 { width: 100px; height: 100px; top: 5%; left: 50%; background: radial-gradient(circle, rgba(212, 165, 116, 0.09) 0%, transparent 70%); }
.b6 { width: 160px; height: 160px; top: 45%; left: 40%; background: radial-gradient(circle, rgba(219, 180, 138, 0.06) 0%, transparent 70%); }
.b7 { width: 80px; height: 80px; top: 85%; left: 60%; background: radial-gradient(circle, rgba(232, 148, 58, 0.08) 0%, transparent 70%); }
.b8 { width: 140px; height: 140px; top: 20%; left: 90%; background: radial-gradient(circle, rgba(200, 151, 96, 0.07) 0%, transparent 70%); }

/* Bento Grid */
.bento-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cell Base */
.bento-cell {
    background: rgba(239, 229, 216, 0.6);
    border-radius: 20px;
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    animation: cellFadeIn 0.6s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 
        0 2px 8px rgba(61, 50, 41, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-cell:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
        0 8px 24px rgba(61, 50, 41, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

@keyframes cellFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Staggered delays */
.bento-cell[data-cell="0"] { animation-delay: 0s; }
.bento-cell[data-cell="1"] { animation-delay: 0.08s; }
.bento-cell[data-cell="2"] { animation-delay: 0.16s; }
.bento-cell[data-cell="3"] { animation-delay: 0.24s; }
.bento-cell[data-cell="4"] { animation-delay: 0.32s; }
.bento-cell[data-cell="5"] { animation-delay: 0.4s; }
.bento-cell[data-cell="6"] { animation-delay: 0.48s; }
.bento-cell[data-cell="7"] { animation-delay: 0.56s; }

/* Cell Sizes - Bento asymmetry */
.cell-title {
    grid-column: span 2;
    grid-row: span 2;
    background: rgba(219, 180, 138, 0.15);
}

.cell-project {
    grid-column: span 2;
    grid-row: span 1;
}

.cell-note {
    grid-column: span 2;
    grid-row: span 1;
}

.cell-sketch {
    grid-column: span 1;
    grid-row: span 2;
}

.cell-about {
    grid-column: span 1;
    grid-row: span 1;
}

.cell-links {
    grid-column: span 1;
    grid-row: span 1;
}

.cell-mood {
    grid-column: span 2;
    grid-row: span 1;
}

.cell-time {
    grid-column: span 1;
    grid-row: span 1;
}

/* Typography */
.site-title {
    font-family: 'Caveat', cursive;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--dark-brown);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.site-subtitle {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--warm-gray);
}

.cell-label {
    font-family: 'Caveat', cursive;
    font-size: 1rem;
    color: var(--golden);
    margin-bottom: 0.75rem;
    display: block;
}

.cell-heading {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: var(--dark-brown);
    margin-bottom: 0.5rem;
}

.cell-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--warm-gray);
}

.cell-text.mono {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--warm-gray);
    font-style: italic;
}

/* Sketch */
.sketch-svg {
    width: 100%;
    height: auto;
    max-height: 200px;
}

/* Links */
.link-list {
    list-style: none;
}

.link-list li {
    margin-bottom: 0.5rem;
}

.link-list a {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    color: var(--golden);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.link-list a:hover {
    border-bottom-color: var(--golden);
}

/* Mood Orbs - Inflated 3D */
.mood-orbs {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.orb {
    border-radius: 50%;
    position: relative;
}

.orb-1 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 35% 35%, #f0d4a8, var(--caramel) 60%, #a07540);
    box-shadow: 0 6px 20px rgba(219, 180, 138, 0.4), inset 0 -4px 8px rgba(0,0,0,0.1);
}

.orb-2 {
    width: 45px;
    height: 45px;
    background: radial-gradient(circle at 35% 35%, #f5c080, var(--amber) 60%, #b06820);
    box-shadow: 0 6px 20px rgba(232, 148, 58, 0.3), inset 0 -4px 8px rgba(0,0,0,0.1);
}

.orb-3 {
    width: 35px;
    height: 35px;
    background: radial-gradient(circle at 35% 35%, #e8d8c8, var(--muted-tan) 60%, #8a7a6a);
    box-shadow: 0 6px 20px rgba(196, 180, 158, 0.4), inset 0 -4px 8px rgba(0,0,0,0.1);
}

/* Time */
.time-text {
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    color: var(--warm-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(140px, auto);
    }

    .cell-title {
        grid-column: span 2;
        grid-row: span 1;
    }

    .cell-project { grid-column: span 2; }
    .cell-note { grid-column: span 2; }
    .cell-sketch { grid-column: span 1; grid-row: span 1; }
    .cell-mood { grid-column: span 2; }

    .site-title {
        font-size: 3rem;
    }

    body {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .cell-title,
    .cell-project,
    .cell-note,
    .cell-sketch,
    .cell-mood {
        grid-column: span 1;
    }
}
