:root {
    /* Color Palette - Calm and editorial */
    --primary-blue: #1B4B94;
    --primary-blue-light: #2565C7;
    --primary-blue-dark: #0D2447;
    --clarus-blue: #2A7DAC;
    --clarus-dark: #1E5A7D;
    --clarus-light: #4A90E2;

    /* Neutral Colors */
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --bg-blue-light: #f0f7fb;
    --border-color: #e8e8e8;

    /* Gradients */
    --gradient-1: linear-gradient(135deg, #1B4B94 0%, #2A7DAC 100%);
    --gradient-2: linear-gradient(135deg, #2565C7 0%, #4A90E2 100%);
    --gradient-3: linear-gradient(135deg, #0D2447 0%, #1B4B94 100%);

    /* Typography - Editorial feel */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing - Generous whitespace */
    --section-padding: 8rem 0;
    --container-padding: 0 3rem;

    /* Shadows - Enhanced depth */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg-white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.62rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
}

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

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(27, 75, 148, 0.03) 0%, rgba(42, 125, 172, 0.05) 100%);
    padding: 8rem 0 10rem;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(42, 125, 172, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-mark {
    margin-bottom: 3rem;
}

.hero-logo {
    max-width: 600px;
    height: auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-medium);
    letter-spacing: 0.01em;
    line-height: 1.6;
}

/* Story Section */
.story {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-blue-light) 50%, var(--bg-white) 100%);
    position: relative;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-header {
    text-align: center;
    margin-bottom: 5rem;
}

.story-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-blue);
    letter-spacing: 0.03em;
}

.narrative {
    margin-bottom: 6rem;
}

.lead {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 3rem;
    letter-spacing: 0.01em;
}

.vintage-logo {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.vintage-logo-img {
    max-width: 300px;
    height: auto;
    opacity: 0.9;
}

.story-body p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 300;
}

.story-body p:last-child {
    margin-bottom: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 3rem;
    margin-top: 5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.25rem;
    top: 0.5rem;
    width: 7px;
    height: 7px;
    background: var(--primary-blue);
    border-radius: 50%;
}

.timeline-year {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.timeline-content h4 {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Clarus Handoff Section */
.clarus-handoff {
    padding: 8rem 0;
    background: var(--gradient-1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.clarus-handoff::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.handoff-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.handoff-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--bg-white);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    letter-spacing: 0.01em;
}

.handoff-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--bg-white);
    color: #2A7DAC;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.02em;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.handoff-button:hover {
    background: var(--bg-white);
    color: #1E5A7D;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-blue-light) 100%);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo-img {
    height: 88px;
    width: auto;
}

.footer-est {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

.footer-clarus a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-clarus a:hover {
    opacity: 0.8;
}

.footer-clarus-logo {
    height: 76px;
    width: auto;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--text-medium);
    font-size: 0.875rem;
    font-weight: 300;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 2px solid var(--primary-blue);
    padding: 1.5rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.cookie-btn.accept {
    background: var(--primary-blue);
    color: var(--bg-white);
}

.cookie-btn.accept:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cookie-btn.decline {
    background: transparent;
    color: var(--text-medium);
    border: 1px solid var(--border-color);
}

.cookie-btn.decline:hover {
    background: var(--bg-light);
    border-color: var(--text-medium);
}

/* Responsive Design */
@media (max-width: 968px) {
    :root {
        --section-padding: 5rem 0;
        --container-padding: 0 2rem;
    }

    .nav-content {
        padding: 1.5rem 0;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero {
        padding: 5rem 0 6rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .story-header h2 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.25rem;
    }

    .story-body p {
        font-size: 1rem;
    }

    .handoff-text {
        font-size: 1.25rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-logo-img {
        height: 60px;
    }

    .footer-clarus-logo {
        height: 54px;
    }

    .footer-content {
        gap: 3rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        padding: 0 2rem;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    :root {
        --container-padding: 0 1.5rem;
    }

    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .hero {
        padding: 4rem 0 5rem;
    }

    .hero-logo {
        max-width: 150px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .story-header h2 {
        font-size: 1.75rem;
    }

    .lead {
        font-size: 1.125rem;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .handoff-text {
        font-size: 1.125rem;
    }

    .handoff-button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}
