/*
Theme Name: EnergyzBlack
Theme URI: https://energyzblack.co.uk
Author: EnergyzBlack
Description: Custom theme for EnergyzBlack — a non-profit championing Black excellence in the UK energy sector. Brand: Clash Grotesk + Raleway, lime #11D307. Light/dark aware. Full theme infrastructure: page/single/home/archive/search/404 templates, About (Our Story / Our Team) pages, blog cards, testimonials, dropdown nav, custom fields, SEO Open Graph/Twitter.
Version: 8.8
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: energyzblack
*/

/* ---------- Fonts (also enqueued in functions.php) ---------- */
@import url('https://api.fontshare.com/v2/css?f[]=clash-grotesk@500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');

/* ---------- Theme colour tokens (dark = default) ---------- */
:root{
  --lime:#11D307;
  --lime-tint:rgba(17,211,7,0.12);
  --page-bg:#1A1F06;
  --section-bg:#0D1503;
  --card-bg:#111B04;
  --text:#FFFFFF;
  --body:#C8D2B4;
  --muted:#8B9B64;
  --border:rgba(255,255,255,0.12);
  --nav-bg:#1A1F06;
  --who-bg:#1A1F06;
  --who-chip-bg:rgba(17,211,7,0.12);
  --who-chip-text:#11D307;
  --stat-card-bg:#191E0E;
  --stat-card-border:rgba(17,211,7,0.1);
  --story-btn-bg:rgba(255,255,255,0.1);
  --team-card-bg:#16210A;
  --team-card-border:rgba(255,255,255,0.10);
  --team-card-border-hover:rgba(17,211,7,0.45);
  --team-card-shadow:0 12px 30px -18px rgba(0,0,0,0.65);
  --team-card-shadow-hover:0 18px 42px -16px rgba(17,211,7,0.32);
  --team-photo-bg:#232B0A;
  --team-modal-bg:#191E0E;
  --team-modal-border:rgba(17,211,7,0.18);
  --team-bio:#C8D2B4;
  --lime-divider:rgba(17,211,7,0.25);
  --pillar-bg:rgba(255,255,255,0.02);
  --pillar-border:rgba(255,255,255,0.10);
  --tile-ph-border:rgba(255,255,255,0.16);
  --evt-cat-bg:rgba(17,211,7,0.14);
  --evt-cat-color:#7DF074;
  --evt-fmt-bg:rgba(255,255,255,0.06);
  --evt-divider:rgba(200,217,176,0.15);
  --form-input-bg:#1A1F06;
  --form-input-border:rgba(255,255,255,0.10);
  --form-label:rgba(255,255,255,0.7);
  --mm-border:rgba(255,255,255,0.18);
  --mm-input-bg:rgba(255,255,255,0.06);
  --mm-radio-inactive:rgba(255,255,255,0.04);
}
html.theme-light{
  --page-bg:#F7F8F2;
  --section-bg:#EDEEE8;
  --card-bg:#FFFFFF;
  --text:#1A1F06;
  --body:#4A5240;
  --muted:#5C6130;
  --border:rgba(26,31,6,0.13);
  --nav-bg:#F7F8F2;
  --who-bg:#FFFFFF;
  --who-chip-bg:#DCFCE7;
  --who-chip-text:#166534;
  --stat-card-bg:#FFFFFF;
  --stat-card-border:rgba(74,82,64,0.12);
  --story-btn-bg:#1A1F06;
  --team-card-bg:#FFFFFF;
  --team-card-border:rgba(26,31,6,0.12);
  --team-card-border-hover:rgba(17,211,7,0.50);
  --team-card-shadow:0 10px 28px -18px rgba(26,31,6,0.28);
  --team-card-shadow-hover:0 18px 40px -18px rgba(17,211,7,0.28);
  --team-photo-bg:#E7EAD9;
  --team-modal-bg:#FFFFFF;
  --team-modal-border:rgba(74,82,64,0.14);
  --team-bio:#2E3318;
  --lime-divider:rgba(17,211,7,0.35);
  --pillar-bg:#FFFFFF;
  --pillar-border:rgba(74,82,64,0.14);
  --tile-ph-border:rgba(26,31,6,0.16);
  --evt-cat-bg:rgba(17,211,7,0.12);
  --evt-cat-color:#1F7A16;
  --evt-fmt-bg:rgba(26,31,6,0.06);
  --evt-divider:rgba(26,31,6,0.10);
  --form-input-bg:#FFFFFF;
  --form-input-border:rgba(26,31,6,0.16);
  --form-label:rgba(26,31,6,0.7);
  --mm-border:rgba(0,0,0,0.16);
  --mm-input-bg:#FFFFFF;
  --mm-radio-inactive:#FFFFFF;
}

