/* ============================================
   AEGIS INTELLIGENCE — IYNA-inspired design
   ============================================ */

   :root {
    --primary: #0d8ea8;
    --primary-dark: #0a6f85;
    --primary-light: #12b5d4;
    --accent: #5b4cdb;
    --accent-soft: rgba(91, 76, 219, 0.12);
    --navy: #0a1628;
    --navy-soft: #1a2d4a;
    --background: #fafbfc;
    --surface: #ffffff;
    --text-primary: #0a1628;
    --text-secondary: #5a6b82;
    --text-tertiary: #29e163;
    --text-muted: #8b9cb0;
    --border: #e4eaf2;
    --light-bg: #f0f4f9;


    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 12px 40px rgba(10, 22, 40, 0.1);
    --shadow-lg: 0 24px 60px rgba(10, 22, 40, 0.14);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ——— Navigation ——— */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    transition: opacity var(--transition);
}

.navbar-brand:hover {
    opacity: 0.85;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-mark svg {
    width: 20px;
    height: 20px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.navbar-nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition);
}

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

.navbar-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.navbar:not(.navbar-scrolled) .navbar-brand,
.navbar:not(.navbar-scrolled) .brand-text {
    color: white;
}

.navbar:not(.navbar-scrolled) .navbar-nav a {
    color: rgba(255, 255, 255, 0.85);
}

.navbar:not(.navbar-scrolled) .navbar-nav a:hover,
.navbar:not(.navbar-scrolled) .navbar-nav a.active {
    color: white;
}

.navbar:not(.navbar-scrolled) .navbar-nav a.active::after {
    background: var(--primary-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    flex-shrink: 0;
}

.navbar-scrolled .nav-toggle {
    border-color: var(--border);
    background: var(--surface);
}

.nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: white;
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
}

.navbar-scrolled .nav-toggle-bar {
    background: var(--navy);
}

.navbar.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.navbar.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@keyframes menuDropIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ——— Hero ——— */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 4rem) 0 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroKenBurns 22s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 22, 40, 0.72) 0%, rgba(10, 22, 40, 0.45) 45%, rgba(10, 22, 40, 0.82) 100%),
        linear-gradient(135deg, rgba(10, 22, 40, 0.75) 0%, rgba(13, 142, 168, 0.35) 50%, rgba(91, 76, 219, 0.3) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
}

