/* ==========================================================================
   BUSINESS 8: DESIGN STUDIO (BENTO BOX GRID, MINIMALIST THEME)
   ========================================================================== */

:root {
    --primary: #1e293b;        /* Charcoal / Soft Black */
    --bg-white: #ffffff;
    --bg-light: #f5f5f4;       /* Warm Sand / Stone */
    --text-main: #334155;
    --text-muted: #64748b;
    --border: #e5e7eb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography - Elegant and sharp */
h1, h2, h3, h4, .logo { color: var(--primary); font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; }
h2 { font-size: clamp(2rem, 3vw, 2.5rem); margin-bottom: 15px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
img { max-width: 100%; display: block; border-radius: 16px; object-fit: cover; width: 100%; height: 100%; }
a { text-decoration: none; }

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary); color: white; }
.bg-dark h1, .bg-dark h2, .bg-dark p { color: white; }
.border-top { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.align-center { align-items: center; }
.eyebrow { color: var(--text-muted); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 15px; }
.font-sm { font-size: 0.9rem; }
.mb-4 { margin-bottom: 40px; } .mt-2 { margin-top: 20px; } .mt-4 { margin-top: 40px; } .pt-3 { padding-top: 20px; }

/* Banner */
.josef-preview-banner { background: var(--bg-light); color: var(--text-main); text-align: center; padding: 8px; font-size: 13px; border-bottom: 1px solid var(--border); }

/* Minimal Header */
.minimal-header { display: flex; justify-content: space-between; align-items: center; padding: 30px 2%; }
.logo { font-size: 1.8rem; letter-spacing: -1px; }
.nav-links { display: flex; gap: 40px; }
.nav-links a { color: var(--text-main); font-weight: 500; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 0.6; }
.btn-dark { background: var(--primary); color: white; padding: 1px 10px; border-radius: 50px; font-weight: 600; transition: transform 0.2s; display: inline-block; }
.btn-dark:hover { transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--primary); color: var(--primary); padding: 12px 28px; border-radius: 50px; font-weight: 600; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline:hover { background: var(--primary); color: white; }

/* =========================================================
   1. THE BENTO BOX HERO GRID (Full Screen Fit)
   ========================================================= */
.bento-hero { 
    height: calc(100vh - 130px); /* Calculates exactly 100% of your screen height, minus the header */
    min-height: 550px; /* Safety fallback so it doesn't crush on tiny screens */
    padding-bottom: 20px; 
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1.2fr 0.8fr; /* Uses flexible fractions instead of fixed pixels! */
    height: 100%; /* Forces the grid to stretch perfectly inside the hero */
    gap: 20px;
}
.port-img-wrap { 
    height: 500px; 
    border-radius: 16px; 
    margin-bottom: 20px; 
    overflow: hidden; 
}
.port-img-wrap img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease;
}
.portfolio-card:hover .port-img-wrap img {
    transform: scale(1.05); /* Adds a nice zoom effect on hover! */
}
.bento-item { 
    border-radius: 20px; 
    overflow: hidden; 
    padding: 30px; /* Slightly tighter padding to keep things inside */
    position: relative; 
}


/* Make sure text scales down gracefully on smaller laptops */
.bento-text-box { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.bento-text-box h1 { font-size: clamp(2rem, 3.5vw, 3.5rem); margin-bottom: 15px; }
.bento-text-box p { font-size: 1.05rem; color: var(--text-muted); max-width: 500px; margin-bottom: 10px; }

.bento-img-large { grid-column: span 1; grid-row: span 2; padding: 0; }
.bento-img-small { grid-column: span 1; padding: 0; }

.bento-stat-box { grid-column: span 1; display: flex; flex-direction: column; justify-content: space-between; }
.bento-stat-box h2 { font-size: clamp(3rem, 4vw, 4rem); margin: 0; line-height: 1; }
.bento-stat-box p { opacity: 0.8; font-size: 1rem; margin-top: 10px; }
.awards { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.2); font-size: 0.85rem; display: flex; align-items: center; gap: 10px; }/* 2. Philosophy */
.philosophy-section { padding: 100px 0; max-width: 900px; margin: 0 auto; }
.massive-text { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; line-height: 1.3; color: var(--primary); letter-spacing: -1px; }
.subtitle { font-size: 1.1rem; color: var(--text-muted); }

/* 3. Capabilities */
.capabilities-section { padding: 80px 0; }
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; }
.cap-col i { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; display: block; }
.cap-col h3 { font-size: 1.3rem; margin-bottom: 15px; }

/* 4. Portfolio */
.portfolio-section { padding: 100px 0; }
.link-arrow { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; border-bottom: 1px solid var(--primary); padding-bottom: 2px; }
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.mt-offset { margin-top: 80px; } /* Asymmetrical layout */
.port-img-placeholder { height: 500px; border-radius: 16px; margin-bottom: 20px; }
.bg-sand { background: var(--bg-light); }
.bg-charcoal { background: #cbd5e1; }
.port-info h3 { font-size: 1.5rem; margin-bottom: 5px; }
.port-info span { color: var(--text-muted); font-size: 0.9rem; letter-spacing: 1px; }

/* 5. Process */
.process-section { padding: 100px 0; }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; border-top: 1px solid var(--border); padding-top: 50px; }
.step { font-size: 0.85rem; font-weight: 800; color: var(--text-muted); margin-bottom: 15px; border: 1px solid var(--border); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.timeline-item h4 { font-size: 1.2rem; margin-bottom: 10px; }

/* 6. Testimonial */
.testimonial-section { padding: 100px 0; max-width: 900px; margin: 0 auto; }
.quote-mark { font-size: 8rem; color: var(--bg-light); line-height: 0; margin-bottom: 40px; font-family: serif; }
.massive-quote { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; line-height: 1.4; color: var(--primary); font-style: italic; }
.author { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }

/* 7. Footer */
.minimal-footer { padding: 80px 0 20px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.footer-links h4, .footer-newsletter h4 { margin-bottom: 20px; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-links p { color: var(--text-muted); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.input-group { display: flex; border-bottom: 1px solid var(--primary); padding-bottom: 10px; }
.input-group input { border: none; outline: none; background: transparent; flex: 1; font-family: 'Outfit'; font-size: 1rem; }
.input-group button { background: transparent; border: none; font-size: 1.2rem; cursor: pointer; color: var(--primary); }
.socials a { color: var(--primary); font-size: 1.3rem; margin-left: 20px; transition: opacity 0.2s; }
.socials a:hover { opacity: 0.5; }

/* Animations */
.fade-in-up { animation: fadeInUp 0.8s ease forwards; opacity: 0; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile Adaptations */
@media (max-width: 992px) {
    .hide-mobile { display: none; }
    /* Collapse Bento Grid to a single column on mobile */
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bento-text-box, .bento-img-large, .bento-stat-box { grid-column: span 1; }
    .bento-img-large { height: 400px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .mt-offset { margin-top: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}