/* --- Global Reset & CSS Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #FFFFFF;
    --color-text-dark: #000000;
    --color-text-body: #111111; /* Soft off-black for premium legibility */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg);
}

body {
    font-family: var(--font-body);
    color: var(--color-text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Layout Containers --- */
.header-container,
.hero-container,
.philosophy-container,
.focus-container,
.footer-container {
    max-width: 1200px; /* Slightly wider to beautifully fit 4 columns */
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- 1. Header Navigation --- */
.site-header {
    background-color: var(--color-bg);
    border-bottom: 1px solid #EEEEEE;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 40px;
    width: auto;
}

.company-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: var(--color-text-dark);
}

.site-nav a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-text-dark);
    margin-left: 2rem;
    letter-spacing: 0.5px;
    transition: opacity 0.2s ease;
}

.site-nav a:hover {
    opacity: 0.6;
}

/* --- 2. Hero Section --- */
.hero-section {
    padding: 8rem 0;
    border-bottom: 1px solid #000000;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-logo-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
}

.hero-content {
    flex: 1.5;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #555555;
    max-width: 550px;
}

/* --- 3. Philosophy Section --- */
.philosophy-section {
    padding: 6rem 0;
}

.philosophy-container {
    display: flex;
    gap: 4rem;
}

.philosophy-title-col {
    flex: 1;
}

.philosophy-title-col h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-dark);
}

.philosophy-text-col {
    flex: 1.5;
}

.philosophy-text-col p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-body);
}

.philosophy-text-col p:last-child {
    margin-bottom: 0;
}

.section-divider {
    max-width: 1200px;
    margin: 0 auto;
    border: 0;
    border-top: 1px solid #EEEEEE;
}

/* --- 4. Areas of Expertise Grid --- */
.focus-section {
    padding: 6rem 0;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.focus-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #000000;
}

.focus-card p {
    font-size: 0.95rem;
    color: #444444;
}

/* --- 5. Footer / CTA Section --- */
.site-footer {
    background-color: #000000;
    color: #FFFFFF;
    padding: 6rem 0;
    text-align: center;
}

.footer-container h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 1.1rem;
    color: #CCCCCC;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

/* Flexbox container for multiple advisors */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 6rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-details {
    text-align: center;
    flex: 1;
}

.contact-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.contact-title {
    font-size: 0.95rem;
    color: #AAAAAA;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-link {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.contact-link a {
    color: #FFFFFF;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.contact-link a:hover {
    border-bottom-color: #FFFFFF;
}

/* --- Responsive Layout Rules (Mobile & Tablets) --- */
@media (max-width: 1024px) {
    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    .hero-container,
    .philosophy-container {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto;
    }
    
    .philosophy-title-col h2 {
        font-size: 1.75rem;
    }

    .team-grid {
        flex-direction: column;
        gap: 3.5rem;
    }
}

@media (max-width: 650px) {
    .header-container {
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
        height: auto;
        padding: 1.5rem 1rem;
    }

    .site-nav a {
        margin: 0 0.75rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }

    .focus-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-container h2 {
        font-size: 2rem;
    }
}