/* ── Page Variables ── */
        :root {
            --green-dark:   #1E5C2E;
            --green-mid:    #2F7D32;
            --green-light:  #4CAF50;
            --text-primary: #111310;
            --text-muted:   #5F5E5A;
            --border:       rgba(0,0,0,0.10);
            --bg:           #ffffff;
            --bg-subtle:    #F7F9F7;
        }

        /* ── Hero ── */
        .team-hero {
            --grid-size: 40px;           /* Slightly larger grid squares look cleaner across wide layouts */
            --grid-color: 255, 255, 255; 
            --grid-opacity: 0.025;       /* 2.5% opacity keeps it visible but strictly sub-surface */
            --grid-thickness: 1px;
            position: relative;
            overflow: hidden;
            color: #ffffff;
            background-color: #1E5C2E;   
            background-image:
                linear-gradient(90deg, rgba(10, 26, 15, 0.4) 0%, transparent 60%),
                linear-gradient(rgba(var(--grid-color), var(--grid-opacity)) var(--grid-thickness), transparent var(--grid-thickness)),
                linear-gradient(90deg, rgba(var(--grid-color), var(--grid-opacity)) var(--grid-thickness), transparent var(--grid-thickness)),
                linear-gradient(135deg, #0a1a0f 0%, #1E5C2E 100%);
            background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto;
            padding: 160px 40px 140px;
        }

        .team-hero .container {
            max-width: 1300px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: end;
            position: relative;
            z-index: 1;
        }

        /* Label with dash — matches events & about hero */
        .team-hero-eyebrow {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: var(--green-light);
            margin-bottom: 0.75rem;
        }

        .team-hero-eyebrow::before {
            content: '';
            display: inline-block;
            width: 28px;
            height: 2px;
            background: var(--green-light);
            flex-shrink: 0;
        }

        .team-hero h1 {
            font-size: clamp(36px, 5vw, 52px);
            font-weight: 800;
            color: #ffffff;
            line-height: 1.08;
            margin: 0;
        }

        .team-hero h1 span { color: var(--green-light); }

        .team-hero-desc {
            font-size: 16px;
            line-height: 1.75;
            color: rgba(255,255,255,0.65);
            font-weight: 300;
            align-self: end;
        }

        /* ── Section commons ── */
        .team-section {
            padding: 80px 40px;
        }

        .team-section.bg-subtle { background: var(--bg-subtle); }
        .team-section.bg-white  { background: var(--bg); }

        .team-section .container {
            max-width: 1300px;
            margin: 0 auto;
        }

        .section-eyebrow {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: var(--green-mid);
            margin-bottom: 0.6rem;
        }

        .section-eyebrow::before {
            content: '';
            display: inline-block;
            width: 28px;
            height: 2px;
            background: var(--green-mid);
            flex-shrink: 0;
        }

        .section-eyebrow.light { color: rgba(255,255,255,0.5); }

        .section-title {
            font-size: clamp(36px, 5vw, 52px);
            font-weight: 800;
            color: var(--text-primary);
            line-height: 1.1;
            margin-bottom: 3rem;
        }

        .section-title.light { color: #ffffff; }
        .section-title span  { color: var(--green-mid); }
        .section-title.light span { color: var(--green-light); }

        /* ── Executive Leadership ── */
        .exec-feature {
            display: grid;
            grid-template-columns: 340px 1fr;
            border: 1px solid var(--border);
            margin-bottom: 1px;
            cursor: pointer;
            transition: background 0.2s;
            position: relative;
            overflow: hidden;
        }

        .exec-feature::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0;
            width: 0; height: 3px;
            background: var(--green-mid);
            transition: width 0.35s ease;
        }

        .exec-feature:hover { background: var(--bg-subtle); }
        .exec-feature:hover::after { width: 100%; }

        .exec-feature-img {
            height: 350px;
            overflow: hidden;
        }

        .exec-feature-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top;
            transition: transform 0.5s ease;
        }

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

        .exec-feature-info {
            padding: 3rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border-left: 1px solid var(--border);
        }

        .exec-role-badge {
            display: inline-flex;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--green-mid);
            background: rgba(46,125,50,0.08);
            padding: 5px 12px;
            border-radius: 999px;
            margin-bottom: 1rem;
            width: fit-content;
        }

        .exec-feature-info h3 {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            line-height: 1.2;
        }

        .exec-feature-info .exec-title {
            font-size: 18px;
            color: var(--text-muted);
            font-style: italic;
            margin-bottom: 1.25rem;
        }

        .exec-feature-info p {
            font-size: 16px;
            line-height: 1.75;
            color: var(--text-muted);
            margin-bottom: 1.5rem;
        }

        .read-more-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 16px;
            font-weight: 700;
            color: var(--green-mid);
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        .read-more-link i { font-size: 11px; transition: transform 0.2s; }
        .exec-feature:hover .read-more-link i { transform: translateX(4px); }

        /* ── Exec grid (3 below) ── */
        .exec-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            border-top: 1px solid var(--border);
            border-left: 1px solid var(--border);
            margin-top: 1px;
        }

        .exec-card {
            border-right: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            cursor: pointer;
            transition: background 0.2s;
            position: relative;
            overflow: hidden;
        }

        .exec-card::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0;
            width: 0; height: 3px;
            background: var(--green-mid);
            transition: width 0.35s ease;
        }

        .exec-card:hover { background: var(--bg-subtle); }
        .exec-card:hover::after { width: 100%; }

        .exec-card-img {
            height: 260px;
            overflow: hidden;
        }

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

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

        .exec-card-info {
            padding: 1.5rem;
            border-top: 1px solid var(--border);
        }

        .exec-card-info h3 {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.3rem;
            line-height: 1.3;
        }

        .exec-card-info .exec-title {
            font-size: 16px;
            color: var(--text-muted);
            font-style: italic;
            margin-bottom: 0.75rem;
        }

        .exec-card-info p {
            font-size: 14px;
            line-height: 1.65;
            color: var(--text-muted);
            overflow: hidden;
            margin-bottom: 0.75rem;
        }

        /* ── Core Team Grid ── */
        .core-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            border-top: 1px solid var(--border);
            border-left: 1px solid var(--border);
        }

        .core-lead {
            grid-column: span 3;
            display: grid;
            grid-template-columns: 260px 1fr;
            border-right: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            cursor: pointer;
            transition: background 0.2s;
            position: relative;
            overflow: hidden;
        }

        .core-lead::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0;
            width: 0; height: 3px;
            background: var(--green-mid);
            transition: width 0.35s ease;
        }

        .core-lead:hover { background: var(--bg-subtle); }
        .core-lead:hover::after { width: 100%; }

        .core-lead-img {
            height: 270px;
            overflow: hidden;
        }

        .core-lead-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top;
            transition: transform 0.5s ease;
        }

        .core-lead:hover .core-lead-img img { transform: scale(1.04); }

        .core-lead-info {
            padding: 2rem 2.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border-left: 1px solid var(--border);
        }

        .core-lead-info h3 {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.3rem;
        }

        .core-lead-info .core-title {
            font-size: 16px;
            color: var(--text-muted);
            font-style: italic;
            margin-bottom: 1rem;
        }

        .core-lead-info p {
            font-size: 14px;
            line-height: 1.7;
            color: var(--text-muted);
            margin-bottom: 1rem;
            overflow: hidden;
        }

        .core-member {
            border-right: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            cursor: pointer;
            transition: background 0.2s;
            position: relative;
            overflow: hidden;
        }

        .core-member::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0;
            width: 0; height: 3px;
            background: var(--green-mid);
            transition: width 0.35s ease;
        }

        .core-member:hover { background: var(--bg-subtle); }
        .core-member:hover::after { width: 100%; }

        .core-member-img {
            height: 400px;
            overflow: hidden;
        }

        .core-member-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top;
            transition: transform 0.5s ease;
        }

        .core-member:hover .core-member-img img { transform: scale(1.04); }

        .core-member-info {
            padding: 1.25rem;
            border-top: 1px solid var(--border);
        }

        .core-member-info h3 {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.25rem;
            line-height: 1.3;
        }

        .core-member-info p {
            font-size: 16px;
            color: var(--text-muted);
            font-style: italic;
        }

        /* ── Departments ── */
        .dept-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            border-top: 1px solid rgba(255,255,255,0.12);
            border-left: 1px solid rgba(255,255,255,0.12);
        }

        .dept-card {
            border-right: 1px solid rgba(255,255,255,0.12);
            border-bottom: 1px solid rgba(255,255,255,0.12);
            overflow: hidden;
            position: relative;
            cursor: default;
        }

        .dept-card-img {
            height: 280px;
            overflow: hidden;
            position: relative;
        }

        .dept-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
            filter: brightness(0.75);
        }

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

        .dept-card-overlay {
            position: absolute;
            bottom: 0; left: 0; right: 0;
            padding: 1.25rem;
            background: linear-gradient(transparent, rgba(0,0,0,0.65));
        }

        .dept-card-overlay h3 {
            font-size: 16px;
            font-weight: 500;
            color: #ffffff;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin: 0;
        }

        /* ── Modal ── */
        .team-modal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.65);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            padding: 1rem;
        }

        .team-modal.open { display: flex; }

        .modal-content {
            background: #fff;
            width: 100%;
            max-width: 960px;
            max-height: 90vh;
            border-radius: 12px;
            display: grid;
            grid-template-columns: 360px 1fr;
            position: relative;
            box-shadow: 0 24px 60px rgba(0,0,0,0.25);
            overflow: hidden;
        }

        .modal-img {
            overflow: hidden;
            align-self: stretch;
        }

        .modal-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top center;
            display: block;
        }

        .modal-body {
            padding: 2rem 2.5rem;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }

        .modal-role-badge {
            display: inline-block;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--green-mid);
            background: rgba(46,125,50,0.08);
            padding: 4px 10px;
            border-radius: 999px;
            margin-bottom: 0.75rem;
            width: fit-content;
        }

        .modal-body h3 {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 0.3rem;
            line-height: 1.2;
        }

        .modal-body .modal-title {
            font-size: 14px;
            color: var(--text-muted);
            font-style: italic;
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border);
        }

        .modal-body p {
            font-size: 14px;
            line-height: 1.8;
            color: #444;
            margin-bottom: 1rem;
        }

        .modal-close {
            position: absolute;
            top: 1rem; right: 1rem;
            width: 32px; height: 32px;
            border-radius: 50%;
            background: #f0f0f0;
            border: none;
            cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            font-size: 1rem;
            color: #555;
            z-index: 10;
            transition: background 0.2s;
        }

        .modal-close:hover { background: #e0e0e0; }

        /* ── Responsive ── */
        @media (max-width: 1024px) {
            .core-grid { grid-template-columns: repeat(2, 1fr); }
            .core-lead { grid-column: span 2; }
        }

        @media (max-width: 900px) {
            .exec-feature { grid-template-columns: 1fr; }
            .exec-feature-img { height: 450px; }
            .exec-feature-info { border-left: none; border-top: 1px solid var(--border); padding: 2rem; }
            .exec-grid { grid-template-columns: 1fr 1fr; }
            .core-grid { grid-template-columns: repeat(2, 1fr); }
            .core-lead { grid-column: span 2; grid-template-columns: 1fr; }
            .core-lead-img { height: 220px; }
            .core-lead-info { border-left: none; border-top: 1px solid var(--border); }
            .dept-grid { grid-template-columns: repeat(2, 1fr); }

            /* Modal: stack on tablet */
            .modal-content {
                grid-template-columns: 1fr;
                grid-template-rows: 280px 1fr;
                max-height: 90vh;
            }

            .modal-img {
                height: 280px;
            }

            .modal-body {
                padding: 1.5rem;
                overflow-y: auto;
                justify-content: flex-start;
            }
        }

        @media (max-width: 640px) {
            .team-hero { padding: 120px 20px 80px; }
            .team-hero .container { grid-template-columns: 1fr; gap: 1rem; }
            .team-section { padding: 60px 20px; }
            .exec-grid { grid-template-columns: 1fr; }
            .core-grid { grid-template-columns: 1fr 1fr; }
            .core-lead { grid-column: span 2; }
            .dept-grid { grid-template-columns: 1fr; }

            /* Modal: fully stacked on mobile */
            .modal-content {
                grid-template-columns: 1fr;
                grid-template-rows: 240px 1fr;
                max-height: 92vh;
                border-radius: 10px;
            }

            .modal-img {
                height: 240px;
            }

            .modal-body {
                padding: 1.25rem;
                overflow-y: auto;
                justify-content: flex-start;
                max-height: none;
            }

            .modal-body h3 { font-size: 1.15rem; }
            .modal-body .modal-title { margin-bottom: 1rem; padding-bottom: 1rem; }
        }

        @media (max-width: 400px) {
            .core-grid { grid-template-columns: 1fr; }
            .core-lead { grid-column: span 1; }

            .modal-img { height: 200px; }
        }