/* lump.dev — Memphis Group in ethereal blue */
/* Colors: #1A3A5C, #2A4A6C, #3D6B99, #5B9BD5, #A8CCE8, #D0E4F5, #E8F0FA, #FFFFFF */
/* Fonts: Space Grotesk, Inter, Lora */

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #E8F0FA;
    color: #1A3A5C;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Floating Shapes */
.floating-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    transform: scale(0.9);
}

.shape.visible {
    opacity: 1;
    transform: scale(1);
}

.shape-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #5B9BD5;
    animation: shape-float 12s ease-in-out infinite;
}

.shape-circle.shape-small {
    width: 50px;
    height: 50px;
    border-width: 2px;
    border-color: #A8CCE8;
    animation-duration: 15s;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(61, 107, 153, 0.3);
    animation: shape-float 14s ease-in-out infinite reverse;
}

.shape-triangle.shape-small {
    border-left-width: 25px;
    border-right-width: 25px;
    border-bottom-width: 45px;
    border-bottom-color: rgba(168, 204, 232, 0.3);
    animation-duration: 18s;
}

.shape-squiggle {
    width: 60px;
    height: 30px;
    border: 3px solid #3D6B99;
    border-radius: 50% 0 50% 0;
    animation: shape-float 16s ease-in-out infinite;
}

@keyframes shape-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(5deg); }
    50% { transform: translate(-5px, 10px) rotate(-3deg); }
    75% { transform: translate(8px, 5px) rotate(2deg); }
}

/* Masonry Layout */
.masonry-layout {
    position: relative;
    z-index: 5;
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
}

/* Hero */
.hero-section {
    text-align: center;
    padding: 60px 0 40px;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(4rem, 10vw, 8rem);
    text-transform: uppercase;
    color: #1A3A5C;
    letter-spacing: -0.02em;
    text-shadow: 6px 6px 0 #A8CCE8;
    line-height: 0.9;
}

.hero-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #3D6B99;
    text-transform: uppercase;
    margin-top: 16px;
}

/* Pattern Strips */
.pattern-strip {
    width: 100%;
    height: 20px;
    margin: 16px 0;
}

.zigzag-strip {
    background: repeating-linear-gradient(
        135deg,
        #5B9BD5,
        #5B9BD5 4px,
        transparent 4px,
        transparent 8px,
        #A8CCE8 8px,
        #A8CCE8 12px,
        transparent 12px,
        transparent 16px
    );
}

.dot-strip {
    background-image: radial-gradient(circle, #3D6B99 3px, transparent 3px);
    background-size: 16px 16px;
}

/* Masonry Grid */
.masonry-grid {
    columns: 2;
    column-gap: 16px;
}

/* Card */
.masonry-card {
    break-inside: avoid;
    margin-bottom: 16px;
    padding: 24px;
    background-color: #FFFFFF;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.masonry-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Border styles */
.border-solid {
    border: 3px solid #2A4A6C;
}

.border-dashed {
    border: 3px dashed #5B9BD5;
}

.border-double {
    border: 5px double #3D6B99;
}

.border-dotted {
    border: 3px dotted #A8CCE8;
}

.border-zigzag {
    border: 3px solid #5B9BD5;
    border-image: repeating-linear-gradient(45deg, #5B9BD5, #5B9BD5 4px, #D0E4F5 4px, #D0E4F5 8px) 4;
}

/* Card Typography */
.card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    color: #1A3A5C;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.card-body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    line-height: 1.7;
    color: #2A4A6C;
}

.card-quote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.6;
    color: #3D6B99;
}

.card-attr {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.65rem;
    color: #5B9BD5;
    display: block;
    margin-top: 8px;
    letter-spacing: 0.05em;
}

.card-italic {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #3D6B99;
}

.card-list {
    list-style: none;
}

.card-list li {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #2A4A6C;
    padding: 6px 0;
    border-bottom: 1px solid #D0E4F5;
}

.card-list li:last-child {
    border-bottom: none;
}

.card-caption {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: #5B9BD5;
    text-transform: uppercase;
    display: block;
    margin-top: 12px;
}

/* Geometric composition */
.card-geo {
    padding: 20px 0;
}

.geo-stack {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 80px;
}

.geo-item {
    background-color: #D0E4F5;
}

.geo-rect {
    width: 40px;
    height: 50px;
    border: 2px solid #5B9BD5;
    background: transparent;
}

.geo-rect-tall {
    height: 70px;
    width: 30px;
}

.geo-circle-small {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #3D6B99;
    background: transparent;
}

/* Swatches */
.card-swatch-row {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.swatch {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(26, 58, 92, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .masonry-grid {
        columns: 1;
    }

    .hero-title {
        text-shadow: 4px 4px 0 #A8CCE8;
    }
}
