/* ============================================
   mujun.day - Watercolor Brutalism
   ============================================ */
:root {
    --deep-void: #0A0A12;
    --frost-glass: rgba(232, 234, 246, 0.07);
    --wash-blue: #8AA4D4;
    --wash-rose: #C47A8A;
    --wash-ochre: #D4A843;
    --frost-white: #F0F0F8;
    --grid-line: #2A2A3E;
    --contradiction: #5C5C7A;
    --text-accent: #E8EAF6;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }
body {
    background: var(--deep-void);
    color: var(--frost-white);
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    line-height: 1.65;
    letter-spacing: 0.03em;
    overflow-x: hidden;
}

/* --- Wash Header --- */
.wash-header {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.wash-blob {
    position: absolute;
    border-radius: 30% 70% 60% 40% / 50% 30% 70% 50%;
    filter: blur(20px);
    animation: blobMorph 20s ease-in-out infinite;
    pointer-events: none;
}
.wash-hero-blob1 {
    width: 400px; height: 400px;
    top: 10%; left: 5%;
    background: rgba(138, 164, 212, 0.25);
}
.wash-hero-blob2 {
    width: 350px; height: 300px;
    top: 30%; right: 10%;
    background: rgba(196, 122, 138, 0.2);
    animation-delay: -7s;
}
.wash-hero-blob3 {
    width: 250px; height: 250px;
    bottom: 15%; left: 30%;
    background: rgba(212, 168, 67, 0.15);
    animation-delay: -13s;
}
@keyframes blobMorph {
    0%,100% { border-radius: 30% 70% 60% 40% / 50% 30% 70% 50%; }
    25% { border-radius: 60% 40% 30% 70% / 40% 60% 50% 50%; }
    50% { border-radius: 40% 60% 70% 30% / 60% 40% 30% 70%; }
    75% { border-radius: 70% 30% 40% 60% / 30% 70% 60% 40%; }
}
.header-prompt {
    position: relative;
    z-index: 10;
}
.prompt-text {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    color: var(--frost-white);
    border: 1px solid transparent;
    padding: 8px 16px;
    display: inline-block;
    animation: borderDraw 4s ease forwards;
}
@keyframes borderDraw {
    0% { border-color: transparent; }
    25% { border-bottom-color: var(--grid-line); }
    50% { border-bottom-color: var(--grid-line); border-left-color: var(--grid-line); }
    75% { border-bottom-color: var(--grid-line); border-left-color: var(--grid-line); border-top-color: var(--grid-line); }
    100% { border-color: var(--grid-line); }
}
.header-rule {
    width: 60%;
    height: 1px;
    background: var(--grid-line);
    margin-top: 2rem;
    animation: rulePulse 3s ease-in-out infinite;
}
@keyframes rulePulse {
    0%,100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* --- Contradiction Strip --- */
.contradiction-strip {
    height: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: rgba(10, 10, 18, 0.6);
    backdrop-filter: blur(8px);
    position: relative;
}
.strip-text {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 300;
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    color: var(--wash-blue);
    white-space: nowrap;
    animation: stripScroll 120s linear infinite;
    padding-left: 100%;
}
@keyframes stripScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* --- Card Field --- */
.card-field {
    max-width: 1120px;
    margin: 3rem auto;
    padding: 0 2rem;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}
.card {
    position: relative;
    backdrop-filter: blur(16px);
    background: var(--frost-glass);
    border: 1px solid rgba(42, 42, 62, 0.3);
    border-radius: 2px;
    padding: 1.5rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    animation: borderCycle 6s ease-in-out infinite;
}
.card.visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes borderCycle {
    0%,100% { border-color: rgba(42, 42, 62, 0.3); }
    50% { border-color: rgba(138, 164, 212, 0.5); }
}
.card-span-3 { grid-column: span 3; }
.card-span-4 { grid-column: span 4; }
.card-span-5 { grid-column: span 5; }
.stagger-0 { margin-top: 0; }
.stagger-12 { margin-top: 12px; }
.stagger-28 { margin-top: 28px; }
.stagger-40 { margin-top: 40px; }

.card-blob {
    width: 200px; height: 200px;
    top: -30px; right: -30px;
    filter: blur(20px);
    z-index: 0;
}
.blob-blue { background: rgba(138, 164, 212, 0.35); }
.blob-rose { background: rgba(196, 122, 138, 0.3); }
.blob-ochre { background: rgba(212, 168, 67, 0.25); }

.card-label {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 300;
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    color: var(--contradiction);
    display: block;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
}
.card-heading {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--frost-white);
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
}
.card-text {
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    line-height: 1.65;
    color: var(--frost-white);
    opacity: 0.85;
    position: relative;
    z-index: 2;
}

/* --- Drip Footer --- */
.drip-footer {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 3rem;
    overflow: hidden;
}
.footer-blob1 {
    width: 500px; height: 300px;
    top: 0; left: 20%;
    background: rgba(138, 164, 212, 0.15);
    filter: blur(30px);
}
.footer-blob2 {
    width: 400px; height: 250px;
    top: 10%; right: 15%;
    background: rgba(196, 122, 138, 0.1);
    filter: blur(25px);
    animation-delay: -5s;
}
.footer-timestamp {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--contradiction);
    position: relative;
    z-index: 5;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .card-span-3, .card-span-4, .card-span-5 { grid-column: span 4; }
    .stagger-12, .stagger-28, .stagger-40 { margin-top: 0; }
    .strip-text {
        white-space: normal;
        animation: none;
        padding-left: 1rem;
    }
    .wash-hero-blob1 { width: 250px; height: 250px; }
    .wash-hero-blob2 { width: 200px; height: 180px; }
}
@media (max-width: 480px) {
    .card-grid { grid-template-columns: 1fr; }
    .card-span-3, .card-span-4, .card-span-5 { grid-column: span 1; }
}
