/* ==========================================================================
   1. GLOBAL STYLES & RESET
   ========================================================================== */

.advisory-board-section {
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.advisory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.advisor-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.advisor-photo {
    width: 185px;         
    height: 185px;        
    object-fit: cover;    
    border-radius: 0;     
    margin-bottom: 1.2rem;
    
    /* Lock them to 100% monochrome, slightly dialed back brightness initially */
    filter: grayscale(100%) brightness(100%); 
    transition: all 0.3s ease;
}

/* On hover: They stay black and white, but illuminate cleanly */
.advisor-card:hover .advisor-photo {
    filter: grayscale(100%) brightness(115%);
}

.advisor-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.advisor-bio {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.85;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* Typography Overrides */
h1, h2, h3 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
    margin-bottom: 1.2rem;
    position: relative;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: #4a4a4a;
}

.italic-title {
    font-style: italic;
    color: #555555;
}

/* ==========================================================================
   2. REUSABLE LAYOUT UTILITIES
   ========================================================================== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.alt-bg {
    background-color: #f8f9fa;
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.header-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px; /* Standard corporate logo height */
    width: auto;
}

.main-nav a {
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: #555555;
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #111111;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 6rem 0 6rem 0;
    background: radial-gradient(circle at 90% 10%, #fcfcfc 0%, #f4f4f4 100%);
}

.hero-section h1 {
    text-align: center; /* Forces ONLY the main headline to center */
    margin-bottom: 2.5rem;
}

.hero-section .container {
    max-width: 850px;
    margin: 0 auto;
}

.subhead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #4a4a4a;
    text-align: left; /* Keeps the paragraph left-aligned, ragged-right */
    max-width: 750px; /* Marginally pulls the text in for an even better line-length */
    margin: 0 auto;  /* Centers the text block itself within the container */
}

/* ==========================================================================
   5. FEATURE SECTIONS
   ========================================================================== */
.feature-section {
    padding: 6rem 0;
}

.feature-list {
    list-style-type: none;
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

/* Subtle architectural custom bullet points */
.feature-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: #999999;
    font-size: 0.8rem;
    top: 2px;
}

.feature-visual {
    text-align: center;
}

.feature-visual img {
    width: 100%;
    max-width: 500px;
    height: auto;
    /* border-radius: 6px; */
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.05); */
    /* border: 1px solid #e2e8f0; */
    
    /* Force transparency to override any global styles */
    background-color: transparent !important; 
    background: transparent !important;
}

.ui-caption {
    display: block;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: #888888;
    margin-top: 1rem;
}

/* Swaps the column layout order for alternating rows */
.visual-left .feature-text {
    grid-column: 2;
}
.visual-left .feature-visual {
    grid-column: 1;
    grid-row: 1;
}

/* ==========================================================================
   6. TEAM SECTION
   ========================================================================== */
.team-section {
    padding: 6rem 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.bio-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.bio-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    flex-shrink: 0;
}

.bio-card h3 {
    font-family: 'Roboto Slab', serif; /* Switches your name to the structured slab serif */
    font-weight: 700;                 /* Makes it bold and commanding */
    font-size: 1.6rem;
    color: #111111;
    letter-spacing: -0.01em;          /* Slightly tightens the spacing for a premium look */
    margin-bottom: 0.2rem;
}

.bio-card .title {
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #777777;
    margin-bottom: 1.5rem;
}

.bio-text {
    font-size: 1rem;
    line-height: 1.6;
}

.operational-framework {
    max-width: 800px;
    margin: 4rem auto 0 auto; /* Pushes it down by 4rem, keeps horizontal centering */
    padding: 2rem 3rem;
    border-left: 2px solid #ddd;
}

.operational-framework h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555555;
    margin-bottom: 0.5rem;
}

.operational-framework p {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 0;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.site-footer {
    background-color: #111111;
    color: #888888;
    padding: 3rem 0;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    background-color: #222222;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.linkedin-link:hover {
    background-color: #0077b5; /* Official LinkedIn Blue on Hover */
}

/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES (Mobile and Tablet viewports)
   ========================================================================== */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .visual-left .feature-text, 
    .visual-left .feature-visual {
        grid-column: auto;
        grid-row: auto;
    }
    
    .hero-section { padding: 3rem 0 3rem 0; }
    .feature-section { padding: 4rem 0; }
    
    .header-container, .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .main-nav a {
        margin: 0 1rem;
    }
    
    .bio-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    /* Consolidated Advisor Mobile Rules (Stacked Layout) */
    .advisory-grid {
        display: flex;
        flex-direction: column; 
        gap: 1.5rem;              
        margin-top: 1.5rem;
    }

    .advisor-card {
        display: flex;
        flex-direction: column; 
        align-items: flex-start; 
        text-align: left;
    }

    .advisor-photo {
        width: 140px !important;   
        height: 140px !important;  
        border-radius: 0 !important;     
        margin-bottom: 0.1rem !important;  
        filter: grayscale(100%) brightness(100%) !important; 
    }
    
    .advisor-title {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .advisor-bio {
        font-size: 0.9rem;   
        line-height: 1.45;
        opacity: 0.85;
    }

    /* Footer Links Container Mobile Fix */
    .footer-links {
        display: flex;
        flex-direction: column; 
        align-items: center;    
        gap: 0.75rem;           
    }

    /* Legal Links Mobile Overrides */
    .legal-link {
        display: inline-block;
        margin-left: 0 !important; 
        margin-top: 0.2rem;
        font-size: 0.85rem;
        width: auto; 
    }
}

/* ==========================================================================
   9. GLOBAL DESKTOP STYLES FOR LEGAL LINKS (Stays outside the media query)
   ========================================================================== */
.legal-link {
    color: inherit;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-left: 1.5rem; 
    transition: opacity 0.2s ease;
}

.legal-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.advisor-link {
    color: inherit;
    text-decoration: none;
}

.advisor-link:hover {
    text-decoration: underline;
}

.advisor-details, .advisor-link {
    position: relative !important;
    z-index: 9999 !important;
}