* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'SF Pro Display', 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.65;
    color: #1a202c;
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Premium Loading Animation */
@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Navigation - Solid White Background */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1a202c !important;
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-img {
    height: 120px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.nav-logo .logo-img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.12));
}

.nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: #2d3748 !important;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0.0, 0.2, 1);
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    letter-spacing: -0.01em;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4a90e2, #2b77ad);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #4a90e2 !important;
    background: rgba(74, 144, 226, 0.06);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link.active {
    color: #4a90e2 !important;
    background: rgba(74, 144, 226, 0.12) !important;
    font-weight: 700;
}

.no-scroll {
    overflow: hidden;
}

.nav-link.active::before {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hamburger:hover {
    background: rgba(74, 144, 226, 0.08);
}

.bar {
    width: 25px;
    height: 3px;
    background: #2d3748;
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 2px;
}

/* Hero Section - Full Background Image */
.hero {
    background: 
        linear-gradient(135deg, rgba(26, 54, 93, 0.75) 0%, rgba(43, 119, 173, 0.65) 30%, rgba(74, 144, 226, 0.55) 60%, rgba(107, 182, 255, 0.45) 100%),
        url('attached_assets/_MG_9957_1753793162038.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 240px 0 120px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(75, 144, 226, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(107, 182, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(43, 119, 173, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="25" cy="75" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="75" cy="25" r="1" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4.25rem;
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    animation: slideInFromTop 0.8s cubic-bezier(0.4, 0.0, 0.2, 1) 0.2s both;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 400;
    animation: slideInFromTop 1s cubic-bezier(0.4, 0.0, 0.2, 1) 0.4s both;
}

.hero-org-name {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #87ceeb 0%, #b0e0e6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 1rem !important;
    animation: slideInFromTop 1s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s both;
}

.hero-tagline {
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    color: #b0e0e6 !important;
    margin-bottom: 1.5rem !important;
    font-style: italic;
    animation: slideInFromTop 1s cubic-bezier(0.4, 0.0, 0.2, 1) 0.5s both;
}

.hero-subtitle {
    font-size: 1.2rem !important;
    margin-bottom: 3rem !important;
    color: rgba(255, 255, 255, 0.9);
    animation: slideInFromTop 1s cubic-bezier(0.4, 0.0, 0.2, 1) 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    animation: slideInFromTop 1s cubic-bezier(0.4, 0.0, 0.2, 1) 0.7s both;
}



@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Premium Button Styles */
.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: inline-block;
    cursor: pointer;
    font-size: 1.05rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    letter-spacing: -0.005em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #4a90e2 0%, #2b77ad 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5ba3f5 0%, #4a90e2 100%);
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* Section Styling */
.section-title {
    text-align: center;
    font-size: 3.25rem;
    margin-bottom: 4.5rem;
    color: #1a202c;
    font-weight: 800;
    position: relative;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #4a90e2, #2b77ad);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

/* About Section - Premium Cards */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text h3 {
    color: #2d3748;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #4a5568;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.about-text ul {
    list-style: none;
    margin-left: 0;
}

.about-text li {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #4a5568;
    position: relative;
    padding-left: 2rem;
    line-height: 1.7;
}

.about-text li:before {
    content: "✈";
    position: absolute;
    left: 0;
    color: #4a90e2;
    font-weight: bold;
    font-size: 1.2rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2b77ad, #4a90e2);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(74, 144, 226, 0.1);
    background: rgba(255, 255, 255, 0.98);
}

.stat-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #2b77ad, #4a90e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.stat-card h3 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.stat-card p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* Team Section */
.team {
    padding: 120px 0;
    background: linear-gradient(180deg, #f7fafc 0%, #eef7ff 50%, #ffffff 100%);
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.team-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(43, 119, 173, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.team-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(43, 119, 173, 0.15);
}

.group-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    filter: brightness(1.05) contrast(1.1);
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.group-photo:hover {
    filter: brightness(1.1) contrast(1.15);
    transform: scale(1.02);
}

.team-text h3 {
    color: #1a365d;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.team-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #2d3748;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.founders {
    background: rgba(43, 119, 173, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #2b77ad;
    margin-top: 2rem;
}

.founders h4 {
    color: #1a365d;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.founders ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.founders li {
    color: #2b77ad;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    position: relative;
    padding-left: 1.5rem;
}

.founders li:before {
    content: "✈";
    position: absolute;
    left: 0;
    color: #4a90e2;
    font-weight: bold;
}

/* Monthly Meetings Section */
.services {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.meeting-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.meeting-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.meeting-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #2b77ad);
}

.meeting-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.02), rgba(43, 119, 173, 0.02));
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.meeting-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(74, 144, 226, 0.1);
}

.meeting-card:hover::after {
    opacity: 1;
}

.meeting-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #4a90e2, #2b77ad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.meeting-card h3 {
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.meeting-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.meeting-cta {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.meeting-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #2b77ad);
}

.meeting-cta h3 {
    color: #1a202c;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.meeting-cta p {
    color: #4a5568;
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Statistics Banner */
.stats-banner {
    background: linear-gradient(135deg, #1a365d 0%, #2b77ad 50%, #4a90e2 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #b0e0e6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gallery Section */
.gallery {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 4rem;
    margin-top: -2rem;
    font-weight: 400;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 0 2rem;
    margin-bottom: 4rem;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    background: white;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.gallery-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.gallery-placeholder {
    background: linear-gradient(135deg, #4a90e2 0%, #2b77ad 50%, #5ba3f5 100%);
    color: white;
    height: 320px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.loading-shimmer {
    background: linear-gradient(90deg, #4a90e2 25%, #2b77ad 50%, #4a90e2 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
}

.gallery-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dots" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.gallery-overlay p {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.gallery-caption {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    border: 2px solid #4a90e2;
    background: transparent;
    color: #4a90e2;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0.0, 0.2, 1);
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #4a90e2, #2b77ad);
    color: white;
    transform: translateY(-6px);
    box-shadow: 0 6px 8px rgba(74, 144, 226, 0.28);
    border-color: transparent;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    padding: 0 2rem;
}

.contact-info h3 {
    color: #1a202c;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.contact-info > p {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 3rem;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-6px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.08);
}

.contact-item i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #4a90e2, #2b77ad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.2rem;
    min-width: 24px;
}

.contact-item h4 {
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.contact-item p {
    color: #4a5568;
    line-height: 1.6;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(74, 144, 226, 0.12);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.25s cubic-bezier(0.4, 0.0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.08);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* News V2 Redesign */
.news-hero-v2 {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #1a365d 0%, #2b77ad 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.news-hero-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.news-brand-container {
    background: white;
    padding: 3.5rem;
    border-radius: 30px;
    display: inline-block;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    position: relative;
    z-index: 1;
    max-width: 600px;
    width: 90%;
    border: 1px solid rgba(255,255,255,0.2);
}

.news-logo-v2 {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1.5rem;
}

.news-tagline {
    color: #4a5568;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.news-container-v2 {
    padding: 80px 0;
    background: #f8fafc;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
}

.news-article-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.article-image-v2 {
    height: 300px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.article-image-v2 img {
    max-width: 300px;
    height: auto;
}

.article-image-v2 i {
    font-size: 5rem;
    color: #cbd5e0;
}

.article-badge-v2 {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: #4a90e2;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.article-body-v2 {
    padding: 2.5rem;
}

.article-meta-v2 {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #718096;
    font-weight: 600;
}

.article-meta-v2 i {
    color: #4a90e2;
    margin-right: 0.5rem;
}

.article-body-v2 h2 {
    font-size: 2.25rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-body-v2 h3 {
    font-size: 1.75rem;
    color: #1a202c;
    margin-bottom: 1.25rem;
}

.article-body-v2 p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.article-status-v2 {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff5f5;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #fed7d7;
    margin-bottom: 1.5rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: #f56565;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(245, 101, 101, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 101, 101, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(245, 101, 101, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 101, 101, 0); }
}

.btn-news-v2 {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-news-v2:hover {
    background: #2b77ad;
}

.news-link-v2 {
    color: #4a90e2;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Sidebar Styling */
.news-sidebar-v2 {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget-v2 {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}

.sidebar-widget-v2 h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.airport-status-v2 .status-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: 600;
}

.status-green { color: #48bb78; }
.status-blue { color: #4299e1; }

body.site-unified .airport-resources-v2 p,
body.site-unified .airport-resources-v2 li span {
    color: var(--ui-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

body.site-unified .airport-resources-v2 ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

body.site-unified .airport-resources-v2 li + li {
    margin-top: 1.25rem;
}

body.site-unified .airport-resources-v2 a {
    display: inline-block;
    max-width: 100%;
    padding: 0.25rem 0;
    color: var(--ui-ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    overflow-wrap: anywhere;
}

body.site-unified .airport-resources-v2 a:focus-visible {
    outline: 2px solid var(--ui-ink);
    outline-offset: 3px;
}

body.site-unified .airport-resources-v2 li span {
    display: block;
}

.upcoming-list-v2 {
    list-style: none;
}

.upcoming-list-v2 li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #4a5568;
    display: flex;
    gap: 0.75rem;
}

.upcoming-list-v2 i { color: #cbd5e0; }

.promo-widget-v2 {
    background: linear-gradient(135deg, #4a90e2 0%, #2b77ad 100%);
    color: white;
}

.promo-widget-v2 h4 { color: white; }
.promo-widget-v2 p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }

.social-grid-v2 {
    display: flex;
    gap: 1rem;
}

.social-grid-v2 a {
    background: rgba(255,255,255,0.2);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-grid-v2 a:hover {
    background: white;
    color: #4a90e2;
}

/* Redesigning for V2 Article List Card */
.news-article-card-v2 {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.news-article-card-v2:hover {
    transform: translateX(10px);
    border-left: 4px solid #4a90e2;
}

/* Mobile Adjustments */
@media screen and (max-width: 1024px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .news-hero-v2 { padding: 120px 0 60px; }
    .news-brand-container { padding: 2rem; }
    .article-body-v2 { padding: 1.5rem; }
    .article-body-v2 h2 { font-size: 1.75rem; }
    .article-image-v2 { height: 200px; }
}

/* Fix for standard news-card consistency */
.news-card {
    text-decoration: none;
    display: block;
}

.news-card:hover h3 {
    color: #4a90e2;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="footergrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100%" height="100%" fill="url(%23footergrain)"/></svg>');
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(255, 255, 255, 0.2));
}

.footer-section h3,
.footer-section h4 {
    background: linear-gradient(135deg, #4a90e2, #2b77ad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section p {
    line-height: 1.7;
    opacity: 0.9;
    color: #e2e8f0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #e2e8f0;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    padding: 0.25rem 0;
    display: inline-block;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #4a90e2;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: linear-gradient(135deg, #4a90e2, #2b77ad);
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.25);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .hero-content,
    .about-grid {
        padding: 0 1.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    .hamburger {
        display: flex;
    }

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        padding: 2rem 0;
        border-top: 1px solid rgba(74, 144, 226, 0.2);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        padding: 140px 0 80px;
        min-height: 90vh;
    }

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

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-org-name {
        font-size: 1.4rem !important;
    }

    .hero-tagline {
        font-size: 1.2rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 0 1rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .meeting-info {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 2.5rem;
    }

    .meeting-card {
        padding: 2.5rem 2rem;
    }
    
    .meeting-cta {
        padding: 3rem 2rem;
        margin: 0 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .team-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
        text-align: center;
    }

    .team-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }

    .contact-form {
        padding: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 4rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-logo .logo-img {
        height: 50px;
    }

    .nav-menu {
        top: 70px;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: 85vh;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .hero-org-name {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-tagline {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }

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

    .hero-buttons {
        margin-top: 1rem;
        gap: 0.75rem;
    }

    .btn {
        max-width: 250px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }

    .stats-banner {
        padding: 50px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem 0.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .about,
    .team,
    .services,
    .gallery,
    .contact {
        padding: 80px 0;
    }

    .team-content {
        gap: 2rem;
    }

    .team-text h3 {
        font-size: 1.75rem;
    }

    .founders {
        padding: 1.5rem;
    }

    .meeting-card,
    .contact-form {
        padding: 2rem 1.5rem;
    }

    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .gallery-placeholder {
        height: 220px;
    }

    .gallery-overlay i {
        font-size: 3.5rem;
    }

    .gallery-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1.25rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 16px;
    }
}

/* Pathways page: uses the original BSAviation light/blue design language. */
.pathways-page {
    background: #f7fafc;
}

.pathways-hero {
    min-height: 620px;
    padding: 180px 0 100px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(26, 54, 93, .92), rgba(43, 119, 173, .78)),
        url('attached_assets/_MG_9957_1753793162038.jpeg') center / cover;
}

.pathways-hero-inner {
    max-width: 900px;
}

.pathways-kicker,
.section-kicker {
    color: #4a90e2;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pathways-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b8e86e;
}

.pathways-kicker span {
    width: 32px;
    height: 3px;
    border-radius: 3px;
    background: #b8e86e;
}

.pathways-hero h1 {
    max-width: 850px;
    margin: 1.2rem 0 1.5rem;
    font-size: clamp(3.2rem, 7vw, 6.3rem);
    line-height: 1;
}

.pathways-hero-inner > p:not(.pathways-kicker) {
    max-width: 620px;
    color: rgba(255,255,255,.9);
    font-size: 1.15rem;
}

.pathways-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.pathways-section {
    padding: 100px 0;
}

.pathways-intro {
    max-width: 760px;
    margin-bottom: 55px;
}

.pathways-intro h2 {
    margin: .7rem 0 1rem;
    color: #1a202c;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.pathways-intro > p:last-child {
    max-width: 650px;
    color: #4a5568;
    font-size: 1.08rem;
}

.pathway-list {
    display: grid;
    gap: 24px;
}

.pathway-partner {
    display: grid;
    grid-template-columns: 245px 1fr;
    gap: 45px;
    align-items: center;
    padding: 38px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(26, 54, 93, .07);
}

.pathway-mark {
    display: flex;
    min-height: 170px;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    border-radius: 18px;
    background: linear-gradient(135deg, #edf6ff, #d9ebfb);
    color: #1a365d;
}

.pathway-mark strong {
    font-size: 2rem;
    font-weight: 800;
}

.pathway-mark span {
    color: #4a90e2;
    font-weight: 700;
}

.pathway-partner h3 {
    margin: .65rem 0 .8rem;
    color: #1a202c;
    font-size: 2rem;
}

.pathway-partner p:not(.section-kicker) {
    max-width: 680px;
    color: #4a5568;
}

.pathway-link {
    display: inline-flex;
    gap: 10px;
    margin-top: 1.2rem;
    color: #2b77ad;
    font-weight: 800;
    text-decoration: none;
}

.pathway-link:hover {
    color: #4a90e2;
}

.pathway-course {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 24px;
    padding: 38px;
    border-radius: 22px;
    background: #1a365d;
    color: #fff;
}

.pathway-course h3 {
    margin: .55rem 0 .65rem;
    font-size: 2.2rem;
}

.pathway-course p:not(.section-kicker) {
    max-width: 650px;
    color: rgba(255,255,255,.8);
}

.pathway-course .section-kicker {
    color: #b8e86e;
}

.pathway-course .btn {
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .pathways-hero { min-height: auto; padding: 150px 0 80px; }
    .pathways-section { padding: 70px 0; }
    .pathway-partner { grid-template-columns: 1fr; gap: 25px; padding: 25px; }
    .pathway-mark { min-height: 120px; }
    .pathway-course { align-items: flex-start; flex-direction: column; padding: 28px 25px; }
}

/* Mobile-first optimizations */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 12px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .about-text p,
    .about-text li {
        font-size: 1rem;
        line-height: 1.6;
    }

    .meeting-card {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    width: 100%;
}

.skip-link {
    position: fixed;
    top: .75rem;
    left: 1rem;
    z-index: 3000;
    padding: .7rem 1rem;
    border-radius: 10px;
    background: var(--sky-deep, #18517f);
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(10, 39, 66, .2);
    transform: translateY(-180%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

section[tabindex="-1"],
main[tabindex="-1"] {
    outline: none;
}

/* Better touch targets */
@media (max-width: 768px) {
    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn {
        min-height: 48px;
        touch-action: manipulation;
    }

    .hamburger {
        min-width: 48px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Enhanced accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .navbar {
        background: rgba(26, 32, 44, 0.9);
        color: #e2e8f0;
    }
    
    .nav-link {
        color: #e2e8f0;
    }
}

/* Homepage refinement */
:root {
    --ink: #10243e;
    --muted-ink: #5f7085;
    --sky: #2f76b7;
    --sky-deep: #0e3b68;
    --lime: #b5d94f;
    --paper: #f6f9fc;
}

.navbar {
    padding: 0;
    min-height: 78px;
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom-color: rgba(16, 36, 62, 0.08);
}

.nav-container {
    min-height: 78px;
    max-width: 1240px;
    padding: 0 1.5rem;
}

.nav-logo .logo-img {
    width: 164px;
    height: 72px;
    object-fit: contain;
}

.nav-menu {
    gap: 0.25rem;
}

.nav-link {
    font-size: 0.88rem;
    padding: 0.6rem 0.9rem;
    color: var(--ink) !important;
    letter-spacing: 0.01em;
}

.nav-link.active {
    color: var(--sky) !important;
    background: rgba(47, 118, 183, 0.1) !important;
}

.hero {
    min-height: 720px;
    height: min(780px, 100vh);
    padding: 150px 0 96px;
    background:
        linear-gradient(90deg, rgba(7, 25, 47, 0.9) 0%, rgba(10, 48, 82, 0.72) 37%, rgba(21, 93, 143, 0.25) 76%, rgba(21, 93, 143, 0.12) 100%),
        url('attached_assets/_MG_9957_1753793162038.jpeg');
    background-position: center;
}

.hero::before {
    background:
        linear-gradient(180deg, rgba(7, 25, 47, 0.22) 0%, transparent 40%, rgba(7, 25, 47, 0.5) 100%),
        radial-gradient(circle at 12% 25%, rgba(181, 217, 79, 0.12), transparent 27%);
}

.hero-content {
    align-items: flex-start;
    text-align: left;
    max-width: 1240px;
    width: 100%;
    padding: 0 1.5rem;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1.2rem !important;
    color: #d7e7f3;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-kicker-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 5px rgba(181, 217, 79, 0.16);
}

.hero h1 {
    max-width: 720px;
    margin-bottom: 1.1rem;
    font-size: clamp(3.6rem, 7vw, 6.4rem);
    line-height: 0.97;
    letter-spacing: -0.065em;
    text-shadow: 0 5px 24px rgba(0, 0, 0, 0.2);
}

.hero h1 em {
    color: #c9e5f5;
    font-style: normal;
}

.hero-org-name {
    margin-bottom: 0.65rem !important;
    color: #b5d94f !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 1.08rem !important;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.hero-tagline {
    margin-bottom: 1.2rem !important;
    color: #fff !important;
    font-size: 1.18rem !important;
    font-style: normal;
    font-weight: 600 !important;
}

.hero-copy {
    max-width: 540px;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem !important;
    line-height: 1.65 !important;
}

.hero-buttons {
    gap: 0.85rem;
    margin-top: 2rem;
}

.btn {
    border-radius: 999px;
    padding: 0.88rem 1.45rem;
    font-size: 0.92rem;
    box-shadow: none;
}

.btn-primary {
    background: var(--lime);
    border-color: var(--lime);
    color: #152b22;
}

.btn-primary:hover {
    background: #c4e866;
    border-color: #c4e866;
    color: #152b22;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(181, 217, 79, 0.2);
}

.btn-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

.hero-buttons .btn i {
    margin-left: 0.45rem;
    font-size: 0.8em;
}

.hero-scroll {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3.8rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.hero-scroll i {
    color: var(--lime);
    animation: float 2s ease-in-out infinite;
}

.stats-banner {
    padding: 0;
    background: var(--ink);
}

.stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: left;
}

.stat-item {
    padding: 1.45rem 1.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-number {
    margin-bottom: 0.3rem;
    color: #fff;
    background: none;
    -webkit-text-fill-color: currentColor;
    font-size: 1.55rem;
    font-weight: 800;
}

.stat-label {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

.home-paths {
    padding: 7.5rem 0 8rem;
    background: var(--paper);
}

.home-section-heading {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
    column-gap: 3rem;
    align-items: end;
    max-width: 960px;
    margin: 0 auto 3.2rem;
}

.section-eyebrow {
    grid-column: 1 / -1;
    margin: 0 0 0.8rem;
    color: var(--sky);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.home-section-heading h2 {
    color: var(--ink);
    font-size: clamp(2.3rem, 4vw, 3.65rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.home-section-heading > p:last-child {
    margin: 0;
    color: var(--muted-ink);
    font-size: 1rem;
    line-height: 1.7;
}

.home-path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1160px;
    margin: 0 auto;
}

.home-path-card {
    position: relative;
    display: flex;
    min-height: 310px;
    flex-direction: column;
    padding: 1.7rem;
    overflow: hidden;
    border: 1px solid #e2eaf1;
    border-radius: 1.25rem;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-path-card::after {
    position: absolute;
    right: -35px;
    bottom: -55px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(47, 118, 183, 0.12);
    border-radius: 50%;
    content: '';
}

.home-path-card:hover {
    border-color: #b9d2e6;
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(17, 52, 83, 0.1);
}

.home-path-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    margin-bottom: 2rem;
    border-radius: 0.8rem;
    background: #eaf3fa;
    color: var(--sky);
    font-size: 1.2rem;
}

.home-path-number {
    position: absolute;
    top: 1.6rem;
    right: 1.7rem;
    color: #b4c3d0;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.home-path-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}

.home-path-card p {
    max-width: 260px;
    margin-bottom: 1.4rem;
    color: var(--muted-ink);
    font-size: 0.94rem;
    line-height: 1.65;
}

.home-path-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: auto;
    color: var(--sky);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.home-path-link i {
    transition: transform 0.2s ease;
}

.home-path-card:hover .home-path-link i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .nav-container {
        min-height: 70px;
    }

    .navbar {
        min-height: 70px;
    }

    .nav-logo .logo-img {
        width: 142px;
        height: 62px;
    }

    .nav-menu {
        top: 70px;
    }

    .hero {
        height: auto;
        min-height: 690px;
        padding: 140px 0 58px;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 15vw, 5rem);
    }

    .hero-copy {
        max-width: 430px;
    }

    .hero-buttons {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-scroll {
        margin-top: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: 0;
    }

    .stat-item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .home-section-heading {
        display: block;
        margin-bottom: 2.2rem;
    }

    .home-section-heading h2 {
        margin-bottom: 1.2rem;
    }

    .home-path-grid {
        grid-template-columns: 1fr;
    }

    .home-path-card {
        min-height: 260px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 650px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: min(100%, 290px);
    }

    .hero-buttons .btn {
        max-width: none;
        width: 100%;
    }

    .hero-scroll {
        margin-top: 2.4rem;
    }

    .stat-item {
        padding: 1.2rem 1rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .home-paths {
        padding: 5rem 0 5.5rem;
    }
}

/* Advanced scroll behavior */
section {
    scroll-margin-top: 140px;
}

/* Premium text selection */
::selection {
    background: rgba(74, 144, 226, 0.2);
    color: #1a202c;
}

/* Enhanced focus states */
button:focus,
input:focus,
select:focus,
textarea:focus,
.btn:focus {
    outline: 3px solid rgba(74, 144, 226, 0.4);
    outline-offset: 2px;
}

/* Smooth performance optimizations */
* {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Professional visual system */
:root {
    --ink: #17324d;
    --muted-ink: #60758b;
    --sky: #3f83bd;
    --sky-deep: #18517f;
    --lime: #b8dc58;
    --paper: #f7fbfe;
    --surface: #ffffff;
    --line-soft: #e2edf5;
    --shadow-soft: 0 18px 50px rgba(31, 75, 108, .09);
}

body {
    background: var(--paper);
    color: var(--ink);
}

.navbar {
    background: rgba(255, 255, 255, .92) !important;
    border-bottom: 1px solid rgba(23, 50, 77, .07);
    box-shadow: 0 8px 28px rgba(31, 75, 108, .07);
}

.nav-link {
    color: var(--ink) !important;
    border-radius: 12px;
}

.nav-link:hover {
    color: var(--sky) !important;
    background: #f0f7fc;
}

.nav-link.active {
    color: var(--sky) !important;
    background: #eaf4fb !important;
}

.hero {
    background:
        linear-gradient(90deg, rgba(12, 42, 70, .78) 0%, rgba(24, 81, 127, .58) 38%, rgba(61, 132, 186, .18) 78%, rgba(61, 132, 186, .08) 100%),
        url('attached_assets/_MG_9957_1753793162038.jpeg');
}

.hero::before {
    background:
        linear-gradient(180deg, rgba(12, 42, 70, .12) 0%, transparent 48%, rgba(12, 42, 70, .34) 100%),
        radial-gradient(circle at 12% 25%, rgba(184, 220, 88, .13), transparent 27%);
}

.stats-banner {
    background: #eef6fb;
    border-top: 1px solid #e0edf5;
    border-bottom: 1px solid #e0edf5;
}

.stat-item {
    border-right-color: #dce9f2;
}

.stat-number {
    color: var(--sky-deep);
}

.stat-label {
    color: var(--muted-ink);
}

.home-paths {
    background: linear-gradient(180deg, #f7fbfe 0%, #fff 100%);
}

.home-path-card {
    border-color: var(--line-soft);
    border-radius: 20px;
    box-shadow: 0 8px 26px rgba(31, 75, 108, .04);
}

.home-path-card:hover {
    border-color: #bed8ea;
    box-shadow: var(--shadow-soft);
}

.home-path-icon {
    background: #edf6fc;
    color: var(--sky);
}

.footer {
    background: linear-gradient(135deg, #17324d 0%, #225c88 100%);
}

.footer-section h3,
.footer-section h4 {
    color: #c9e889;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.footer-section p,
.footer-section ul li a {
    color: rgba(255, 255, 255, .78);
}

.pathways-page {
    background: #f7fbfe;
}

.pathways-hero {
    background:
        linear-gradient(135deg, rgba(39, 104, 157, .88), rgba(101, 170, 210, .72)),
        url('attached_assets/_MG_9957_1753793162038.jpeg') center / cover;
}

.pathways-section {
    background: linear-gradient(180deg, #f7fbfe 0%, #fff 100%);
}

.pathway-partner {
    border-color: var(--line-soft);
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(31, 75, 108, .05);
}

.pathway-partner:hover {
    opacity: .9;
}

.pathway-mark {
    background: linear-gradient(145deg, #edf7fd, #dceef8);
}

.pathway-course {
    background: linear-gradient(135deg, #eaf5fb, #dceef8);
    color: var(--ink);
    border: 1px solid #d4e8f3;
}

.pathway-course p:not(.section-kicker) {
    color: var(--muted-ink);
}

.pathway-course .section-kicker {
    color: var(--sky);
}

@media (max-width: 768px) {
    .stats-grid {
        background: #eef6fb;
    }

    .stat-item {
        border-right-color: #dce9f2;
        border-bottom-color: #dce9f2 !important;
    }
}

/* Landing page and footer refinement */
.hero {
    min-height: 720px;
    height: min(780px, 100vh);
    color: var(--ink);
    background:
        linear-gradient(90deg, #eaf4fa 0%, #eaf4fa 36%, rgba(234, 244, 250, .93) 48%, rgba(234, 244, 250, .3) 70%, rgba(234, 244, 250, 0) 100%),
        url('attached_assets/_MG_9957_1753793162038.jpeg') center / cover;
}

.hero::before {
    background:
        radial-gradient(circle at 65% 24%, rgba(184, 220, 88, .18), transparent 18%),
        linear-gradient(180deg, rgba(255,255,255,.22), transparent 42%, rgba(23,50,77,.12));
}

.hero::after {
    opacity: .12;
}

.hero-kicker {
    color: var(--sky-deep);
}

.hero-kicker-dot {
    background: var(--lime);
    box-shadow: 0 0 0 5px rgba(184, 220, 88, .2);
}

.hero h1 {
    color: var(--ink);
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: var(--ink);
    text-shadow: none;
    animation: none;
}

.hero h1 em {
    color: var(--sky);
    -webkit-text-fill-color: var(--sky);
}

.hero-org-name {
    color: var(--sky-deep) !important;
}

.hero-tagline {
    color: var(--ink) !important;
}

.hero-copy {
    color: var(--muted-ink);
}

.hero-content,
.hero-buttons,
.hero-scroll {
    position: relative;
    z-index: 2;
}

.hero p,
.hero-buttons,
.hero-scroll {
    animation: none;
    opacity: 1;
}

.hero .btn-primary {
    background: var(--sky-deep);
    border-color: var(--sky-deep);
    color: #fff;
    box-shadow: 0 10px 24px rgba(24, 81, 127, .16);
}

.hero .btn-primary:hover {
    background: #236a9f;
    border-color: #236a9f;
    color: #fff;
    box-shadow: 0 14px 28px rgba(24, 81, 127, .22);
}

.hero .btn-secondary {
    color: var(--sky-deep);
    border-color: rgba(24, 81, 127, .3);
    background: rgba(255,255,255,.58);
}

.hero .btn-secondary:hover {
    color: var(--sky-deep);
    border-color: rgba(24, 81, 127, .6);
    background: rgba(255,255,255,.9);
}

.hero-scroll {
    color: var(--sky-deep);
}

.hero-scroll i {
    color: var(--sky);
}

.stats-banner {
    background: #fff;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.stat-item {
    border-right-color: var(--line-soft);
}

.stat-number {
    color: var(--sky-deep);
}

.stat-label {
    color: var(--muted-ink);
}

.footer {
    background: #edf6fb;
    color: var(--ink);
    border-top: 1px solid #dcebf4;
}

.footer::before {
    display: none;
}

.footer-content {
    gap: 5rem;
}

.footer-logo {
    width: 190px;
    height: auto;
    max-height: 58px;
    margin-bottom: 1rem;
    object-fit: contain;
    filter: none;
}

.footer-logo:hover {
    filter: drop-shadow(0 5px 10px rgba(31, 75, 108, .12));
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--sky-deep);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.footer-section p,
.footer-section ul li a {
    color: var(--muted-ink);
}

.footer-section ul li a:hover {
    color: var(--sky);
}

.social-links {
    gap: .7rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #cfe2ef;
    border-radius: 12px;
    background: #fff;
    color: var(--sky-deep);
    font-size: 1.05rem;
    box-shadow: 0 6px 16px rgba(31, 75, 108, .06);
}

.social-links a:hover {
    background: var(--sky-deep);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 18px rgba(24, 81, 127, .18);
}

/* Motion system */
@keyframes heroDrift {
    0% { background-position: center, 56% center; }
    100% { background-position: center, 62% center; }
}

@keyframes heroGlow {
    0%, 100% { opacity: .82; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.04); }
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 5px rgba(184, 220, 88, .18); transform: scale(1); }
    50% { box-shadow: 0 0 0 10px rgba(184, 220, 88, .02); transform: scale(1.12); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes ringPulse {
    0%, 100% { opacity: .45; transform: scale(1); }
    50% { opacity: .12; transform: scale(1.08); }
}

@keyframes motionReveal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.motion-target {
    opacity: 1;
    transform: none;
    will-change: opacity;
}

.motion-target.motion-visible {
    animation: motionReveal .35s ease-out var(--motion-delay, 0s) both;
}

.motion-target.motion-visible img {
    animation: none;
}

@keyframes imageSettle {
    from {
        filter: saturate(.8) brightness(.96);
        transform: scale(1.035);
    }
    to {
        filter: saturate(1) brightness(1);
        transform: scale(1);
    }
}

.section-title::after,
.home-section-heading::after,
.legacy-section-heading::after {
    transform: none;
    transition: none;
}

.motion-target.motion-visible.section-title::after,
.motion-target.motion-visible.home-section-heading::after,
.motion-target.motion-visible.legacy-section-heading::after {
    transform: none;
}

.hero {
    background-position: center, 59% center;
    background-size: auto, 120% auto;
}

.hero::before {
    animation: none;
}

.hero-kicker-dot {
    animation: none;
}

.home-path-icon {
    animation: none;
}

.home-path-card::after {
    animation: none;
}

.stat-item {
    transition: background .25s ease, transform .25s ease;
}

.stat-item:hover {
    background: rgba(63, 131, 189, .06);
    transform: translateY(-2px);
}

.gallery-item .gallery-img,
.gallery-item img {
    transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .45s ease;
}

.gallery-item:hover .gallery-img,
.gallery-item:hover img {
    transform: scale(1.045);
    filter: saturate(1.08) contrast(1.02);
}

.social-links a i {
    transition: transform .25s ease;
}

.social-links a:hover i {
    transform: scale(1.12) rotate(-6deg);
}

@media (prefers-reduced-motion: reduce) {
    .hero,
    .hero::before,
    .hero-kicker-dot,
    .home-path-icon,
    .home-path-card::after {
        animation: none !important;
    }

    .motion-target.motion-visible {
        animation: none !important;
    }

    .motion-target.motion-visible img {
        animation: none !important;
    }

    .section-title::after,
    .home-section-heading::after,
    .legacy-section-heading::after {
        transform: none;
        transition: none;
    }
}

.footer-bottom {
    padding-top: 1.25rem;
    border-top-color: #d6e6f0;
    color: var(--muted-ink);
}

.footer-bottom p {
    font-size: .8rem;
}

@media (max-width: 768px) {
    .hero {
        min-height: 720px;
        height: auto;
        background:
            linear-gradient(180deg, rgba(234,244,250,.96) 0%, rgba(234,244,250,.9) 46%, rgba(234,244,250,.18) 100%),
            url('attached_assets/_MG_9957_1753793162038.jpeg') center / cover;
        background-position: center, 58% center;
        background-size: auto, 135% auto;
    }

    .footer-content {
        gap: 2.5rem;
    }
}

/* Premium loading states */
.loading {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

/* Original homepage landing treatment, scoped to index.html only. */
body.legacy-home .hero {
    background: #173f68;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 240px 0 120px;
    height: auto;
    min-height: 100vh;
    animation: none;
}

body.legacy-home .hero::before {
    z-index: 2;
    background:
        linear-gradient(135deg, rgba(8, 41, 76, .72) 0%, rgba(31, 101, 157, .54) 45%, rgba(33, 94, 151, .38) 100%),
        radial-gradient(circle at 20% 80%, rgba(75, 144, 226, .2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(107, 182, 255, .2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(43, 119, 173, .15) 0%, transparent 50%);
    animation: none;
}

body.legacy-home .hero::after {
    z-index: 3;
    opacity: .4;
}

body.legacy-home .hero-content {
    z-index: 4;
    max-width: 1400px;
    align-items: center;
    text-align: center;
}

body.legacy-home .hero h1 {
    font-size: 4.25rem;
    margin-bottom: 2rem;
    color: #fff;
    background: linear-gradient(135deg, #fff 0%, #f0f4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, .15);
}

body.legacy-home .hero p {
    color: #fff;
    opacity: .95;
    animation: slideInFromTop 1s cubic-bezier(.4, 0, .2, 1) .4s both;
}

body.legacy-home .hero-org-name {
    background: linear-gradient(135deg, #87ceeb 0%, #b0e0e6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

body.legacy-home .hero-tagline {
    color: #b0e0e6 !important;
    font-style: italic;
}

body.legacy-home .hero-subtitle {
    color: rgba(255, 255, 255, .9) !important;
}

body.legacy-home .hero-buttons {
    gap: 1.5rem;
    margin-top: 2.5rem;
}

body.legacy-home .hero .btn-primary {
    background: linear-gradient(135deg, #4a90e2 0%, #2b77ad 100%);
    border-color: rgba(255, 255, 255, .15);
}

body.legacy-home .hero .btn-secondary {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: rgba(255, 255, 255, .4);
}

.hero-slideshow {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
}

.hero-slide.active img {
    animation: heroSlideZoom 7s ease-out both;
}

.hero-slideshow::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: '';
    background: rgba(5, 28, 55, .1);
    pointer-events: none;
}

body.legacy-home .hero-slideshow::after {
    background: rgba(5, 28, 55, .035);
}

body.legacy-home .hero-slide img {
    filter: saturate(1.06) brightness(1.04);
}

@keyframes heroSlideZoom {
    from { transform: scale(1.03); }
    to { transform: scale(1.1); }
}

.hero-slide-controls {
    position: absolute;
    z-index: 2;
    right: 32px;
    bottom: 28px;
    left: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.hero-slide-arrow,
.hero-slide-dot {
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(6, 35, 65, .42);
    color: #fff;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.hero-slide-arrow {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    pointer-events: auto;
}

.hero-slide-arrow:hover,
.hero-slide-dot:hover,
.hero-slide-dot.active {
    border-color: #fff;
    background: rgba(74, 144, 226, .86);
}

.hero-slide-arrow:hover {
    transform: scale(1.08);
}

.hero-slide-dots {
    display: flex;
    align-items: center;
    gap: 9px;
    pointer-events: auto;
}

.hero-slide-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
}

.hero-slide-dot.active {
    width: 28px;
    border-radius: 8px;
}

body.legacy-home .stats-banner {
    background: linear-gradient(135deg, #1a365d 0%, #2b77ad 50%, #4a90e2 100%);
    color: #fff;
    padding: 80px 0;
}

body.legacy-home .stat-number {
    background: linear-gradient(135deg, #fff 0%, #b0e0e6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    body.legacy-home .hero {
        padding: 140px 0 80px;
        min-height: 720px;
        background-attachment: scroll;
        background-size: cover;
    }

    .hero-slide-controls {
        right: 18px;
        bottom: 20px;
        left: 18px;
    }

    body.legacy-home .hero h1 {
        font-size: clamp(2.4rem, 12vw, 4rem);
    }
}

/* Homepage information sections */
@keyframes legacyHeroEnter {
    from { opacity: 0; transform: translateY(24px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes legacyReveal {
    from { opacity: 1; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes statsGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes statsShine {
    0% { transform: translateX(-120%); opacity: 0; }
    20%, 70% { opacity: .22; }
    100% { transform: translateX(120%); opacity: 0; }
}

@keyframes statNumberGlow {
    0%, 100% { text-shadow: 0 0 0 rgba(176, 224, 230, 0); }
    50% { text-shadow: 0 0 18px rgba(176, 224, 230, .28); }
}

@keyframes missionGlow {
    0%, 100% { box-shadow: 0 12px 30px rgba(26, 54, 93, .06); }
    50% { box-shadow: 0 18px 38px rgba(74, 144, 226, .13); }
}

@keyframes titleLineIn {
    from { opacity: 0; transform: scaleX(.25); transform-origin: left; }
    to { opacity: 1; transform: scaleX(1); transform-origin: left; }
}

body.legacy-home .hero-content {
    animation: legacyHeroEnter .9s cubic-bezier(.2, .7, .2, 1) both;
}

body.legacy-home .stats-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #142f50, #236a9f, #4a90e2, #236a9f, #142f50);
    background-size: 240% 240%;
    animation: statsGradientShift 14s ease-in-out infinite;
    border-top: 4px solid #9de8f0;
    border-bottom: 4px solid rgba(255, 255, 255, .18);
    box-shadow: 0 12px 30px rgba(15, 55, 93, .18);
}

body.legacy-home .stats-banner::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -35%;
    width: 24%;
    content: '';
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
    transform: skewX(-18deg);
    animation: statsShine 8s ease-in-out infinite;
    pointer-events: none;
}

.stats-overline {
    position: relative;
    z-index: 1;
    margin: 0 0 4px;
    color: #dffcff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-align: center;
    text-transform: uppercase;
}

body.legacy-home .stats-grid {
    gap: 1rem;
}

body.legacy-home .stat-item {
    position: relative;
    padding: 2rem 1.25rem;
    border-radius: 16px;
    transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}

body.legacy-home .stat-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, .34);
}

body.legacy-home .stat-item:hover {
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 10px 24px rgba(7, 26, 45, .14);
    transform: translateY(-6px);
}

body.legacy-home .stat-number {
    color: #fff;
    animation: statNumberGlow 4s ease-in-out infinite;
}

body.legacy-home .stat-label {
    color: #fff;
    opacity: 1;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(7, 26, 45, .42);
}

body.legacy-home .stat-item:nth-child(2) .stat-number {
    animation-delay: .65s;
}

body.legacy-home .stat-item:nth-child(3) .stat-number {
    animation-delay: 1.3s;
}

body.legacy-home .stat-item:nth-child(4) .stat-number {
    animation-delay: 1.95s;
}

.legacy-home-content {
    background: #f7fafc;
}

.legacy-about-section,
.legacy-feature-section,
.legacy-cta-section {
    padding: 100px 0;
}

.legacy-section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.legacy-eyebrow {
    margin-bottom: 12px;
    color: #2b77ad;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.legacy-section-heading h2,
.legacy-feature-copy h2,
.legacy-cta-card h2 {
    margin-bottom: 18px;
    color: #1a365d;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.12;
}

.legacy-section-heading > p:last-child,
.legacy-feature-copy > p:not(.legacy-eyebrow),
.legacy-cta-card > p:not(.legacy-eyebrow) {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.8;
}

.legacy-mission-statement {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding: 24px 28px;
    border-left: 4px solid #4a90e2;
    border-radius: 0 14px 14px 0;
    background: linear-gradient(135deg, rgba(231, 243, 251, .95), rgba(255, 255, 255, .82));
    color: #294862 !important;
    font-size: 1.14rem !important;
    font-weight: 600;
    line-height: 1.85 !important;
    text-align: left;
    animation: missionGlow 6s ease-in-out 1.1s infinite;
}

.section-title::after {
    animation: titleLineIn .8s cubic-bezier(.2, .7, .2, 1) both;
}

.legacy-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.legacy-value-card {
    padding: 34px 30px;
    border: 1px solid #dce8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(26, 54, 93, .06);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.legacy-value-card:hover {
    border-color: #8ec3e7;
    box-shadow: 0 18px 36px rgba(26, 54, 93, .12);
    transform: translateY(-6px);
}

.legacy-value-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 14px;
    background: #e9f4fb;
    color: #2b77ad;
    font-size: 1.25rem;
}

.legacy-value-card h3 {
    margin-bottom: 12px;
    color: #1a365d;
    font-size: 1.45rem;
}

.legacy-value-card p {
    color: #5f7085;
    line-height: 1.7;
}

.legacy-feature-section {
    background: #fff;
}

.legacy-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 70px;
}

.legacy-feature-copy {
    max-width: 560px;
}

.legacy-feature-list {
    display: grid;
    gap: 16px;
    margin: 28px 0;
    list-style: none;
}

.legacy-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #40566c;
    line-height: 1.5;
}

.legacy-feature-list i {
    flex: 0 0 auto;
    margin-top: 4px;
    color: #4a90e2;
}

.legacy-feature-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.legacy-text-link {
    color: #2b77ad;
    font-weight: 800;
    text-decoration: none;
}

.legacy-text-link i {
    margin-left: 5px;
    transition: transform .2s ease;
}

.legacy-text-link:hover i {
    transform: translateX(4px);
}

.legacy-feature-image {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    border-radius: 24px;
    background: #dcebf4;
    box-shadow: 0 20px 45px rgba(26, 54, 93, .14);
}

.legacy-feature-image img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.legacy-feature-image:hover img {
    transform: scale(1.04);
}

.legacy-image-caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(10, 36, 61, .78);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.legacy-cta-section {
    background: #f7fafc;
}

.legacy-cta-card {
    padding: 60px;
    border-radius: 24px;
    background: linear-gradient(135deg, #e7f3fb 0%, #d5eafa 100%);
    text-align: center;
}

.legacy-cta-card > p:not(.legacy-eyebrow) {
    max-width: 680px;
    margin: 0 auto 28px;
}

.legacy-reveal {
    opacity: 1;
    transform: none;
}

.legacy-reveal.motion-visible {
    animation: legacyReveal .75s cubic-bezier(.2, .7, .2, 1) var(--motion-delay, 0s) both;
}

@media (max-width: 768px) {
    .legacy-about-section,
    .legacy-feature-section,
    .legacy-cta-section {
        padding: 72px 0;
    }

    .legacy-values-grid,
    .legacy-feature-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .legacy-feature-grid {
        gap: 38px;
    }

    .legacy-feature-copy {
        max-width: none;
    }

    .legacy-feature-image,
    .legacy-feature-image img {
        min-height: 300px;
    }

    .legacy-cta-card {
        padding: 42px 24px;
    }

    body.legacy-home .stat-item {
        padding: 1.5rem .75rem;
    }

    body.legacy-home .stat-label {
        font-size: .68rem;
        letter-spacing: .04em;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.legacy-home .hero-content,
    .hero-slide,
    .hero-slide.active img,
    .hero-slide-arrow,
    .hero-slide-dot,
    body.legacy-home .stats-banner,
    body.legacy-home .stats-banner::after,
    body.legacy-home .stat-number,
    .legacy-reveal.motion-visible,
    .legacy-mission-statement,
    .section-title::after {
        animation: none !important;
    }

    .hero-slide {
        transition: none !important;
    }
}

/* Full-site slide-out navigation */
.navbar .nav-container {
    position: relative;
}

.navbar .nav-menu {
    position: fixed;
    top: 92px;
    right: 2rem;
    left: auto;
    display: flex;
    width: min(360px, calc(100vw - 2rem));
    max-height: calc(100vh - 112px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    overflow-y: auto;
    border: 1px solid rgba(74, 144, 226, .22);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 20px 50px rgba(15, 55, 93, .2);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px) scale(.97);
    transform-origin: top right;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    visibility: hidden;
    z-index: 1001;
}

.navbar .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.navbar .nav-menu .nav-link {
    display: block;
    padding: 13px 16px;
    border-radius: 11px;
    font-size: 1rem;
}

.navbar .hamburger {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 0;
    background: transparent;
    z-index: 1002;
}

.navbar .hamburger.active {
    border-radius: 12px;
    background: rgba(74, 144, 226, .1);
}

.navbar .hamburger.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.navbar .hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar .hamburger.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 600px) {
    .navbar .nav-menu {
        top: 78px;
        right: 1rem;
        width: calc(100vw - 2rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .navbar .nav-menu,
    .navbar .hamburger .bar {
        transition: none !important;
    }
}

/* Transparent glass navigation with a few quick links always visible */
.navbar {
    background: transparent !important;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, .88) !important;
    border-bottom-color: rgba(23, 50, 77, .1);
    box-shadow: 0 8px 24px rgba(10, 39, 66, .1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar .nav-menu:not(.active) {
    position: static;
    display: flex;
    width: auto;
    max-height: none;
    flex-direction: row;
    align-items: center;
    gap: .15rem;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
}

.navbar .nav-menu:not(.active) .nav-link {
    display: none;
    color: var(--ink) !important;
    text-shadow: 0 1px 12px rgba(255, 255, 255, .55);
}

.navbar .nav-menu:not(.active) .nav-link:nth-child(-n+3) {
    display: block;
}

.navbar .nav-menu:not(.active) .nav-link:hover {
    background: transparent !important;
    color: var(--sky) !important;
}

.navbar .nav-menu:not(.active) .nav-link.active {
    background: transparent !important;
    color: var(--sky) !important;
}

.navbar .hamburger {
    display: flex;
    flex-shrink: 0;
    color: var(--ink);
    border: 1px solid rgba(23, 50, 77, .16);
    background: rgba(255, 255, 255, .42);
    box-shadow: none;
}

.navbar .hamburger:hover,
.navbar .hamburger.active {
    background: rgba(255, 255, 255, .72);
}

/* Opening the menu restores every destination in the floating panel. */
.navbar .nav-menu.active {
    position: fixed;
    top: 92px;
    right: 2rem;
    left: auto;
    display: flex;
    width: min(360px, calc(100vw - 2rem));
    max-height: calc(100vh - 112px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    overflow-y: auto;
    border: 1px solid rgba(74, 144, 226, .22);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 20px 50px rgba(15, 55, 93, .2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.navbar .nav-menu.active .nav-link {
    display: block;
    color: var(--ink) !important;
    text-shadow: none;
}

@media (max-width: 900px) {
    .navbar .nav-menu:not(.active) .nav-link:nth-child(-n+3) {
        display: none;
    }
}

@media (max-width: 600px) {
    .navbar .nav-menu.active {
        top: 78px;
        right: 1rem;
        width: calc(100vw - 2rem);
    }
}

/* The homepage header sits directly over the blue photography hero. */
body.legacy-home .navbar .nav-link {
    color: #fff !important;
    text-shadow: 0 1px 10px rgba(5, 26, 48, .5);
}

body.legacy-home .navbar .nav-logo .logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(5, 26, 48, .42));
}

body.legacy-home .navbar .nav-menu:not(.active) .nav-link {
    color: #fff !important;
}

body.legacy-home .navbar .nav-link::before {
    background: #fff;
}

body.legacy-home .navbar .nav-menu:not(.active) .nav-link:hover,
body.legacy-home .navbar .nav-menu:not(.active) .nav-link.active {
    color: #fff !important;
    background: transparent !important;
}

body.legacy-home .navbar .hamburger {
    border-color: rgba(255, 255, 255, .42);
    background: rgba(7, 35, 63, .22);
}

body.legacy-home .navbar .hamburger:hover,
body.legacy-home .navbar .hamburger.active {
    background: rgba(7, 35, 63, .5);
}

body.legacy-home .navbar .bar {
    background: #fff;
}

body.legacy-home .navbar.scrolled {
    background: rgba(9, 39, 67, .84) !important;
    border-bottom-color: rgba(255, 255, 255, .16);
    box-shadow: 0 8px 24px rgba(5, 26, 48, .2);
}

/* Keep the menu control visually light: three lines, not a boxed button. */
.navbar .hamburger,
.navbar .hamburger:hover,
.navbar .hamburger.active {
    border: 0;
    background: transparent;
    box-shadow: none;
    transition: opacity .25s ease, transform .25s ease;
}

.navbar .hamburger:hover {
    opacity: .72;
}

.navbar .hamburger .bar {
    width: 26px;
    height: 2px;
    margin: 3px 0;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .2s ease;
}

.navbar .hamburger:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
    border-radius: 4px;
}

body.legacy-home .navbar .hamburger,
body.legacy-home .navbar .hamburger:hover,
body.legacy-home .navbar .hamburger.active {
    border: 0;
    background: transparent;
}

/* Final shared navbar states.
   The header stays fixed over the first visual section; page-specific hero
   padding handles readable content placement without adding a global spacer. */
.navbar {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    min-height: 78px;
    z-index: 1100;
    background: transparent !important;
    color: #fff !important;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition:
        background-color .3s ease,
        border-color .3s ease,
        box-shadow .3s ease,
        backdrop-filter .3s ease,
        -webkit-backdrop-filter .3s ease;
}

.navbar.scrolled,
body.legacy-home .navbar.scrolled {
    background: rgba(255, 255, 255, .96) !important;
    color: var(--ink) !important;
    border-bottom-color: rgba(23, 50, 77, .1);
    box-shadow: 0 8px 24px rgba(10, 39, 66, .12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar:not(.scrolled) .nav-logo .logo-img {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .1));
}

.navbar.scrolled .nav-logo .logo-img,
body.legacy-home .navbar.scrolled .nav-logo .logo-img {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .1));
}

.navbar:not(.scrolled) .nav-link {
    color: var(--ink) !important;
    text-shadow: none;
}

.navbar.scrolled .nav-link {
    color: var(--ink) !important;
    text-shadow: none;
}

.navbar:not(.scrolled) .nav-link:hover {
    color: var(--sky) !important;
    background: #f0f7fc !important;
}

.navbar.scrolled .nav-link:hover {
    color: var(--sky) !important;
    background: #f0f7fc !important;
}

.navbar:not(.scrolled) .nav-link.active {
    color: var(--sky) !important;
    background: #eaf4fb !important;
}

.navbar.scrolled .nav-link.active {
    color: var(--sky) !important;
    background: #eaf4fb !important;
}

.navbar:not(.scrolled) .nav-link::before {
    background: linear-gradient(90deg, var(--sky), var(--sky-deep));
}

.navbar.scrolled .nav-link::before {
    background: linear-gradient(90deg, var(--sky), var(--sky-deep));
}

.navbar:not(.scrolled) .bar {
    background: var(--ink);
}

.navbar.scrolled .bar {
    background: var(--ink);
}

@media (min-width: 769px) {
    .navbar .nav-menu,
    .navbar .nav-menu:not(.active) {
        position: static;
        display: flex;
        width: auto;
        max-height: none;
        flex-direction: row;
        align-items: center;
        gap: .25rem;
        padding: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
    }

    .navbar .nav-menu .nav-link,
    .navbar .nav-menu:not(.active) .nav-link {
        display: block;
    }

    .navbar .hamburger {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        min-height: 70px;
    }

    .navbar .nav-menu,
    .navbar .nav-menu:not(.active) {
        position: fixed;
        top: 70px;
        right: 1rem;
        left: 1rem;
        display: flex;
        width: auto;
        max-height: calc(100vh - 86px);
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px;
        overflow-y: auto;
        border: 1px solid rgba(74, 144, 226, .22);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 20px 50px rgba(15, 55, 93, .2);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-14px) scale(.97);
        transform-origin: top right;
        visibility: hidden;
        transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
        z-index: 1101;
    }

    .navbar .nav-menu.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        visibility: visible;
    }

    .navbar .nav-menu .nav-link,
    .navbar .nav-menu:not(.active) .nav-link,
    .navbar .nav-menu.active .nav-link {
        display: block;
        padding: 13px 16px;
        border-radius: 11px;
        color: var(--ink) !important;
        text-shadow: none;
        font-size: 1rem;
    }

    .navbar .nav-menu .nav-link:hover,
    .navbar .nav-menu .nav-link.active {
        color: var(--sky) !important;
        background: #eaf4fb !important;
    }

    .navbar .hamburger {
        display: flex;
        z-index: 1102;
    }
}

@media (prefers-reduced-motion: reduce) {
    .navbar,
    .navbar .nav-menu,
    .navbar .hamburger .bar {
        transition: none !important;
    }
}

/* Give the full desktop navigation more breathing room without widening
   the header enough to create overflow at medium desktop widths. */
@media (min-width: 769px) {
    .navbar .nav-menu {
        gap: .55rem;
    }

    .navbar .nav-menu .nav-link {
        padding-inline: .68rem;
    }
}

@media (min-width: 769px) and (max-width: 1120px) {
    .navbar .nav-container {
        padding-inline: 1rem;
    }

    .navbar .nav-logo .logo-img {
        width: 142px;
    }

    .navbar .nav-menu {
        gap: .15rem;
    }

    .navbar .nav-menu .nav-link {
        font-size: .82rem;
        padding-inline: .42rem;
    }
}

/* Keep the full link row from compressing on smaller laptops. */
@media (min-width: 769px) and (max-width: 1100px) {
    .navbar .nav-menu,
    .navbar .nav-menu:not(.active) {
        position: fixed;
        top: 78px;
        right: 1rem;
        left: auto;
        display: flex;
        width: min(360px, calc(100vw - 2rem));
        max-height: calc(100vh - 94px);
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px;
        overflow-y: auto;
        border: 1px solid rgba(74, 144, 226, .22);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 20px 50px rgba(15, 55, 93, .2);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-14px) scale(.97);
        transform-origin: top right;
        visibility: hidden;
        transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
        z-index: 1101;
    }

    .navbar .nav-menu.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        visibility: visible;
    }

    .navbar .nav-menu .nav-link,
    .navbar .nav-menu:not(.active) .nav-link {
        display: block;
        padding: 13px 16px;
        border-radius: 11px;
        color: var(--ink) !important;
        text-shadow: none;
        font-size: 1rem;
    }

    .navbar .nav-menu .nav-link:hover,
    .navbar .nav-menu .nav-link.active {
        color: var(--sky) !important;
        background: #eaf4fb !important;
    }

    .navbar .hamburger {
        display: flex;
        z-index: 1102;
    }
}

/* Gallery lightbox */
.gallery-item {
    width: 100%;
    padding: 0;
    border: 1px solid var(--ui-line);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: zoom-in;
}

.gallery-item:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 4px;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 25, 43, .88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 1rem;
    width: min(1120px, 100%);
    max-height: calc(100vh - 3rem);
    animation: lightboxReveal .3s cubic-bezier(.2, .7, .2, 1) both;
}

.gallery-lightbox-figure {
    display: grid;
    gap: .9rem;
    min-width: 0;
    margin: 0;
}

.gallery-lightbox-image {
    display: block;
    width: 100%;
    max-height: min(76vh, 720px);
    object-fit: contain;
    border-radius: 14px;
    background: #10243e;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.gallery-lightbox-caption {
    display: grid;
    gap: .15rem;
    color: #fff;
    text-align: center;
}

.gallery-lightbox-caption strong {
    font-size: 1.15rem;
}

.gallery-lightbox-caption span {
    color: rgba(255, 255, 255, .72);
    font-size: .95rem;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
    border-color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .24);
    transform: scale(1.06);
}

.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 3px;
}

.gallery-lightbox-close {
    position: absolute;
    top: -1.25rem;
    right: -1.25rem;
    z-index: 2;
}

@keyframes lightboxReveal {
    from { opacity: 0; transform: scale(.97) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 600px) {
    .gallery-lightbox {
        padding: .75rem;
    }

    .gallery-lightbox-dialog {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        gap: .35rem;
    }

    .gallery-lightbox-close {
        top: -2.75rem;
        right: 0;
    }

    .gallery-lightbox-image {
        max-height: 70vh;
        border-radius: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-lightbox-dialog {
        animation: none;
    }

    .gallery-lightbox-close,
    .gallery-lightbox-nav {
        transition: none;
    }
}

/* Partners page */
.partners-page {
    background: #f7fafc;
}

.partners-page main {
    padding-top: 80px;
}

.partners-hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 100px;
    background:
        radial-gradient(circle at 86% 20%, rgba(157, 232, 240, .3), transparent 28%),
        linear-gradient(135deg, #e7f3fb 0%, #f7fafc 68%);
}

.partners-hero::after {
    position: absolute;
    right: -100px;
    bottom: -180px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(74, 144, 226, .16);
    border-radius: 50%;
    content: '';
}

.partners-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.partners-kicker,
.section-kicker {
    margin-bottom: 14px;
    color: #2b77ad;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.partners-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
}

.partners-kicker span {
    display: inline-block;
    width: 34px;
    height: 3px;
    border-radius: 5px;
    background: #4a90e2;
}

.partners-hero h1 {
    max-width: 760px;
    margin-bottom: 22px;
    color: #1a365d;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1.05;
}

.partners-hero-inner > p:last-child {
    max-width: 690px;
    color: #4a5568;
    font-size: 1.15rem;
    line-height: 1.8;
}

.partners-jump-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.35rem 0 0.5rem;
}

.partners-jump-links a {
    display: inline-flex;
    min-height: 2.8rem;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
    color: #1a365d;
    font-size: 0.92rem;
    font-weight: 750;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(43, 119, 173, 0.24);
    border-radius: 999px;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.partners-jump-links a:hover,
.partners-jump-links a:focus-visible {
    background: #fff;
    border-color: #2b77ad;
    transform: translateY(-1px);
}

.partners-jump-links a:focus-visible {
    outline: 3px solid rgba(43, 119, 173, 0.35);
    outline-offset: 3px;
}

.partners-section {
    padding: 100px 0;
    background: #fff;
}

.partner-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    align-items: center;
    gap: 80px;
}

.partner-copy h2,
.partners-connection-card h2 {
    margin-bottom: 20px;
    color: #1a365d;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.1;
}

.partner-copy > p:not(.section-kicker) {
    max-width: 620px;
    color: #4a5568;
    font-size: 1.08rem;
    line-height: 1.8;
}

.partner-copy .btn {
    margin-top: 14px;
}

.partner-logo-card {
    position: relative;
    display: flex;
    min-height: 390px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 36px;
    overflow: hidden;
    border: 1px solid #dce8f0;
    border-radius: 28px;
    background: linear-gradient(145deg, #f9fcff 0%, #e5f2fb 100%);
    box-shadow: 0 22px 50px rgba(26, 54, 93, .12);
    text-align: center;
}

.partner-logo-card img {
    position: relative;
    z-index: 1;
    width: min(100%, 390px);
    height: 255px;
    object-fit: contain;
}

.partner-logo-card p {
    position: relative;
    z-index: 1;
    margin: 14px 0 3px;
    color: #1a365d;
    font-size: 1.25rem;
    font-weight: 800;
}

.partner-logo-card span {
    position: relative;
    z-index: 1;
    color: #5f7085;
    font-size: .88rem;
}

.partner-logo-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(74, 144, 226, .13);
    filter: blur(10px);
    transform: translateX(-50%);
}

.partner-community-figure {
    margin: 76px 0 0;
}

.partner-community-figure img {
    display: block;
    width: 100%;
    height: clamp(250px, 34vw, 410px);
    object-fit: cover;
    object-position: center 58%;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(26, 54, 93, .12);
}

.partner-community-figure figcaption {
    margin-top: 14px;
    color: #5f7085;
    font-size: .86rem;
    letter-spacing: .02em;
}

.partners-connection {
    padding: 90px 0;
    background: #f7fafc;
}

.partner-details {
    padding: 100px 0;
    background: #f7fafc;
}

.partner-details-heading {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.partner-details-heading h2 {
    margin-bottom: 18px;
    color: #1a365d;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.1;
}

.partner-details-heading > p:last-child {
    color: #4a5568;
    font-size: 1.08rem;
    line-height: 1.8;
}

.partner-impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-impact-card {
    padding: 28px 24px;
    border: 1px solid #dce8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(26, 54, 93, .06);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.partner-impact-card:hover {
    border-color: #8ec3e7;
    box-shadow: 0 18px 34px rgba(26, 54, 93, .12);
    transform: translateY(-5px);
}

.partner-impact-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 13px;
    background: #e7f3fb;
    color: #2b77ad;
    font-size: 1.15rem;
}

.partner-impact-card h3 {
    margin-bottom: 12px;
    color: #1a365d;
    font-size: 1.2rem;
    line-height: 1.25;
}

.partner-impact-card p {
    color: #5f7085;
    font-size: .95rem;
    line-height: 1.7;
}

.partner-scholarship {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 24px;
    margin-top: 28px;
    padding: 34px;
    border: 1px solid rgba(74, 144, 226, .25);
    border-radius: 20px;
    background: linear-gradient(135deg, #e7f3fb 0%, #d5eafa 100%);
}

.partner-scholarship-mark {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 15px;
    background: #2b77ad;
    color: #fff;
    font-size: 1.35rem;
}

.partner-scholarship .section-kicker {
    margin-bottom: 7px;
}

.partner-scholarship h3 {
    margin-bottom: 10px;
    color: #1a365d;
    font-size: 1.5rem;
}

.partner-scholarship p:last-child {
    max-width: 850px;
    color: #40566c;
    line-height: 1.75;
}

.partners-connection-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 56px;
    border-radius: 24px;
    background: linear-gradient(135deg, #e7f3fb 0%, #d5eafa 100%);
}

.partners-connection-card h2 {
    max-width: 660px;
    margin-bottom: 14px;
}

.partners-connection-card > div:first-child > p:last-child {
    max-width: 640px;
    color: #4a5568;
    line-height: 1.7;
}

.partners-connection-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 800px) {
    .partners-page main {
        padding-top: 70px;
    }

    .partners-hero {
        padding: 82px 0 72px;
    }

    .partners-section,
    .partners-connection,
    .partner-details {
        padding: 72px 0;
    }

    .partner-showcase {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .partner-community-figure {
        margin-top: 54px;
    }

    .partner-logo-card {
        min-height: 330px;
    }

    .partners-connection-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 38px 26px;
    }

    .partner-impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .partner-impact-grid {
        grid-template-columns: 1fr;
    }

    .partner-scholarship {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }
}

/* Cohesive interface polish */
:root {
    --ui-paper: #f5f9fc;
    --ui-surface: #ffffff;
    --ui-ink: #17324d;
    --ui-muted: #60758b;
    --ui-blue: #2f76b7;
    --ui-blue-deep: #18517f;
    --ui-line: #dce8f0;
    --ui-shadow: 0 16px 38px rgba(31, 75, 108, .08);
}

body {
    letter-spacing: 0;
}

body:not(.legacy-home) {
    background: var(--ui-paper);
}

body:not(.legacy-home) .navbar {
    background: rgba(255, 255, 255, .9) !important;
    border-bottom: 1px solid rgba(23, 50, 77, .08);
    box-shadow: 0 8px 24px rgba(31, 75, 108, .06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body:not(.legacy-home) .navbar.scrolled {
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 10px 28px rgba(31, 75, 108, .1);
}

body:not(.legacy-home) .nav-link {
    color: var(--ui-ink) !important;
    text-shadow: none;
}

body:not(.legacy-home) .nav-link.active,
body:not(.legacy-home) .nav-link:hover {
    color: var(--ui-blue) !important;
    background: transparent !important;
}

body:not(.legacy-home) .nav-link:focus-visible,
body:not(.legacy-home) .footer a:focus-visible,
body.legacy-home .nav-link:focus-visible,
body.legacy-home .footer a:focus-visible {
    outline: 3px solid rgba(184, 220, 88, .8);
    outline-offset: 4px;
    border-radius: 6px;
}

.section-title {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
    color: var(--ui-ink);
    font-size: clamp(2.35rem, 5vw, 3.6rem);
    letter-spacing: -.045em;
}

.section-title::after {
    width: 58px;
    height: 4px;
    background: var(--ui-blue);
    box-shadow: none;
}

.about,
.services,
.gallery,
.contact {
    padding-top: clamp(104px, 12vw, 148px) !important;
    padding-bottom: clamp(88px, 10vw, 128px);
    background:
        radial-gradient(circle at 8% 10%, rgba(184, 220, 88, .08), transparent 22%),
        linear-gradient(180deg, #fbfdff 0%, var(--ui-paper) 100%);
}

.about-grid,
.contact-grid {
    max-width: 1180px;
    gap: clamp(2.5rem, 6vw, 5rem);
}

.about-text p,
.contact-info > p,
.about-text li {
    color: var(--ui-muted);
}

.about-text h3,
.contact-info h3,
.contact-info h4 {
    color: var(--ui-ink);
}

.stat-card,
.meeting-card,
.contact-item,
.contact-form,
.meeting-cta {
    border: 1px solid var(--ui-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--ui-shadow);
    backdrop-filter: none;
}

.stat-card:hover,
.meeting-card:hover,
.contact-item:hover {
    border-color: rgba(47, 118, 183, .32);
    box-shadow: 0 22px 44px rgba(31, 75, 108, .12);
    transform: translateY(-4px);
}

.stat-card::before,
.meeting-card::before,
.meeting-cta::before {
    height: 3px;
    background: linear-gradient(90deg, var(--ui-blue-deep), var(--ui-blue));
}

.stat-card i,
.meeting-card i {
    color: var(--ui-blue);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.meeting-info {
    max-width: 1180px;
    gap: 24px;
    padding: 0;
}

.meeting-card {
    padding: 42px 34px;
}

.meeting-card h3,
.meeting-cta h3 {
    color: var(--ui-ink);
}

.meeting-card p,
.meeting-cta p {
    color: var(--ui-muted);
}

.gallery-subtitle {
    max-width: 680px;
    margin: -1.3rem auto 3.5rem;
    color: var(--ui-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.gallery-grid {
    max-width: 1180px;
    gap: 24px;
    padding: 0;
}

.gallery-item {
    border: 1px solid var(--ui-line);
    border-radius: 20px;
    box-shadow: var(--ui-shadow);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(31, 75, 108, .14);
}

.contact-grid {
    align-items: start;
}

.contact-item {
    box-shadow: 0 12px 28px rgba(31, 75, 108, .06);
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-form {
    box-shadow: 0 18px 42px rgba(31, 75, 108, .1);
}

.btn {
    min-height: 48px;
    padding: .78rem 1.25rem;
    border-radius: 12px;
    font-size: .92rem;
    letter-spacing: .01em;
    transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.footer {
    border-top: 1px solid var(--ui-line);
    background: #edf6fb;
}

.footer-section h3,
.footer-section h4 {
    color: var(--ui-ink);
}

.footer-section p,
.footer-section ul li a,
.footer-bottom {
    color: var(--ui-muted);
}

.footer a:focus-visible {
    outline-color: var(--ui-blue);
}

@media (max-width: 768px) {
    .section-title {
        margin-bottom: 3.6rem;
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .about-grid,
    .contact-grid {
        gap: 2rem;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .meeting-info,
    .gallery-grid {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .gallery-subtitle {
        margin-right: 1rem;
        margin-left: 1rem;
        margin-bottom: 2.5rem;
    }
}

/* Remaining interior page UX pass */
.team {
    padding-top: clamp(104px, 12vw, 148px) !important;
    padding-bottom: clamp(88px, 10vw, 128px);
    background:
        radial-gradient(circle at 92% 12%, rgba(184, 220, 88, .09), transparent 22%),
        linear-gradient(180deg, #fbfdff 0%, var(--ui-paper) 100%);
}

.team-content {
    max-width: 1180px;
    gap: clamp(2.5rem, 6vw, 5.5rem);
    padding: 0;
    align-items: start;
}

.team-image {
    position: sticky;
    top: 112px;
    border: 1px solid var(--ui-line);
    border-radius: 22px;
    box-shadow: var(--ui-shadow);
}

.group-photo {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: none;
}

.team-image:hover {
    box-shadow: 0 22px 44px rgba(31, 75, 108, .13);
    transform: translateY(-4px);
}

.team-text {
    padding-top: 4px;
}

.team-text h3 {
    margin-bottom: 1.15rem;
    color: var(--ui-ink);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -.04em;
}

.team-text p {
    color: var(--ui-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.founders {
    margin-top: 1.75rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--ui-line);
    border-left: 4px solid var(--ui-blue);
    border-radius: 16px;
    background: var(--ui-surface);
    box-shadow: 0 10px 24px rgba(31, 75, 108, .05);
}

.founders h4 {
    color: var(--ui-ink);
}

.founders ul li {
    color: var(--ui-muted);
}

.group-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.group-actions .pathway-link {
    margin-top: 0;
}

/* News should feel like a useful briefing, not a large logo splash. */
.news-hero-v2 {
    padding: 82px 0 64px;
    background:
        radial-gradient(circle at 14% 20%, rgba(184, 220, 88, .16), transparent 25%),
        linear-gradient(135deg, #173f68 0%, #2f76b7 100%);
}

.news-brand-container {
    width: min(100%, 620px);
    max-width: 620px;
    padding: 24px 34px 22px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(7, 32, 55, .22);
}

.news-logo-v2 {
    width: min(100%, 460px);
    height: 128px;
    margin-bottom: 8px;
    object-fit: cover;
    object-position: center;
}

.news-tagline {
    margin: 0;
    color: #526a7f;
    font-size: .98rem;
    font-weight: 600;
}

.news-container-v2 {
    padding: 72px 0 100px;
    background:
        radial-gradient(circle at 90% 8%, rgba(184, 220, 88, .08), transparent 20%),
        var(--ui-paper);
}

.news-layout {
    max-width: 1180px;
    gap: 2.5rem;
}

.news-article-card,
.news-article-card-v2,
.sidebar-widget-v2 {
    border: 1px solid var(--ui-line);
    box-shadow: var(--ui-shadow);
}

.news-article-card:hover {
    border-color: rgba(47, 118, 183, .28);
    box-shadow: 0 24px 48px rgba(31, 75, 108, .12);
    transform: translateY(-5px);
}

.article-image-v2 {
    height: 250px;
    background: linear-gradient(135deg, #dcecf6, #eff7fb);
}

.article-badge-v2 {
    top: 18px;
    left: 18px;
    background: var(--ui-blue);
    border-radius: 8px;
}

.article-body-v2 {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.article-body-v2 h2,
.article-body-v2 h3,
.sidebar-widget-v2 h4 {
    color: var(--ui-ink);
}

.article-body-v2 p,
.upcoming-list-v2 li {
    color: var(--ui-muted);
}

.article-meta-v2 i,
.news-link-v2 {
    color: var(--ui-blue);
}

.btn-news-v2 {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    padding: .78rem 1.25rem;
    border-radius: 12px;
    background: var(--ui-blue);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.btn-news-v2:hover {
    background: var(--ui-blue-deep);
    box-shadow: 0 10px 20px rgba(47, 118, 183, .22);
    transform: translateY(-2px);
}

.news-article-card-v2 {
    padding: 1.75rem;
}

.news-article-card-v2:hover {
    border-left: 1px solid rgba(47, 118, 183, .28);
    box-shadow: 0 18px 36px rgba(31, 75, 108, .1);
    transform: translateY(-4px);
}

.sidebar-widget-v2 {
    padding: 1.5rem;
    border-radius: 18px;
}

.promo-widget-v2 {
    border: 0;
    background: linear-gradient(135deg, #1a365d 0%, #2f76b7 100%);
}

/* Consistent pacing for the editorial Pathways and Partners pages. */
.pathways-hero {
    min-height: 650px;
    padding-top: 154px;
    padding-bottom: 110px;
}

.pathways-section,
.partners-section,
.partner-details,
.partners-connection {
    padding-top: clamp(76px, 9vw, 112px);
    padding-bottom: clamp(76px, 9vw, 112px);
}

.pathways-intro {
    margin-bottom: 42px;
}

.pathway-partner {
    border-color: var(--ui-line);
    box-shadow: var(--ui-shadow);
    transition: opacity .18s ease;
}

.pathway-partner:hover {
    opacity: .9;
}

.pathway-mark {
    min-height: 148px;
    background: linear-gradient(145deg, #edf7fd, #e0f0f8);
}

.pathway-course {
    border: 1px solid #d4e8f3;
    box-shadow: 0 14px 32px rgba(31, 75, 108, .06);
}

.partner-logo-card,
.partner-impact-card,
.partner-scholarship,
.partners-connection-card {
    box-shadow: var(--ui-shadow);
}

.partner-logo-card {
    min-height: 360px;
}

.partner-impact-card {
    border-color: var(--ui-line);
}

.partner-impact-card:hover {
    border-color: rgba(47, 118, 183, .3);
}

@media (max-width: 800px) {
    .team-image {
        position: relative;
        top: auto;
    }

    .news-brand-container {
        padding: 18px 20px 17px;
    }

    .news-logo-v2 {
        height: 96px;
    }

    .news-container-v2 {
        padding-top: 52px;
    }
}

@media (max-width: 640px) {
    .group-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: .85rem;
    }

    .group-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .news-hero-v2 {
        padding: 66px 0 48px;
    }

    .news-logo-v2 {
        height: 76px;
    }

    .pathways-hero {
        min-height: auto;
        padding-top: 124px;
        padding-bottom: 76px;
    }
}

/* Practical youth-aviation resource directory */
.pathway-resources {
    margin-top: clamp(72px, 9vw, 112px);
    padding-top: clamp(64px, 8vw, 88px);
    border-top: 1px solid var(--ui-line);
    scroll-margin-top: 110px;
}

.pathway-resources-heading {
    max-width: 720px;
    margin-bottom: 38px;
}

.pathway-resources-heading h2 {
    margin: .65rem 0 1rem;
    color: var(--ui-ink);
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    letter-spacing: -.045em;
    line-height: 1.06;
}

.pathway-resources-heading > p:last-child {
    max-width: 650px;
    color: var(--ui-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.pathway-resource-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 clamp(46px, 6vw, 72px);
    padding: 10px;
    border: 1px solid var(--ui-line);
    border-radius: 16px;
    background: #f1f8fc;
}

.pathway-resource-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 12px 15px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: var(--ui-blue-deep);
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.pathway-resource-nav a:hover,
.pathway-resource-nav a:focus-visible {
    border-color: #c2dceb;
    background: #fff;
    transform: translateY(-2px);
}

.pathway-resource-nav span {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--ui-blue-deep);
    color: #fff;
    font-size: .7rem;
    letter-spacing: .04em;
}

.pathway-job-filter {
    margin: 0 0 clamp(52px, 7vw, 78px);
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid #d4e8f3;
    border-radius: 20px;
    background: linear-gradient(145deg, #edf7fc 0%, #f9fcfe 100%);
    scroll-margin-top: 110px;
}

.pathway-job-filter-heading {
    max-width: 720px;
    margin-bottom: 23px;
}

.pathway-job-filter-heading h3 {
    margin: .6rem 0 .75rem;
    color: var(--ui-ink);
    font-size: clamp(1.65rem, 3.2vw, 2.45rem);
    letter-spacing: -.035em;
    line-height: 1.1;
}

.pathway-job-filter-heading > p:last-child {
    max-width: 640px;
    color: var(--ui-muted);
    line-height: 1.7;
}

.pathway-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.pathway-filter-button {
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid #c7dfe9;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    color: var(--ui-blue-deep);
    cursor: pointer;
    font: inherit;
    font-size: .84rem;
    font-weight: 800;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.pathway-filter-button:hover,
.pathway-filter-button:focus-visible {
    border-color: var(--ui-blue);
    background: #fff;
    transform: translateY(-2px);
}

.pathway-filter-button.is-active {
    border-color: var(--ui-blue-deep);
    background: var(--ui-blue-deep);
    color: #fff;
}

.pathway-filter-status {
    margin: 16px 0 0;
    color: var(--ui-muted);
    font-size: .82rem;
    font-weight: 700;
}

.pathway-resource-card[hidden],
.pathway-resource-group.is-empty,
.pathway-resource-subgroup.is-empty {
    display: none;
}

.pathway-resource-group {
    scroll-margin-top: 110px;
}

.pathway-resource-group-heading {
    max-width: 700px;
    margin: 0 0 26px;
}

.pathway-resource-group-heading h3 {
    margin: .6rem 0 .7rem;
    color: var(--ui-ink);
    font-size: clamp(1.75rem, 3.5vw, 2.7rem);
    letter-spacing: -.035em;
    line-height: 1.1;
}

.pathway-resource-group-heading > p:last-child {
    max-width: 650px;
    color: var(--ui-muted);
    line-height: 1.7;
}

.pathway-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pathway-resource-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 18px;
    min-height: 232px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: 18px;
    background: var(--ui-surface);
    box-shadow: 0 12px 28px rgba(31, 75, 108, .06);
    color: inherit;
    text-decoration: none;
    transition: opacity .18s ease;
}

.pathway-resource-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 68px;
    height: 68px;
    border-top: 1px solid rgba(47, 118, 183, .12);
    border-left: 1px solid rgba(47, 118, 183, .12);
    border-radius: 68px 0 0;
    content: '';
}

.pathway-resource-card:hover {
    opacity: .9;
}

.pathway-resource-card:focus-visible {
    outline: 3px solid rgba(47, 118, 183, .32);
    outline-offset: 4px;
}

.pathway-resource-card--local {
    border-color: rgba(184, 220, 88, .65);
    background: linear-gradient(145deg, #fff, #f8fcea);
}

.pathway-resource-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: #e8f3fa;
    color: var(--ui-blue);
    font-size: 1.1rem;
}

.pathway-resource-logo {
    display: grid;
    width: 82px;
    height: 64px;
    flex: 0 0 82px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e0ebf1;
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(31, 75, 108, .025);
    transition: opacity .18s ease;
}

.pathway-resource-logo img {
    display: block;
    width: 84%;
    height: 84%;
    object-fit: contain;
}

.pathway-resource-logo img[src$=".jpg"] {
    width: 58px;
    height: 58px;
    border-radius: 9px;
}

.pathway-resource-logo img[src$=".ico"] {
    width: 32px;
    height: 32px;
}

.pathway-resource-logo--dark {
    background: var(--ui-blue-deep);
}

.pathway-resource-logo--dark img {
    width: 92%;
    height: 78%;
}

.pathway-resource-card--local .pathway-resource-logo {
    border-color: rgba(184, 220, 88, .48);
}

.pathway-resource-card--local .pathway-resource-icon {
    background: #edf7d8;
    color: #6d8e22;
}

.pathway-resource-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
}

.pathway-resource-kicker {
    margin-bottom: 7px;
    color: var(--ui-blue);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pathway-resource-card--local .pathway-resource-kicker {
    color: #6d8e22;
}

.pathway-resource-content strong {
    margin-bottom: 9px;
    color: var(--ui-ink);
    font-size: 1.28rem;
    line-height: 1.2;
    text-wrap: balance;
}

.pathway-resource-content > span:not(.pathway-resource-kicker):not(.pathway-resource-link) {
    color: var(--ui-muted);
    font-size: .94rem;
    line-height: 1.65;
}

.pathway-resource-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--ui-blue-deep);
    font-size: .85rem;
    font-weight: 800;
}

.pathway-resource-link i {
    font-size: .72rem;
}

.pathway-resource-card:hover .pathway-resource-logo,
.pathway-resource-card:focus-visible .pathway-resource-logo {
    border-color: rgba(47, 118, 183, .34);
}

.pathway-resources-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 22px 0 0;
    color: var(--ui-muted);
    font-size: .84rem;
    line-height: 1.6;
}

.pathway-resources-note i {
    flex: 0 0 auto;
    margin-top: .22rem;
    color: var(--ui-blue);
}

.pathway-local-callout {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-top: 34px;
    padding: 24px 26px;
    border-left: 3px solid var(--pathway-lime);
    background: rgba(255, 255, 255, .64);
}

.pathway-local-callout h3 {
    margin: .55rem 0 .65rem;
    color: var(--ui-ink);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    letter-spacing: -.03em;
    line-height: 1.12;
}

.pathway-local-callout p:not(.section-kicker) {
    max-width: 600px;
    color: var(--ui-muted);
    font-size: .92rem;
    line-height: 1.65;
}

.pathway-local-callout .pathway-link {
    flex: 0 0 auto;
}

.pathway-course-note {
    max-width: 650px;
    margin-top: .8rem;
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
    line-height: 1.6;
}

.aviation-field-notes {
    margin-top: clamp(64px, 8vw, 92px);
    padding: clamp(30px, 5vw, 52px);
    border: 1px solid #d4e8f3;
    border-radius: 22px;
    background: linear-gradient(145deg, #edf7fc 0%, #f9fcfe 100%);
}

.aviation-field-heading {
    max-width: 700px;
    margin-bottom: 32px;
}

.aviation-field-heading h3 {
    margin: .65rem 0 .9rem;
    color: var(--ui-ink);
    font-size: clamp(1.9rem, 4vw, 3rem);
    letter-spacing: -.04em;
    line-height: 1.1;
}

.aviation-field-heading > p:last-child {
    max-width: 650px;
    color: var(--ui-muted);
    line-height: 1.75;
}

.aviation-field-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.aviation-field-card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-height: 126px;
    padding: 19px;
    border: 1px solid rgba(220, 232, 240, .95);
    border-radius: 15px;
    background: rgba(255, 255, 255, .82);
}

.aviation-field-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    background: #dceef8;
    color: var(--ui-blue);
    font-size: .82rem;
}

.aviation-field-card h4 {
    margin-bottom: 5px;
    color: var(--ui-ink);
    font-size: 1rem;
}

.aviation-field-card p {
    color: var(--ui-muted);
    font-size: .86rem;
    line-height: 1.55;
}

.pathway-resources-more {
    margin-top: clamp(64px, 8vw, 92px);
}

.pathway-resources-more .pathway-resources-heading {
    margin-bottom: 30px;
}

.pathway-resources-more .pathway-resources-heading h3 {
    margin: .65rem 0 .9rem;
    color: var(--ui-ink);
    font-size: clamp(1.9rem, 4vw, 3rem);
    letter-spacing: -.04em;
    line-height: 1.1;
}

.pathway-resource-grid--more .pathway-resource-card {
    min-height: 206px;
}

.pathway-resource-subgroup {
    margin-top: clamp(52px, 7vw, 76px);
    padding-top: clamp(28px, 4vw, 42px);
    border-top: 1px solid var(--ui-line);
    scroll-margin-top: 110px;
}

.pathway-resource-subgroup-heading {
    max-width: 700px;
    margin-bottom: 26px;
}

.pathway-resource-subgroup-heading h4 {
    margin: .55rem 0 .7rem;
    color: var(--ui-ink);
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    letter-spacing: -.03em;
    line-height: 1.15;
}

.pathway-resource-subgroup-heading > p:last-child {
    max-width: 650px;
    color: var(--ui-muted);
    line-height: 1.7;
}

@media (max-width: 760px) {
    .pathway-resource-nav {
        grid-template-columns: 1fr;
    }

    .pathway-filter-button {
        flex: 1 1 calc(50% - 9px);
    }

    .pathway-resource-grid {
        grid-template-columns: 1fr;
    }

    .pathway-resource-card {
        min-height: 0;
    }

    .aviation-field-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .pathway-resource-card {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 22px;
    }

    .pathway-resource-logo {
        width: 78px;
        height: 58px;
    }

    .pathway-resources-note {
        font-size: .8rem;
    }

    .aviation-field-notes {
        padding: 25px 20px;
    }

    .aviation-field-grid {
        grid-template-columns: 1fr;
    }
}

/* Final mobile pass: keep the shared layout calm, readable, and easy to tap. */
@media (max-width: 767px) {
    html {
        scroll-padding-top: 82px;
    }

    body {
        min-width: 320px;
        font-size: 16px;
    }

    .container {
        width: 100%;
        padding-right: max(1rem, env(safe-area-inset-right));
        padding-left: max(1rem, env(safe-area-inset-left));
    }

    .navbar,
    .nav-container {
        min-height: 70px;
    }

    .nav-container {
        padding-right: max(1rem, env(safe-area-inset-right));
        padding-left: max(1rem, env(safe-area-inset-left));
    }

    .nav-logo .logo-img {
        width: 132px;
        height: 60px;
    }

    .navbar .nav-menu.active {
        top: 70px;
        right: .75rem;
        width: calc(100vw - 1.5rem);
        max-height: calc(100svh - 84px);
        gap: 3px;
        padding: .55rem;
        border-radius: 16px;
        border-color: rgba(47, 118, 183, .2);
        box-shadow: 0 18px 44px rgba(15, 55, 93, .2);
    }

    .navbar .nav-menu.active .nav-link {
        display: flex;
        min-height: 52px;
        align-items: center;
        justify-content: flex-start;
        padding: .8rem 1rem;
        border-radius: 11px;
        font-size: 1rem;
    }

    .navbar .hamburger {
        width: 48px;
        height: 48px;
        margin-right: -.25rem;
    }

    .navbar .hamburger .bar {
        width: 23px;
        height: 2px;
        margin: 3px 0;
    }

    body.legacy-home .hero {
        min-height: 700px;
        height: auto;
        padding: 126px 0 72px;
        background-size: cover;
        background-position: center;
    }

    body.legacy-home .hero-content {
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        align-items: center;
        text-align: center;
    }

    body.legacy-home .hero h1 {
        max-width: 11ch;
        margin-bottom: 1.35rem;
        font-size: clamp(2.65rem, 12vw, 4rem);
        line-height: 1;
    }

    body.legacy-home .hero-org-name {
        font-size: .82rem !important;
        letter-spacing: .12em;
    }

    body.legacy-home .hero-tagline {
        max-width: 30ch;
        font-size: 1rem !important;
        line-height: 1.4;
    }

    body.legacy-home .hero p:not(.hero-org-name):not(.hero-tagline):not(.hero-subtitle) {
        max-width: 31ch;
        font-size: .98rem;
        line-height: 1.55;
    }

    body.legacy-home .hero-subtitle {
        max-width: 31ch;
        margin-bottom: 0 !important;
        font-size: .9rem !important;
        line-height: 1.55;
    }

    body.legacy-home .hero-buttons {
        width: min(100%, 320px);
        margin-top: 1.65rem;
        align-items: stretch;
        flex-direction: column;
        gap: .7rem;
    }

    body.legacy-home .hero-buttons .btn {
        width: 100%;
        max-width: none;
    }

    body.legacy-home .hero-scroll {
        margin-top: 2.3rem;
        font-size: .68rem;
    }

    .hero-slide-controls {
        right: 14px;
        bottom: 16px;
        left: 14px;
    }

    .hero-slide-arrow {
        width: 44px;
        height: 44px;
    }

    body.legacy-home .stats-banner {
        padding-top: 1.15rem;
        padding-bottom: 1.35rem;
    }

    body.legacy-home .stats-overline {
        padding: .2rem 1rem .55rem;
        font-size: .62rem;
        letter-spacing: .14em;
    }

    body.legacy-home .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .55rem;
        background: transparent;
    }

    body.legacy-home .stat-item {
        min-width: 0;
        padding: 1rem .65rem;
        border: 1px solid rgba(255, 255, 255, .22);
        border-radius: 12px;
        background: rgba(255, 255, 255, .09);
    }

    body.legacy-home .stat-item:hover {
        background: rgba(255, 255, 255, .14);
    }

    body.legacy-home .stat-number {
        font-size: 1.35rem;
        line-height: 1.2;
    }

    body.legacy-home .stat-label {
        font-size: .7rem;
        letter-spacing: .025em;
        line-height: 1.4;
    }

    .legacy-about-section,
    .legacy-feature-section,
    .legacy-cta-section {
        padding: 64px 0;
    }

    .legacy-section-heading,
    .legacy-feature-copy {
        margin-bottom: 34px;
    }

    .legacy-section-heading h2,
    .legacy-feature-copy h2,
    .legacy-cta-card h2 {
        font-size: clamp(2rem, 9vw, 2.75rem);
        line-height: 1.08;
    }

    .legacy-section-heading > p:last-child,
    .legacy-feature-copy > p:not(.legacy-eyebrow),
    .legacy-cta-card > p:not(.legacy-eyebrow) {
        font-size: 1rem;
        line-height: 1.7;
    }

    .legacy-mission-statement {
        padding: 18px 18px 18px 20px;
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }

    .legacy-value-card {
        padding: 25px 22px;
    }

    .legacy-feature-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .legacy-feature-actions .btn {
        width: 100%;
        max-width: none;
    }

    .legacy-text-link {
        align-self: center;
    }

    .legacy-feature-image,
    .legacy-feature-image img {
        min-height: 270px;
    }

    .legacy-image-caption {
        right: 12px;
        bottom: 12px;
        left: 12px;
        padding: 10px 12px;
        font-size: .75rem;
    }

    .legacy-cta-card {
        padding: 34px 20px;
        border-radius: 20px;
    }

    .legacy-cta-card .btn {
        width: 100%;
        max-width: none;
    }

    .pathways-hero {
        min-height: auto;
        padding: 116px 0 66px;
    }

    .pathways-hero h1 {
        max-width: 11ch;
        margin-top: 1rem;
        font-size: clamp(2.7rem, 13vw, 4.2rem);
        line-height: .98;
    }

    .pathways-hero-inner > p:not(.pathways-kicker) {
        max-width: 34ch;
        font-size: 1rem;
        line-height: 1.65;
    }

    .pathways-actions {
        width: min(100%, 340px);
        flex-direction: column;
        gap: .7rem;
    }

    .pathways-actions .btn {
        width: 100%;
        max-width: none;
    }

    .pathways-section,
    .partners-section,
    .partner-details,
    .partners-connection {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .pathways-intro {
        margin-bottom: 32px;
    }

    .pathways-intro h2,
    .pathway-resources-heading h2 {
        font-size: clamp(2.15rem, 10vw, 3rem);
        line-height: 1.05;
    }

    .pathways-intro > p:last-child,
    .pathway-resources-heading > p:last-child {
        font-size: 1rem;
        line-height: 1.7;
    }

    .pathway-partner {
        gap: 20px;
        padding: 20px;
        border-radius: 18px;
    }

    .pathway-mark {
        min-height: 0;
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
        padding: 18px 20px;
    }

    .pathway-mark strong {
        font-size: 1.55rem;
    }

    .pathway-partner h3 {
        font-size: 1.55rem;
        line-height: 1.12;
    }

    .pathway-partner p:not(.section-kicker) {
        font-size: .98rem;
        line-height: 1.65;
    }

    .pathway-link {
        min-height: 44px;
        align-items: center;
        margin-top: .8rem;
    }

    .pathway-course {
        gap: 20px;
        padding: 26px 20px;
        border-radius: 18px;
    }

    .pathway-course h3 {
        font-size: 1.8rem;
        line-height: 1.12;
    }

    .pathway-course .btn {
        width: 100%;
    }

    .pathway-resources {
        margin-top: 60px;
        padding-top: 54px;
    }

    .pathway-resource-card {
        gap: 14px;
        padding: 20px;
        border-radius: 16px;
    }

    .pathway-resource-content strong {
        font-size: 1.16rem;
    }

    .pathway-resource-content > span:not(.pathway-resource-kicker):not(.pathway-resource-link) {
        font-size: .92rem;
        line-height: 1.6;
    }

    .aviation-field-notes {
        margin-top: 56px;
        padding: 24px 18px;
        border-radius: 18px;
    }

    .aviation-field-grid {
        gap: 10px;
    }

    .aviation-field-card {
        min-height: 0;
        padding: 15px;
    }

    .footer {
        padding: 3.5rem 0 1.5rem;
    }

    .footer-content {
        gap: 2.4rem;
        padding: 0;
    }

    .footer-logo {
        width: min(100%, 190px);
        height: auto;
        max-height: 88px;
        object-fit: contain;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 1rem;
        padding-right: .5rem;
        padding-left: .5rem;
    }

    .footer-bottom p {
        font-size: .72rem;
        line-height: 1.55;
    }

    .contact-form,
    .meeting-cta {
        padding: 24px 18px;
    }

    .contact-item,
    .meeting-card {
        padding: 24px 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 50px;
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    body.legacy-home .hero {
        min-height: 670px;
        padding-top: 112px;
    }

    body.legacy-home .hero h1 {
        font-size: clamp(2.4rem, 12vw, 3.2rem);
    }

    .nav-logo .logo-img {
        width: 122px;
    }

    .pathway-resource-card {
        padding: 18px;
    }
}

/* Native fixed navigation: the browser owns placement, JavaScript only changes state. */
.navbar {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 2000 !important;
    transform: none !important;
    transition:
        background .35s ease,
        border-bottom-color .35s ease,
        box-shadow .35s ease;
}

body.legacy-home .hero {
    margin-top: -78px;
}

.navbar .nav-container {
    height: 78px;
    min-height: 78px;
    transition: height .35s cubic-bezier(.22, 1, .36, 1);
}

body.legacy-home .hero {
    margin-top: 0 !important;
}

.navbar .nav-logo .logo-img {
    transition:
        width .35s cubic-bezier(.22, 1, .36, 1),
        height .35s cubic-bezier(.22, 1, .36, 1),
        filter .35s ease;
}

.navbar.scrolled {
    background: #fff !important;
    border-bottom-color: rgba(23, 50, 77, .12);
    box-shadow: 0 8px 26px rgba(15, 55, 93, .14);
}

.navbar.scrolled .nav-container {
    height: 64px;
    min-height: 64px;
}

.navbar.scrolled .nav-logo .logo-img {
    width: 136px;
    height: 60px;
}

.navbar.scrolled .nav-menu.active {
    top: 78px;
}

body.legacy-home .navbar.scrolled {
    background: #0e3b68 !important;
    border-bottom-color: rgba(255, 255, 255, .2);
    box-shadow: 0 8px 26px rgba(5, 26, 48, .28);
}

@media (max-width: 767px) {
    body.legacy-home .hero {
        margin-top: 0 !important;
    }

    .navbar .nav-container {
        height: 70px;
        min-height: 70px;
    }

    .navbar.scrolled .nav-container {
        height: 60px;
        min-height: 60px;
    }

    .navbar.scrolled .nav-logo .logo-img {
        width: 108px;
        height: 50px;
    }

    .navbar.scrolled .nav-menu.active {
        top: 68px;
    }
}

/* Shared interior finish — editorial field journal, tuned to the homepage palette. */
body:not(.legacy-home) {
    background: var(--ui-paper);
    color: var(--ui-ink);
    letter-spacing: 0;
}

body:not(.legacy-home) :is(h1, h2, h3, h4) {
    font-family: inherit;
    font-weight: 700;
    letter-spacing: -.035em;
}

body:not(.legacy-home) .container {
    width: min(100% - 48px, 1220px);
    padding-right: 0;
    padding-left: 0;
}

body:not(.legacy-home) .navbar {
    background: rgba(245, 249, 252, .96) !important;
    border-bottom: 1px solid rgba(23, 50, 77, .1);
    box-shadow: 0 4px 18px rgba(18, 51, 73, .055);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body:not(.legacy-home) .navbar .nav-container {
    width: min(100% - 48px, 1320px);
    padding: 0;
}

body:not(.legacy-home) .navbar .nav-logo .logo-img {
    width: auto;
    height: 68px;
    filter: none;
}

body:not(.legacy-home) .navbar.scrolled {
    background: rgba(245, 249, 252, .98) !important;
    box-shadow: 0 5px 20px rgba(18, 51, 73, .09);
}

body:not(.legacy-home) .navbar .nav-menu {
    gap: clamp(3px, .6vw, 9px);
}

body:not(.legacy-home) .navbar .nav-link {
    padding: .65rem .68rem;
    border-radius: 4px;
    color: var(--ui-ink) !important;
    font-size: .81rem;
    font-weight: 650;
    letter-spacing: .01em;
}

body:not(.legacy-home) .navbar .nav-link::before {
    bottom: 5px;
    width: 0;
    height: 1px;
    background: var(--ui-blue);
}

body:not(.legacy-home) .navbar .nav-link:is(:hover, .active) {
    background: transparent !important;
    color: var(--ui-blue) !important;
}

body:not(.legacy-home) .navbar .nav-link:is(:hover, .active)::before {
    width: calc(100% - 1.35rem);
}

body:not(.legacy-home) .navbar .hamburger {
    border: 1px solid var(--ui-line);
    background: var(--ui-surface);
}

body:not(.legacy-home) .navbar .bar {
    background: var(--ui-ink);
}

body:not(.legacy-home) .section-title {
    position: relative;
    max-width: 18ch;
    margin: 0 auto clamp(38px, 5vw, 64px);
    color: var(--ui-ink);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: .98;
    text-align: left;
}

body:not(.legacy-home) .section-title::after {
    position: static;
    display: block;
    width: 46px;
    height: 2px;
    margin-top: 22px;
    background: var(--lime);
    box-shadow: none;
    content: '';
    transform: none;
}

body:not(.legacy-home) :is(.about, .team, .services, .gallery, .contact) {
    padding: 148px 0 clamp(78px, 9vw, 126px) !important;
    background: var(--ui-paper);
}

body:not(.legacy-home) :is(.about-grid, .team-content, .contact-grid) {
    width: min(100%, 1220px);
    max-width: none;
    padding: 0;
}

body:not(.legacy-home) .about-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, .72fr);
    gap: clamp(36px, 7vw, 96px);
}

body:not(.legacy-home) :is(.about-text, .team-text, .contact-info) h3 {
    color: var(--ui-ink);
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    letter-spacing: -.025em;
}

body:not(.legacy-home) .about-text h3 {
    margin-top: 2.8rem;
    margin-bottom: .8rem;
}

body:not(.legacy-home) .about-text p,
body:not(.legacy-home) .team-text p,
body:not(.legacy-home) .contact-info > p {
    max-width: 70ch;
    color: var(--ui-muted);
    font-size: 1.02rem;
    line-height: 1.82;
}

body:not(.legacy-home) .about-text li {
    margin: 0 0 .85rem;
    color: var(--ui-muted);
    font-size: .98rem;
    line-height: 1.7;
}

body:not(.legacy-home) .about-text li::before,
body:not(.legacy-home) .founders li::before {
    content: '';
    top: .78em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8cae4b;
}

body:not(.legacy-home) .about-stats {
    gap: 12px;
}

body:not(.legacy-home) .stat-card,
body:not(.legacy-home) .meeting-card,
body:not(.legacy-home) .contact-item {
    border: 1px solid var(--ui-line);
    border-radius: 7px;
    background: var(--ui-surface);
    box-shadow: var(--ui-shadow);
}

body:not(.legacy-home) .stat-card {
    padding: 27px 25px;
    text-align: left;
}

body:not(.legacy-home) .stat-card::before,
body:not(.legacy-home) .meeting-card::before,
body:not(.legacy-home) .meeting-cta::before {
    height: 2px;
    background: #9db961;
}

body:not(.legacy-home) .stat-card i,
body:not(.legacy-home) .meeting-card i,
body:not(.legacy-home) .contact-item i {
    color: var(--ui-blue);
    background: none;
    -webkit-text-fill-color: currentColor;
    font-size: 1.35rem;
}

body:not(.legacy-home) .stat-card h3,
body:not(.legacy-home) .meeting-card h3 {
    margin: 0 0 .5rem;
    font-size: 1.65rem;
}

body:not(.legacy-home) .stat-card p,
body:not(.legacy-home) .meeting-card p {
    font-size: .91rem;
    line-height: 1.7;
}

body:not(.legacy-home) .team {
    background: var(--ui-paper);
}

body:not(.legacy-home) .team-content {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(36px, 7vw, 88px);
}

body:not(.legacy-home) .team-image {
    border-radius: 3px;
    box-shadow: 10px 10px 0 var(--ui-line), var(--ui-shadow);
}

body:not(.legacy-home) .group-photo {
    border-radius: 0;
    filter: saturate(.82) contrast(1.02);
}

body:not(.legacy-home) .team-text h3 {
    margin-bottom: 1rem;
}

body:not(.legacy-home) .founders {
    margin-top: 1.5rem;
    padding: 20px 23px;
    border: 0;
    border-left: 2px solid #9db961;
    border-radius: 0;
    background: var(--ui-paper);
}

body:not(.legacy-home) .founders h4 {
    color: var(--ui-ink);
    font-family: inherit;
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

body:not(.legacy-home) .founders li {
    color: var(--ui-muted);
    font-size: .94rem;
}

body:not(.legacy-home) .group-actions,
body:not(.legacy-home) .partners-connection-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 24px;
}

body:not(.legacy-home) .services {
    background: var(--ui-paper);
}

body:not(.legacy-home) .meeting-info {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1220px;
    padding: 0;
}

body:not(.legacy-home) .meeting-card {
    min-height: 248px;
    padding: 29px 26px;
    text-align: left;
}

body:not(.legacy-home) .meeting-card i {
    display: block;
    margin-bottom: 23px;
}

body:not(.legacy-home) .meeting-cta {
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid var(--ui-line);
    border-radius: 4px;
    background: var(--ui-surface);
    box-shadow: none;
    text-align: left;
}

body:not(.legacy-home) .meeting-cta h3 {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

body:not(.legacy-home) .meeting-cta p {
    max-width: 62ch;
    font-size: 1rem;
}

body:not(.legacy-home) .gallery {
    background: var(--ui-paper);
}

body:not(.legacy-home) .gallery .section-title {
    margin-bottom: 18px;
}

body:not(.legacy-home) .gallery-subtitle {
    max-width: 54ch;
    margin: 0 0 38px;
    color: var(--ui-muted);
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
}

body:not(.legacy-home) .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}

body:not(.legacy-home) .gallery-item {
    min-height: 0;
    aspect-ratio: 1.28 / 1;
    border: 0;
    border-radius: 2px;
    background: var(--ui-line);
    box-shadow: 0 10px 26px rgba(18, 51, 73, .09);
    text-align: left;
}

body:not(.legacy-home) .gallery-img {
    height: 100%;
    filter: saturate(.86);
    transition: filter .25s ease, opacity .25s ease;
}

body:not(.legacy-home) .gallery-item:hover .gallery-img {
    filter: saturate(1);
}

body:not(.legacy-home) .gallery-overlay {
    align-items: flex-start;
    justify-content: flex-end;
    padding: 21px;
    background: linear-gradient(180deg, transparent 30%, rgba(9, 34, 51, .76) 100%);
    opacity: 1;
    text-align: left;
}

body:not(.legacy-home) .gallery-overlay i {
    display: none;
}

body:not(.legacy-home) .gallery-overlay p {
    margin-bottom: 3px;
    font-size: 1.55rem;
    font-weight: 700;
}

body:not(.legacy-home) .gallery-caption {
    font-size: .77rem;
}

body:not(.legacy-home) .gallery-item:focus-visible,
body:not(.legacy-home) :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 3px;
}

body:not(.legacy-home) .contact {
    background: var(--ui-paper);
}

body:not(.legacy-home) .contact-grid {
    grid-template-columns: minmax(0, .88fr) minmax(360px, 1fr);
    gap: clamp(36px, 7vw, 90px);
}

body:not(.legacy-home) .contact-item {
    gap: 17px;
    margin-bottom: 12px;
    padding: 18px 20px;
}

body:not(.legacy-home) .contact-item h4 {
    margin-bottom: 3px;
    color: var(--ui-ink);
    font-family: inherit;
    font-size: .88rem;
    font-weight: 700;
}

body:not(.legacy-home) .contact-item p {
    font-size: .88rem;
    line-height: 1.6;
}

body:not(.legacy-home) .contact-form {
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--ui-line);
    border-radius: 4px;
    background: var(--ui-surface);
    box-shadow: var(--ui-shadow);
}

body:not(.legacy-home) .form-intro {
    margin-bottom: 24px;
    color: var(--ui-muted);
    font-size: .95rem;
}

body:not(.legacy-home) .form-group {
    margin-bottom: 17px;
}

body:not(.legacy-home) .form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--ui-ink);
    font-size: .8rem;
    font-weight: 700;
}

body:not(.legacy-home) .form-group label span {
    color: #74848a;
    font-weight: 400;
}

body:not(.legacy-home) .form-group :is(input, select, textarea) {
    padding: 13px 14px;
    border: 1px solid var(--ui-line);
    border-radius: 3px;
    background: #fff;
    color: var(--ui-ink);
    box-shadow: none;
    font-size: .94rem;
}

body:not(.legacy-home) .form-group :is(input, select, textarea):focus {
    border-color: var(--ui-blue);
    box-shadow: 0 0 0 3px rgba(75, 120, 148, .12);
    transform: none;
}

body:not(.legacy-home) .btn,
body:not(.legacy-home) .btn-primary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border: 1px solid var(--ui-blue-deep);
    border-radius: 3px;
    background: var(--ui-blue-deep);
    box-shadow: 0 4px 0 rgba(23, 50, 77, .12);
    color: #fff;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .01em;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body:not(.legacy-home) .btn::before {
    display: none;
}

body:not(.legacy-home) .btn:hover,
body:not(.legacy-home) .btn-primary:hover {
    border-color: var(--ui-blue);
    background: var(--ui-blue);
    box-shadow: 0 6px 0 rgba(23, 50, 77, .1);
    transform: none;
}

body.pathways-page .pathways-hero .btn-secondary {
    border-color: rgba(245, 248, 244, .75);
    background: rgba(19, 55, 78, .25);
    color: #fff;
    box-shadow: none;
}

body.pathways-page .pathways-hero .btn-secondary:hover {
    border-color: #fff;
    background: rgba(19, 55, 78, .55);
}

body:not(.legacy-home) :is(.pathway-link, .news-link-v2, .pathways-hero-card-link) {
    color: var(--ui-blue-deep);
    font-family: inherit;
    font-weight: 700;
}

.footer {
    padding: 58px 0 20px;
    border-top: 1px solid rgba(220, 232, 240, .18);
    background: var(--ui-blue-deep);
    color: #eef4f2;
    font-family: inherit;
}

.footer-content {
    grid-template-columns: minmax(250px, 1.4fr) minmax(150px, .7fr) minmax(150px, .7fr);
    gap: 58px;
    padding: 0 0 38px;
}

.footer-logo {
    width: 166px;
    height: 78px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
}

.footer-section h3 {
    margin: 3px 0 8px;
    color: #f2f5ee;
    font-size: 1.9rem;
}

body:not(.legacy-home) .footer .footer-section h3 {
    color: #f2f5ee;
}

.footer-section h4 {
    margin-bottom: 16px;
    color: var(--lime);
    font-family: inherit;
    font-size: .67rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body:not(.legacy-home) .footer .footer-section h4 {
    color: var(--lime);
}

.footer-section p,
.footer-section a {
    color: rgba(237, 244, 241, .76);
    font-size: .86rem;
    line-height: 1.7;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--lime);
}

.footer-section ul {
    display: grid;
    gap: 7px;
}

.footer-section ul li {
    margin: 0;
}

.footer .social-links {
    justify-content: flex-start;
    gap: 9px;
}

.footer .social-links a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(240, 247, 242, .22);
    border-radius: 50%;
    color: #f3f6f2;
    font-size: 1rem;
    transition: color .18s ease, background-color .18s ease;
}

.footer .social-links a:hover {
    background: rgba(184, 220, 88, .13);
    color: var(--lime);
}

.footer-bottom {
    margin-top: 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(240, 247, 242, .16);
}

.footer-bottom p {
    color: rgba(237, 244, 241, .56);
    font-family: inherit;
    font-size: .63rem;
    letter-spacing: .035em;
    line-height: 1.65;
}

body:not(.legacy-home) .news-hero-v2 {
    padding: 142px 0 50px;
    background: var(--ui-paper);
    text-align: left;
}

body:not(.legacy-home) .news-brand-container {
    width: 100%;
    max-width: 720px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
}

body:not(.legacy-home) .news-logo-v2 {
    width: min(100%, 380px);
    margin: 0 0 14px;
}

body:not(.legacy-home) .news-tagline {
    color: var(--ui-muted);
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: 0;
}

body:not(.legacy-home) .news-container-v2 {
    padding: 52px 0 90px;
    background: var(--ui-paper);
}

body:not(.legacy-home) .news-layout {
    gap: 34px;
}

body:not(.legacy-home) .news-article-card,
body:not(.legacy-home) .news-article-card-v2,
body:not(.legacy-home) .sidebar-widget-v2 {
    border: 1px solid var(--ui-line);
    border-radius: 5px;
    background: var(--ui-surface);
    box-shadow: 0 10px 28px rgba(18, 51, 73, .055);
}

body:not(.legacy-home) .news-article-card:hover {
    box-shadow: var(--ui-shadow);
    transform: none;
    opacity: .92;
}

body:not(.legacy-home) .article-body-v2 h2,
body:not(.legacy-home) .article-body-v2 h3 {
    color: var(--ui-ink);
    font-family: inherit;
    font-weight: 700;
    letter-spacing: -.035em;
}

body:not(.legacy-home) .article-body-v2 h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

body:not(.legacy-home) .article-body-v2 p {
    color: var(--ui-muted);
    font-size: .96rem;
    line-height: 1.8;
}

body:not(.legacy-home) .article-badge-v2 {
    border-radius: 2px;
    background: var(--ui-blue-deep);
    font-size: .72rem;
    letter-spacing: .04em;
}

body:not(.legacy-home) .article-image-v2 {
    background: var(--ui-line);
}

body:not(.legacy-home) .article-image-v2 img {
    max-width: min(68%, 300px);
    max-height: 78%;
    object-fit: contain;
}

body:not(.legacy-home) .news-sidebar-v2 .sidebar-widget-v2 {
    padding: 22px;
}

body:not(.legacy-home) .news-sidebar-v2 h4 {
    color: var(--ui-ink);
    font-size: 1.45rem;
}

body:not(.legacy-home) .pathways-page .footer,
body:not(.legacy-home) .partners-page .footer {
    margin-top: 0;
}

@media (max-width: 1050px) {
    body:not(.legacy-home) .navbar .nav-link {
        padding-right: .42rem;
        padding-left: .42rem;
        font-size: .75rem;
    }

    body:not(.legacy-home) .navbar .nav-menu {
        gap: 1px;
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    body:not(.legacy-home) .navbar .hamburger {
        display: flex;
    }

    body:not(.legacy-home) .navbar .nav-menu:not(.active) {
        position: fixed;
        top: 70px;
        right: 18px;
        left: auto;
        display: flex;
        width: min(390px, calc(100vw - 36px));
        max-height: calc(100dvh - 88px);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 9px;
        overflow-y: auto;
        border: 1px solid var(--ui-line);
        border-radius: 5px;
        background: #f4f7f5;
        box-shadow: 0 18px 42px rgba(14, 46, 67, .18);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-7px);
        visibility: hidden;
    }

    body:not(.legacy-home) .navbar .nav-menu.active {
        top: 70px;
        right: 18px;
        left: auto;
        display: flex;
        width: min(390px, calc(100vw - 36px));
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
    }

    body:not(.legacy-home) .navbar .nav-menu:not(.active) .nav-link {
        display: none;
    }

    body:not(.legacy-home) .navbar .nav-menu.active .nav-link {
        display: flex;
    }
}

@media (max-width: 767px) {
    body:not(.legacy-home) .container,
    body:not(.legacy-home) .navbar .nav-container {
        width: min(100% - 36px, 1220px);
    }

    body:not(.legacy-home) .navbar .nav-logo .logo-img {
        height: 56px;
    }

    body:not(.legacy-home) .navbar.scrolled .nav-logo .logo-img {
        width: auto;
        height: 50px;
    }

    body:not(.legacy-home) .navbar .nav-menu.active {
        top: 70px;
        width: min(100% - 24px, 420px);
        padding: 9px;
        border: 1px solid var(--ui-line);
        border-radius: 6px;
        background: #f4f7f5;
        box-shadow: 0 18px 42px rgba(14, 46, 67, .18);
    }

    body:not(.legacy-home) .navbar.scrolled .nav-menu.active {
        top: 60px;
    }

    body:not(.legacy-home) .navbar .nav-menu.active .nav-link {
        min-height: 46px;
        padding: .7rem .85rem;
        border-bottom: 1px solid #e2e9e8;
        border-radius: 2px;
        color: var(--ui-ink) !important;
        font-size: .93rem;
    }

    body:not(.legacy-home) .section-title {
        margin-bottom: 34px;
        font-size: clamp(2.7rem, 12vw, 4rem);
    }

    body:not(.legacy-home) :is(.about, .team, .services, .gallery, .contact) {
        padding: 112px 0 68px !important;
    }

    body:not(.legacy-home) :is(.about-grid, .team-content, .contact-grid) {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    body:not(.legacy-home) .about-stats {
        display: flex;
        flex-direction: column;
    }

    body:not(.legacy-home) .meeting-info,
    body:not(.legacy-home) .gallery-grid {
        grid-template-columns: 1fr;
    }

    body:not(.legacy-home) .meeting-card {
        min-height: 0;
    }

    body:not(.legacy-home) .gallery-item {
        aspect-ratio: 1.35 / 1;
    }

    body:not(.legacy-home) .contact-grid {
        display: grid;
    }

    .footer {
        padding: 42px 0 18px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
    }

    .footer-content > .footer-section:first-child {
        grid-column: 1 / -1;
    }

    .footer-logo {
        width: 148px;
        height: 68px;
    }

    body:not(.legacy-home) .news-hero-v2 {
        padding: 108px 0 30px;
    }

    body:not(.legacy-home) .news-container-v2 {
        padding: 34px 0 60px;
    }

    body:not(.legacy-home) .news-layout {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    body:not(.legacy-home) *,
    body:not(.legacy-home) *::before,
    body:not(.legacy-home) *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* Contact delivery and pathway guide additions. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-intro {
    margin: 0 0 1.75rem;
    color: #4a5568;
    line-height: 1.6;
}

.form-group label {
    display: block;
    margin-bottom: .5rem;
    color: #1a202c;
    font-size: .9rem;
    font-weight: 700;
}

.form-group label span {
    color: #718096;
    font-weight: 500;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    min-height: 1.5rem;
    margin: 1rem 0 0;
    color: #4a5568;
    font-size: .95rem;
    line-height: 1.45;
}

.form-status.success {
    color: #276749;
}

.form-status.error {
    color: #9b2c2c;
}

.pathway-guide {
    margin-top: 4rem;
    padding: 42px;
    border: 1px solid #dbe7f1;
    border-radius: 24px;
    background: #edf6fb;
}

.pathway-guide-heading {
    max-width: 720px;
    margin-bottom: 2rem;
}

.pathway-guide-heading h3 {
    margin: .55rem 0 .7rem;
    color: #1a202c;
    font-size: clamp(2rem, 4vw, 3rem);
}

.pathway-guide-heading > p:last-child {
    color: #4a5568;
}

.pathway-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pathway-guide-card {
    padding: 26px;
    border: 1px solid #dbe7f1;
    border-radius: 18px;
    background: #fff;
}

.pathway-guide-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #1a365d;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
}

.pathway-guide-card h4 {
    margin: 1.25rem 0 .7rem;
    color: #1a202c;
    font-size: 1.25rem;
}

.pathway-guide-card p {
    color: #4a5568;
    line-height: 1.65;
}

.pathway-guide-card a {
    display: inline-flex;
    gap: 8px;
    margin-top: 1rem;
    color: #2b77ad;
    font-weight: 800;
    text-decoration: none;
}

.pathway-guide-card a:hover {
    color: #1a365d;
}

.pathway-faq {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.pathway-faq details {
    border-bottom: 1px solid #cbd9e5;
}

.pathway-faq summary {
    cursor: pointer;
    padding: 1rem 0;
    color: #1a365d;
    font-weight: 800;
}

.pathway-faq details p {
    max-width: 760px;
    padding: 0 0 1rem;
    color: #4a5568;
}

@media (max-width: 768px) {
    .pathway-guide {
        padding: 28px 22px;
    }

    .pathway-guide-grid {
        grid-template-columns: 1fr;
    }
}

/* Pathways experience refresh: a guided field-journal layout. */
.pathways-page {
    --pathway-ink: #102f49;
    --pathway-blue: #2f76b7;
    --pathway-lime: #c9e889;
    background: #f1f7fa;
}

.pathways-page .pathways-hero {
    min-height: min(760px, calc(100vh - 78px));
    padding: clamp(136px, 15vw, 190px) 0 clamp(76px, 9vw, 116px);
    background:
        linear-gradient(105deg, rgba(12, 44, 72, .96) 0%, rgba(22, 86, 128, .88) 48%, rgba(49, 121, 163, .64) 100%),
        url('attached_assets/_MG_9957_1753793162038.jpeg') center / cover;
}

.pathways-page .pathways-hero-inner {
    display: grid;
    max-width: 1200px;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .68fr);
    gap: clamp(36px, 7vw, 100px);
    align-items: end;
}

.pathways-page .pathways-hero-copy {
    max-width: 750px;
}

.pathways-page .pathways-hero h1 {
    color: #fff;
    max-width: 9.5ch;
    margin-bottom: 1.65rem;
    font-size: clamp(3.4rem, 7.2vw, 6.5rem);
    letter-spacing: -.055em;
}

.pathways-page .pathways-hero-inner > .pathways-hero-copy > p:not(.pathways-kicker) {
    color: rgba(255, 255, 255, .9);
    max-width: 570px;
    font-size: 1.12rem;
    line-height: 1.75;
}

.pathways-page .pathways-actions {
    margin-top: 2.4rem;
}

.pathways-page .pathways-hero-card {
    position: relative;
    display: flex;
    min-height: 292px;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 22px;
    background: rgba(8, 42, 68, .48);
    box-shadow: 0 24px 70px rgba(5, 29, 48, .24);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.pathways-page .pathways-hero-card::after {
    position: absolute;
    right: -38px;
    bottom: -45px;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(201, 232, 137, .42);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(201, 232, 137, .06), 0 0 0 56px rgba(201, 232, 137, .04);
    content: '';
}

.pathways-page .pathways-hero-card-top,
.pathways-page .pathways-hero-card-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255, 255, 255, .72);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.pathways-page .pathways-hero-card-top i {
    color: var(--pathway-lime);
    font-size: 1.25rem;
}

.pathways-page .pathways-hero-card-title {
    position: relative;
    z-index: 1;
    max-width: 11ch;
    margin: 26px 0;
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.08;
}

.pathways-page .pathways-hero-metrics {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.pathways-page .pathways-hero-metrics div {
    display: grid;
    gap: 3px;
}

.pathways-page .pathways-hero-metrics strong {
    color: var(--pathway-lime);
    font-size: 1.55rem;
    line-height: 1;
}

.pathways-page .pathways-hero-metrics span {
    color: rgba(255, 255, 255, .72);
    font-size: .7rem;
    line-height: 1.25;
}

.pathways-page .pathways-hero-card-footer {
    color: rgba(255, 255, 255, .62);
    letter-spacing: .1em;
}

.pathways-page .pathways-hero-card-footer i {
    color: var(--pathway-lime);
}

.pathways-page .pathways-section {
    padding-top: clamp(78px, 9vw, 120px);
    padding-bottom: clamp(82px, 10vw, 132px);
    background: linear-gradient(180deg, #f1f7fa 0%, #fff 48%, #f7fbfd 100%);
}

.pathways-page .pathways-intro {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
    gap: clamp(28px, 7vw, 108px);
    align-items: end;
    margin-bottom: 44px;
}

.pathways-page .pathways-intro h2 {
    max-width: 11ch;
    margin-top: .65rem;
    font-size: clamp(2.65rem, 5vw, 4.8rem);
    letter-spacing: -.055em;
    line-height: .98;
}

.pathways-page .pathways-intro > p:last-child {
    align-self: end;
    max-width: 38ch;
    margin: 0 0 .2rem;
    padding-left: 24px;
    border-left: 2px solid var(--pathway-lime);
    font-size: 1.02rem;
    line-height: 1.8;
}

.pathways-page .pathway-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pathways-page .pathway-partner {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 18px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 14px 38px rgba(31, 75, 108, .07);
}

.pathways-page .pathway-partner > div:last-child {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 4px 8px 8px;
}

.pathways-page .pathway-mark {
    position: relative;
    min-height: 148px;
    justify-content: flex-end;
    overflow: hidden;
    padding: 21px;
    background: linear-gradient(145deg, #eaf5fb, #cfe7f3);
}

.pathways-page .pathway-mark::after {
    position: absolute;
    right: -42px;
    top: -48px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(47, 118, 183, .2);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgba(47, 118, 183, .06), 0 0 0 44px rgba(47, 118, 183, .04);
    content: '';
}

.pathways-page .pathway-mark strong,
.pathways-page .pathway-mark span {
    position: relative;
    z-index: 1;
}

.pathways-page .pathway-mark strong {
    color: var(--pathway-ink);
    font-size: 3.4rem;
    letter-spacing: -.08em;
    line-height: .9;
}

.pathways-page .pathway-mark span {
    margin-top: 9px;
    color: var(--pathway-blue);
}

.pathways-page .pathway-partner h3 {
    max-width: 15ch;
    margin: .55rem 0 .75rem;
    font-size: clamp(1.4rem, 2vw, 1.78rem);
    letter-spacing: -.035em;
    line-height: 1.08;
}

.pathways-page .pathway-partner p:not(.section-kicker) {
    font-size: .94rem;
    line-height: 1.68;
}

.pathways-page .pathway-partner .pathway-link {
    margin-top: auto;
    padding-top: 22px;
}

.pathways-page .pathway-resources {
    margin-top: clamp(72px, 9vw, 118px);
    padding: clamp(30px, 5vw, 68px);
    border: 1px solid #d5e6ee;
    border-radius: 32px;
    background: #edf6fa;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 24px 60px rgba(31, 75, 108, .07);
}

.pathways-page .pathway-resources-heading {
    margin-bottom: 34px;
}

.pathways-page .pathway-resources-heading h2 {
    max-width: 10ch;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    letter-spacing: -.055em;
}

.pathways-page .pathway-resource-nav {
    position: sticky;
    top: 86px;
    z-index: 5;
    margin-bottom: 54px;
    border-color: #cfe3ec;
    background: rgba(232, 245, 250, .92);
    box-shadow: 0 10px 24px rgba(31, 75, 108, .07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pathways-page .pathway-resource-nav a {
    color: var(--pathway-ink);
}

.pathways-page .pathway-resource-nav span {
    background: var(--pathway-ink);
}

.pathways-page .pathway-job-filter {
    display: grid;
    grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
    gap: 24px 42px;
    align-items: center;
    padding: clamp(25px, 4vw, 38px);
    border-color: #cfe3ec;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(31, 75, 108, .055);
}

.pathways-page .pathway-job-filter-heading {
    margin: 0;
}

.pathways-page .pathway-filter-buttons {
    justify-content: flex-end;
}

.pathways-page .pathway-filter-status {
    grid-column: 2;
    margin: -8px 0 0;
    text-align: right;
}

.pathways-page .pathway-resource-group-heading h3,
.pathways-page .pathway-resources-more .pathway-resources-heading h3 {
    letter-spacing: -.045em;
}

.pathways-page .pathway-resource-card {
    min-height: 238px;
    border-color: #d8e7ee;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 10px 24px rgba(31, 75, 108, .05);
}

.pathways-page .pathway-resource-card--local {
    background: linear-gradient(145deg, #fff, #f7fbe9);
}

.pathways-page .aviation-field-notes {
    border: 0;
    background: linear-gradient(135deg, #102f49 0%, #1d5e88 100%);
    box-shadow: 0 22px 48px rgba(16, 47, 73, .16);
}

.pathways-page .aviation-field-heading h3,
.pathways-page .aviation-field-card h4 {
    color: #fff;
}

.pathways-page .aviation-field-heading > p:last-child,
.pathways-page .aviation-field-card p {
    color: rgba(255, 255, 255, .72);
}

.pathways-page .aviation-field-card {
    border-color: rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .09);
}

.pathways-page .aviation-field-icon {
    background: rgba(201, 232, 137, .16);
    color: var(--pathway-lime);
}

.pathways-page .pathway-guide {
    border-color: #d5e6ee;
    background: #fff;
    box-shadow: 0 16px 34px rgba(31, 75, 108, .06);
}

.pathways-page .pathway-guide-card {
    border-color: #dbe8ee;
    box-shadow: 0 8px 20px rgba(31, 75, 108, .04);
    transition: opacity .18s ease;
}

.pathways-page .pathway-guide-card:hover {
    opacity: .88;
}

.pathways-page .pathway-course {
    border: 0;
    background: var(--pathway-lime);
    box-shadow: 0 20px 42px rgba(89, 117, 36, .14);
    color: var(--pathway-ink);
}

.pathways-page .pathway-course p:not(.section-kicker) {
    color: rgba(16, 47, 73, .72);
}

.pathways-page .pathway-course .section-kicker {
    color: #58731f;
}

.pathways-page .pathway-course .btn-primary {
    background: var(--pathway-ink);
    color: #fff;
}

@media (max-width: 980px) {
    .pathways-page .pathways-hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(270px, .72fr);
        gap: 36px;
    }

    .pathways-page .pathway-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pathways-page .pathway-partner:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .pathways-page .pathways-hero {
        min-height: auto;
        padding: 118px 0 68px;
    }

    .pathways-page .pathways-hero-inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .pathways-page .pathways-hero h1 {
        max-width: 10ch;
        font-size: clamp(3rem, 12vw, 4.6rem);
    }

    .pathways-page .pathways-hero-card {
        width: min(100%, 430px);
        min-height: 260px;
    }

    .pathways-page .pathways-intro {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .pathways-page .pathways-intro h2 {
        max-width: 12ch;
    }

    .pathways-page .pathways-intro > p:last-child {
        max-width: 42ch;
        padding-left: 18px;
    }

    .pathways-page .pathway-list {
        grid-template-columns: 1fr;
    }

    .pathways-page .pathway-partner:last-child {
        grid-column: auto;
    }

    .pathways-page .pathway-resource-nav {
        position: static;
    }

    .pathways-page .pathway-job-filter {
        display: block;
    }

    .pathways-page .pathway-filter-buttons {
        justify-content: flex-start;
        margin-top: 22px;
    }

    .pathways-page .pathway-filter-status {
        margin-top: 16px;
        text-align: left;
    }

    .pathways-page .pathway-resources {
        padding: 28px 20px;
        border-radius: 24px;
    }
}

/* Editorial refinement: keep the page specific, tactile, and less template-like. */
.pathways-page .pathways-hero {
    background:
        linear-gradient(90deg, rgba(11, 42, 68, .96) 0%, rgba(20, 82, 123, .84) 52%, rgba(52, 119, 157, .5) 100%),
        url('attached_assets/_MG_9957_1753793162038.jpeg') center / cover;
}

.pathways-page .pathways-hero-card {
    min-height: 276px;
    padding: 26px 27px 24px;
    border-color: rgba(16, 47, 73, .16);
    border-radius: 8px;
    background: #f4f0e6;
    box-shadow: 8px 8px 0 rgba(201, 232, 137, .6), 0 18px 36px rgba(5, 29, 48, .18);
    color: var(--pathway-ink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.pathways-page .pathways-hero-card::after,
.pathways-page .pathway-mark::after,
.pathways-page .pathway-resource-card::after {
    display: none;
}

.pathways-page .pathways-hero-card-top {
    color: #68737a;
    font-size: .66rem;
    letter-spacing: .12em;
}

.pathways-page .pathways-hero-card-title {
    max-width: 12ch;
    margin: 32px 0 12px;
    color: var(--pathway-ink);
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1.02;
}

.pathways-page .pathways-hero-card-copy {
    position: relative;
    z-index: 1;
    max-width: 31ch;
    margin: 0;
    color: #53636c;
    font-size: .96rem;
    line-height: 1.65;
}

.pathways-page .pathways-hero-card-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    color: var(--pathway-ink);
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
}

.pathways-page .pathways-hero-card-link:hover,
.pathways-page .pathways-hero-card-link:focus-visible {
    color: var(--pathway-blue);
}

.pathways-page .pathways-hero-card-link i {
    color: #789d32;
}

.pathways-page .pathways-intro h2,
.pathways-page .pathway-resources-heading h2 {
    letter-spacing: -.045em;
}

.pathways-page .pathway-partner {
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(31, 75, 108, .06);
}

.pathways-page .pathway-mark {
    border-radius: 7px;
    background: #e2f0f5;
}

.pathways-page .pathway-resource-nav {
    border-radius: 9px;
    box-shadow: 0 7px 16px rgba(31, 75, 108, .05);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.pathways-page .pathway-resource-nav a {
    border-radius: 5px;
}

.pathways-page .pathway-filter-button {
    border-radius: 5px;
    background: #f8fbfc;
}

.pathways-page .pathway-job-filter {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(31, 75, 108, .05);
}

.pathways-page .pathway-resource-group-heading {
    padding-left: 18px;
    border-left: 3px solid var(--pathway-lime);
}

.pathways-page .pathway-resource-card {
    border-radius: 10px;
    box-shadow: 0 7px 18px rgba(31, 75, 108, .045);
}

.pathways-page .pathway-resource-card--local {
    border-left: 4px solid var(--pathway-lime);
    background: #fff;
}

.pathways-page .pathway-resource-logo {
    border-radius: 7px;
}

.pathways-page .pathway-resource-card:hover {
    opacity: .9;
}

.pathways-page .pathway-resource-card,
.pathways-page .pathway-guide-card {
    transition: opacity .18s ease;
}

.pathways-page .aviation-field-notes {
    border-radius: 14px;
    box-shadow: 0 16px 32px rgba(16, 47, 73, .13);
}

.pathways-page .aviation-field-card {
    border-radius: 8px;
}

.pathways-page .pathway-guide {
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(31, 75, 108, .05);
}

.pathways-page .pathway-guide-card {
    border-radius: 9px;
}

.pathways-page .pathway-course {
    border-radius: 14px;
    box-shadow: 8px 8px 0 rgba(184, 220, 88, .24);
}

@media (max-width: 760px) {
    .pathways-page .pathways-hero-card {
        min-height: 248px;
        padding: 22px;
    }

    .pathways-page .pathways-hero-card-title {
        margin-top: 24px;
    }

    .pathways-page .pathway-resource-group-heading {
        padding-left: 14px;
    }

    .pathways-page .pathway-course {
        box-shadow: 5px 5px 0 rgba(184, 220, 88, .24);
    }
}

/* Homepage hero: the original full-width aviation photo and centered welcome. */
body.legacy-home .hero {
    position: relative;
    display: flex;
    min-height: min(820px, 100svh);
    height: auto;
    align-items: center;
    margin-top: -78px;
    padding: 144px 0 126px;
    overflow: hidden;
    background: #103b60;
    color: #fff;
    animation: none;
}

body.legacy-home .hero::before,
body.legacy-home .hero::after {
    display: none;
    animation: none;
}

body.legacy-home .hero-slideshow {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
}

body.legacy-home .hero-slide {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.05s cubic-bezier(.22, .61, .36, 1);
}

body.legacy-home .hero-slide.active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

body.legacy-home .hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
    filter: none;
    animation: none;
}

body.legacy-home .hero-slideshow {
    touch-action: pan-y;
}

body.legacy-home .hero-slideshow::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(5, 20, 31, .18) 0%,
        rgba(5, 20, 31, .24) 52%,
        rgba(5, 20, 31, .48) 100%
    ), radial-gradient(
        ellipse at 50% 46%,
        rgba(5, 21, 32, .28) 0%,
        rgba(5, 21, 32, .12) 38%,
        transparent 70%
    );
    content: '';
    pointer-events: none;
}

body.legacy-home .hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    width: min(100%, 900px);
    max-width: 900px;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    animation: none;
}

body.legacy-home .hero-content > p {
    animation: none;
}

body.legacy-home .hero h1 {
    max-width: none;
    margin: 0 0 12px;
    color: #fff;
    background: none;
    font-size: clamp(2.65rem, 4.5vw, 3.45rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.1;
    text-shadow: none;
    -webkit-text-fill-color: currentColor;
}

body.legacy-home .hero .hero-org-name {
    max-width: none;
    margin: 0 0 5px;
    color: rgba(255, 255, 255, .94) !important;
    background: none !important;
    font-size: .96rem !important;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.5;
    text-transform: none;
    -webkit-text-fill-color: currentColor !important;
}

body.legacy-home .hero .hero-tagline {
    margin: 0 0 17px;
    color: #cfdfa0 !important;
    font-size: clamp(1rem, 1.3vw, 1.1rem) !important;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.45;
}

body.legacy-home .hero .hero-intro {
    max-width: 52ch;
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(.95rem, 1.1vw, 1rem);
    font-weight: 400;
    line-height: 1.6;
    opacity: 1;
}

body.legacy-home .hero-buttons {
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 24px 0 0;
    animation: none;
}

body.legacy-home .hero .btn-primary,
body.legacy-home .hero .btn-secondary {
    display: inline-flex;
    min-width: 124px;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 19px;
    border: 1px solid #c4d58f;
    border-radius: 4px;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .01em;
    text-decoration: none;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}

body.legacy-home .hero .btn::before {
    display: none;
}

body.legacy-home .hero .btn-primary {
    background: #c4d58f;
    box-shadow: none;
    color: #163b55;
}

body.legacy-home .hero .btn-primary:hover {
    border-color: #d5e3ad;
    background: #d5e3ad;
    color: #102f49;
    box-shadow: none;
    transform: none;
}

body.legacy-home .hero .btn-secondary {
    border-color: rgba(255, 255, 255, .64);
    background: rgba(8, 37, 62, .16);
    color: rgba(255, 255, 255, .95);
}

body.legacy-home .hero .btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    box-shadow: none;
    transform: none;
}

body.legacy-home .hero-slide-controls {
    position: absolute;
    z-index: 4;
    right: 28px;
    bottom: 22px;
    left: 28px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    pointer-events: none;
}

body.legacy-home .hero-slide-arrow,
body.legacy-home .hero-slide-dot {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .44);
    background: rgba(7, 31, 53, .34);
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

body.legacy-home .hero-slide-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

body.legacy-home .hero-slide-arrow:hover,
body.legacy-home .hero-slide-dot:hover {
    border-color: rgba(255, 255, 255, .82);
    background: rgba(7, 31, 53, .6);
    transform: none;
}

body.legacy-home .hero-slide-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    pointer-events: auto;
}

body.legacy-home .hero-slide-dot {
    position: relative;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

body.legacy-home .hero-slide-dot::before {
    width: 8px;
    height: 8px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    background: rgba(7, 31, 53, .28);
    content: '';
    transition: width .2s ease, height .2s ease, border-color .16s ease, background-color .16s ease;
}

body.legacy-home .hero-slide-dot.active::before {
    width: 19px;
    height: 8px;
    border-color: #cfdfa0;
    border-radius: 999px;
    background: #cfdfa0;
}

body.legacy-home .hero-slide-pause {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
}

body.legacy-home .hero-slide-pause:hover {
    background: rgba(7, 31, 53, .6);
}

body.legacy-home .hero :is(a, button):focus-visible {
    outline: 3px solid #d7eb9b;
    outline-offset: 4px;
}

body.legacy-home .navbar:not(.scrolled) .nav-logo .logo-img,
body.legacy-home .navbar.scrolled .nav-logo .logo-img {
    filter: brightness(0) invert(1);
}

body.legacy-home .navbar:not(.scrolled) .nav-menu:not(.active) .nav-link,
body.legacy-home .navbar:not(.scrolled) .nav-menu:not(.active) .nav-link:is(:hover, .active),
body.legacy-home .navbar.scrolled .nav-menu:not(.active) .nav-link,
body.legacy-home .navbar.scrolled .nav-menu:not(.active) .nav-link:is(:hover, .active) {
    color: #fff !important;
    background: transparent !important;
    text-shadow: none;
}

body.legacy-home .navbar:not(.scrolled) .nav-link::before,
body.legacy-home .navbar.scrolled .nav-link::before {
    background: #d7eb9b;
}

body.legacy-home .navbar:not(.scrolled) .bar,
body.legacy-home .navbar.scrolled .bar {
    background: #fff;
}

/* Homepage quick facts: a quiet paper surface beneath the photo-led hero. */
body.legacy-home .stats-banner {
    padding: 54px 0 58px;
    border-top: 1px solid #d8e3e8;
    border-bottom: 0;
    background: #edf2f3;
    box-shadow: none;
    color: #18364b;
    animation: none;
}

body.legacy-home .stats-banner::before,
body.legacy-home .stats-banner::after {
    display: none;
    animation: none;
}

body.legacy-home .stats-overline {
    margin-bottom: 8px;
    color: #527083;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
}

body.legacy-home .stats-grid {
    gap: .5rem 1rem;
}

body.legacy-home .stat-item {
    padding: 1.5rem 1rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
}

body.legacy-home .stat-item:not(:last-child) {
    border-right: 1px solid #cfdae0;
}

body.legacy-home .stat-item:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
}

body.legacy-home .stat-number {
    color: #183f5c;
    background: none;
    animation: none;
    -webkit-text-fill-color: currentColor;
}

body.legacy-home .stat-label {
    color: #526a79;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .045em;
    text-shadow: none;
}

.footer .social-links .social-x-mark,
.social-grid-v2 .social-x-mark {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

@media (max-width: 767px) {
    body.legacy-home .hero {
        min-height: min(760px, 100svh);
        margin-top: -70px;
        padding: 136px 0 112px;
    }

    body.legacy-home .hero-content {
        padding: 0 20px;
    }

    body.legacy-home .hero h1 {
        max-width: 16ch;
        font-size: clamp(2.55rem, 10vw, 3.55rem);
    }

    body.legacy-home .hero .hero-org-name {
        font-size: .86rem !important;
        letter-spacing: .035em;
    }

    body.legacy-home .hero-slide-controls {
        right: 14px;
        bottom: 18px;
        left: 14px;
    }

    body.legacy-home .hero-slide-arrow {
        width: 40px;
        height: 40px;
    }

    body.legacy-home .hero-slide-dot {
        width: clamp(24px, 8vw, 32px);
    }
}

@media (max-width: 767px) {
    body.legacy-home .stats-banner {
        padding: 38px 0 42px;
    }

    body.legacy-home .stats-grid {
        gap: 0;
    }

    body.legacy-home .stat-item {
        padding: 1.15rem .7rem;
    }

    body.legacy-home .stat-item:not(:last-child) {
        border-right: 0;
    }

    body.legacy-home .stat-item:nth-child(odd) {
        border-right: 1px solid #cfdae0;
    }

    body.legacy-home .stat-item:nth-child(-n+2) {
        border-bottom: 1px solid #cfdae0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.legacy-home .hero *,
    body.legacy-home .hero *::before,
    body.legacy-home .hero *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

    body.legacy-home .hero-slide {
        transition: none !important;
    }
}

/* Desktop-only navigation spacing; leave the <=1120px compact layouts intact. */
@media (min-width: 1121px) {
    body.legacy-home .navbar .nav-menu,
    body:not(.legacy-home) .navbar .nav-menu {
        gap: .35rem;
    }

    body.legacy-home .navbar .nav-menu .nav-link,
    body:not(.legacy-home) .navbar .nav-menu .nav-link {
        padding-inline: .58rem;
        font-weight: 600;
    }
}

/* Compact the interior-page mark while preserving its intrinsic proportions. */
body:not(.legacy-home) .navbar .nav-logo .logo-img {
    width: auto;
    height: 54px;
    max-width: min(220px, calc(100vw - 112px));
    object-fit: contain;
}

body:not(.legacy-home) .navbar.scrolled .nav-logo .logo-img {
    width: auto;
    height: 46px;
    max-width: min(220px, calc(100vw - 112px));
}

@media (max-width: 767px) {
    body:not(.legacy-home) .navbar .nav-logo .logo-img {
        width: auto;
        height: 46px;
        max-width: min(220px, calc(100vw - 112px));
    }

    body:not(.legacy-home) .navbar.scrolled .nav-logo .logo-img {
        width: auto;
        height: 42px;
        max-width: min(220px, calc(100vw - 112px));
    }
}

/* Shared footer: quiet field-journal typography, compact links, clear contrast. */
.footer {
    padding: 52px 0 20px;
    border-top: 1px solid rgba(222, 235, 236, .16);
    background: #15374f;
    color: #edf3f0;
}

.footer::before {
    display: none;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 1.25fr) minmax(150px, .7fr);
    align-items: start;
    gap: clamp(24px, 4vw, 52px);
    margin-bottom: 0;
    padding: 0 0 30px;
}

.footer-section {
    min-width: 0;
}

.footer-brand-link {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    text-decoration: none;
}

.footer-logo {
    display: block;
    width: 182px;
    height: auto;
    max-width: min(100%, 210px);
    max-height: 54px;
    margin: 0 0 14px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
    transition: none;
}

.footer-logo:hover {
    filter: brightness(0) invert(1);
    transform: none;
}

.footer-section p,
.footer-section ul li a {
    color: #d9e5e8;
    font-size: .86rem;
    line-height: 1.65;
    opacity: 1;
}

.footer-section:first-child p {
    max-width: 34ch;
}

.footer-section h4 {
    margin: 4px 0 14px;
    color: #c9dc8d;
    font-family: inherit;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.footer-section ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 22px;
    list-style: none;
}

.footer-section ul li {
    min-width: 0;
    margin: 0;
}

.footer-section ul li a {
    display: inline-block;
    padding: 1px 0;
    text-decoration: none;
    transition: none;
}

.footer-section ul li a:hover,
.footer-section ul li a:focus-visible {
    color: #d7e9a3;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transform: none;
}

.footer .social-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.footer .social-links a {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(232, 241, 239, .34);
    border-radius: 5px;
    background: transparent;
    box-shadow: none;
    color: #f1f5f1;
    font-size: .96rem;
    transition: none;
}

.footer .social-links a:hover {
    border-color: rgba(210, 230, 157, .7);
    background: rgba(201, 220, 141, .12);
    box-shadow: none;
    color: #d7e9a3;
    transform: none;
}

.footer .social-links a i,
.footer .social-links a:hover i {
    transition: none;
    transform: none;
}

.footer .social-links .social-x-mark {
    fill: currentColor;
}

.footer-bottom {
    margin-top: 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(222, 235, 236, .2);
    text-align: center;
}

.footer-bottom p {
    color: #bdcdd2;
    font-size: .7rem;
    line-height: 1.6;
    opacity: 1;
}

body:not(.legacy-home) .footer a:focus-visible,
body.legacy-home .footer a:focus-visible {
    outline: 2px solid #d7e9a3;
    outline-offset: 4px;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .footer {
        padding: 40px 0 18px;
    }

    .footer-content {
        grid-template-columns: minmax(0, 1.05fr) minmax(124px, .95fr);
        gap: 26px 16px;
        padding-bottom: 26px;
    }

    .footer-content > .footer-section:first-child {
        grid-column: 1 / -1;
    }

    .footer-logo {
        width: 172px;
        max-width: min(100%, 200px);
        max-height: 50px;
        margin-bottom: 12px;
    }

    .footer-section h4 {
        margin-top: 0;
        margin-bottom: 12px;
    }

    .footer-section ul {
        gap: 7px 10px;
    }

    .footer-section ul li a {
        font-size: .8rem;
    }

    .footer .social-links {
        gap: 7px;
    }

    .footer .social-links a {
        width: 36px;
        height: 36px;
    }

    .footer-bottom {
        padding-top: 14px;
    }
}

/* Wings Up feature photography and founder story; keep every image uncropped. */
body.partners-page .partner-community-figure {
    width: 100%;
    margin: clamp(48px, 6vw, 76px) auto 0;
}

body.partners-page .partner-community-figure img {
    display: block;
    width: 100%;
    max-width: 864px;
    height: auto;
    margin-inline: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 6px;
    box-shadow: none;
}

body.partners-page .partner-community-figure figcaption {
    max-width: 864px;
    margin: 12px auto 0;
    color: #526879;
    font-size: .86rem;
    line-height: 1.6;
}

body.partners-page .partner-origin-story {
    display: grid;
    grid-template-columns: minmax(0, 266px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 76px);
    max-width: 1060px;
    margin: clamp(64px, 8vw, 96px) auto 0;
}

body.partners-page .partner-origin-portrait {
    margin: 0;
}

body.partners-page .partner-origin-portrait img {
    display: block;
    width: 100%;
    max-width: 266px;
    height: auto;
    object-fit: contain;
    object-position: center top;
    border-radius: 6px;
}

body.partners-page .partner-origin-copy h2 {
    max-width: 17ch;
    margin: 0 0 18px;
    color: #183f5c;
    font-size: clamp(1.85rem, 3.4vw, 2.8rem);
    line-height: 1.08;
}

body.partners-page .partner-origin-copy > p:not(.section-kicker) {
    max-width: 68ch;
    color: #40566c;
    font-size: 1rem;
    line-height: 1.78;
}

body.partners-page .partner-origin-copy > p:not(.section-kicker) + p {
    margin-top: 16px;
}

body.partners-page .partner-origin-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(24, 81, 127, .48);
    color: #18517f;
    font-size: .93rem;
    font-weight: 700;
    text-decoration: none;
}

body.partners-page .partner-origin-link:hover {
    border-bottom-color: currentColor;
    color: #123d5b;
}

body.partners-page .partner-origin-link:focus-visible {
    outline: 2px solid #7e9c49;
    outline-offset: 4px;
}

@media (max-width: 800px) {
    body.partners-page .partner-origin-story {
        grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
        gap: 28px;
        margin-top: 58px;
    }
}

@media (max-width: 520px) {
    body.partners-page .partner-origin-story {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin-top: 48px;
    }

    body.partners-page .partner-origin-portrait img {
        width: min(100%, 220px);
    }

    body.partners-page .partner-origin-copy h2 {
        font-size: clamp(1.9rem, 9vw, 2.4rem);
    }
}

/* BSAviation's shared editorial field-journal system. Partners stays intentionally isolated. */
body.site-unified {
    --ui-paper: #edf2f2;
    --ui-surface: #f9fbf9;
    --ui-line: #d4dfe1;
    --ui-ink: #19394d;
    --ui-muted: #566d79;
    --ui-blue: #4b7894;
    --ui-blue-deep: #173e57;
    --ui-shadow: 0 8px 24px rgba(20, 55, 75, .055);
    --lime: #b6c86e;
    background: var(--ui-paper);
    color: var(--ui-ink);
    font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
    letter-spacing: 0;
}

body.site-unified .container {
    width: min(calc(100% - 48px), 1220px);
    max-width: 1220px;
    padding-inline: 0;
}

body.site-unified:not(.legacy-home) :is(h1, h2, h3, h4) {
    font-family: inherit;
    font-weight: 700;
    letter-spacing: -.025em;
}

/* Fixed navigation remains native; only its shared visual finish is tuned here. */
body.site-unified .navbar {
    border-bottom: 1px solid rgba(25, 57, 77, .12);
    box-shadow: 0 3px 14px rgba(20, 55, 75, .06);
}

body.site-unified .nav-container {
    width: min(calc(100% - 48px), 1320px);
    padding-inline: 0;
}

body.site-unified:not(.legacy-home) .navbar {
    background: rgba(245, 248, 247, .97) !important;
}

body.site-unified:not(.legacy-home) .nav-logo .logo-img {
    width: auto;
    height: 56px;
    max-width: min(220px, calc(100vw - 112px));
    filter: none;
}

body.site-unified .navbar .nav-menu {
    gap: clamp(3px, .65vw, 10px);
}

body.site-unified:not(.legacy-home) .nav-link {
    padding: .55rem .62rem;
    border-radius: 4px;
    color: var(--ui-ink) !important;
    font-size: .82rem;
    font-weight: 650;
    letter-spacing: .01em;
}

body.site-unified:not(.legacy-home) .nav-link::before {
    bottom: 4px;
    height: 1px;
    background: var(--lime);
}

body.site-unified:not(.legacy-home) .nav-link:is(:hover, .active) {
    background: transparent !important;
    color: var(--ui-blue-deep) !important;
}

body.site-unified:not(.legacy-home) .navbar .hamburger {
    border: 1px solid var(--ui-line);
    background: var(--ui-surface);
}

body.site-unified:not(.legacy-home) .navbar .bar {
    background: var(--ui-ink);
}

body.site-unified.legacy-home .navbar:not(.scrolled) {
    border-color: transparent;
    background: transparent !important;
    box-shadow: none;
}

body.site-unified.legacy-home .navbar.scrolled {
    border-color: rgba(255, 255, 255, .14);
    background: #173e57 !important;
    box-shadow: 0 4px 16px rgba(5, 26, 48, .2);
}

body.site-unified.legacy-home .navbar .nav-link {
    padding: .55rem .62rem;
    border-radius: 4px;
    font-size: .82rem;
}

body.site-unified.legacy-home .navbar .nav-link::before {
    background: var(--lime);
}

/* Shared interior rhythm, headline scale and light-touch controls. */
body.site-unified:not(.legacy-home) :is(.about, .team, .services, .gallery, .contact) {
    padding: 132px 0 clamp(70px, 8vw, 104px) !important;
    background: var(--ui-paper);
}

body.site-unified:not(.legacy-home) .section-title {
    max-width: 20ch;
    margin: 0 0 clamp(30px, 4vw, 46px);
    color: var(--ui-ink);
    font-size: clamp(2.15rem, 4.8vw, 3.35rem);
    letter-spacing: -.035em;
    line-height: 1.04;
    text-align: left;
}

body.site-unified:not(.legacy-home) .section-title::after {
    width: 38px;
    height: 2px;
    margin-top: 17px;
    background: var(--lime);
    box-shadow: none;
}

body.site-unified:not(.legacy-home) :is(.about-grid, .team-content, .contact-grid) {
    width: min(100%, 1220px);
    max-width: none;
    padding: 0;
}

body.site-unified:not(.legacy-home) .btn {
    min-height: 46px;
    padding: .7rem 1.1rem;
    border: 1px solid var(--ui-blue-deep);
    border-radius: 4px;
    background: var(--ui-blue-deep);
    box-shadow: none;
    color: #fff;
    font-family: inherit;
    font-size: .86rem;
    transition: background-color .18s ease, border-color .18s ease;
}

body.site-unified:not(.legacy-home) .btn::before {
    display: none;
}

body.site-unified:not(.legacy-home) .btn:hover {
    border-color: var(--ui-blue);
    background: var(--ui-blue);
    box-shadow: none;
    transform: none;
}

body.site-unified :is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid #8b9f51;
    outline-offset: 3px;
}

/* About, group and meetings: quiet surfaces and real, naturally colored photography. */
body.site-unified:not(.legacy-home) .about-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, .72fr);
    gap: clamp(34px, 6vw, 82px);
}

body.site-unified:not(.legacy-home) .team-content {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(34px, 6vw, 78px);
}

body.site-unified:not(.legacy-home) :is(.about-text, .team-text, .contact-info) h3 {
    color: var(--ui-ink);
    font-size: clamp(1.55rem, 2.8vw, 2.15rem);
    line-height: 1.18;
}

body.site-unified:not(.legacy-home) :is(.about-text p, .team-text p, .contact-info > p, .about-text li) {
    max-width: 70ch;
    color: var(--ui-muted);
    font-size: .98rem;
    line-height: 1.78;
}

body.site-unified:not(.legacy-home) .stat-card,
body.site-unified:not(.legacy-home) .meeting-card,
body.site-unified:not(.legacy-home) .contact-item {
    border: 1px solid var(--ui-line);
    border-radius: 7px;
    background: var(--ui-surface);
    box-shadow: none;
}

body.site-unified:not(.legacy-home) .stat-card {
    padding: 24px;
    text-align: left;
}

body.site-unified:not(.legacy-home) :is(.stat-card, .meeting-card)::before,
body.site-unified:not(.legacy-home) .meeting-cta::before {
    height: 2px;
    background: var(--lime);
}

body.site-unified:not(.legacy-home) :is(.stat-card i, .meeting-card i, .contact-item i) {
    color: var(--ui-blue);
    background: none;
    -webkit-text-fill-color: currentColor;
    font-size: 1.35rem;
}

body.site-unified:not(.legacy-home) :is(.stat-card h3, .meeting-card h3) {
    margin: 0 0 .5rem;
    font-size: 1.3rem;
}

body.site-unified:not(.legacy-home) :is(.stat-card p, .meeting-card p) {
    color: var(--ui-muted);
    font-size: .91rem;
    line-height: 1.7;
}

body.site-unified:not(.legacy-home) .team-image {
    border-radius: 6px;
    box-shadow: none;
}

body.site-unified:not(.legacy-home) .group-photo {
    border-radius: 6px;
    filter: none;
}

body.site-unified:not(.legacy-home) .founders {
    padding: 18px 20px;
    border: 0;
    border-left: 2px solid var(--lime);
    border-radius: 0;
    background: rgba(249, 251, 249, .72);
}

body.site-unified:not(.legacy-home) .founders h4 {
    color: var(--ui-ink);
    font-family: inherit;
    font-size: .72rem;
    letter-spacing: .09em;
    text-transform: uppercase;
}

body.site-unified:not(.legacy-home) .founders li {
    color: var(--ui-muted);
    font-size: .92rem;
}

body.site-unified:not(.legacy-home) .meeting-info {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1220px;
    padding: 0;
}

body.site-unified:not(.legacy-home) .meeting-card {
    min-height: 230px;
    padding: 26px 24px;
    text-align: left;
}

body.site-unified:not(.legacy-home) .meeting-card:hover,
body.site-unified:not(.legacy-home) .contact-item:hover,
body.site-unified:not(.legacy-home) .stat-card:hover {
    box-shadow: var(--ui-shadow);
    transform: none;
}

body.site-unified:not(.legacy-home) .meeting-cta {
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid var(--ui-line);
    border-radius: 7px;
    background: var(--ui-surface);
    box-shadow: none;
    text-align: left;
}

body.site-unified:not(.legacy-home) .meeting-cta h3 {
    font-size: clamp(1.8rem, 3.5vw, 2.65rem);
}

/* Gallery and newsroom retain their viewer, article and sidebar behavior. */
body.site-unified:not(.legacy-home) .gallery-subtitle {
    max-width: 58ch;
    margin: 0 0 32px;
    color: var(--ui-muted);
    font-size: .98rem;
    line-height: 1.7;
    text-align: left;
}

body.site-unified:not(.legacy-home) .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}

body.site-unified:not(.legacy-home) .gallery-item {
    aspect-ratio: 1.32 / 1;
    border: 1px solid var(--ui-line);
    border-radius: 6px;
    background: #dce5e6;
    box-shadow: none;
}

body.site-unified:not(.legacy-home) .gallery-img {
    filter: none;
}

body.site-unified:not(.legacy-home) .gallery-item:hover {
    box-shadow: var(--ui-shadow);
    transform: none;
}

body.site-unified:not(.legacy-home) .gallery-overlay {
    padding: 18px;
    background: linear-gradient(180deg, transparent 28%, rgba(13, 39, 54, .72));
}

body.site-unified:not(.legacy-home) .gallery-overlay p {
    font-size: 1.25rem;
}

body.site-unified:not(.legacy-home) .gallery-overlay :is(p, .gallery-caption) {
    color: #fff;
}

body.site-unified:not(.legacy-home) .news-hero-v2 {
    padding: 132px 0 36px;
    background: var(--ui-paper);
    text-align: left;
}

body.site-unified:not(.legacy-home) .news-brand-container {
    width: 100%;
    max-width: 720px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
}

body.site-unified:not(.legacy-home) .news-logo-v2 {
    width: min(100%, 350px);
    margin: 0 0 12px;
}

body.site-unified:not(.legacy-home) .news-tagline {
    color: var(--ui-muted);
    font-size: .98rem;
    font-weight: 500;
    letter-spacing: .01em;
}

body.site-unified:not(.legacy-home) .news-container-v2 {
    padding: 32px 0 82px;
    background: var(--ui-paper);
}

body.site-unified:not(.legacy-home) .news-layout {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
    gap: clamp(28px, 4vw, 48px);
}

body.site-unified:not(.legacy-home) .news-article-card,
body.site-unified:not(.legacy-home) .sidebar-widget-v2 {
    border: 1px solid var(--ui-line);
    border-radius: 7px;
    background: var(--ui-surface);
    box-shadow: none;
}

body.site-unified:not(.legacy-home) .news-article-card {
    margin-bottom: 22px;
}

body.site-unified:not(.legacy-home) .news-article-card:hover {
    box-shadow: var(--ui-shadow);
    transform: none;
}

body.site-unified:not(.legacy-home) .article-body-v2 {
    padding: clamp(22px, 3vw, 34px);
}

body.site-unified:not(.legacy-home) .article-body-v2 h2 {
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    line-height: 1.15;
}

body.site-unified:not(.legacy-home) .article-body-v2 h3 {
    font-size: 1.45rem;
}

body.site-unified:not(.legacy-home) :is(.article-body-v2 p, .sidebar-widget-v2 p) {
    color: var(--ui-muted);
    line-height: 1.72;
}

body.site-unified:not(.legacy-home) .sidebar-widget-v2 {
    margin-bottom: 16px;
    padding: 22px;
}

body.site-unified:not(.legacy-home) .sidebar-widget-v2 h4 {
    margin-bottom: 15px;
    font-family: inherit;
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Pathways keeps its directory and filters, with the same paper, ink and modest borders. */
body.site-unified.pathways-page {
    --pathway-ink: var(--ui-ink);
    --pathway-blue: var(--ui-blue);
    --pathway-lime: var(--lime);
}

body.site-unified .pathways-hero {
    min-height: 610px;
    padding: 136px 0 78px;
    background:
        linear-gradient(90deg, rgba(14, 44, 63, .88), rgba(22, 66, 91, .56)),
        url("attached_assets/_MG_9957_1753793162038.jpeg") center / cover;
}

body.site-unified .pathways-hero-inner {
    width: min(calc(100% - 48px), 1220px);
    max-width: 1220px;
}

body.site-unified .pathways-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 5.4vw, 4.5rem);
    letter-spacing: -.035em;
    line-height: 1.02;
}

body.site-unified .pathways-hero-card {
    min-height: 260px;
    border: 1px solid rgba(25, 57, 77, .14);
    border-radius: 7px;
    background: #f5f4ec;
    box-shadow: 0 10px 24px rgba(5, 29, 48, .16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.site-unified.pathways-page .pathways-hero .btn-secondary {
    border-color: rgba(255, 255, 255, .72);
    background: rgba(20, 51, 70, .26);
    box-shadow: none;
    color: #fff;
}

body.site-unified.pathways-page .pathways-hero .btn-secondary:hover {
    border-color: #fff;
    background: rgba(20, 51, 70, .5);
}

body.site-unified .pathways-section {
    padding: 78px 0 96px;
    background: var(--ui-paper);
}

body.site-unified .pathways-intro {
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, .78fr);
    align-items: start;
    gap: 18px clamp(26px, 6vw, 76px);
}

body.site-unified .pathways-intro > .section-kicker {
    grid-column: 1 / -1;
    margin: 0;
}

body.site-unified .pathways-intro h2 {
    max-width: 20ch;
    margin: 0;
}

body.site-unified .pathways-intro h2,
body.site-unified .pathway-resources-heading h2 {
    font-size: clamp(2rem, 4vw, 3.15rem);
    letter-spacing: -.035em;
    line-height: 1.08;
}

body.site-unified .pathway-partner,
body.site-unified .pathway-resource-card,
body.site-unified .pathway-guide,
body.site-unified .pathway-guide-card,
body.site-unified .pathway-job-filter {
    border: 1px solid var(--ui-line);
    border-radius: 7px;
    background: var(--ui-surface);
    box-shadow: none;
}

body.site-unified .pathway-partner {
    padding: 14px;
}

body.site-unified .pathway-mark {
    min-height: 126px;
    border-radius: 4px;
    background: #e2ebeb;
}

body.site-unified .pathway-mark strong {
    font-size: 2.8rem;
}

body.site-unified .pathway-resources {
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--ui-line);
    border-radius: 8px;
    background: #e6eeee;
    box-shadow: none;
}

body.site-unified .pathway-resource-nav {
    border: 1px solid var(--ui-line);
    border-radius: 5px;
    background: rgba(249, 251, 249, .96);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.site-unified .pathway-resource-nav a,
body.site-unified .pathway-filter-button {
    border-radius: 4px;
}

body.site-unified .pathway-job-filter {
    padding: clamp(20px, 3vw, 32px);
}

body.site-unified .pathway-resource-card {
    min-height: 220px;
}

body.site-unified .pathway-resource-card--local {
    border-left: 3px solid var(--lime);
    background: var(--ui-surface);
}

body.site-unified .pathway-resource-card:hover,
body.site-unified .pathway-guide-card:hover {
    box-shadow: var(--ui-shadow);
    opacity: 1;
}

body.site-unified .aviation-field-notes {
    border: 0;
    border-radius: 7px;
    background: #173e57;
    box-shadow: none;
}

body.site-unified .pathway-course {
    border-radius: 7px;
    background: #dfe8bd;
    box-shadow: none;
}

body.site-unified .pathway-resource-card,
body.site-unified .pathway-guide-card {
    transition: border-color .18s ease, box-shadow .18s ease;
}

/* Homepage remains photo-led and centered; supporting sections join the same system. */
body.site-unified.legacy-home :is(.legacy-about-section, .legacy-feature-section, .legacy-cta-section) {
    padding: clamp(70px, 8vw, 102px) 0;
    background: var(--ui-paper);
}

body.site-unified.legacy-home .legacy-section-heading h2,
body.site-unified.legacy-home .legacy-feature-copy h2,
body.site-unified.legacy-home .legacy-cta-card h2 {
    max-width: 22ch;
    color: var(--ui-ink);
    font-size: clamp(2rem, 4vw, 3.15rem);
    letter-spacing: -.035em;
    line-height: 1.08;
}

body.site-unified.legacy-home .legacy-section-heading > p:not(.legacy-eyebrow) {
    max-width: 68ch;
    color: var(--ui-muted);
    font-size: 1rem;
    line-height: 1.78;
}

body.site-unified.legacy-home .legacy-eyebrow {
    color: #607c8a;
    letter-spacing: .13em;
}

body.site-unified.legacy-home .legacy-values-grid {
    gap: 16px;
}

body.site-unified.legacy-home .legacy-value-card {
    padding: 26px;
    border: 1px solid var(--ui-line);
    border-radius: 7px;
    background: var(--ui-surface);
    box-shadow: none;
    transition: border-color .18s ease;
}

body.site-unified.legacy-home .legacy-value-card:hover {
    border-color: #b9c8c7;
    box-shadow: none;
    transform: none;
}

body.site-unified.legacy-home .legacy-value-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 17px;
    border-radius: 5px;
    background: #e5eded;
    color: var(--ui-blue);
}

body.site-unified.legacy-home .legacy-value-card h3 {
    color: var(--ui-ink);
    font-size: 1.3rem;
}

body.site-unified.legacy-home :is(.legacy-value-card p, .legacy-feature-copy > p:not(.legacy-eyebrow), .legacy-cta-card > p:not(.legacy-eyebrow)) {
    color: var(--ui-muted);
    font-size: .96rem;
    line-height: 1.72;
}

body.site-unified.legacy-home .legacy-feature-section {
    background: #e7eeee;
}

body.site-unified.legacy-home .legacy-feature-image {
    min-height: 340px;
    border-radius: 6px;
    background: var(--ui-line);
    box-shadow: none;
}

body.site-unified.legacy-home .legacy-feature-image img {
    min-height: 340px;
    transition: none;
}

body.site-unified.legacy-home .legacy-cta-section {
    background: var(--ui-paper);
}

body.site-unified.legacy-home .legacy-cta-card {
    padding: clamp(30px, 5vw, 56px);
    border: 1px solid var(--ui-line);
    border-radius: 7px;
    background: #e4ebea;
}

body.site-unified.legacy-home .legacy-cta-card h2 {
    margin-inline: auto;
}

body.site-unified.legacy-home .legacy-text-link,
body.site-unified:not(.legacy-home) :is(.pathway-link, .news-link-v2, .pathways-hero-card-link) {
    color: var(--ui-blue-deep);
}

/* Footer finishes every included page with the same quiet logbook-ink anchor. */
body.site-unified .footer {
    padding: 48px 0 18px;
    border-top: 1px solid rgba(220, 235, 235, .18);
    background: #173e57;
}

body.site-unified .footer-content {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 1.25fr) minmax(150px, .7fr);
    gap: clamp(24px, 4vw, 50px);
}

body.site-unified .footer-logo {
    max-height: 54px;
}

@media (max-width: 980px) {
    body.site-unified:not(.legacy-home) :is(.about-grid, .team-content, .contact-grid) {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    body.site-unified:not(.legacy-home) .about-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    body.site-unified:not(.legacy-home) .meeting-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.site-unified:not(.legacy-home) .meeting-card:last-child {
        grid-column: 1 / -1;
    }

    body.site-unified:not(.legacy-home) .news-layout {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 270px);
        gap: 24px;
    }

    body.site-unified .pathways-hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(270px, .75fr);
        gap: 30px;
    }

    body.site-unified .pathway-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.site-unified .pathway-partner:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    body.site-unified .container,
    body.site-unified .nav-container,
    body.site-unified .pathways-hero-inner {
        width: min(calc(100% - 36px), 1220px);
    }

    body.site-unified:not(.legacy-home) :is(.about, .team, .services, .gallery, .contact) {
        padding: 112px 0 66px !important;
    }

    body.site-unified:not(.legacy-home) .section-title {
        margin-bottom: 30px;
        font-size: clamp(2.05rem, 8vw, 2.8rem);
    }

    body.site-unified:not(.legacy-home) .about-stats,
    body.site-unified:not(.legacy-home) .meeting-info,
    body.site-unified:not(.legacy-home) .gallery-grid,
    body.site-unified:not(.legacy-home) .news-layout,
    body.site-unified .pathways-hero-inner,
    body.site-unified .pathways-intro,
    body.site-unified .pathway-list {
        grid-template-columns: 1fr;
    }

    body.site-unified:not(.legacy-home) .meeting-card:last-child,
    body.site-unified .pathway-partner:last-child {
        grid-column: auto;
    }

    body.site-unified:not(.legacy-home) .gallery-item {
        aspect-ratio: 1.4 / 1;
    }

    body.site-unified:not(.legacy-home) .news-hero-v2 {
        padding: 112px 0 28px;
    }

    body.site-unified:not(.legacy-home) .news-container-v2 {
        padding: 24px 0 60px;
    }

    body.site-unified .pathways-hero {
        min-height: auto;
        padding: 112px 0 58px;
    }

    body.site-unified .pathways-hero h1 {
        max-width: 13ch;
        font-size: clamp(2.65rem, 10vw, 3.6rem);
    }

    body.site-unified .pathways-hero-card {
        width: min(100%, 460px);
    }

    body.site-unified .pathway-resource-nav {
        position: static;
    }

    body.site-unified .pathway-job-filter {
        display: block;
    }

    body.site-unified .pathway-filter-buttons {
        justify-content: flex-start;
        margin-top: 18px;
    }

    body.site-unified .pathway-filter-status {
        margin-top: 14px;
        text-align: left;
    }

    body.site-unified .legacy-values-grid,
    body.site-unified .legacy-feature-grid {
        grid-template-columns: 1fr;
    }

    body.site-unified .legacy-feature-grid {
        gap: 34px;
    }

    body.site-unified .legacy-feature-image,
    body.site-unified .legacy-feature-image img {
        min-height: 260px;
    }

    body.site-unified .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 26px 18px;
    }

    body.site-unified .footer-content > .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    body.site-unified .container,
    body.site-unified .nav-container,
    body.site-unified .pathways-hero-inner {
        width: min(calc(100% - 30px), 1220px);
    }

    body.site-unified:not(.legacy-home) .contact-form {
        padding: 22px 17px;
    }

    body.site-unified .pathway-resources {
        padding: 22px 16px;
    }

    body.site-unified .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 24px 14px;
    }
}

/* Keep the data-use notice readable and visible next to the contact submission action. */
body.site-unified .contact-form .contact-privacy-note {
    margin: 12px 0 14px;
    color: #536977;
    font-size: .82rem;
    line-height: 1.6;
}

body.site-unified .contact-form .contact-privacy-note a {
    color: #18517f;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-bottom .footer-legal-separator {
    padding: 0 .45em;
    color: #91a7ad;
}

.footer-bottom .footer-legal-link {
    color: #d7e9a3;
    font-size: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-bottom .footer-legal-link:hover,
.footer-bottom .footer-legal-link:focus-visible {
    color: #fff;
}

