:root {
    --bg-color: #ffffff;
    --bg-secondary: #f3f6fc;
    /* Light cool blue background */
    --text-primary: #1a1a1a;
    --text-secondary: #576b95;
    /* Cool blue-grey */
    --accent-color: #222e50;
    /* Deep Navy */
    --accent-light: #475a8a;
    /* Lighter Navy */
    --accent-vibrant: #3b5bdb;
    /* Vibrant Blue for highlights */
    --border-color: #e2e8f0;
    --font-brand: 'Space Grotesk',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        Roboto,
        sans-serif;
    --font-ui: 'Inter',
        sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1000px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-brand);
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    max-width: 65ch;
}

.text-secondary {
    color: var(--text-secondary);
}

.text-vibrant {
    color: var(--accent-vibrant);
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(243, 246, 252, 0.5) 100%);
}

section:last-of-type {
    border-bottom: none;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    background: var(--bg-color);
    border-bottom: 1px solid var(--text-primary);
    padding: 1.5rem 0;
    z-index: 1000;
}

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

.logo {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    /* Slightly smaller to balance with text */
    width: auto;
}

.logo span {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--accent-color);
    text-transform: uppercase;
    padding-top: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: color var(--transition-fast);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--accent-color);
}

.hero-content {
    padding: 4rem 0;
}

.hero p {
    font-size: 1.5rem;
    font-weight: 500;
}

/* Story Sections */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.story-item h3 {
    border-top: 2px solid var(--accent-color);
    padding-top: 1rem;
    display: inline-block;
    margin-bottom: 2rem;
}

/* Philosophy */
.philosophy-box {
    border: 2px solid var(--accent-color);
    padding: 4rem;
    margin: 4rem 0;
    background-color: rgba(34, 46, 80, 0.03);
    /* Subtle tint */
}

/* Privacy Page Specifics */
.privacy-page {
    padding-top: 4rem;
}

.privacy-page section {
    padding: 3rem 0;
}

.privacy-page h2 {
    margin-top: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

/* Footer */
footer {
    padding: 6rem 0 2rem;
    font-family: var(--font-ui);
    font-size: 0.875rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

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

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    border-bottom-color: var(--text-primary);
}

.signature {
    font-weight: 600;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-fast);
}

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

/* Responsive */
@media (max-width: 768px) {
    :root {
        --max-width: 100%;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Navigation */
    nav .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
        width: 100%;
        justify-content: center;
    }

    /* Hero */
    .hero {
        min-height: 60vh;
        text-align: center;
    }

    .hero-content {
        padding: 3rem 0;
    }

    /* Typography fixes for mobile */
    h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 1.5rem;
    }

    /* Layout */
    section {
        padding: 5rem 0;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 3rem;
    }

    .philosophy-box {
        padding: 2rem;
        margin: 2rem 0;
    }

    /* Footer */
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
        margin-bottom: 3rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    footer {
        padding: 4rem 0 2rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .logo span {
        font-size: 1.25rem;
    }

    h1 {
        font-size: 2.5rem; 
    }
}