/* R5: light follows the photograph; CTA rings remain outside the text. */
.hero .hero-photo{animation:none;transform:none}
.hero-sunlight{position:absolute;inset:0;z-index:-2;overflow:hidden;pointer-events:none;mix-blend-mode:screen}
.hero-light-map{position:absolute;max-width:none;overflow:visible;pointer-events:none}
.sunbeam{transform-origin:830px 150px;animation:sunlight-breathe 5.6s cubic-bezier(.45,0,.55,1) infinite;opacity:.35}
.sunbeam-second{animation-duration:7.2s;animation-delay:-2.8s}
.sunbeam-third{animation-duration:6.4s;animation-delay:-4.1s}
.sunlight-source{animation:canopy-light 6.4s cubic-bezier(.45,0,.55,1) infinite;opacity:.35}
@keyframes sunlight-breathe{0%,100%{opacity:.14}45%{opacity:.86}70%{opacity:.48}}
@keyframes canopy-light{0%,100%{opacity:.18}50%{opacity:.7}}

.intent{--line-ring:111,155,74;overflow:visible;isolation:isolate}
.intent::before,.intent::after{content:"";position:absolute;inset:-3px;width:auto;border-radius:inherit;border:2px solid rgba(var(--line-ring),.86);background:none;pointer-events:none;z-index:-1;transform:none;box-shadow:0 0 11px rgba(var(--line-ring),.55),inset 0 0 6px rgba(var(--line-ring),.25);animation:line-ring-expand 2.4s cubic-bezier(.2,.55,.35,1) infinite;opacity:.7}
.intent::after{animation-delay:-1.2s}
.hero .intent,.closing .intent{--line-ring:221,235,151}
.header-cta.intent{--line-ring:100,146,63}
.intent:focus-visible{outline:3px solid #8eab5a;outline-offset:9px}
@keyframes line-ring-expand{0%{transform:scale(1,1);opacity:.95}35%{opacity:.7}85%,100%{transform:scale(1.09,1.42);opacity:0}}
@media(hover:hover) and (pointer:fine){.intent:hover::before,.intent:hover::after{border-color:rgba(var(--line-ring),1)}}
@media(prefers-reduced-motion:reduce){.hero-sunlight{display:none}.intent::before{animation:none!important;opacity:.55;transform:none}.intent::after{display:none}}

/* R7: closing forest uses its own photograph-aligned sunlight map. */
.closing-sunlight{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;mix-blend-mode:screen;opacity:.72}
.closing-inner{z-index:1}
.closing-sunlight .sunbeam{animation-duration:6.8s}
.closing-sunlight .sunbeam-second{animation-duration:8.2s;animation-delay:-3.2s}
.closing-sunlight .sunbeam-third{animation-duration:7.4s;animation-delay:-4.5s}
@media(prefers-reduced-motion:reduce){.closing-sunlight{display:none}}
