:root {
    /* Scandinavian Color Palette */
    --bg-main: #F9F8F6; /* Soft warm off-white */
    --bg-secondary: #FFFFFF; /* Pure white for cards */
    --bg-tertiary: #F0EBE1; /* Slightly deeper warm tone for contrast */
    
    --text-main: #2C2A29; /* Soft charcoal, not pure black */
    --text-muted: #7B7874; /* Warm gray */
    
    --accent: #A88B7D; /* Muted terracotta/sand - warm and professional */
    --accent-hover: #8A7266;
    
    --border-color: #E8E5DF;
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Shapes */
    --radius: 16px;
    
    /* Transitions */
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--text-main);
}

p {
    font-weight: 400;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5vw;
}

.section-padding {
    padding: 8vw 0;
}

/* Scandinavian Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border-radius: 30px; /* Pill shape is common in Scandi UI */
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--text-main);
    color: var(--bg-main);
}

.btn-primary:hover {
    background-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(168, 139, 125, 0.15);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-smooth);
    padding: 2rem 0;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(249, 248, 246, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-primary {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-main);
}

.logo-secondary {
    font-size: 0.65rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 4px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: translateX(-50%) scale(1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-10px);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 999;
    pointer-events: none;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-inner {
    padding: 2rem 5vw;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 2rem;
    max-width: 800px;
    color: var(--text-main);
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    max-width: 600px;
    margin-bottom: 3.5rem;
}

/* Headers */
.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
}

.section-header {
    margin-bottom: 5rem;
}

.section-description {
    font-size: 1.1rem;
    max-width: 650px;
}

/* Bento Box About Section */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.bento-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.bento-content {
    padding: 2.5rem;
}

/* Grid Layout Assignments */
.bento-founder-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
.bento-founder-2 { grid-column: 3 / 5; grid-row: 1 / 2; }
.bento-stat-1 { grid-column: 1 / 2; grid-row: 2 / 3; text-align: center; }
.bento-stat-2 { grid-column: 2 / 3; grid-row: 2 / 3; text-align: center; }
.bento-cta { 
    grid-column: 3 / 5; 
    grid-row: 2 / 3; 
    background-color: var(--accent);
    color: #fff;
}

/* Bento Stats & CTA specific styles */
.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.cta-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}

.bento-btn {
    background: #fff;
    color: var(--text-main);
}

.bento-btn:hover {
    background: var(--text-main);
    color: #fff;
    box-shadow: none;
}

.founder-role {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.founder-name {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.founder-bio {
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.founder-link {
    font-size: 0.95rem;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.founder-link:hover {
    color: var(--accent);
    gap: 0.8rem;
}

/* Services Section */
.services {
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-main);
    padding: 2.5rem;
    border-radius: var(--radius);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transform: translateY(-3px);
}

.service-icon {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--bg-tertiary);
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-wrapper {
    background: var(--bg-secondary);
    padding: 5rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    max-width: 800px;
}

.contact-text {
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.contact-method h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.contact-method p, .contact-method a {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.6;
}

.contact-method a:hover {
    color: var(--accent);
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    padding: 4rem 0;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-brand {
    font-weight: 500;
    color: var(--text-main);
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a:hover {
    color: var(--text-main);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .bento-founder-1, .bento-founder-2, .bento-stat-1, .bento-stat-2, .bento-cta {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    
    .contact-wrapper {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