/* ---------- Base ---------- */
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background:var(--page-bg);
  color:var(--body);
  font-family:'Raleway',sans-serif;
  font-size:17px;
  line-height:28px;
  -webkit-font-smoothing:antialiased;
  transition:background .25s ease,color .25s ease;
}
h1,h2,h3,h4{font-family:'Clash Grotesk',sans-serif;color:var(--text);margin:0 0 .4em;letter-spacing:-0.02em;line-height:1.1;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.eb-container{width:100%;max-width:1200px;margin:0 auto;padding:0 60px;}
.eb-section{padding:80px 0;}

/* ---------- Buttons ---------- */
.eb-btn{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 28px;border-radius:8px;font-family:'Clash Grotesk',sans-serif;font-weight:600;font-size:16px;cursor:pointer;border:none;transition:transform .15s ease,background .15s ease,opacity .15s ease;}
.eb-btn-primary{background:var(--lime);color:#0D1503;}
.eb-btn-primary:hover{transform:translateY(-1px);background:#0FBE06;}
.eb-btn-secondary{background:rgba(255,255,255,0.1);color:var(--text);}
html.theme-light .eb-btn-secondary{background:rgba(26,31,6,0.08);}
.eb-btn-secondary:hover{transform:translateY(-1px);}
.eb-pill{display:inline-block;background:var(--lime-tint);color:var(--lime);font-family:'Raleway',sans-serif;font-weight:600;font-size:12px;letter-spacing:.04em;text-transform:uppercase;padding:8px 14px;border-radius:6px;}

/* ---------- Header / Nav ---------- */
.eb-nav{position:sticky;top:0;z-index:1000;background:rgba(26,31,6,0.72);}
.eb-nav-inner{position:relative;display:flex;align-items:center;justify-content:space-between;height:72px;gap:24px;max-width:1400px;}
.eb-burger{display:none;width:40px;height:40px;border:1px solid rgba(255,255,255,0.15);background:transparent;color:#FFFFFF;border-radius:8px;cursor:pointer;align-items:center;justify-content:center;padding:0;}
.eb-burger svg{width:20px;height:20px;}
.eb-only-mobile{display:none;}
.eb-nav-logo{flex-shrink:0;}
.eb-nav-logo img{height:36px;width:auto;max-width:none;flex-shrink:0;object-fit:contain;}
/* Logo swaps with theme: white-text logo on dark, black-text logo on light */
.eb-logo-light{display:none;}
html.theme-light .eb-logo-dark{display:none;}
html.theme-light .eb-logo-light{display:block;}
/* Single-logo auto-adapt: invert a monochrome logo to read on the opposite background */
.eb-logo-flip{filter:invert(1);}
.eb-nav-menu{display:flex;gap:32px;align-items:center;list-style:none;margin:0;padding:0;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);}
.eb-nav-menu a{font-family:'Raleway',sans-serif;font-weight:500;font-size:14px;letter-spacing:-0.02em;color:#FFFFFF;transition:color .15s ease;}
.eb-nav-menu a:hover{color:var(--lime);}
/* Nav dropdowns (About, Thematic Areas) — frosted panel on hover */
.eb-has-dd{position:relative;display:flex;align-items:center;}
.eb-dd-toggle{display:inline-flex;align-items:center;gap:5px;background:transparent;border:none;color:#FFFFFF;font-family:'Raleway',sans-serif;font-weight:500;font-size:14px;cursor:pointer;padding:0;text-decoration:none;transition:color .15s ease;}
.eb-dd-toggle:hover{color:var(--lime);}
.eb-dd-chev{width:12px;height:12px;transition:transform .2s ease;}
.eb-has-dd:hover .eb-dd-chev,.eb-has-dd:focus-within .eb-dd-chev{transform:rotate(180deg);}
.eb-has-dd::after{content:"";position:absolute;top:100%;left:-12px;right:-12px;height:18px;}
.eb-dd{position:absolute;top:calc(100% + 16px);left:50%;transform:translateX(-50%) translateY(6px);min-width:200px;list-style:none;margin:0;padding:8px;background:rgba(13,21,3,0.82);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,0.1);border-radius:2px;box-shadow:0 20px 44px -22px rgba(0,0,0,0.6);display:flex;flex-direction:column;gap:2px;opacity:0;visibility:hidden;transition:opacity .18s ease,transform .18s ease;z-index:1001;}
.eb-has-dd:hover .eb-dd,.eb-has-dd:focus-within .eb-dd{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.eb-dd li{margin:0;}
.eb-dd a{display:block;padding:9px 14px;border-radius:2px;color:#FFFFFF;font-family:'Raleway',sans-serif;font-weight:500;font-size:14px;white-space:nowrap;transition:background .15s ease,color .15s ease;}
.eb-dd a:hover{background:rgba(255,255,255,0.06);color:var(--lime);}
/* Same dropdown styling for menus built in Appearance → Menus (WordPress default classes) */
.eb-nav-menu .menu-item{list-style:none;position:relative;}
.eb-nav-menu .menu-item-has-children > a::after{content:"\25BE";font-size:11px;margin-left:5px;display:inline-block;transition:transform .2s ease;}
.eb-nav-menu .menu-item-has-children:hover > a::after,.eb-nav-menu .menu-item-has-children:focus-within > a::after{transform:rotate(180deg);}
.eb-nav-menu .menu-item-has-children::before{content:"";position:absolute;top:100%;left:-12px;right:-12px;height:18px;}
.eb-nav-menu .sub-menu{position:absolute;top:calc(100% + 16px);left:50%;transform:translateX(-50%) translateY(6px);min-width:200px;list-style:none;margin:0;padding:8px;background:rgba(13,21,3,0.82);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,0.1);border-radius:2px;box-shadow:0 20px 44px -22px rgba(0,0,0,0.6);display:flex;flex-direction:column;gap:2px;opacity:0;visibility:hidden;transition:opacity .18s ease,transform .18s ease;z-index:1001;}
.eb-nav-menu .menu-item-has-children:hover > .sub-menu,.eb-nav-menu .menu-item-has-children:focus-within > .sub-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.eb-nav-menu .sub-menu li{margin:0;list-style:none;}
.eb-nav-menu .sub-menu a{display:block;padding:9px 14px;border-radius:2px;color:#FFFFFF;font-family:'Raleway',sans-serif;font-weight:500;font-size:14px;white-space:nowrap;transition:background .15s ease,color .15s ease;}
.eb-nav-menu .sub-menu a:hover{background:rgba(255,255,255,0.06);color:var(--lime);}
.eb-nav-actions{display:flex;align-items:center;gap:16px;}
/* Theme switch — exact match to Framer ThemeSwitch (Dark ⟷ Light slider) */
.eb-switch{display:flex;align-items:center;gap:8px;background:transparent;border:none;cursor:pointer;padding:0;}
.eb-switch-lbl{font-family:'Raleway',sans-serif;font-weight:600;font-size:12px;letter-spacing:.01em;transition:color .2s ease;}
.eb-switch-lbl-dark{color:#FFFFFF;}
.eb-switch-lbl-light{color:rgba(255,255,255,0.45);}
html.theme-light .eb-switch-lbl-dark{color:rgba(255,255,255,0.45);}
html.theme-light .eb-switch-lbl-light{color:#FFFFFF;}
.eb-switch-track{position:relative;width:42px;height:22px;border-radius:999px;background:rgba(255,255,255,0.16);flex:none;}
.eb-switch-knob{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#11D307;transform:translateX(0);transition:transform .22s ease;box-shadow:0 1px 3px rgba(0,0,0,0.25);}
html.theme-light .eb-switch-knob{transform:translateX(20px);}

/* ---------- Hero (exact to Framer: pad 38·60, gap 28, H1 68/76/-2, sub 17/28) ---------- */
.eb-hero{position:relative;background:var(--page-bg);padding:38px 0;overflow:hidden;}
.eb-hero .eb-container{display:flex;flex-direction:column;align-items:center;text-align:center;gap:28px;position:relative;z-index:1;}
/* Optional hero background image (any page hero) — sits behind the content, opacity set inline */
.eb-hero-bg{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none;}
.eb-hero-bg-m{display:none;}
@media (max-width:600px){
  .eb-hero-bg.has-m{display:none;}
  .eb-hero-bg-m{display:block;position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none;}
}
.eb-hero .eb-pill{background:var(--lime);color:#1A1F06;border-radius:4px;padding:13px;font-weight:600;font-size:12px;line-height:16px;letter-spacing:-0.02em;}
.eb-hero h1{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:68px;line-height:76px;letter-spacing:-2px;color:var(--text);max-width:908px;margin:0;}
.eb-hero p{font-family:'Raleway',sans-serif;font-weight:600;font-size:17px;line-height:28px;letter-spacing:-0.02em;color:var(--body);max-width:580px;margin:0;}
.eb-hero-actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}
.eb-hero .eb-btn{height:44px;min-width:175px;padding:0 40px;border-radius:8px;font-size:16px;letter-spacing:-0.02em;}
.eb-hero .eb-btn-secondary{font-family:'Raleway',sans-serif;font-weight:600;font-size:17px;background:#0D1503;color:#F2F4EA;}
.eb-hero .eb-btn-secondary:hover{background:#0A1102;}
/* Keep the Donate button dark with light text in light mode too (it's always a dark button, like Framer) */
html.theme-light .eb-hero .eb-btn-secondary{background:#0D1503;color:#F2F4EA;}
html.theme-light .eb-hero .eb-btn-secondary:hover{background:#0A1102;}
/* Inner-page hero action buttons (e.g. Partner: Get in Touch + Donate) — equal size, Donate is dark like the homepage */
.eb-page-hero .eb-hero-actions .eb-btn{min-width:180px;}
.eb-page-hero .eb-btn-secondary{background:#0D1503;color:#F2F4EA;}
.eb-page-hero .eb-btn-secondary:hover{background:#0A1102;}
html.theme-light .eb-page-hero .eb-btn-secondary{background:#0D1503;color:#F2F4EA;}
html.theme-light .eb-page-hero .eb-btn-secondary:hover{background:#0A1102;}
.eb-hero-media{width:100%;max-width:1080px;margin:0 auto;aspect-ratio:16/9;border-radius:2px;overflow:hidden;background:linear-gradient(135deg,#0D1503 0%,#17330A 60%,rgba(17,211,7,.22) 175%);}
.eb-hero-media video,.eb-hero-media iframe,.eb-hero-media img{width:100%;height:100%;object-fit:cover;display:block;border:0;}
/* Instagram embed (portrait Reel) sizes to its own natural height, centred, not cropped */
.eb-hero-media:has(.instagram-media){aspect-ratio:auto;background:transparent;overflow:visible;display:flex;justify-content:center;align-items:flex-start;border-radius:0;}
.eb-hero-media .instagram-media{width:100%!important;max-width:400px!important;min-width:0!important;margin:0 auto!important;}
.eb-hero-media:has(.instagram-media) iframe{width:100%!important;height:auto!important;object-fit:contain;}
/* Hero video facade (click-to-play poster) — fills the existing hero box, keeps its corners */
.eb-video-facade{display:block;width:100%;height:100%;padding:0;border:0;margin:0;cursor:pointer;position:relative;background:#0D1503;}
.eb-video-facade img{width:100%;height:100%;object-fit:cover;display:block;}
.eb-video-facade::after{content:"";position:absolute;inset:0;background:rgba(13,21,3,.18);transition:background .2s ease;}
.eb-video-facade:hover::after{background:rgba(13,21,3,.30);}
.eb-video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;width:76px;height:76px;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 30px -8px rgba(0,0,0,.5);transition:transform .2s ease,background .2s ease;}
.eb-video-facade:hover .eb-video-play{transform:translate(-50%,-50%) scale(1.06);background:#fff;}
.eb-video-play svg{width:34px;height:34px;color:#1A1F06;margin-left:4px;}
/* Video lightbox */
.eb-video-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px;}
.eb-video-modal[hidden]{display:none;}
.eb-video-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.82);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);}
.eb-video-modal-inner{position:relative;z-index:1;width:100%;max-width:960px;}
.eb-video-modal-frame{position:relative;width:100%;aspect-ratio:16/9;background:#000;border-radius:6px;overflow:hidden;box-shadow:0 30px 80px -20px rgba(0,0,0,.7);}
.eb-video-modal-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}
.eb-video-modal-close{position:absolute;top:-44px;right:0;width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.eb-video-modal-close:hover{background:rgba(255,255,255,.2);}
@media (max-width:600px){.eb-video-play{width:60px;height:60px;}.eb-video-play svg{width:26px;height:26px;}.eb-video-modal-close{top:-40px;}}

/* ---------- Stats strip ---------- */
.eb-stats{padding:56px 0;background:var(--section-bg);}
.eb-stats-inner{max-width:1100px;margin:0 auto;padding:0 60px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-around;gap:16px;}
.eb-stat{text-align:center;min-width:120px;}
.eb-stat .num{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:52px;line-height:56px;color:var(--text);}
.eb-stat .lbl{font-family:'Raleway',sans-serif;font-weight:500;font-size:14px;color:var(--muted);margin-top:8px;}
.eb-stat-div{flex:0 0 auto;width:1px;height:60px;background:rgba(17,211,7,.3);}

/* ---------- Card row (What We Do / values) ---------- */
.eb-head{text-align:left;margin-bottom:32px;}
.eb-head .eb-pill{margin-bottom:16px;}
.eb-head h2{font-size:48px;line-height:56px;}
.eb-cards{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;}
.eb-card{flex:1 1 300px;background:var(--card-bg);border:1px solid var(--border);border-radius:16px;padding:30px 30px 32px;display:flex;flex-direction:column;align-items:flex-start;gap:14px;transition:border-color .2s ease,box-shadow .25s ease,transform .25s ease;}
.eb-card:hover{border-color:rgba(17,211,7,0.45);transform:translateY(-3px);box-shadow:0 14px 34px -18px rgba(17,211,7,0.35);}
.eb-card-icon{width:46px;height:46px;border-radius:10px;background:var(--lime-tint);display:flex;align-items:center;justify-content:center;color:var(--lime);}
.eb-card h3{font-size:21px;line-height:28px;color:var(--text);}
.eb-card p{font-size:15px;line-height:24px;color:var(--body);margin:0;}

/* ---------- CTA band ---------- */
.eb-cta{background:var(--lime);text-align:center;color:#0D1503;}
.eb-cta h2{color:#0D1503;font-size:56px;line-height:64px;}
.eb-cta p{color:#12340A;max-width:560px;margin:0 auto 24px;}
.eb-cta .eb-btn{background:#000;color:#fff;}

/* ---------- Partners strip (auto-sliding marquee) ---------- */
.eb-partners{text-align:center;background:var(--who-bg);overflow:hidden;}
.eb-partners-label{font-family:'Raleway',sans-serif;font-weight:600;font-size:17px;color:var(--body);margin-bottom:28px;}
.eb-logos-viewport{overflow:hidden;width:100%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);}
.eb-logos-track{display:flex;align-items:center;gap:48px;width:max-content;animation:eb-marquee 32s linear infinite;}
.eb-logos-viewport:hover .eb-logos-track{animation-play-state:paused;}
.eb-logo-card{flex:none;min-width:116px;display:flex;align-items:center;justify-content:center;background:#FFFFFF;border-radius:2px;padding:9px 18px;box-shadow:0 2px 20px rgba(255,255,255,0.06);}
.eb-logo-card img{height:34px;width:auto;object-fit:contain;display:block;}
html.theme-light .eb-logo-card{background:transparent;box-shadow:none;border:1.5px solid rgba(74,82,64,0.2);}
@keyframes eb-marquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}
@media (prefers-reduced-motion:reduce){.eb-logos-track{animation:none;flex-wrap:wrap;justify-content:center;}}
.eb-logos-wrap{position:relative;max-width:1200px;margin:0 auto;}
.eb-logos-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:40px;height:40px;border-radius:50%;border:2px solid var(--lime);background:rgba(13,21,3,0.55);color:var(--lime);font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease,color .15s ease;}
.eb-logos-arrow:hover{background:var(--lime);color:#0D1503;}
.eb-logos-prev{left:10px;}
.eb-logos-next{right:10px;}
html.theme-light .eb-logos-arrow{background:rgba(255,255,255,0.75);}

/* ---------- Who We Are ---------- */
.eb-who{display:flex;gap:60px;align-items:center;flex-wrap:wrap;}
.eb-who-media{flex:1 1 420px;aspect-ratio:3/2;border-radius:12px;background:linear-gradient(135deg,#0D1503 0%,#17330A 60%,rgba(17,211,7,.35) 160%);}
.eb-who-text{flex:1 1 420px;}
.eb-who-text .eb-pill{margin-bottom:16px;}
.eb-who-text h2{font-size:48px;line-height:56px;margin-bottom:18px;}
.eb-who-text p{color:var(--body);margin:0 0 16px;}
/* ---------- Why-this-matters + Who We Are (merged) ---------- */
.eb-whoweare{background:var(--who-bg);padding:24px 0;}
.eb-why-h,.eb-who-h{font-size:48px;line-height:56px;color:var(--text);margin:0 0 40px;max-width:860px;}
.eb-why-h{max-width:none;}
.eb-accent{color:var(--lime);}
.eb-why-cards{display:flex;flex-wrap:wrap;gap:30px;margin:0 0 40px;}
.eb-why-card{width:340px;height:260px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;background:var(--stat-card-bg);border:1px solid var(--stat-card-border);border-radius:12px;padding:28px;box-shadow:0 10px 30px -20px rgba(0,0,0,.55);transition:border-color .2s ease,box-shadow .25s ease,transform .25s ease;}
html.theme-light .eb-why-card{box-shadow:0 12px 30px -20px rgba(26,31,6,.18);}
.eb-why-card:hover{transform:translateY(-3px);border-color:rgba(17,211,7,.45);box-shadow:0 16px 40px -18px rgba(17,211,7,.38);}
.eb-why-top{display:flex;flex-direction:column;gap:8px;}
.eb-why-fig{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:36px;line-height:44px;letter-spacing:-0.02em;color:var(--text);}
.eb-why-cap{font-family:'Raleway',sans-serif;font-size:15px;line-height:23px;color:var(--body);}
.eb-why-src{font-family:'Raleway',sans-serif;font-size:13px;line-height:18px;color:var(--muted);}
.eb-chip-who{display:inline-block;background:var(--who-chip-bg);color:var(--who-chip-text);border-radius:2px;padding:9px 12px;font-family:'Raleway',sans-serif;font-weight:600;font-size:12px;letter-spacing:.02em;margin:0 0 40px;}
.eb-btn-story{margin-top:40px;height:52px;background:var(--story-btn-bg);color:#FFFFFF;border-radius:8px;padding:0 28px;font-family:'Raleway',sans-serif;font-weight:500;font-size:14px;}
.eb-btn-story:hover{transform:translateY(-1px);}

/* ---------- What We Do (numbered rows) ---------- */
.eb-wwd-row{position:relative;display:flex;gap:56px;align-items:center;flex-wrap:wrap;padding:44px 0;border-top:1px solid var(--border);}
.eb-wwd-row:first-of-type{border-top:none;}
.eb-wwd-media{flex:1 1 380px;aspect-ratio:17/10;border-radius:12px;background:linear-gradient(135deg,#0D1503 0%,#17330A 60%,rgba(17,211,7,.3) 170%);}
.eb-wwd-body{flex:1 1 380px;position:relative;}
.eb-wwd-ghost{position:absolute;top:-70px;font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:160px;line-height:160px;letter-spacing:-0.02em;color:rgba(17,211,7,.07);pointer-events:none;}
.eb-wwd-body .eb-badge{display:inline-block;background:var(--lime-tint);color:var(--lime);font-family:'Raleway',sans-serif;font-weight:600;font-size:12px;padding:2px 12px;border-radius:2px;margin-bottom:14px;position:relative;}
.eb-wwd-body h3{font-size:36px;line-height:44px;margin-bottom:12px;}
.eb-wwd-body p{color:var(--body);margin:0;max-width:540px;}

/* ---------- What We Do band (darker) ---------- */
.eb-wwd-section{background:var(--section-bg);}

/* ---------- Energyzer AI band (lime, like the live site) ---------- */
.eb-energyzer{background:var(--lime);text-align:center;}
.eb-energyzer .eb-pill{margin-bottom:16px;background:#1A1F06;color:#fff;border-radius:2px;}
.eb-energyzer h2{font-size:56px;line-height:64px;color:#0D1503;}
.eb-energyzer p{max-width:620px;margin:0 auto 24px;color:#12340A;}
.eb-energyzer .eb-btn-primary{background:#000;color:#fff;}
.eb-energyzer .eb-btn-primary:hover{background:#0D1503;}

/* ---------- Testimonials ---------- */
.eb-testi{background:var(--section-bg);}
.eb-testi .eb-head{text-align:center;}
.eb-testi .eb-head .eb-pill{margin:0 auto 16px;}
.eb-testi-cards{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;}
.eb-testi-card{flex:1 1 300px;background:var(--card-bg);border:1px solid var(--border);border-radius:16px;padding:30px;display:flex;flex-direction:column;gap:18px;transition:border-color .2s ease,box-shadow .25s ease,transform .25s ease;}
.eb-testi-card:hover{border-color:rgba(17,211,7,0.4);transform:translateY(-3px);box-shadow:0 16px 40px rgba(17,211,7,0.10);}
.eb-testi-card .quote{font-family:'Raleway',sans-serif;font-size:16px;line-height:26px;color:var(--body);}
.eb-testi-card .name{font-family:'Clash Grotesk',sans-serif;font-weight:600;font-size:15px;color:var(--text);}

/* ---------- Testimonial slider (stacked-peek, auto-advancing, shuffles on load) ---------- */
.eb-testi-slider{position:relative;width:100%;max-width:760px;margin:40px auto 0;}
.eb-testi-stage{position:relative;width:100%;height:300px;}
.eb-testi-card2{position:absolute;inset:0;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:16px;background:var(--card-bg);border:1px solid var(--border);border-radius:16px;padding:30px 34px;opacity:0;transform:translate(26px,12px) scale(.9);z-index:0;transition:transform .6s cubic-bezier(.4,0,.2,1),opacity .6s ease,box-shadow .6s ease,border-color .6s ease;}
.eb-testi-card2.is-front{opacity:1;transform:translateX(0) scale(1);z-index:3;border-color:rgba(17,211,7,.45);box-shadow:0 22px 55px -14px rgba(17,211,7,.32);}
.eb-testi-card2.is-peek{opacity:.5;transform:translate(26px,12px) scale(.94);z-index:2;box-shadow:0 14px 34px -20px rgba(0,0,0,.5);}
.eb-testi-card2.is-out{opacity:0;transform:translateX(-115%) scale(.96);z-index:1;}
html.theme-light .eb-testi-card2.is-front{box-shadow:0 20px 46px -16px rgba(17,211,7,.24);}
html.theme-light .eb-testi-card2.is-peek{box-shadow:0 14px 34px -20px rgba(26,31,6,.22);}
.eb-testi-mark{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:40px;line-height:20px;height:20px;color:var(--lime);}
.eb-testi-quote{font-family:'Raleway',sans-serif;font-size:16px;line-height:26px;color:var(--body);overflow:hidden;}
.eb-testi-who{margin-top:2px;}
.eb-testi-name{font-family:'Clash Grotesk',sans-serif;font-weight:600;font-size:15px;color:var(--text);}
.eb-testi-role{font-family:'Raleway',sans-serif;font-size:13px;color:var(--muted);margin-top:2px;}
.eb-testi-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:24px;}
.eb-testi-arrow{width:40px;height:40px;border-radius:50%;border:1px solid var(--border);background:transparent;color:var(--text);font-size:18px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:border-color .15s ease,color .15s ease;}
.eb-testi-arrow:hover{border-color:var(--lime);color:var(--lime);}
.eb-testi-dots{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;max-width:280px;}
.eb-testi-dot{width:8px;height:8px;border-radius:100px;border:none;padding:0;cursor:pointer;background:rgba(255,255,255,.22);transition:width .3s ease,background .3s ease;}
html.theme-light .eb-testi-dot{background:rgba(26,31,6,.18);}
.eb-testi-dot.is-active{width:22px;background:var(--lime);}

/* ---------- Inner-page hero + shared section heading ---------- */
.eb-page-hero{background:var(--page-bg);text-align:center;padding:100px 0;position:relative;overflow:hidden;}
.eb-page-hero .eb-container{display:flex;flex-direction:column;align-items:center;gap:20px;position:relative;z-index:1;}
.eb-hero-slides{position:absolute;inset:0;z-index:0;pointer-events:none;background:#0D1503;}
.eb-hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 2.4s ease-in-out;}
.eb-hero-slide.is-active{opacity:1;}
.eb-page-hero h1{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:68px;line-height:76px;letter-spacing:-2px;color:var(--text);max-width:900px;margin:0;}
.eb-page-hero p{font-family:'Raleway',sans-serif;font-weight:600;font-size:17px;line-height:28px;color:var(--body);max-width:820px;margin:0;}
.eb-pill-solid{display:inline-block;background:var(--lime);color:#1A1F06;font-family:'Raleway',sans-serif;font-weight:600;font-size:12px;letter-spacing:.04em;text-transform:uppercase;padding:8px 14px;border-radius:6px;}
.eb-sec-alt{background:var(--section-bg);}
.eb-sec-h{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:48px;line-height:56px;letter-spacing:-.02em;color:var(--text);margin:0 0 18px;}

/* ---------- Vision & Mission glow cards ---------- */
.eb-vm{display:flex;gap:24px;flex-wrap:wrap;justify-content:center;align-items:stretch;}
.eb-glow-card{flex:1 1 460px;max-width:600px;background:var(--card-bg);border:1px solid var(--border);border-radius:16px;padding:40px;box-shadow:0 24px 60px -34px rgba(17,211,7,.28);}
.eb-glow-card .eb-pill{margin-bottom:18px;}
.eb-glow-card p{color:var(--body);font-size:16px;line-height:26px;margin:0;}

/* ---------- Journey timeline ---------- */
.eb-journey{position:relative;max-width:760px;margin:0 auto;padding-left:46px;}
.eb-journey::before{content:"";position:absolute;left:10px;top:8px;bottom:8px;width:2px;background:var(--border);}
.eb-journey-item{position:relative;margin-bottom:34px;}
.eb-journey-item:last-child{margin-bottom:0;}
.eb-journey-item::before{content:"";position:absolute;left:-46px;top:2px;width:22px;height:22px;border-radius:50%;box-sizing:border-box;}
.eb-journey-year::before{background:var(--lime);}
.eb-journey-milestone::before{background:var(--page-bg);border:2px solid var(--lime);}
.eb-journey-pill{display:inline-block;background:var(--lime-tint);color:var(--lime);font-family:'Raleway',sans-serif;font-weight:600;font-size:12px;letter-spacing:.04em;padding:6px 12px;border-radius:6px;}
.eb-journey-year h3{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:26px;line-height:32px;color:var(--text);margin:12px 0 8px;}
.eb-journey-year p{color:var(--body);font-size:15px;line-height:24px;margin:0;max-width:440px;}
.eb-journey-card{background:var(--card-bg);border:1px solid var(--border);border-radius:12px;padding:20px 24px;}
.eb-journey-num{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:38px;line-height:1;color:var(--text);}
.eb-journey-card p{color:var(--body);font-size:15px;line-height:22px;margin:8px 0 0;}

/* ---------- CTA with dark buttons ---------- */
.eb-btn-dark{background:#1A1F06;color:#fff;}
.eb-btn-dark:hover{background:#0D1503;transform:translateY(-1px);}
.eb-btn-ghost{background:rgba(255,255,255,0.12);color:#fff;}
.eb-btn-ghost:hover{background:rgba(255,255,255,0.22);transform:translateY(-1px);}
/* Our Story CTA — faint photo band (matches Framer) */
.eb-cta-story{background:#0D1503;position:relative;overflow:hidden;}
.eb-cta-story::before{content:"";position:absolute;inset:0;background:var(--cta-photo) center 20%/cover no-repeat;opacity:.15;pointer-events:none;}
.eb-cta-story .eb-container{position:relative;z-index:1;}
.eb-cta-story h2{color:#fff;}
.eb-cta-story p{color:rgba(255,255,255,.85);}
.eb-cta-story .eb-btn-ghost{background:rgba(255,255,255,0.12);color:#fff;}
.eb-cta-story .eb-btn-ghost:hover{background:rgba(255,255,255,0.22);}
.eb-cta-story .eb-btn-primary{background:var(--lime);color:#0D1503;}
.eb-cta-story .eb-btn-primary:hover{background:#0FBE06;}
/* ---------- Scroll-reveal (fade + slide-up as sections enter view) ---------- */
.eb-reveal{opacity:0;transform:translateY(24px);transition:opacity .45s ease,transform .5s cubic-bezier(.2,.7,.2,1);}
.eb-reveal.is-visible{opacity:1;transform:none;}
@media (prefers-reduced-motion:reduce){.eb-reveal{opacity:1!important;transform:none!important;transition:none!important;}}
.eb-cta-actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-top:8px;}

/* ---------- Thematic Areas ---------- */
/* Anchor jumps (#collab-quest/#swift/#get-hired) land below the 72px sticky nav */
.eb-section[id]{scroll-margin-top:90px;}
.eb-ta-divider{width:1080px;max-width:calc(100% - 120px);height:2px;margin:0 auto;background:var(--lime-divider);}
.eb-prog,.eb-flag{display:flex;flex-direction:column;align-items:flex-start;gap:40px;}
.eb-flag{gap:28px;}
.eb-prog .eb-sec-h,.eb-flag .eb-sec-h{margin:0;}
.eb-prog-body{max-width:640px;margin:0;font-family:'Raleway',sans-serif;font-size:17px;line-height:28px;color:var(--body);}
.eb-flag-body{max-width:680px;}
.eb-prog-cards{display:flex;gap:32px;width:100%;flex-wrap:wrap;}
.eb-prog-cards .eb-card{flex:1 1 280px;border-radius:10px;}
.eb-prog-stats{display:flex;width:100%;justify-content:space-between;gap:24px;flex-wrap:wrap;}
.eb-prog-stat{flex:1 1 120px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;}
.eb-prog-stat .num,.eb-flag-stat .num{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:48px;line-height:56px;letter-spacing:-.02em;color:var(--text);}
.eb-prog-stat .lbl,.eb-flag-stat .lbl{font-family:'Raleway',sans-serif;font-weight:500;font-size:14px;line-height:20px;color:var(--body);}
.eb-flag-stats{display:flex;gap:56px;flex-wrap:wrap;}
.eb-flag-stat{display:flex;flex-direction:column;align-items:flex-start;gap:6px;}
.eb-tags{display:flex;flex-wrap:wrap;gap:10px;}
.eb-tag{display:inline-block;background:var(--lime-tint);color:var(--lime);font-family:'Raleway',sans-serif;font-weight:600;font-size:12px;line-height:16px;padding:8px 14px;border-radius:8px;}
.eb-flag-label{margin:0;font-family:'Raleway',sans-serif;font-size:17px;line-height:28px;color:var(--body);}
.eb-logogrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px;width:100%;}
.eb-logo-tile{height:78px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:8px 12px;box-sizing:border-box;background:#FFFFFF;box-shadow:0 2px 20px rgba(255,255,255,0.06);}
html.theme-light .eb-logo-tile{background:transparent;border:1.5px solid rgba(74,82,64,0.2);box-shadow:none;}
.eb-logo-tile img{max-height:62px;max-width:100%;width:auto;object-fit:contain;display:block;}

/* ---------- Join Us ---------- */
/* Benefit pillars (numbered ghost-numeral cells, 3+2 wrap centred) */
.eb-pillars{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;}
.eb-pillar{position:relative;width:336px;max-width:100%;box-sizing:border-box;display:flex;flex-direction:column;background:var(--pillar-bg);border:1px solid var(--pillar-border);border-radius:10px;padding:34px 28px 30px;overflow:hidden;transition:border-color .2s ease,box-shadow .25s ease;}
.eb-pillar:hover{border-color:rgba(17,211,7,0.4);box-shadow:0 10px 30px rgba(17,211,7,0.10);}
.eb-pillar-num{position:absolute;top:8px;left:20px;font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:76px;line-height:1;letter-spacing:-.04em;color:var(--lime-tint);pointer-events:none;}
.eb-pillar-body{position:relative;margin-top:40px;}
.eb-pillar-body h3{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:22px;line-height:30px;letter-spacing:-.01em;color:var(--text);margin:0 0 10px;}
.eb-pillar-body p{font-family:'Raleway',sans-serif;font-size:15px;line-height:24px;color:var(--body);margin:0;}
.eb-pillar-link{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-family:'Raleway',sans-serif;font-weight:600;font-size:14px;color:var(--lime);}
.eb-pillar-link:hover{text-decoration:underline;}

/* Company sectors (tabs + placeholder logo grid) */
.eb-sectors{width:100%;}
.eb-sectors-tabs{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:32px;}
.eb-sectors-tab{font-family:'Raleway',sans-serif;font-weight:600;font-size:13px;letter-spacing:.02em;padding:9px 18px;border-radius:8px;cursor:pointer;border:1px solid var(--tile-ph-border);background:transparent;color:var(--body);transition:background .15s ease,color .15s ease,border-color .15s ease;}
.eb-sectors-tab:hover{border-color:var(--lime);}
.eb-sectors-tab.is-active{border-color:var(--lime);background:var(--lime);color:#0D1503;}
.eb-sectors-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px;}
.eb-sectors-grid[hidden]{display:none;}
.eb-sector-tile{height:72px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:8px 12px;box-sizing:border-box;background:#FFFFFF;box-shadow:0 2px 20px rgba(255,255,255,0.06);}
html.theme-light .eb-sector-tile{background:transparent;border:1.5px solid rgba(74,82,64,0.2);box-shadow:none;}
.eb-sector-tile img{max-height:56px;max-width:100%;width:auto;object-fit:contain;display:block;}

/* ---------- Events ---------- */
.eb-events-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
@media (max-width:920px){.eb-events-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.eb-events-grid{grid-template-columns:1fr;}}
@media (max-width:980px){.eb-moments-row{grid-template-columns:repeat(4,1fr);}}
@media (max-width:600px){.eb-moments-row{grid-template-columns:repeat(3,1fr);gap:8px;}}
/* Phones only: pack member-company logos (Join Us) + university logos (Thematic flagship)
   4 per row. Cards use AUTO height + centre alignment so each one hugs its logo — a wide
   logo (limited by the narrow cell width) no longer leaves a big top/bottom gap in a fixed
   tall box. Padding is the only space around the logo. Tablet/desktop unchanged. */
@media (max-width:600px){
  .eb-sectors-grid,.eb-logogrid{grid-template-columns:repeat(4,1fr);gap:8px;align-items:center;}
  .eb-sector-tile,.eb-logo-tile{height:auto;padding:6px;}
  .eb-sector-tile img,.eb-logo-tile img{max-height:40px;}
}
.eb-events-empty{color:var(--body);font-size:16px;}
.eb-eventcard{display:flex;flex-direction:column;background:var(--card-bg);border:1px solid var(--pillar-border);border-radius:16px;overflow:hidden;transition:border-color .2s ease,box-shadow .25s ease,transform .25s ease;}
.eb-eventcard:hover{border-color:rgba(17,211,7,0.4);transform:translateY(-4px);box-shadow:0 16px 40px rgba(17,211,7,0.12);}
.eb-ec-media{width:100%;height:168px;flex-shrink:0;overflow:hidden;background-size:cover;background-position:center;background-color:var(--section-bg);}
.eb-ec-media img{width:100%;height:100%;object-fit:cover;display:block;}
.eb-ec-media.eb-ec-grad{background:linear-gradient(135deg,#0D1503 0%,#17330A 55%,#11D307 160%);display:flex;align-items:center;justify-content:center;}
.eb-ec-ph{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:18px;letter-spacing:.14em;text-transform:uppercase;color:rgba(17,211,7,0.55);}
.eb-ec-body{display:flex;flex-direction:column;padding:20px 22px 18px;flex:1;}
.eb-ec-pills{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap;}
.eb-ec-cat,.eb-ec-fmt{font-family:'Raleway',sans-serif;font-size:10px;letter-spacing:.04em;text-transform:uppercase;padding:5px 10px;border-radius:6px;}
.eb-ec-cat{font-weight:700;color:var(--evt-cat-color);background:var(--evt-cat-bg);}
.eb-ec-fmt{font-weight:600;color:var(--body);background:var(--evt-fmt-bg);}
.eb-ec-title{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:19px;line-height:25px;letter-spacing:-.01em;color:var(--text);margin:0 0 9px;}
.eb-ec-desc{font-family:'Raleway',sans-serif;font-size:13px;line-height:21px;color:var(--body);margin:0 0 16px;flex:1;}
.eb-ec-div{height:1px;background:var(--evt-divider);margin-bottom:14px;}
.eb-ec-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;}
.eb-ec-when{display:flex;flex-direction:column;gap:6px;min-width:0;}
.eb-ec-date{font-family:'Raleway',sans-serif;font-size:12px;font-weight:600;color:var(--text);}
.eb-ec-loc{display:inline-flex;align-items:center;gap:5px;font-family:'Raleway',sans-serif;font-size:12px;color:var(--body);min-width:0;}
.eb-ec-loc svg{flex-shrink:0;}
.eb-ec-loc span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
a.eb-ec-loc:hover{color:var(--lime);text-decoration:underline;}
.eb-ec-reg{flex-shrink:0;width:38px;height:38px;border-radius:100px;border:none;background:var(--evt-fmt-bg);color:var(--text);display:flex;align-items:center;justify-content:center;}
.eb-eventcard:hover a.eb-ec-reg{background:var(--lime);color:#0D1503;}

/* Event photo rails (Moments from Our Events) */
.eb-rails{display:flex;flex-direction:column;gap:18px;}
.eb-rail-block{width:100%;}
.eb-rail-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:10px;}
.eb-rail-title{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:22px;line-height:28px;letter-spacing:-.01em;color:var(--text);}
.eb-rail-meta{font-family:'Raleway',sans-serif;font-size:14px;color:var(--muted);margin-top:3px;}
.eb-rail-sub{font-family:'Raleway',sans-serif;font-size:14px;line-height:21px;color:var(--body);max-width:760px;margin:-2px 0 12px;}
.eb-rail-arrows{display:flex;gap:8px;flex-shrink:0;}
.eb-rail-arrow{width:38px;height:38px;border-radius:50%;border:1px solid var(--tile-ph-border);background:transparent;color:var(--text);font-size:18px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:border-color .15s ease,color .15s ease;}
.eb-rail-arrow:hover{border-color:var(--lime);color:var(--lime);}
.eb-rail-empty{height:240px;border-radius:12px;border:1px dashed var(--border);display:flex;align-items:center;justify-content:center;font-family:'Raleway',sans-serif;font-size:13px;color:var(--muted);text-align:center;padding:0 24px;}
/* Moments — general gallery, 6 photos per row + optional "See more" link after each row */
.eb-moments{display:flex;flex-direction:column;gap:12px;}
.eb-moments-row{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;}
.eb-moment-tile{aspect-ratio:1/1;border-radius:10px;background-size:cover;background-position:center;background-color:var(--tile-ph-bg,rgba(255,255,255,.05));}
.eb-moments-more{display:flex;justify-content:flex-end;margin:6px 0 2px;}
.eb-moments-more a{font-family:'Raleway',sans-serif;font-weight:600;font-size:14px;color:var(--lime);text-decoration:none;display:inline-flex;align-items:center;gap:6px;transition:opacity .15s ease;}
.eb-moments-more a:hover{opacity:.75;}
.eb-moments-more a span{transition:transform .15s ease;}
.eb-moments-more a:hover span{transform:translateX(3px);}

/* ---------- Blog ---------- */
.eb-feat{display:flex;gap:48px;align-items:center;}
.eb-feat-media{flex:0 0 560px;max-width:560px;aspect-ratio:560/380;border-radius:16px;background-color:var(--section-bg);background-size:cover;background-position:center;}
.eb-feat-text{flex:1 1 auto;max-width:480px;display:flex;flex-direction:column;align-items:flex-start;gap:16px;}
.eb-pill-round{border-radius:6px;padding:5px 12px;}
.eb-feat-title{margin:0;}
.eb-feat-excerpt{margin:0;font-family:'Raleway',sans-serif;font-size:17px;line-height:28px;color:var(--body);}
.eb-feat-author{display:flex;align-items:center;gap:12px;}
.eb-feat-avatar{width:36px;height:36px;border-radius:50%;background:var(--lime-divider);flex-shrink:0;}
.eb-feat-byline{font-family:'Raleway',sans-serif;font-size:15px;color:var(--body);}
.eb-feat .eb-btn-dark{margin-top:4px;}

/* Newsletter band */
.eb-newsletter{padding:56px 0;}
.eb-nl-inner{max-width:620px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;}
.eb-nl-sub{margin:0;font-family:'Raleway',sans-serif;font-size:17px;line-height:28px;color:var(--body);max-width:480px;}
.eb-nl-form{display:flex;gap:12px;width:100%;max-width:560px;align-items:center;margin-top:4px;}
.eb-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;}
.eb-nl-input{flex:1;height:52px;box-sizing:border-box;padding:0 16px;border-radius:6px;border:1px solid var(--border);font-family:'Raleway',sans-serif;font-size:14px;outline:none;background:#FFFFFF;color:#1A1F06;}
.eb-nl-btn{width:160px;height:52px;border-radius:6px;border:none;background:var(--lime);color:#1A1F06;font-family:'Clash Grotesk',sans-serif;font-size:15px;font-weight:600;cursor:pointer;flex-shrink:0;transition:background .15s ease,transform .15s ease;}
.eb-nl-btn:hover{background:#0FBE06;transform:translateY(-1px);}

/* ---------- Reports ---------- */
.eb-rp-tabs{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:0 0 36px;}
.eb-rp-tab{font-family:'Raleway',sans-serif;font-weight:600;font-size:13px;letter-spacing:.02em;padding:9px 18px;border-radius:8px;cursor:pointer;border:1px solid var(--tile-ph-border);background:transparent;color:var(--body);transition:background .15s ease,color .15s ease,border-color .15s ease;}
.eb-rp-tab:hover{border-color:var(--lime);}
.eb-rp-tab.is-active{border-color:var(--lime);background:var(--lime);color:#0D1503;}
.eb-report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.eb-report-card{display:flex;flex-direction:column;background:var(--card-bg);border:1px solid var(--border);border-radius:16px;overflow:hidden;transition:border-color .2s ease,transform .25s ease,box-shadow .25s ease;}
.eb-report-card[hidden]{display:none;}
.eb-report-card:hover{border-color:rgba(17,211,7,.4);transform:translateY(-3px);box-shadow:0 16px 40px -18px rgba(17,211,7,.25);}
.eb-report-cover{width:100%;height:200px;flex-shrink:0;background-size:cover;background-position:center;background-color:var(--section-bg);}
.eb-report-cover-ph{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0D1503 0%,#17330A 55%,#11D307 170%);}
.eb-report-cover-ph span{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:16px;letter-spacing:.16em;color:rgba(17,211,7,.6);}
.eb-report-body{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:22px 24px 24px;flex:1;}
.eb-report-title{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:20px;line-height:27px;letter-spacing:-.01em;color:var(--text);margin:0;}
.eb-report-title a,.eb-ec-title a{color:inherit;transition:color .15s ease;}
.eb-report-title a:hover,.eb-ec-title a:hover{color:var(--lime);}
.eb-report-summary{font-family:'Raleway',sans-serif;font-size:14px;line-height:22px;color:var(--body);margin:0;}
.eb-report-meta{font-family:'Raleway',sans-serif;font-size:13px;color:var(--muted);}
.eb-report-actions{display:flex;gap:10px;margin-top:auto;padding-top:6px;flex-wrap:wrap;}
.eb-report-actions .eb-btn{height:42px;padding:0 20px;font-size:14px;}
@media (max-width:980px){.eb-report-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.eb-report-grid{grid-template-columns:1fr;}}

/* ---------- Partner With Us ---------- */
.eb-pcards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.eb-pcards-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;max-width:720px;margin:0 auto;}
.eb-pcards-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.eb-pcards-4 .eb-card{min-height:300px;}
@media (max-width:980px){.eb-pcards-3,.eb-pcards-4{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.eb-pcards-3,.eb-pcards-4,.eb-pcards-2{grid-template-columns:1fr;}}
/* What your partnership unlocks */
.eb-unlocks-wrap{display:flex;gap:60px;align-items:center;}
.eb-unlocks-media{flex:0 0 480px;max-width:480px;aspect-ratio:4/3;border-radius:12px;background-color:var(--section-bg);background-size:cover;background-position:center;}
.eb-unlocks-text{flex:1 1 auto;max-width:480px;display:flex;flex-direction:column;gap:20px;}
.eb-unlocks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;}
.eb-unlocks li{display:flex;gap:12px;align-items:center;}
.eb-unlocks-dot{width:24px;height:24px;border-radius:50%;background:var(--lime);flex-shrink:0;}
.eb-unlocks li span:last-child{font-family:'Raleway',sans-serif;font-size:17px;line-height:28px;color:var(--body);}
/* Let's work together */
.eb-contact{display:flex;gap:60px;align-items:flex-start;}
.eb-contact-intro{flex:0 0 420px;max-width:420px;}
.eb-contact-intro p{font-family:'Raleway',sans-serif;font-size:17px;line-height:28px;color:var(--body);margin:0;}
.eb-contact-card{flex:1 1 auto;max-width:620px;background:var(--section-bg);border-radius:12px;padding:36px;}
/* Forms */
.eb-form{display:flex;flex-direction:column;gap:14px;width:100%;}
.eb-form-row{display:flex;gap:14px;}
.eb-field{display:flex;flex-direction:column;flex:1;}
.eb-field-label{font-family:'Raleway',sans-serif;font-size:13px;color:var(--form-label);margin-bottom:4px;}
.eb-form input,.eb-form textarea{width:100%;box-sizing:border-box;padding:14px 16px;border-radius:6px;border:1px solid var(--form-input-border);font-family:'Raleway',sans-serif;font-size:14px;outline:none;background:var(--form-input-bg);color:var(--text);}
.eb-form textarea{resize:vertical;}
.eb-form input:focus,.eb-form textarea:focus{border-color:var(--lime);}
.eb-form-btn{width:100%;height:48px;border-radius:6px;border:none;background:var(--lime);color:#1A1F06;font-family:'Raleway',sans-serif;font-size:15px;font-weight:700;cursor:pointer;transition:background .15s ease;}
.eb-form-btn:hover{background:#0FBE06;}
.eb-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;}
.eb-form-status{font-family:'Raleway',sans-serif;font-size:13px;line-height:20px;}
.eb-turnstile{margin:6px 0 14px;}
.eb-form-status:empty{display:none;}
.eb-form-status.is-ok{color:var(--lime);font-weight:600;}
.eb-form-status.is-err{color:#FF6B6B;}
.eb-nl-form .eb-form-status{flex-basis:100%;width:100%;text-align:center;}

/* ---------- Membership modal (Join / Apply popup) ---------- */
.eb-mm{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px;}
.eb-mm[hidden]{display:none;}
.eb-mm-overlay{position:absolute;inset:0;background:rgba(13,21,3,0.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);cursor:pointer;}
.eb-mm-card{position:relative;z-index:1;width:min(640px,94vw);max-height:88vh;overflow-y:auto;background:var(--team-modal-bg);color:var(--text);border-radius:16px;padding:30px 28px 26px;box-shadow:0 24px 70px rgba(0,0,0,0.30);font-family:'Raleway',sans-serif;text-align:left;}
.eb-mm-close{position:absolute;top:14px;right:14px;width:30px;height:30px;border:none;border-radius:8px;background:var(--evt-fmt-bg);color:var(--text);font-size:15px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:2;}
.eb-mm-stepnum{font-size:12px;font-weight:600;color:var(--muted);}
.eb-mm-h{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:24px;letter-spacing:-.01em;color:var(--text);margin:4px 0 6px;}
.eb-mm-intro{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 18px;}
.eb-mm-field{margin-bottom:16px;}
.eb-mm-label{display:block;font-size:13px;font-weight:600;margin:0 0 6px;color:var(--text);}
.eb-mm-req{color:#B7791F;}
.eb-mm-input{box-sizing:border-box;width:100%;height:44px;border-radius:8px;border:1px solid var(--mm-border);padding:0 12px;font-size:15px;font-family:'Raleway',sans-serif;color:var(--text);outline:none;background:var(--mm-input-bg);}
textarea.eb-mm-input{height:auto;min-height:90px;padding:10px 12px;resize:vertical;}
.eb-mm-input:focus{border-color:var(--lime);}
.eb-mm-chips{display:flex;flex-wrap:wrap;gap:8px;}
.eb-mm-chip{cursor:pointer;font-family:'Raleway',sans-serif;font-size:13px;padding:8px 12px;border-radius:8px;border:1px solid var(--mm-border);background:var(--mm-radio-inactive);color:var(--text);}
.eb-mm-chip.is-active{border:1.5px solid var(--lime);background:rgba(17,211,7,0.16);font-weight:600;}
.eb-mm-other{margin-top:8px;}
.eb-mm-err{margin:0 0 12px;font-size:13px;color:#E9846B;}
.eb-mm-actions{display:flex;gap:12px;margin-top:4px;}
.eb-mm-ghost{background:transparent;border:1px solid var(--mm-border);color:var(--text);}
.eb-mm-ghost:hover{border-color:var(--lime);color:var(--lime);}
.eb-mm-success{text-align:center;padding:24px 0;}
.eb-mm-success-icon{width:56px;height:56px;border-radius:50%;background:rgba(17,211,7,0.16);color:var(--lime);font-size:26px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;}
.eb-mm-success p{margin:0;font-size:18px;font-weight:700;color:var(--text);}
.eb-mm .eb-form-status{margin:0 0 12px;}
@media (max-width:900px){
  .eb-unlocks-wrap{flex-direction:column;gap:28px;}
  .eb-unlocks-media{flex-basis:auto;width:100%;max-width:100%;}
  .eb-unlocks-text{max-width:100%;}
  .eb-contact{flex-direction:column;gap:28px;}
  .eb-contact-intro,.eb-contact-card{flex-basis:auto;max-width:100%;width:100%;}
  .eb-form-row{flex-direction:column;}
}
.eb-rail-arrow[disabled]{opacity:.4;cursor:default;}
.eb-rail-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:4px;}
.eb-rail-track::-webkit-scrollbar{display:none;}
.eb-rail-tile{flex:0 0 auto;width:360px;max-width:82vw;height:212px;border-radius:12px;overflow:hidden;scroll-snap-align:start;background:var(--section-bg);background-size:cover;background-position:center;}
.eb-rail-tile img{width:100%;height:100%;object-fit:cover;display:block;}
.eb-rail-track{gap:14px;}
@media (max-width:600px){.eb-rail-tile{height:184px;width:300px;}}

/* ---------- Our Team ---------- */
/* Our Team — Framer AdvisorCard: vertical elevated card, hover lift/glow, click → bio modal */
.eb-founders{display:flex;gap:40px;flex-wrap:wrap;justify-content:center;align-items:flex-start;}
.eb-advisors{display:flex;gap:24px;flex-wrap:wrap;justify-content:center;align-items:flex-start;max-width:1080px;margin:0 auto;}
.eb-adv-intro{max-width:760px;margin:16px auto 40px;text-align:center;color:var(--body);font-size:16px;line-height:26px;}
/* Regional team flag badge (Option C: small flag + thin accent line above the heading) */
.eb-reg-badge{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:14px;}
.eb-reg-flag-svg,.eb-reg-flag-img{width:30px;height:20px;border-radius:2px;display:block;box-shadow:0 1px 5px rgba(0,0,0,.30);}
.eb-reg-flag-img{object-fit:cover;}
.eb-reg-rule{display:block;width:48px;height:3px;border-radius:2px;background:var(--lime);}
/* Regional team: tidy name + role cards, no photo */
.eb-namecards{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;max-width:1000px;margin:40px auto 0;}
.eb-namecard{flex:0 1 260px;padding:26px 24px;border-radius:14px;background:var(--team-card-bg);border:1px solid var(--team-card-border);box-shadow:var(--team-card-shadow);text-align:center;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;}
.eb-namecard:hover{transform:translateY(-3px);border-color:var(--team-card-border-hover);box-shadow:var(--team-card-shadow-hover);}
.eb-namecard-name{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:20px;line-height:1.2;color:var(--text);}
.eb-namecard-role{font-family:'Raleway',sans-serif;font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--lime);margin-top:8px;}
.eb-namecard-link{display:inline-block;margin-top:12px;font-family:'Raleway',sans-serif;font-weight:600;font-size:13px;color:var(--lime);}
.eb-tcard{display:flex;flex-direction:column;background:var(--team-card-bg);border:1px solid var(--team-card-border);border-radius:16px;overflow:hidden;box-shadow:var(--team-card-shadow);cursor:pointer;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;}
.eb-founders .eb-tcard{width:480px;max-width:100%;}
.eb-advisors .eb-tcard{width:344px;max-width:100%;}
/* Co-founder photos are wide (480px) — give them more height + face-centred crop so heads/chins aren't cut */
.eb-founders .eb-tcard-photo{aspect-ratio:4/3;background-position:center 25%;}
/* Advisors: reserve 2 role lines (line-height 28px) so every card is the same height regardless of role wrap */
.eb-advisors .eb-tcard-role{min-height:56px;}
.eb-tcard:hover,.eb-tcard:focus-visible{transform:translateY(-3px);border-color:var(--team-card-border-hover);box-shadow:var(--team-card-shadow-hover);outline:none;}
.eb-tcard-photo{width:100%;aspect-ratio:172/150;background-color:var(--team-photo-bg);background-size:cover;background-position:top center;filter:grayscale(30%);transform:scale(1);transition:filter .3s ease,transform .4s ease;}
.eb-tcard:hover .eb-tcard-photo,.eb-tcard:focus-visible .eb-tcard-photo{filter:grayscale(0);transform:scale(1.04);}
.eb-tcard-info{display:flex;flex-direction:column;gap:8px;padding:22px 26px 26px;}
.eb-tcard-name{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:22px;line-height:1.15;color:var(--text);}
.eb-tcard-role{font-family:'Raleway',sans-serif;font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--lime);}
.eb-tcard-bio{font-family:'Raleway',sans-serif;font-weight:600;font-size:13px;color:var(--lime);margin-top:4px;}

/* Bio modal */
.eb-tmodal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(13,21,3,0.55);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);}
.eb-tmodal[hidden]{display:none;}
.eb-tmodal-backdrop{position:absolute;inset:0;cursor:pointer;}
.eb-tmodal-card{position:relative;z-index:1;width:100%;max-width:640px;max-height:85vh;overflow-y:auto;background:var(--team-modal-bg);border:1px solid var(--team-modal-border);border-radius:16px;box-shadow:0 24px 64px rgba(0,0,0,0.4);}
.eb-tmodal-close{position:absolute;top:14px;right:14px;width:32px;height:32px;border:none;border-radius:8px;background:rgba(0,0,0,0.35);color:#fff;font-size:15px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:2;}
html.theme-light .eb-tmodal-close{background:rgba(26,31,6,0.10);color:var(--text);}
.eb-tmodal-photo{width:100%;height:400px;background-color:var(--team-photo-bg);background-size:cover;background-position:center 20%;border-radius:16px 16px 0 0;}
.eb-tmodal-body{padding:24px 30px 30px;}
.eb-tmodal-name{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:28px;line-height:1.15;color:var(--text);}
.eb-tmodal-role{font-family:'Raleway',sans-serif;font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--lime);margin-top:6px;}
.eb-tmodal-bio{margin-top:18px;}
.eb-tmodal-bio p{font-family:'Raleway',sans-serif;font-size:15px;line-height:1.65;color:var(--team-bio);margin:0 0 14px;}
.eb-tmodal-bio p:last-child{margin-bottom:0;}
.eb-tmodal-linkedin{display:inline-block;margin-top:18px;font-family:'Raleway',sans-serif;font-weight:600;font-size:14px;color:var(--lime);}
.eb-tmodal-linkedin:hover{text-decoration:underline;}

/* ---------- Footer ---------- */
.eb-footer{background:var(--section-bg);padding:72px 0 40px;border-top:1px solid var(--border);}
.eb-footer-cols{display:flex;flex-wrap:wrap;justify-content:space-between;gap:40px;}
.eb-footer-col{display:flex;flex-direction:column;gap:10px;min-width:150px;}
.eb-footer-col h4{font-size:13px;color:var(--text);margin:0 0 4px;}
.eb-footer-col a,.eb-footer-col p{font-family:'Raleway',sans-serif;font-size:14px;line-height:22px;color:var(--body);margin:0;transition:color .15s ease;}
.eb-footer-col a:hover{color:var(--lime);}
.eb-footer-brand{max-width:260px;}
/* Footer award chip (Option C) — theme-safe: gold emblem + brand text vars */
.eb-award-chip{display:inline-flex;align-items:center;gap:12px;align-self:flex-start;max-width:100%;margin:2px 0 16px;padding:11px 15px;border:1px solid rgba(201,162,39,0.45);border-radius:4px;background:rgba(201,162,39,0.06);text-decoration:none;transition:border-color .18s ease,background .18s ease,transform .18s ease;}
a.eb-award-chip:hover{border-color:rgba(201,162,39,0.9);background:rgba(201,162,39,0.10);transform:translateY(-1px);}
.eb-award-ico{flex-shrink:0;color:#C9A227;display:flex;}
.eb-award-ico svg{width:26px;height:26px;}
.eb-award-txt{display:flex;flex-direction:column;line-height:1.2;min-width:0;}
.eb-award-eyebrow{font-family:'Raleway',sans-serif;font-weight:700;font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:var(--lime);}
.eb-award-name{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:13px;color:var(--text);margin-top:3px;line-height:1.2;}
.eb-award-body{font-family:'Raleway',sans-serif;font-size:10.5px;color:var(--body);margin-top:2px;}
.eb-award-badge{max-height:66px;width:auto;display:block;}
.eb-footer-brand img{height:34px;width:auto;max-width:150px;margin-bottom:16px;align-self:flex-start;object-fit:contain;}
.eb-socials{display:flex;gap:14px;margin-top:6px;}
.eb-socials img{width:22px;height:22px;opacity:.85;}
html.theme-light .eb-socials img{filter:invert(1);}
.eb-footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;border-top:1px solid var(--border);margin-top:40px;padding-top:24px;}
.eb-footer-bottom span{font-size:11px;color:var(--muted);}
.eb-footer-legal{display:flex;gap:16px;flex-wrap:wrap;}
.eb-footer-legal a{font-size:11px;color:var(--muted);transition:color .15s ease;}
.eb-footer-legal a:hover{color:var(--lime);}

/* ---------- Post content typography (single / page) ---------- */
.eb-content{max-width:760px;margin:0 auto;color:var(--body);font-size:17px;line-height:29px;}
.eb-content > *{margin:0 0 20px;}
.eb-content h2{font-size:32px;line-height:40px;color:var(--text);margin:36px 0 14px;}
.eb-content h3{font-size:24px;line-height:32px;color:var(--text);margin:28px 0 12px;}
.eb-content h4{font-size:19px;color:var(--text);margin:24px 0 10px;}
.eb-content a{color:var(--lime);text-decoration:underline;}
.eb-content ul,.eb-content ol{padding-left:22px;}
.eb-content li{margin:0 0 8px;}
.eb-content img{border-radius:8px;height:auto;}
.eb-content blockquote{margin:24px 0;padding:14px 22px;border-left:3px solid var(--lime);background:var(--lime-tint);border-radius:0 8px 8px 0;}
.eb-content blockquote p:last-child{margin:0;}
.eb-content code{background:rgba(127,127,127,.15);padding:2px 6px;border-radius:4px;font-size:.9em;}
.eb-content hr{border:none;border-top:1px solid var(--border);margin:32px 0;}

/* ---------- Article (single) + Page ---------- */
.eb-article,.eb-page{max-width:820px;margin:0 auto;}
.eb-article-head{text-align:center;margin-bottom:28px;}
.eb-article-cats,.eb-article-cats a{color:var(--lime);font-family:'Raleway',sans-serif;font-weight:600;font-size:12px;letter-spacing:.04em;text-transform:uppercase;}
.eb-article-title,.eb-page-title{font-size:44px;line-height:52px;color:var(--text);margin:14px 0 10px;}
.eb-article-meta{color:var(--muted);font-size:14px;}
.eb-article-banner{border-radius:16px;overflow:hidden;margin:0 0 32px;}
.eb-article-banner img{width:100%;height:auto;display:block;}
.eb-article-nav{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:40px;padding-top:24px;border-top:1px solid var(--border);}
.eb-article-nav a{color:var(--body);font-size:14px;}
.eb-article-nav a:hover{color:var(--lime);}
/* Previous / Next article cards (blog single) */
/* Single blog post: trim the big top gap on desktop (the article eyebrow sat too low) */
.eb-single{padding-top:36px;}
@media (max-width:900px){.eb-single{padding-top:22px;}}
.eb-postnav{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:48px;padding-top:32px;border-top:1px solid var(--border);}
/* Only one neighbour (oldest/newest post): show that card on its own, left-aligned */
.eb-postnav-one{grid-template-columns:1fr;}
.eb-postnav-one .eb-postnav-next{align-items:flex-start;text-align:left;}
.eb-postnav-card{display:flex;flex-direction:column;gap:8px;padding:20px 22px;border:1px solid var(--border);border-radius:14px;background:var(--section-bg);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;min-width:0;}
a.eb-postnav-card:hover{transform:translateY(-3px);border-color:var(--lime);box-shadow:0 14px 30px -18px rgba(0,0,0,.5);}
.eb-postnav-empty{background:transparent;border:none;}
.eb-postnav-prev{align-items:flex-start;text-align:left;}
.eb-postnav-next{align-items:flex-end;text-align:right;}
.eb-postnav-dir{font-family:'Raleway',sans-serif;font-weight:700;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--lime);}
.eb-postnav-title{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:17px;line-height:1.3;color:var(--text);}
a.eb-postnav-card:hover .eb-postnav-title{color:var(--lime);}
@media (max-width:600px){.eb-postnav{grid-template-columns:1fr;}.eb-postnav-next{align-items:flex-start;text-align:left;}.eb-postnav-empty{display:none;}}

/* ---------- Blog grid + cards ---------- */
.eb-head-center{text-align:center;}
.eb-head-center .eb-pill{margin:0 auto 16px;}
.eb-head-sub{max-width:560px;margin:8px auto 0;color:var(--body);}
.eb-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:40px;}
.eb-post-card{display:flex;flex-direction:column;background:var(--section-bg);border:1px solid var(--border);border-radius:16px;overflow:hidden;transition:border-color .2s ease,transform .25s ease,box-shadow .25s ease;}
.eb-post-card:hover{border-color:rgba(17,211,7,.4);transform:translateY(-3px);box-shadow:0 16px 40px -18px rgba(17,211,7,.25);}
.eb-post-card-media{display:block;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(135deg,#0D1503,#17330A 60%,rgba(17,211,7,.3));}
.eb-post-card-media img{width:100%;height:100%;object-fit:cover;display:block;}
.eb-post-card-ph{display:block;width:100%;height:100%;}
.eb-post-card-body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:10px;}
.eb-post-card-title{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:22px;line-height:32px;letter-spacing:-.01em;color:var(--text);margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}
.eb-post-card-title a:hover{color:var(--lime);}
.eb-post-card-excerpt{font-family:'Raleway',sans-serif;font-size:13px;line-height:20px;letter-spacing:-.01em;color:var(--body);margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.eb-post-card-more{color:var(--lime);font-family:'Raleway',sans-serif;font-weight:600;font-size:13px;}
.eb-empty{text-align:center;color:var(--muted);margin-top:40px;}

/* ---------- Pagination ---------- */
.eb-pagination{margin-top:44px;display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap;}
.eb-pagination .nav-links{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;}
.eb-pagination a,.eb-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border:1px solid var(--border);border-radius:8px;color:var(--body);font-size:14px;}
.eb-pagination a:hover{border-color:var(--lime);color:var(--lime);}
.eb-pagination .current{background:var(--lime);color:#0D1503;border-color:var(--lime);}
.eb-pagination ul.page-numbers{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;list-style:none;margin:0;padding:0;}
.eb-pagination ul.page-numbers li{margin:0;}

/* ---------- Search form + 404 ---------- */
.search-form,.eb-search-form{display:flex;gap:8px;}
.search-form input[type=search]{flex:1;height:44px;padding:0 14px;border-radius:8px;border:1px solid var(--border);background:var(--card-bg);color:var(--text);font-family:'Raleway',sans-serif;}
.search-form input[type=submit]{height:44px;padding:0 18px;border:none;border-radius:8px;background:var(--lime);color:#0D1503;font-family:'Clash Grotesk',sans-serif;font-weight:600;cursor:pointer;}
.eb-404{text-align:center;}
.eb-404-num{font-family:'Clash Grotesk',sans-serif;font-weight:700;font-size:120px;line-height:1;color:var(--lime);}
.eb-404 h1{font-size:36px;margin:8px 0 12px;}
.eb-404 p{color:var(--body);max-width:440px;margin:0 auto 24px;}
.eb-404-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.eb-404-search{max-width:360px;margin:28px auto 0;}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .eb-hero h1{font-size:52px;line-height:60px;letter-spacing:-1.5px;}
  .eb-post-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:900px){
  body{font-size:15px;line-height:25px;}
  .eb-container{padding:0 20px;}
  .eb-hero{padding:20px 0;}
  .eb-hero .eb-container{gap:20px;}
  .eb-hero h1{font-size:29px;line-height:35px;letter-spacing:-0.8px;}
  .eb-hero p{font-size:14px;line-height:22px;}
  .eb-hero-actions{width:100%;max-width:360px;margin:0 auto;flex-direction:row;flex-wrap:nowrap;gap:10px;justify-content:center;}
  .eb-hero .eb-btn,.eb-page-hero .eb-hero-actions .eb-btn{flex:1 1 0;width:auto;min-width:0;height:44px;padding:0 10px;font-size:14px;}
  .eb-btn{height:44px;font-size:15px;padding:0 24px;}
  .eb-pill{font-size:11px;padding:7px 12px;}
  .eb-post-grid{grid-template-columns:1fr;}
  .eb-article-title,.eb-page-title{font-size:27px;line-height:34px;}
  .eb-404-num{font-size:76px;}
  .eb-head h2,.eb-who-text h2{font-size:26px;line-height:34px;}
  .eb-cta h2,.eb-energyzer h2{font-size:32px;line-height:40px;}
  .eb-why-h,.eb-who-h{font-size:26px;line-height:34px;margin:0 0 28px;}
  .eb-why-cards{gap:16px;margin:0 0 28px;}
  .eb-why-card{width:100%;height:auto;min-height:190px;}
  .eb-why-fig{font-size:30px;line-height:38px;}
  .eb-chip-who{margin:0 0 24px;}
  .eb-btn-story{margin-top:28px;}
  .eb-wwd-body h3{font-size:20px;line-height:27px;}
  .eb-wwd-body p,.eb-who-text p,.eb-energyzer p,.eb-cta p{font-size:14px;line-height:23px;}
  .eb-wwd-ghost{font-size:88px;top:-38px;}
  .eb-section{padding:38px 0;}
  .eb-stats-inner{gap:24px;}
  .eb-stat .num{font-size:34px;line-height:1.1;}
  .eb-stat-div{display:none;}
  .eb-testi-slider{margin-top:32px;}
  .eb-testi-stage{height:380px;}
  .eb-testi-card2{padding:24px 22px;}
  .eb-testi-quote{font-size:15px;line-height:24px;}
  .eb-page-hero{padding:52px 0;}
  .eb-page-hero h1{font-size:33px;line-height:39px;letter-spacing:-1px;}
  .eb-sec-h{font-size:26px;line-height:33px;}
  .eb-glow-card{padding:26px;flex-basis:100%;}
  .eb-journey-num{font-size:30px;}
  .eb-journey-year h3{font-size:22px;line-height:28px;}
  .eb-founders .eb-tcard,.eb-advisors .eb-tcard{width:100%;max-width:420px;}
  .eb-tcard-name{font-size:20px;}
  .eb-adv-intro{font-size:15px;line-height:24px;}
  .eb-tmodal-photo{height:320px;}
  .eb-tmodal-body{padding:22px 22px 26px;}
  .eb-tmodal-name{font-size:24px;}
  .eb-prog,.eb-flag{gap:28px;}
  .eb-prog-cards{gap:16px;}
  .eb-prog-cards .eb-card{flex:1 1 100%;}
  .eb-prog-stats{gap:20px;}
  .eb-prog-stat{flex:1 1 40%;}
  .eb-prog-stat .num,.eb-flag-stat .num{font-size:34px;line-height:1.1;}
  .eb-flag-stats{gap:32px;}
  .eb-pillar{width:100%;}
  .eb-feat{flex-direction:column;gap:24px;}
  .eb-feat-media{flex-basis:auto;width:100%;max-width:100%;}
  .eb-feat-text{max-width:100%;}
  .eb-nl-form{flex-direction:column;align-items:stretch;}
  .eb-nl-btn{width:100%;}
}

/* ---------- Nav → hamburger early (centred desktop menu needs ~1240px of room) ---------- */
@media (max-width:1240px){
  /* Compact header: hide the switch's Dark/Light words, keep the slider */
  .eb-switch-lbl{display:none;}
  .eb-nav-actions{gap:10px;}
  /* Hamburger menu */
  .eb-burger{display:flex;}
  .eb-nav-actions .eb-btn-primary{display:none;} /* Partner button moves into the menu */
  .eb-only-mobile{display:block;}
  .eb-nav-menu{
    display:none;position:absolute;top:72px;left:0;right:0;transform:none;
    background:#1A1F06;flex-direction:column;align-items:flex-start;
    gap:18px;padding:22px 24px 26px;border-bottom:1px solid var(--border);
    box-shadow:0 20px 40px -20px rgba(0,0,0,.5);
  }
  .eb-nav.open .eb-nav-menu{display:flex;}
  /* Accordion — submenus collapsed behind a tappable arrow (built-in menu) */
  .eb-has-dd{flex-direction:column;align-items:flex-start;width:100%;}
  .eb-dd-toggle{width:100%;justify-content:space-between;gap:8px;}
  .eb-dd-chev{display:inline-block;}
  .eb-has-dd::after{display:none;}
  .eb-dd{position:static;transform:none;opacity:1;visibility:visible;background:transparent;border:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;min-width:0;display:none;padding:0;}
  .eb-has-dd:hover .eb-dd,.eb-has-dd:focus-within .eb-dd{transform:none;}
  .eb-has-dd.is-open > .eb-dd{display:flex;padding:6px 0 6px 14px;}
  .eb-has-dd.is-open .eb-dd-chev{transform:rotate(180deg);}
  /* Accordion — WordPress-built menu */
  .eb-nav-menu .menu-item-has-children{width:100%;}
  .eb-nav-menu .menu-item-has-children::before{display:none;}
  .eb-nav-menu .menu-item-has-children > a{width:100%;justify-content:space-between;}
  .eb-nav-menu .sub-menu{position:static;transform:none;opacity:1;visibility:visible;background:transparent;border:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;min-width:0;display:none;padding:0;}
  .eb-nav-menu .menu-item-has-children:hover > .sub-menu,.eb-nav-menu .menu-item-has-children:focus-within > .sub-menu{transform:none;}
  .eb-nav-menu .menu-item-has-children.is-open > .sub-menu{display:flex;padding:6px 0 6px 14px;}
  .eb-nav-menu .menu-item-has-children.is-open > a::after{transform:rotate(180deg);}
}

/* ---------- Phones: keep the 4 stats on a single row ---------- */
@media (max-width:560px){
  .eb-stats-inner{flex-wrap:nowrap;gap:8px;justify-content:space-between;padding:0 16px;}
  .eb-stat{min-width:0;flex:1 1 0;}
  .eb-stat .num{font-size:21px;line-height:1.1;letter-spacing:-.5px;}
  .eb-stat .lbl{font-size:10.5px;line-height:1.25;margin-top:4px;}
}

/* ==========================================================================
   LARGE-DESKTOP TIER (1440px and up) — ADDED 2026-09-23, additive only.
   Goal: on wide monitors, scale the WHOLE desktop layout up proportionally
   (header, nav, text, images, spacing — everything) so big screens are filled
   instead of showing empty side gutters. Uses CSS `zoom`, which enlarges the
   rendered page while keeping text crisp and the sticky header working.
   Stepped so the growth is gradual, not a single jump.

   Nothing below 1440px is affected (every other breakpoint is max-width
   ≤1240px). Firefox <126 ignores `zoom` and simply shows the normal contained
   desktop layout — a safe fallback. To fully revert, delete this whole block.
   Dial the whole effect up/down by nudging these four numbers.
   ========================================================================== */
@media (min-width:1440px){ body{ zoom:1.05; } }
@media (min-width:1680px){ body{ zoom:1.15; } }
@media (min-width:1920px){ body{ zoom:1.25; } }
@media (min-width:2400px){ body{ zoom:1.40; } }
