/* 
   Theme: Deep Gautam - Visionary (Bento Edition)
   Style: High-End, Cinematic, Bento Grid, Grainy Gradients
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-dark: #050505;
    --card-surface: #101010;
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #ededed;
    --text-muted: #888888;
    --accent: #333;
    --accent-glow: rgba(255, 255, 255, 0.1);
    --brand-blue: #2563eb;
    --brand-purple: #7c3aed;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --grid-gap: 24px;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Background Grain Texture */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography & Utilities */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    margin: 0;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.text-gradient {
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subhead {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

/* Layout */
.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 60px;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: -1px;
}

/* BENTO GRID SYSTEM */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(auto-fill, minmax(200px, auto));
    gap: var(--grid-gap);
    margin-bottom: 80px;
}

/* Bento Cells */
.bento-card {
    background: var(--card-surface);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Specialized Cells */
.col-span-1 {
    grid-column: span 1;
}

.col-span-2 {
    grid-column: span 2;
}

.col-span-3 {
    grid-column: span 3;
}

.col-span-4 {
    grid-column: span 4;
}

.row-span-1 {
    grid-row: span 1;
}

.row-span-2 {
    grid-row: span 2;
}

/* Bio / Hero Card */
.card-hero {
    background: radial-gradient(circle at top right, #2a2a2a, #101010);
    justify-content: flex-end;
}

.card-hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-top: auto;
}

.card-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 80%;
    margin-top: 16px;
}

/* Startup Card */
.card-startup {
    position: relative;
    justify-content: space-between;
    min-height: 300px;
}

.startup-logo {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #000;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Social Card */
.social-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.social-icon {
    font-size: 2rem;
}

/* Image Card */
.card-image {
    padding: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.card-image:hover img {
    transform: scale(1.05);
}

/* Vision */
.card-vision {
    background: #000;
    /* Contrast */
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Updates Feed Styling in Bento */
.feed-header {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 15px;
}

.update-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.update-item:last-child {
    border: none;
}

.update-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.update-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #333;
}

.update-content {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ddd;
}

.media-grid-micro {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
}

.media-grid-micro img {
    width: 100%;
    height: 100px;
    /* Thumbnail size */
    object-fit: cover;
}


/* Footer */
.footer-bento {
    text-align: center;
    color: var(--text-muted);
    padding: 40px;
    font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .col-span-3,
    .col-span-4 {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .col-span-1,
    .col-span-2,
    .col-span-3,
    .col-span-4 {
        grid-column: span 1;
    }

    .card-hero h1 {
        font-size: 2.5rem;
    }
}