.hero-copy {
    position: relative;
    padding: clamp(1.75rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2.5rem);
    background: rgba(10, 22, 40, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    animation: heroCardIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

.hero-copy .eyebrow {
    animation: heroTextIn 0.7s ease 0.15s both;
}

.hero-copy .hero-title {
    animation: heroTextIn 0.7s ease 0.28s both;
}

.hero-copy .hero-tagline {
    animation: heroTextIn 0.7s ease 0.4s both, taglineGlow 4s ease-in-out 1.1s infinite alternate;
}

.hero-copy .hero-description {
    animation: heroTextIn 0.7s ease 0.52s both;
}

.hero-copy .hero-actions {
    animation: heroTextIn 0.7s ease 0.64s both;
}

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

@keyframes taglineGlow {
    from { box-shadow: 0 0 0 rgba(18, 181, 212, 0); }
    to { box-shadow: 0 0 28px rgba(18, 181, 212, 0.35); }
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.05;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero-title-serif {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
}

.hero-tagline {
    display: inline-block;
    font-size: clamp(0.8rem, 2.4vw, 1.05rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(18, 181, 212, 0.32), rgba(41, 225, 99, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 0.55rem 1.25rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 6vw, 4rem);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ——— Buttons ——— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition) !important;
    border: 2px solid transparent;
    cursor: pointer;
}

.navbar-nav a.btn {
    color: white !important;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(13, 142, 168, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(13, 142, 168, 0.45);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

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

/* ——— Sections ——— */
main {
    flex: 1;
    padding-top: 0;
}

.section {
    padding: 5.5rem 0;
}

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

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

.text-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap var(--transition);
}

.text-link:hover {
    color: var(--primary-dark);
}

/* ——— About ——— */
.about-section {
    background: var(--surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-visual img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-visual:hover img {
    transform: scale(1.03);
}

.about-visual-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--surface);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.badge-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ——— Pillars (What We Do) ——— */
.what-we-do {
    background: var(--light-bg);
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.pillar-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.pillar-image {
    height: 180px;
    overflow: hidden;
}

.pillar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-image img {
    transform: scale(1.06);
}

.pillar-num {
    display: block;
    padding: 1.25rem 1.5rem 0;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.35;
    line-height: 1;
}

.pillar-card h3 {
    padding: 0.5rem 1.5rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
}

.pillar-card p {
    padding: 0.75rem 1.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ——— Bento highlights ——— */
.highlights-section {
    background: var(--surface);
}

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.bento-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 200px;
    text-decoration: none;
    display: block;
    transition: transform var(--transition), box-shadow var(--transition);
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.bento-card img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bento-card:hover img {
    transform: scale(1.05);
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.2) 60%, transparent 100%);
}

.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 1;
    color: white;
}

.bento-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.bento-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

.bento-large {
    grid-row: span 2;
    min-height: 420px;
}

.bento-wide {
    grid-column: span 2;
}

/* ——— News & Events ——— */
.news-events-section {
    background: var(--light-bg);
}

.toggle-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0 2.5rem;
}

.toggle-btn {
    padding: 0.65rem 1.5rem;
    border: 2px solid var(--border);
    background: var(--surface);
    border-radius: 100px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.toggle-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}

.content-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.content-section.active {
    display: block;
}

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

.cards-feed {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feed-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.feed-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.feed-card-image {
    height: 100%;
    min-height: 160px;
    overflow: hidden;
}

.feed-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feed-card:hover .feed-card-image img {
    transform: scale(1.04);
}

.feed-card-body {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.card-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.card-location::before {
    content: 'Location: ';
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 0.25rem;
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ——— Join CTA ——— */
.join-us-cta {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.join-us-bg {
    position: absolute;
    inset: 0;
}

.join-us-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.join-us-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(13, 142, 168, 0.75) 100%);
}

.join-us-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.join-us-cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.join-us-cta-sub {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.join-us-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
}

.stat span:last-child {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ——— Page header (inner pages) ——— */
.page-hero {
    position: relative;
    padding: calc(var(--nav-height) + 4rem) 0 4rem;
    text-align: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.82) 0%, rgba(10, 22, 40, 0.65) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

.page-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 520px;
    margin: 0 auto;
}

/* ——— Members ——— */
.members-section {
    padding: 4rem 0 5rem;
}

.members-intro {
    max-width: 520px;
    margin: 0 auto 2.5rem;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.member-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.member-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--light-bg);
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-photo-wrap .member-avatar {
    display: none;
}

.member-photo-wrap.no-photo .member-photo {
    display: none;
}

.member-photo-wrap.no-photo .member-avatar {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.member-info {
    padding: 1.25rem 1.5rem 1.5rem;
}

.member-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.member-role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.member-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ——— Join page ——— */
.join-benefits {
    background: var(--light-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: var(--accent-soft);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.contact-section {
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: border-color var(--transition), transform var(--transition);
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.contact-label {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.contact-card a:hover {
    color: var(--primary);
}

/* ——— Footer ——— */
.site-footer {
    background: var(--navy);
    color: white;
    padding: 3rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.75;
}

.footer-contacts {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.footer-contact-link:hover {
    color: var(--primary-light);
}

/* ——— Scroll animations ——— */
.scroll-animate,
.scroll-animate-left,
.scroll-animate-right {
    opacity: 0;
    transition: opacity 0.7s ease var(--delay, 0s), transform 0.7s ease var(--delay, 0s);
}

.scroll-animate {
    transform: translateY(28px);
}

.scroll-animate-left {
    transform: translateX(-32px);
}

.scroll-animate-right {
    transform: translateX(32px);
}

.scroll-animate.in-view,
.scroll-animate-left.in-view,
.scroll-animate-right.in-view {
    opacity: 1;
    transform: translate(0);
}

/* ——— Values (Shield · Stable · Strategic) ——— */
.values-section {
    background: var(--navy);
    color: white;
}

.values-section .section-eyebrow {
    color: var(--primary-light);
}

.values-section .section-title {
    color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    transition: transform var(--transition), background var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

.value-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--primary-light);
}

.value-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

/* ——— Who it's for ——— */
.audience-section {
    background: var(--surface);
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.audience-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.audience-list li {
    padding-left: 1.25rem;
    border-left: 3px solid var(--primary);
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
}

.audience-list strong {
    display: block;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.audience-aside {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.audience-aside h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.audience-aside p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ——— How to join steps ——— */
.steps-section {
    background: var(--light-bg);
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    counter-reset: step;
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    position: relative;
}

.step-card::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.35;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ——— Partners ——— */
.partners-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.partners-intro {
    max-width: 560px;
    margin: 0 auto 0.5rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.partner-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.partner-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.partner-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.partner-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ——— FAQ ——— */
.faq-section {
    background: var(--light-bg);
}

.faq-list {
    max-width: 720px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    cursor: pointer;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--primary);
    border-radius: 1px;
    transition: transform var(--transition);
}

.faq-icon::before {
    width: 12px;
    height: 2px;
    top: 9px;
    left: 4px;
}

.faq-icon::after {
    width: 2px;
    height: 12px;
    top: 4px;
    left: 9px;
}

.faq-item.is-open .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 1.35rem 1.15rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.is-open .faq-answer {
    max-height: 280px;
}

/* ——— Footer nav ——— */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.footer-nav-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.site-footer .footer-content.footer-grid {
    align-items: start;
}

/* ——— Join page extras ——— */
.expectations-section {
    background: var(--surface);
}

.expectations-list {
    max-width: 640px;
    margin: 2rem auto 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.expectations-list li {
    padding: 1rem 1.25rem;
    background: var(--light-bg);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ——— Responsive ——— */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .pillars,
    .benefits-grid,
    .contact-grid,
    .values-grid,
    .steps-row,
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .bento {
        grid-template-columns: 1fr 1fr;
    }

    .bento-large {
        grid-row: span 1;
        min-height: 240px;
    }

    .bento-wide {
        grid-column: span 2;
    }

    .feed-card {
        grid-template-columns: 1fr;
    }

    .feed-card-image {
        min-height: 200px;
    }
}

/* Desktop: keep the original horizontal marketing nav */
@media (min-width: 641px) {
    .nav-toggle {
        display: none !important;
    }

    .navbar .navbar-nav {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        width: auto;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .navbar-inner {
        flex-wrap: nowrap;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        gap: 1.25rem;
    }

    .brand-text {
        font-size: 0.95rem;
    }

    .bento {
        grid-template-columns: 1fr;
    }

    .bento-wide {
        grid-column: span 1;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-contacts {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .navbar {
        height: var(--nav-height);
        min-height: var(--nav-height);
        padding: 0;
    }

    .navbar.is-open:not(.navbar-scrolled) {
        background: rgba(10, 22, 40, 0.88);
        backdrop-filter: blur(10px);
    }

    .navbar.is-open.navbar-scrolled {
        background: var(--surface);
        border-bottom: 1px solid var(--border);
    }

    .navbar-inner {
        position: relative;
        flex-wrap: nowrap;
        height: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .navbar-nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        left: auto;
        bottom: auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: min(280px, calc(100vw - 2rem));
        gap: 0.15rem;
        margin: 0;
        padding: 0.4rem;
        background: var(--navy);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        max-height: calc(100vh - var(--nav-height) - 1.5rem);
        z-index: 1001;
        -webkit-overflow-scrolling: touch;
        transform-origin: top right;
    }

    .navbar-scrolled .navbar-nav {
        background: var(--surface);
        border-color: var(--border);
    }

    .navbar.is-open .navbar-nav {
        display: flex;
        animation: menuDropIn 0.22s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .navbar-nav li {
        width: 100%;
    }

    .navbar-nav a {
        display: block;
        padding: 0.75rem 0.85rem;
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.92) !important;
        border-bottom: none;
        border-radius: var(--radius-sm);
        transition: background 0.2s ease, color 0.2s ease;
    }

    .navbar-nav a:hover,
    .navbar-nav a.active {
        background: rgba(255, 255, 255, 0.08);
        color: var(--primary-light) !important;
    }

    .navbar-scrolled .navbar-nav a {
        color: var(--navy) !important;
    }

    .navbar-scrolled .navbar-nav a:hover,
    .navbar-scrolled .navbar-nav a.active {
        background: var(--light-bg);
        color: var(--primary) !important;
    }

    .navbar-nav a.active::after {
        display: none;
    }

    .navbar-nav a.btn {
        text-align: center;
        margin-top: 0.25rem;
        width: 100%;
        color: white !important;
    }

    .hero-copy {
        padding: 1.5rem 1.15rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .hero {
        padding: calc(var(--nav-height) + 2.5rem) 0 3.5rem;
        min-height: auto;
    }

    .page-hero {
        padding: calc(var(--nav-height) + 2.5rem) 0 2.5rem;
    }

    .toggle-buttons {
        flex-wrap: wrap;
    }

    .toggle-btn {
        flex: 1 1 auto;
        min-width: calc(50% - 0.375rem);
    }
}

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

    .hero-stats,
    .join-us-stats {
        gap: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .toggle-btn {
        min-width: 100%;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-bg img,
    .hero-copy,
    .hero-copy .eyebrow,
    .hero-copy .hero-title,
    .hero-copy .hero-tagline,
    .hero-copy .hero-description,
    .hero-copy .hero-actions,
    .navbar.is-open .navbar-nav {
        animation: none !important;
    }
    .scroll-animate,
    .scroll-animate-left,
    .scroll-animate-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
