:root {
    --primary: #1a73e8;
    --secondary: #202124;
    --bg-app: #f8f9fa;
    --surface: #ffffff;
    --text-main: #202124;
    --text-muted: #5f6368;
    --urgent: #f9ab00;
    --nav-height: 100px;
    --nav-height-scrolled: 80px;
    --banner-height: 40px;
    --header-offset: var(--nav-height);
    --font-h1: clamp(2.2rem, 8vw, 4.5rem);
    --font-h2: clamp(1.8rem, 5vw, 2.8rem);
    --font-body: clamp(1rem, 2vw, 1.2rem);
}

.main-header.scrolled { --header-offset: var(--nav-height-scrolled); }

* { margin: 0; padding: 0; box-sizing: border-box; }
body, html { width: 100%; height: 100%; background-color: var(--bg-app); font-family: 'Inter', sans-serif; overflow: hidden; }

.mother-container { position: relative; width: 100%; height: 100vh; display: flex; flex-direction: column; }
.main-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 1000; display: flex; flex-direction: column; background: transparent; transition: all 0.4s; }
.main-header.scrolled { background: var(--surface); box-shadow: 0 10px 12px -10px rgba(0,0,0,0.15); }

#page-mount { flex: 1; padding-top: var(--nav-height); }
.mother-container:not(.not-home) #page-mount { padding-top: 0; }
.mother-container:has(.status-banner.active) #page-mount { padding-top: calc(var(--nav-height) + var(--banner-height)); }

#lazy-content { flex: 1; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; position: relative; }

/* NAVBAR */
.navbar { width: 100%; height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; padding: 0 5%; }
.main-header.scrolled .navbar { height: var(--nav-height-scrolled); }
.logo { flex: 1; display: flex; align-items: center; margin-left: -2.5%; }
.brand-logo { height: 68px; width: auto; object-fit: contain; filter: brightness(0) invert(1); transition: all 0.4s; }
.main-header.scrolled .brand-logo, .not-home .brand-logo { filter: none; height: 60px; }

.nav-links { flex: 2; display: flex; justify-content: center; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: white; font-weight: 500; transition: color 0.4s; display: inline-block; line-height: 1; }
.nav-links a.nav-active { color: var(--primary) !important; font-weight: 800; }

.nav-actions { flex: 1; display: flex; justify-content: flex-end; gap: 15px; align-items: center; }
.staff-btn-link { padding: 10px 20px; background: var(--primary); color: white !important; text-decoration: none; border-radius: 4px; font-weight: 700; font-size: 0.75rem; }

.mobile-menu-btn { display: none; color: white; background: none; border: none; font-size: 2rem; cursor: pointer; }
.main-header.scrolled .logo, .main-header.scrolled .nav-links a, .main-header.scrolled .mobile-menu-btn,
.not-home .main-header .logo, .not-home .main-header .nav-links a, .not-home .main-header .mobile-menu-btn { color: var(--text-main) !important; }
.not-home .main-header { background: var(--surface); box-shadow: 0 10px 12px -10px rgba(0,0,0,0.1); }

/* FOOTER BRAND ALIGNMENT - FIXED PARENT */
.footer-col.brand { padding-left: 0 !important; } /* Kill parent padding */

.brand-alignment-group { margin-left: -2.5%; display: flex; flex-direction: column; align-items: flex-start; }
.brand-logo-footer { height: 90px; width: auto; margin-bottom: 20px; display: block; padding: 0 !important; cursor: pointer; }

.brand-alignment-group p { margin-left: 2.5%; color: #aaa; font-size: 0.9rem; line-height: 1.6; }
.footer-socials { margin-left: 2.5%; display: flex; gap: 30px; margin-top: 30px; }
.footer-socials a { color: #aaa !important; text-decoration: none; font-size: 0.85rem; font-weight: 600; transition: color 0.2s; }
.footer-socials a:hover { color: var(--primary) !important; }

/* FOOTER NAV STYLING */
.footer-col h3, .footer-col h4 { color: white; font-weight: 700; margin-bottom: 25px; letter-spacing: 1px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 15px; }
.footer-col a { color: #888; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: all 0.3s ease; }
.footer-col a:hover { color: var(--primary) !important; padding-left: 5px; }

/* ... remaining mobile dropdown and status banner ... */
.mobile-dropdown { position: absolute; top: calc(var(--nav-height) - 10px); right: 5%; width: 260px; background: var(--surface); border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); padding: 10px 0; transform: translateY(-20px); opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 3000; overflow: hidden; }
.mobile-dropdown.active { transform: translateY(0); opacity: 1; visibility: visible; }
.dropdown-links { list-style: none; padding: 0; margin: 0; }
.dropdown-links a { display: block; padding: 16px 25px; text-decoration: none; color: var(--text-main) !important; font-weight: 600; border-bottom: 1px solid #f5f5f5; transition: background 0.2s; }
.dropdown-links a:hover { background: #f8f9fa; }
.status-banner { width: 100%; height: var(--banner-height); background: var(--urgent); color: var(--secondary); padding: 0 5%; display: none; align-items: center; justify-content: space-between; font-size: 0.85rem; font-weight: 700; z-index: 2000; }
.status-banner.active { display: flex; }
.main-footer { background: var(--secondary); color: white; padding: 80px 5% 40px 5%; margin-top: auto; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid #333; }
.footer-bottom { max-width: 1200px; margin: 40px auto 0 auto; display: flex; justify-content: space-between; font-size: 0.8rem; color: #666; }
@media (max-width: 850px) { .nav-links, .staff-btn-link { display: none; } .mobile-menu-btn { display: block; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; text-align: left; } .footer-col.brand { grid-column: span 2; margin-bottom: 20px; } .footer-bottom { flex-direction: column; gap: 15px; text-align: left; } .logo, .brand-alignment-group { margin-left: 0; } .brand-alignment-group p, .footer-socials { margin-left: 0; } }