/* FreeFly palette, WCAG-conscious contrast */
:root{--green-900:#064b2b;--green-800:#075c34;--green-700:#087a42;--green-500:#42a875;--green-300:#8fd0aa;--green-200:#bde4cc;--green-100:#eaf6ef;--green-050:#f5fbf7;--ink:#123525;--muted:#4b695b;--white:#fff;--line:#cfe4d7;--radius:22px;--shadow:0 18px 55px rgba(6,75,43,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--white);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.68}a{color:var(--green-800)}a:hover{color:var(--green-900)}img{max-width:100%;height:auto}.container{width:min(1180px,calc(100% - 40px));margin:auto}.narrow{max-width:850px}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:18px;top:18px;z-index:999;background:#fff;color:var(--green-900);padding:10px 14px}
.site-header{position:sticky;top:0;z-index:100;background:var(--green-300);color:var(--green-900);border-bottom:1px solid rgba(6,75,43,.18)}.header-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:30px}.custom-logo{display:block;max-height:60px;width:auto}.brand-name{font-size:1.55rem;font-weight:850;text-decoration:none;color:var(--green-900)}.main-navigation ul{display:flex;align-items:center;gap:28px;list-style:none;margin:0;padding:0}.main-navigation a{color:var(--green-900);font-weight:750;text-decoration:none}.main-navigation a:hover,.main-navigation .current-menu-item>a{color:#002e19;text-decoration:underline;text-underline-offset:7px}.menu-toggle{display:none;border:2px solid var(--green-900);background:transparent;color:var(--green-900);border-radius:8px;padding:8px 12px;font-weight:800}
.hero{background:var(--green-300);color:var(--green-900);padding:92px 0 108px}.hero-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:70px;align-items:center}.eyebrow{margin:0 0 12px;color:var(--green-800);font-size:.78rem;font-weight:850;letter-spacing:.16em}.hero h1{max-width:840px;margin:0;font-size:clamp(3rem,7vw,6.4rem);line-height:.95;letter-spacing:-.065em;color:var(--green-900)}.hero-copy{max-width:720px;margin:28px 0 0;color:#123d29;font-size:clamp(1.05rem,2vw,1.35rem);font-weight:550}.actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}.button,.wp-block-button__link,input[type=submit]{display:inline-flex;align-items:center;justify-content:center;background:var(--green-800);color:#fff!important;border:2px solid var(--green-800);border-radius:999px;padding:13px 22px;font-weight:800;text-decoration:none;cursor:pointer}.button:hover,.wp-block-button__link:hover,input[type=submit]:hover{background:var(--green-900);border-color:var(--green-900);color:#fff!important}.button-outline{background:transparent;color:var(--green-900)!important;border-color:var(--green-900)}.button-outline:hover{background:var(--green-900);color:#fff!important}.hero-panel{background:var(--green-900);color:var(--white);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);display:grid;gap:10px}.hero-panel span{display:block;padding:15px 16px;border:1px solid rgba(255,255,255,.35);border-radius:13px;color:#fff;font-weight:700}
.section{padding:92px 0}.section-white{background:#fff}.section-pale{background:var(--green-100)}h1,h2,h3,h4,h5,h6{font-weight:830;line-height:1.12;letter-spacing:-.035em;color:var(--green-900)}h1{font-size:clamp(2.6rem,5vw,4.8rem)}h2{font-size:clamp(2.1rem,4.5vw,4rem);margin:.15em 0 .75em}h3{font-size:1.35rem}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:var(--green-050);border:1px solid var(--line);border-radius:var(--radius);padding:30px;min-height:310px}.card-number{color:var(--green-700);font-weight:900;font-size:.85rem}.card h3{margin:70px 0 15px}.card p{color:var(--muted)}.split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}.lead{font-size:1.35rem;color:var(--ink);margin-top:5px}.text-link{font-weight:850;text-decoration:none;border-bottom:2px solid var(--green-500)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.post-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 10px 35px rgba(6,75,43,.07)}.post-card img{width:100%;aspect-ratio:16/10;object-fit:cover}.post-body{padding:25px}.post-body h3 a{color:var(--green-900);text-decoration:none}.post-date{color:var(--green-700);font-size:.78rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.entry-card{padding:28px 0;border-bottom:1px solid var(--line)}.entry-content{font-size:1.06rem}.entry-content a{font-weight:700}.featured-image{border-radius:var(--radius);margin-bottom:25px}
.site-footer{background:var(--green-900);color:#fff;padding:65px 0 25px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:45px}.site-footer p,.site-footer li,.site-footer a{color:#fff}.site-footer a:hover{color:var(--green-200)}.site-footer h2,.site-footer h3{color:var(--green-200)}.footer-brand{font-size:1.5rem;color:var(--green-200)}.site-footer ul{list-style:none;margin:0;padding:0}.footer-bottom{margin-top:45px;padding-top:22px;border-top:1px solid rgba(255,255,255,.25);color:var(--green-200);font-size:.9rem}
input,textarea,select{max-width:100%;padding:12px 14px;background:#fff;color:var(--ink);border:2px solid var(--line);border-radius:10px}input:focus,textarea:focus,select:focus{outline:3px solid var(--green-200);border-color:var(--green-800)}::selection{background:var(--green-800);color:#fff}
@media(max-width:850px){.menu-toggle{display:block}.main-navigation{display:none;position:absolute;left:0;right:0;top:84px;background:var(--green-300);padding:20px}.main-navigation.is-open{display:block}.main-navigation ul{display:grid;gap:15px}.hero-grid,.split,.footer-grid{grid-template-columns:1fr}.hero{padding:65px 0 75px}.hero-panel{margin-top:10px}.cards,.post-grid{grid-template-columns:1fr}.section{padding:65px 0}.section-heading{align-items:start;flex-direction:column}.card{min-height:0}.card h3{margin-top:38px}}

.grant-line{display:inline-block;margin:0 0 20px;padding:8px 13px;border:1px solid rgba(6,75,43,.28);border-radius:999px;color:var(--green-900);font-size:.9rem;font-weight:750;background:rgba(255,255,255,.25)}
.contact-section{background:var(--green-300);color:var(--green-900)}.contact-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:60px;align-items:center}.contact-section h2{margin-bottom:0}.contact-section .lead{color:var(--green-900)}.footer-grid-simple{grid-template-columns:1.2fr 1fr}.footer-grid-simple>div:last-child{max-width:520px}
@media(max-width:850px){.contact-grid,.footer-grid-simple{grid-template-columns:1fr}}

/* v1.6: animated bird moving alongside the power line. */
.hero-motion{position:relative;isolation:isolate;overflow:hidden;background:var(--green-300)}
.hero-motion>.container{position:relative;z-index:3}
.cable-motion{position:absolute;z-index:1;left:-3%;right:-3%;top:48%;height:170px;pointer-events:none;transform:rotate(-3deg);opacity:.9}
.power-line{position:absolute;left:0;right:0;top:78px;height:7px;border-radius:999px;background:linear-gradient(180deg,#173d2c 0%,#061c12 55%,#355747 100%);box-shadow:0 2px 0 rgba(255,255,255,.28),0 8px 15px rgba(6,75,43,.15)}
.power-line:after{content:"";position:absolute;inset:-15px 0;background:radial-gradient(circle at 12% 50%,var(--green-800) 0 5px,#d6f0df 6px 9px,transparent 10px),radial-gradient(circle at 38% 50%,var(--green-800) 0 5px,#d6f0df 6px 9px,transparent 10px),radial-gradient(circle at 65% 50%,var(--green-800) 0 5px,#d6f0df 6px 9px,transparent 10px),radial-gradient(circle at 88% 50%,var(--green-800) 0 5px,#d6f0df 6px 9px,transparent 10px)}
.bird-runner{position:absolute;top:38px;left:-150px;width:118px;height:76px;filter:drop-shadow(0 8px 8px rgba(6,45,28,.22));animation:freefly-bird-travel 10s linear infinite;transform-origin:50% 55%}
.bird-body{position:absolute;left:40px;top:31px;width:48px;height:25px;background:linear-gradient(100deg,var(--green-900),var(--green-700));border-radius:62% 52% 58% 48%;transform:rotate(-5deg)}
.bird-head{position:absolute;left:80px;top:25px;width:22px;height:22px;border-radius:50%;background:var(--green-900)}
.bird-head:after{content:"";position:absolute;right:5px;top:6px;width:3px;height:3px;border-radius:50%;background:#fff}
.bird-beak{position:absolute;left:99px;top:32px;width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:13px solid #d9b84c}
.bird-wing{position:absolute;left:43px;top:34px;width:50px;height:18px;background:var(--green-800);border-radius:70% 12% 70% 15%;transform-origin:14% 50%}
.wing-front{animation:freefly-wing-front .42s ease-in-out infinite alternate}.wing-back{opacity:.62;animation:freefly-wing-back .42s ease-in-out infinite alternate}
.bird-tail{position:absolute;left:27px;top:40px;width:22px;height:16px;background:var(--green-900);clip-path:polygon(100% 15%,100% 85%,0 100%,32% 50%,0 0)}
@keyframes freefly-bird-travel{0%{left:-150px;transform:translateY(7px) rotate(2deg)}24%{transform:translateY(-10px) rotate(-1deg)}52%{transform:translateY(1px) rotate(-2deg)}76%{transform:translateY(-7px) rotate(1deg)}100%{left:calc(100% + 40px);transform:translateY(4px) rotate(2deg)}}
@keyframes freefly-wing-front{from{transform:rotate(28deg) translateY(0)}to{transform:rotate(-48deg) translateY(-14px)}}
@keyframes freefly-wing-back{from{transform:rotate(10deg) translateY(2px)}to{transform:rotate(52deg) translateY(13px)}}
@media(max-width:850px){.cable-motion{top:56%;opacity:.52}.bird-runner{animation-duration:8s}.hero-motion>.container{z-index:3}}
@media(prefers-reduced-motion:reduce){.bird-runner,.bird-wing{animation:none}.bird-runner{left:70%;transform:none}}

/* v1.7 clarity pass: bird stays clear of copy; research themes moved below hero. */
.hero-motion{min-height:650px}
.hero-motion .hero-grid{grid-template-columns:minmax(0,760px) 1fr}
.hero-motion .hero-grid>div:first-child{max-width:720px}
.cable-motion{left:56%;right:-5%;top:46%;opacity:1;transform:rotate(-5deg)}
.bird-runner{animation:freefly-bird-travel-right 7.5s linear infinite}
@keyframes freefly-bird-travel-right{0%{left:-130px;transform:translateY(7px) rotate(2deg)}24%{transform:translateY(-10px) rotate(-1deg)}52%{transform:translateY(1px) rotate(-2deg)}76%{transform:translateY(-7px) rotate(1deg)}100%{left:calc(100% + 35px);transform:translateY(4px) rotate(2deg)}}
.theme-strip{position:relative;z-index:5;background:var(--green-900);padding:19px 0;border-top:1px solid rgba(255,255,255,.18)}
.theme-strip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.18);border-radius:16px;overflow:hidden}
.theme-strip span{display:flex;align-items:center;justify-content:center;min-height:62px;padding:12px 18px;background:var(--green-900);color:#fff;font-weight:750;text-align:center}
@media(max-width:1100px){.cable-motion{left:50%}.hero-motion .hero-grid{grid-template-columns:minmax(0,65%) 1fr}.hero-motion .hero-grid>div:first-child{max-width:650px}}
@media(max-width:850px){.hero-motion{min-height:0}.hero-motion .hero-grid{grid-template-columns:1fr;padding-bottom:155px}.hero-motion .hero-grid>div:first-child{max-width:none}.cable-motion{left:16%;right:-16%;top:auto;bottom:10px;height:125px;opacity:.8}.power-line{top:65px}.bird-runner{top:26px;animation-duration:6.5s}.theme-strip-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.theme-strip-grid{grid-template-columns:1fr}.theme-strip span{min-height:50px}}
@media(prefers-reduced-motion:reduce){.bird-runner{animation:none;left:48%}}

/* v1.8: white main/hero background while retaining FreeFly green accents. */
body,.site-content,.hero-motion{background:#ffffff}
.hero-motion{color:var(--green-900)}

/* v1.9 contact profile */
.contact-profile{grid-template-columns:170px minmax(0,1fr);gap:34px;justify-content:start}
.contact-photo-wrap{width:160px;height:160px;border-radius:50%;overflow:hidden;border:5px solid rgba(255,255,255,.72);box-shadow:0 14px 35px rgba(6,75,43,.18);background:#fff}
.contact-photo{width:100%;height:100%;display:block;object-fit:cover;object-position:center 22%}
.contact-copy h2{font-size:clamp(1.65rem,3vw,2.8rem);margin:.1em 0 .28em;max-width:760px}
.contact-copy .lead{font-size:1.1rem;margin:0 0 22px}
@media(max-width:650px){.contact-profile{grid-template-columns:1fr;gap:24px}.contact-photo-wrap{width:135px;height:135px}.contact-copy h2{font-size:1.7rem}}

/* v2.0: light-green hero plus a more powerline-like three-phase cable visual. */
body,.site-content{background:#ffffff}
.hero-motion{background:var(--green-100);color:var(--green-900)}
.cable-motion{height:190px;top:43%;transform:none;overflow:visible}
.power-line{display:none!important}
.power-lines{position:absolute;inset:0;overflow:visible}
.power-conductor{position:absolute;left:-3%;width:106%;height:82px;border-bottom:4px solid #283b32;border-radius:0 0 52% 52%;filter:drop-shadow(0 2px 1px rgba(255,255,255,.55));transform-origin:center}
.conductor-back{top:15px;border-bottom-width:3px;opacity:.62;transform:scaleY(.62)}
.conductor-mid{top:47px;border-bottom-width:4px;opacity:.8;transform:scaleY(.72)}
.conductor-front{top:79px;border-bottom-width:5px;opacity:1;transform:scaleY(.82)}
.power-pylon{position:absolute;bottom:8px;width:4px;height:112px;background:#33483e;opacity:.66}
.power-pylon:before,.power-pylon:after{content:"";position:absolute;left:50%;height:3px;background:#33483e;transform:translateX(-50%)}
.power-pylon:before{top:20px;width:74px}.power-pylon:after{top:49px;width:58px}
.pylon-left{left:2%}.pylon-right{right:2%}
.bird-runner{z-index:3;top:55px}
.theme-strip{background:var(--green-800)}.theme-strip span{background:var(--green-800)}
@media(max-width:850px){.hero-motion{background:var(--green-100)}.cable-motion{top:auto;bottom:6px;height:145px}.power-conductor{height:62px}.conductor-back{top:8px}.conductor-mid{top:34px}.conductor-front{top:60px}.power-pylon{height:90px}.bird-runner{top:39px}}

/* v2.1: corrected synchronized bird wing beat. */
.bird-runner{width:126px;height:82px}
.bird-body{left:42px;top:36px;width:52px;height:25px;z-index:4;background:linear-gradient(100deg,#064b2b,#087a42);border-radius:58% 48% 55% 45%}
.bird-head{left:86px;top:29px;width:22px;height:22px;z-index:5}
.bird-beak{left:105px;top:36px;z-index:6}
.bird-eye{position:absolute;left:99px;top:34px;width:3px;height:3px;background:#fff;border-radius:50%;z-index:7}
.bird-tail{left:27px;top:43px;z-index:2}
.bird-wing{position:absolute;left:48px;top:36px;width:48px;height:18px;background:linear-gradient(90deg,#075c34,#42a875);border-radius:72% 16% 72% 18%;transform-origin:12% 50%;z-index:3;will-change:transform}
.wing-left{animation:freefly-wing-up .44s ease-in-out infinite alternate}
.wing-right{opacity:.74;transform-origin:12% 50%;animation:freefly-wing-down .44s ease-in-out infinite alternate}
@keyframes freefly-wing-up{from{transform:rotate(-20deg) translateY(-1px) scaleY(1)}to{transform:rotate(-62deg) translateY(-12px) scaleY(.9)}}
@keyframes freefly-wing-down{from{transform:rotate(20deg) translateY(2px) scaleY(-1)}to{transform:rotate(62deg) translateY(13px) scaleY(-.9)}}
@media(prefers-reduced-motion:reduce){.wing-left,.wing-right{animation:none}.wing-left{transform:rotate(-35deg)}.wing-right{transform:rotate(35deg) scaleY(-1)}}

/* v2.2: reverse the wing-beat direction while keeping the moving bird. */
.wing-left{animation-name:freefly-wing-left-reversed!important}
.wing-right{animation-name:freefly-wing-right-reversed!important}
@keyframes freefly-wing-left-reversed{from{transform:rotate(26deg) translateY(5px) scaleY(1)}to{transform:rotate(68deg) translateY(15px) scaleY(.9)}}
@keyframes freefly-wing-right-reversed{from{transform:rotate(-26deg) translateY(-5px) scaleY(-1)}to{transform:rotate(-68deg) translateY(-15px) scaleY(-.9)}}
@media(prefers-reduced-motion:reduce){.wing-left{transform:rotate(40deg)!important}.wing-right{transform:rotate(-40deg) scaleY(-1)!important}}

/* v2.3: bird reconstructed from scratch as a coherent side-profile SVG. */
.bird-runner{width:142px!important;height:88px!important;top:47px!important;filter:drop-shadow(0 8px 7px rgba(6,45,28,.18));}
.freefly-bird{display:block;width:100%;height:100%;overflow:visible}
.freefly-bird .bird-body-shape{fill:#075c34}
.freefly-bird .bird-head-shape,.freefly-bird .bird-neck{fill:#064b2b}
.freefly-bird .bird-beak-shape{fill:#c9a33b}
.freefly-bird .bird-eye-shape{fill:#ffffff}
.freefly-bird .bird-tail path{fill:#064b2b}
.freefly-bird .bird-near-wing{fill:#087a42;transform-box:fill-box;transform-origin:52% 88%;animation:freefly-near-wing 560ms ease-in-out infinite alternate}
.freefly-bird .bird-far-wing{fill:#42a875;opacity:.72;transform-box:fill-box;transform-origin:82% 88%;animation:freefly-far-wing 560ms ease-in-out infinite alternate}
.freefly-bird .wing-feather{fill:none;stroke:rgba(234,246,239,.55);stroke-width:2;stroke-linecap:round}
@keyframes freefly-near-wing{from{transform:rotate(-16deg)}to{transform:rotate(27deg)}}
@keyframes freefly-far-wing{from{transform:rotate(12deg)}to{transform:rotate(-24deg)}}
@media(max-width:850px){.bird-runner{width:124px!important;height:78px!important;top:31px!important}}
@media(prefers-reduced-motion:reduce){.freefly-bird .bird-near-wing,.freefly-bird .bird-far-wing{animation:none!important}.freefly-bird .bird-near-wing{transform:rotate(4deg)}.freefly-bird .bird-far-wing{transform:rotate(-4deg)}}

/* v2.4 project update card */
.project-update{background:var(--green-100);border-color:var(--green-200)}
.project-update h3{color:var(--green-900)}
