/* BEN – classical luxury layer for the inner pages: motif backgrounds, gilded headings, ornamented cards, scroll motion.
   Brand colours only: green #006A4E / #00382a, red #F42A41, gold #C9A14A / #F5D27A, white. */
:root{--lx-motif:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88'%3E%3Cpath d='M44 4 84 44 44 84 4 44z' fill='none' stroke='%23C9A14A' stroke-opacity='.55' stroke-width='1.2'/%3E%3Cpath d='M44 24 64 44 44 64 24 44z' fill='none' stroke='%23006A4E' stroke-opacity='.32'/%3E%3Ccircle cx='44' cy='44' r='2' fill='%23C9A14A' fill-opacity='.4'/%3E%3C/svg%3E");--lx-size:88px}
body.pg-budget{--lx-motif:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M0 0H48V48' fill='none' stroke='%23C9A14A' stroke-opacity='.22'/%3E%3Cpath d='M24 0V48M0 24H48' stroke='%23006A4E' stroke-opacity='.08'/%3E%3C/svg%3E");--lx-size:48px}
body.pg-materials{--lx-motif:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40'%3E%3Cpath d='M0 0H80M0 20H80M0 40H80M40 0V20M0 20V40M80 20V40' fill='none' stroke='%23C9A14A' stroke-opacity='.26'/%3E%3C/svg%3E");--lx-size:80px 40px}
body.pg-members,body.pg-partner{--lx-motif:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='22' fill='none' stroke='%23C9A14A' stroke-opacity='.24'/%3E%3Ccircle cx='30' cy='30' r='12' fill='none' stroke='%23006A4E' stroke-opacity='.12'/%3E%3Ccircle cx='30' cy='30' r='2' fill='%23C9A14A' fill-opacity='.4'/%3E%3C/svg%3E");--lx-size:60px}
body.pg-verify,body.pg-policies{--lx-motif:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M32 6V26M32 38V58M6 32H26M38 32H58' stroke='%23C9A14A' stroke-opacity='.3' stroke-width='1.4'/%3E%3Cpath d='M32 22 42 32 32 42 22 32z' fill='none' stroke='%23006A4E' stroke-opacity='.16'/%3E%3C/svg%3E");--lx-size:64px}
/* page background: white, gilded motif, slow drift, framed corners */
.bg-body{background-color:#fff!important;background-image:var(--lx-motif);background-size:var(--lx-size);animation:lxDrift 90s linear infinite}
@keyframes lxDrift{to{background-position:var(--lx-size,88px) 0}}
.bg-body::before,.bg-body::after{content:"";position:fixed;width:120px;height:120px;pointer-events:none;z-index:1;opacity:.55;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M4 116V4H116' fill='none' stroke='%23C9A14A' stroke-width='2'/%3E%3Cpath d='M14 116V14H116' fill='none' stroke='%23F42A41' stroke-opacity='.55'/%3E%3Cpath d='M4 4 22 22' stroke='%23C9A14A'/%3E%3Ccircle cx='4' cy='4' r='4' fill='%23C9A14A'/%3E%3C/svg%3E") no-repeat}
.bg-body::before{left:8px;top:84px}.bg-body::after{right:8px;bottom:8px;transform:rotate(180deg)}
@media (max-width:700px){.bg-body::before,.bg-body::after{display:none}}
/* header ribbon + footer */
.bg-flag{background-size:200% 100%;animation:lxRibbon 8s linear infinite}@keyframes lxRibbon{to{background-position:200% 0}}
.bg-foot{border-top:4px solid #C9A14A;background:linear-gradient(135deg,#00251b,#00382a 60%,#006A4E)!important;color:#fff}.bg-foot *{color:inherit}
/* hero */
.bg-eb{letter-spacing:.2em;text-transform:uppercase;font-weight:800;font-size:12.5px;color:#F5D27A!important}
.bg-eb::before,.bg-eb::after{content:"";display:inline-block;width:38px;height:1px;vertical-align:middle;background:linear-gradient(90deg,transparent,#F5D27A);margin:0 12px 0 0}.bg-eb::after{background:linear-gradient(90deg,#F5D27A,transparent);margin:0 0 0 12px}
.bg-hero h1 em{background:linear-gradient(100deg,#fff 0%,#F5D27A 35%,#fff 50%,#F5D27A 65%,#C9A14A 100%)!important;background-size:250% 100%;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;animation:lxSheen 7s linear infinite}
@keyframes lxSheen{to{background-position:-250% 0}}
.bg-hero::after{content:"";position:absolute;right:4%;top:14%;width:220px;height:220px;pointer-events:none;opacity:.5;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cpath d='M110 6 214 110 110 214 6 110z' fill='none' stroke='%23F5D27A' stroke-width='1.6'/%3E%3Cpath d='M110 40 180 110 110 180 40 110z' fill='none' stroke='%23F42A41' stroke-opacity='.8' stroke-width='1.4'/%3E%3Cpath d='M110 74 146 110 110 146 74 110z' fill='none' stroke='%23fff' stroke-opacity='.6'/%3E%3C/svg%3E") no-repeat center/contain;animation:lxSpin 40s linear infinite}
@keyframes lxSpin{to{transform:rotate(360deg)}}@media (max-width:760px){.bg-hero::after{width:130px;height:130px;opacity:.3}}
/* section headings: gilded gradient, drawn rule, diamond badge */
.mt-h h2,.pt-h h2,.lx-h{position:relative;padding-bottom:12px;background:linear-gradient(100deg,#00251b 0%,#006A4E 45%,#C9A14A 75%,#006A4E 100%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:800;letter-spacing:.01em;animation:lxSheen 9s linear infinite}
.mt-h h2::after,.pt-h h2::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:96px;border-radius:3px;background:linear-gradient(90deg,#C9A14A,#F5D27A 60%,#F42A41);box-shadow:0 0 12px rgba(201,161,74,.6)}
.mt-h h2::before,.pt-h h2::before{content:"◆";position:absolute;left:100px;bottom:-6px;font-size:11px;color:#F42A41;-webkit-text-fill-color:#F42A41}
.mt-h p{color:#4d5e57}
.mt-h i,.pt-h i{flex:0 0 48px!important;width:48px!important;height:48px!important;border-radius:0!important;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);background:linear-gradient(135deg,#F5D27A,#C9A14A 55%,#8a6a1c)!important;color:#00251b!important;box-shadow:none!important;font-size:17px!important;filter:drop-shadow(0 4px 8px rgba(138,106,28,.5));animation:lxGlow 3.6s ease-in-out infinite}
@keyframes lxGlow{50%{filter:drop-shadow(0 4px 14px rgba(245,210,122,.95))}}
/* cards: gold hairline, corner brackets, lift */
.bg-card,.mt-q,.mt-sc,.jy-c,.pt-tr,.pt-st,.mt-of{border-color:rgba(201,161,74,.55)!important}
.bg-card{position:relative;transition:transform .35s,box-shadow .35s}.bg-card:hover{transform:translateY(-3px);box-shadow:0 20px 44px rgba(0,56,42,.16)}
.bg-card::before,.bg-card::after{content:"";position:absolute;width:16px;height:16px;pointer-events:none;border:2px solid #C9A14A;opacity:.8}
.bg-card::before{left:7px;top:7px;border-right:0;border-bottom:0;border-top-left-radius:6px}.bg-card::after{right:7px;bottom:7px;border-left:0;border-top:0;border-bottom-right-radius:6px}
.bg-card h2,.bg-card h3{color:#00382a}
.mt-sum,.mt-areas,.pt-next,.jy-bn,.mt-ct,.mt-wt{background:#fff!important;border:1.5px solid #C9A14A!important;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 4px rgba(201,161,74,.4)}
.mt-meta span{background:#fff!important;border:1.5px solid #C9A14A!important;color:#00382a!important}
.jy-res.bad{background:#fff!important;border:2px solid #F42A41;color:#a8182b}.jy-res.good{background:#fff!important;border:2px solid #006A4E;color:#00513b}
.jy-grid>div,.jy-pk label,.mt-tb2 tr:nth-child(even) td{background:#fff!important;border-top:1px solid rgba(201,161,74,.4)}
.jy-rad label.on{background:#fff!important;border-color:#C9A14A;box-shadow:0 0 0 3px rgba(201,161,74,.4)}
.mt-rm{background:#fff!important;border:1.5px solid #F42A41}.mt-x{background:#fff!important;border:1.5px solid #F42A41}
.mt-md{background-image:var(--lx-motif);background-size:var(--lx-size);border-top:6px solid #C9A14A}
/* buttons shimmer */
.bg-a.p,.bg-go{position:relative;overflow:hidden}.bg-a.p::after,.bg-go::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.45) 50%,transparent 70%);transform:translateX(-120%);animation:lxBtn 4.5s ease-in-out infinite}
@keyframes lxBtn{60%,100%{transform:translateX(120%)}}
/* scroll reveal (progressive) */
@supports (animation-timeline:view()){
  .mt-sec,.pt-sec,.bg-card,.jy-ph,.mt-q{animation:lxIn linear both;animation-timeline:view();animation-range:entry 0% entry 45%}
  @keyframes lxIn{from{opacity:0;transform:translateY(34px) scale(.985)}to{opacity:1;transform:none}}
}
@media (prefers-reduced-motion:reduce){.bg-body,.bg-flag,.bg-hero::after,.mt-h h2,.pt-h h2,.mt-h i,.pt-h i,.bg-a.p::after,.bg-go::after{animation:none!important}}
