/* Jafary School theme - section and widget styles.
   Colours and fonts come from Appearance > Customize > Colours / Fonts (printed as CSS variables on body). */
body{--brand:#14532d;--accent:#e0a526;--ink:#16211b;--muted:#56635b;--paper:#f5f7f2;--card:#ffffff;--line:#dde3da;--display:'Young Serif',Georgia,serif;--body:'Figtree',system-ui,sans-serif}
.jes{--brand-ink:color-mix(in oklab,var(--brand) 72%,black);--brand-soft:color-mix(in oklab,var(--brand) 9%,white);--accent-soft:color-mix(in oklab,var(--accent) 18%,white);font-family:var(--body);color:var(--ink);line-height:1.6}
body.jes-site{background:var(--paper);color:var(--ink);font-family:var(--body);margin:0}
.jes,.jes *{box-sizing:border-box}
@media (prefers-reduced-motion:reduce){.jes *,.jes-ring{animation:none!important;transition:none!important}}
body .jes a{color:inherit}
body .jes img{max-width:100%;display:block}
body .jes h1,body .jes h2,body .jes h3{font-family:var(--display);font-weight:400;line-height:1.15;text-wrap:balance;margin:0}
body .jes p{margin:0}
.jes .wrap{max-width:1180px;margin:0 auto;padding-inline:clamp(16px,4vw,32px)}
.jes .pl{white-space:pre-line}
.jes :focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.jes .topbar{background:var(--brand-ink);color:#e9f1ec;font-size:.82rem}
.jes .topbar .wrap{display:flex;align-items:center;gap:16px;min-height:38px;flex-wrap:wrap;padding-block:4px}
.jes .topbar .tb-contact{display:flex;gap:16px;flex-wrap:wrap}
.jes .topbar .tb-contact span{white-space:nowrap}
.jes .fontctl{margin-left:auto;display:flex;gap:4px}
.jes .fontctl button{background:transparent;border:1px solid rgba(255,255,255,.3);color:inherit;border-radius:4px;font:inherit;font-size:.75rem;padding:1px 7px;cursor:pointer}
.jes .ticker{background:var(--accent);color:#1d1a10;font-size:.9rem;font-weight:600;overflow:hidden}
.jes .ticker .wrap{display:flex;align-items:center;gap:14px;min-height:40px}
.jes .ticker .tag{background:var(--brand);color:#fff;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;padding:4px 10px;border-radius:3px;flex:none}
.jes .ticker .track{overflow:hidden;flex:1;min-width:0;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.jes .ticker .run{display:inline-flex;gap:48px;white-space:nowrap;animation:tick 38s linear infinite;padding-left:100%}
.jes .ticker .run span::before{content:"◆";margin-right:12px;font-size:.6em;vertical-align:middle;color:var(--brand)}
@keyframes tick{to{transform:translateX(-100%)}}
.jes .btn{display:inline-flex;align-items:center;gap:8px;font:inherit;font-weight:700;font-size:.95rem;text-decoration:none;border-radius:999px;padding:11px 22px;border:2px solid transparent;cursor:pointer;line-height:1.2}
.jes .btn-accent{background:var(--accent);color:#1d1a10}
.jes .btn-accent:hover{filter:brightness(1.06)}
.jes .btn-ghost{border-color:rgba(255,255,255,.6);color:#fff}
.jes .btn-ghost:hover{background:rgba(255,255,255,.1)}
.jes .btn-brand{background:var(--brand);color:#fff}
.jes header.site{background:var(--card);position:sticky;top:env(safe-area-inset-top,0px);z-index:30;box-shadow:0 1px 0 var(--line),0 8px 24px rgba(20,40,28,.06)}
.jes .hdr{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:clamp(10px,1.6vw,22px);padding-block:10px;transition:padding .2s}
.jes .side{display:flex;align-items:center;gap:2px;min-width:0}
.jes .side-l{justify-content:flex-end}
.jes .side-r{justify-content:flex-start}
.jes .side .top{color:var(--ink);padding:10px clamp(7px,.8vw,12px);font:600 .9rem var(--body);text-decoration:none;display:flex;align-items:center;gap:5px;background:none;border:0;border-radius:8px;cursor:pointer;white-space:nowrap}
.jes .side .top:hover,.jes .side .dd:hover>.top,.jes .side .dd:focus-within>.top{background:var(--brand-soft);color:var(--brand)}
.jes .side .top.cur{color:var(--brand);box-shadow:inset 0 -3px 0 var(--accent);border-radius:8px 8px 0 0}
.jes .adm-pill{margin-left:8px;padding:9px 16px;font-size:.86rem;white-space:nowrap}
.jes .brand-c{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;text-decoration:none;max-width:230px;min-width:0}
.jes .crest{display:block;flex:none;border-radius:50%;overflow:hidden;position:relative}
.jes .crest svg,.jes .crest img{width:100%;height:100%;display:block;object-fit:contain}
.jes .brand-c .crest{width:78px;height:78px;transition:width .2s,height .2s;box-shadow:0 0 0 4px var(--card),0 0 0 5px var(--line)}
.jes .brand-txt{min-width:0;display:flex;flex-direction:column}
.jes .brand-name{font-family:var(--display);font-size:1.12rem;color:var(--brand);line-height:1.15}
.jes .brand-tag{font-size:.74rem;color:var(--muted);letter-spacing:.06em}
.jes header.shrink .hdr{padding-block:5px}
.jes header.shrink .brand-c .crest{width:50px;height:50px}
.jes header.shrink .brand-tag{display:none}
.jes .caret{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor;opacity:.75}
.jes .dd{position:relative}
.jes .sub{display:none;position:absolute;top:100%;left:0;min-width:250px;background:var(--card);border-radius:0 0 10px 10px;box-shadow:0 16px 32px rgba(0,0,0,.16);padding:6px 0;z-index:40;border-top:3px solid var(--accent)}
.jes .side-r .dd:last-of-type .sub{left:auto;right:0}
.jes .dd:hover .sub,.jes .dd:focus-within .sub{display:block}
.jes .sub a{display:block;padding:9px 18px;color:var(--ink);text-decoration:none;font-size:.93rem}
.jes .sub a:hover,.jes .sub a.on{background:var(--brand-soft);color:var(--brand)}
.jes .sub a.on{font-weight:700}
.jes .menu-btn{display:none;background:var(--brand-soft);border:0;border-radius:8px;width:44px;height:44px;cursor:pointer;color:var(--brand);place-items:center;justify-self:end}
.jes .mnav{display:none}
@media (max-width:1160px){.jes .hdr{grid-template-columns:1fr auto;padding-block:8px}
.jes .side{display:none}
.jes .menu-btn{display:grid}
.jes .brand-c{flex-direction:row;text-align:left;max-width:none;gap:12px}
.jes .brand-c .crest{width:52px;height:52px;box-shadow:none}
.jes header.shrink .brand-c .crest{width:44px;height:44px}
.jes .mnav.open{display:block;position:absolute;top:100%;left:0;right:0;background:var(--brand);max-height:calc(100vh - 80px);overflow-y:auto;box-shadow:0 14px 28px rgba(0,0,0,.2)}
.jes .navrow{display:flex;flex-direction:column;padding-block:8px}
.jes .mnav .top{color:#fff;padding:11px 4px;font:600 .95rem var(--body);text-decoration:none;display:block;background:none;border:0;text-align:left}
.jes .mnav .top.cur{color:var(--accent)}
.jes .mnav .dd>.top{pointer-events:none;color:var(--accent);font-size:.76rem;letter-spacing:.12em;text-transform:uppercase;padding-bottom:4px}
.jes .mnav .caret{display:none}
.jes .mnav .sub{display:block;position:static;box-shadow:none;background:transparent;border:0;padding:0 0 8px 10px;min-width:0}
.jes .mnav .sub a{color:#e3eee6;padding:8px}
.jes .mnav .sub a:hover,.jes .mnav .sub a.on{background:rgba(255,255,255,.1);color:#fff}}
@media (max-width:420px){.jes .brand-tag{display:none}
.jes .brand-name{font-size:1rem}}
.jes .phero{background:var(--brand);color:#fff;position:relative;overflow:hidden}
.jes .phero::before{content:"";position:absolute;inset:0;opacity:.13;background-image:radial-gradient(circle at 1px 1px,#fff 1.2px,transparent 0);background-size:22px 22px;mask-image:linear-gradient(100deg,#000 0%,transparent 70%)}
.jes .phero .wrap{position:relative;padding-block:44px 40px;display:flex;flex-direction:column;gap:12px}
.jes .crumbs{font-size:.84rem;color:#cfe0d5}
.jes .crumbs a{color:var(--accent);text-decoration:none}
.jes .phero h1{font-size:clamp(1.9rem,4.2vw,2.9rem)}
.jes .phero p{color:#dbe9df;max-width:62ch;font-size:1.05rem}
.jes .pbody{padding-block:48px 80px;display:flex;flex-direction:column;gap:52px}
.jes .pblock{position:relative;min-width:0}
.jes .bh{font-size:clamp(1.4rem,2.6vw,1.8rem);color:var(--brand);margin-bottom:18px}
.jes .tblock{display:grid;grid-template-columns:1fr;gap:32px;align-items:start}
.jes .tblock.has-img{grid-template-columns:1.3fr 1fr}
.jes .tblock .ph{aspect-ratio:4/3;border-radius:12px}
.jes .prose{max-width:70ch;font-size:1.03rem;min-width:0}
@media (max-width:820px){.jes .tblock.has-img{grid-template-columns:1fr}}
.jes .tbl-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:var(--card)}
body .jes table.t{border-collapse:collapse;width:100%;min-width:520px;font-size:.94rem}
.jes .t th{background:var(--brand-soft);color:var(--brand);text-align:left;padding:12px 16px;font-weight:700;font-size:.78rem;letter-spacing:.07em;text-transform:uppercase}
.jes .t td{padding:12px 16px;border-top:1px solid var(--line);vertical-align:top}
.jes .t tbody tr:nth-child(even) td{background:color-mix(in oklab,var(--paper) 55%,white)}
.jes .t .edit-col{width:48px;text-align:right}
.jes .faq{display:flex;flex-direction:column;gap:10px;max-width:860px}
.jes .faq details,.jes .faq .qa{background:var(--card);border:1px solid var(--line);border-radius:10px;position:relative}
.jes .faq summary{padding:16px 20px;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px}
.jes .faq summary::-webkit-details-marker{display:none}
.jes .faq summary::after{content:"+";font-size:1.3rem;line-height:1;color:var(--brand)}
.jes .faq details[open] summary::after{content:"−"}
.jes .faq .q{padding:16px 20px 6px;font-weight:700}
.jes .faq .a{padding:0 20px 16px;color:var(--muted)}
.jes .steps{display:grid;gap:14px;counter-reset:st;max-width:860px}
.jes .step{display:grid;grid-template-columns:44px 1fr;gap:16px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:18px 20px;position:relative}
.jes .step::before{counter-increment:st;content:counter(st);width:42px;height:42px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-family:var(--display);font-size:1.15rem}
.jes .step>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.jes .step h3{font-size:1.15rem}
.jes .step p{color:var(--muted)}
.jes .people{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
@media (max-width:900px){.jes .people{grid-template-columns:repeat(3,1fr)}}
@media (max-width:640px){.jes .people{grid-template-columns:repeat(2,1fr)}}
.jes .person{background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;position:relative;display:flex;flex-direction:column}
.jes .person .ph{aspect-ratio:4/4.4}
.jes .person .pb{padding:14px 16px 18px;display:flex;flex-direction:column;gap:3px}
.jes .person h3{font-size:1.08rem;color:var(--brand)}
.jes .person .rl{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:700}
.jes .person p{font-size:.9rem;color:var(--muted)}
.jes .leader.big{grid-template-columns:240px 1fr;padding:32px;gap:32px;max-width:1000px}
.jes .leader.big .ph{width:240px}
.jes .leader.big p.body{font-size:1.02rem;color:var(--ink)}
@media (max-width:640px){.jes .leader.big{grid-template-columns:1fr}
.jes .leader.big .ph{width:180px}}
.jes .clist{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;background:var(--card);overflow:hidden;max-width:900px}
.jes .crow2{display:grid;grid-template-columns:130px 1fr;gap:18px;padding:18px 20px;border-top:1px solid var(--line);position:relative}
.jes .crow2:first-child{border-top:0}
.jes .crow2>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.jes .crow2 .ct{font-weight:700;font-size:1.05rem}
.jes .crow2 .cx{color:var(--muted)}
@media (max-width:560px){.jes .crow2{grid-template-columns:1fr;gap:4px}}
.jes .morelink{display:inline-flex;align-items:center;gap:6px;margin-top:22px;font-weight:700;color:var(--brand);text-decoration:none;border-bottom:2px solid var(--accent);padding-bottom:2px}
.jes .board .morelink{color:#fff}
.jes .hero{background:var(--brand);color:#fff;position:relative;overflow:hidden}
.jes .hero::before{content:"";position:absolute;inset:0;opacity:.13;background-image:radial-gradient(circle at 1px 1px,#fff 1.2px,transparent 0);background-size:22px 22px;mask-image:linear-gradient(100deg,#000 0%,transparent 60%)}
.jes .hero .wrap{position:relative;display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(28px,5vw,64px);align-items:center;padding-block:clamp(40px,7vw,84px)}
.jes .eyebrow{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.jes .hero h1{font-size:clamp(2rem,4.6vw,3.4rem);margin:14px 0 18px}
.jes .hero p.lead{font-size:1.08rem;color:#dbe9df;max-width:56ch}
.jes .hero .ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.jes .chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:30px;padding:0;list-style:none}
.jes .chips li{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);padding:6px 12px;border-radius:6px;font-size:.88rem;font-weight:600}
.jes .chips li svg{color:var(--accent);flex:none}
.jes .hero-media{position:relative;min-width:0}
.jes .hero-media .ph{aspect-ratio:4/3.4;border-radius:14px 14px 14px 80px;box-shadow:16px 16px 0 var(--accent)}
.jes .est{position:absolute;left:-14px;bottom:28px;background:var(--card);color:var(--brand);border-radius:10px;padding:10px 16px;font-family:var(--display);font-size:1.05rem;box-shadow:0 10px 30px rgba(0,0,0,.18)}
@media (max-width:860px){.jes .hero .wrap{grid-template-columns:1fr}
.jes .est{left:12px}}
.jes .ph{position:relative;overflow:hidden;background:var(--brand-soft);max-width:100%}
.jes .ph>img{width:100%;height:100%;object-fit:cover}
.jes section.s{padding-block:clamp(48px,7vw,88px)}
.jes section.s.alt{background:var(--card)}
.jes .s-head{display:flex;flex-direction:column;gap:10px;max-width:680px;margin-bottom:36px}
.jes .s-head.center{margin-inline:auto;text-align:center;align-items:center}
.jes .s-head h2{font-size:clamp(1.7rem,3.2vw,2.4rem);color:var(--brand)}
.jes .s-head p{color:var(--muted)}
.jes .rule{width:56px;height:4px;border-radius:2px;background:var(--accent)}
.jes .band{background:var(--accent-soft);border-block:1px solid color-mix(in oklab,var(--accent) 40%,white)}
.jes .band .wrap{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding-block:26px}
.jes .band .b-txt{flex:1;min-width:min(100%,320px)}
.jes .band h2{font-size:1.5rem;color:var(--brand)}
.jes .band p{color:#4b4a3c;margin-top:4px}
.jes .about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(28px,5vw,64px);align-items:center}
.jes .about-grid .ph{aspect-ratio:5/4;border-radius:12px}
.jes .about-txt{display:flex;flex-direction:column;gap:16px;min-width:0}
.jes .about-txt p.body{color:var(--muted)}
.jes .ticks{list-style:none;padding:0;margin:4px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:10px 20px}
.jes .ticks li{display:flex;gap:10px;align-items:flex-start;font-weight:600;position:relative}
.jes .ticks li svg{color:var(--brand);flex:none;margin-top:3px}
@media (max-width:820px){.jes .about-grid{grid-template-columns:1fr}
.jes .ticks{grid-template-columns:1fr}}
.jes .grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media (max-width:900px){.jes .grid3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.jes .grid3{grid-template-columns:1fr}}
.jes .feat{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:10px;position:relative}
.jes .feat .ic{width:48px;height:48px;border-radius:10px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand)}
.jes .feat h3{font-size:1.2rem}
.jes .feat p{color:var(--muted);font-size:.95rem}
.jes .stats{background:var(--brand-ink);color:#fff}
.jes .stats .row{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding-block:40px}
.jes .stat{text-align:center;padding:10px 12px;border-left:1px solid rgba(255,255,255,.14);position:relative}
.jes .stat:first-child{border-left:0}
.jes .stat .n{font-family:var(--display);font-size:clamp(2rem,4vw,2.8rem);color:var(--accent);display:block;font-variant-numeric:tabular-nums}
.jes .stat .l{font-size:.9rem;color:#cfe0d5;display:block}
@media (max-width:700px){.jes .stats .row{grid-template-columns:repeat(2,1fr);row-gap:20px}
.jes .stat:nth-child(odd){border-left:0}}
.jes .leaders{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
@media (max-width:820px){.jes .leaders{grid-template-columns:1fr}}
.jes .leader{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:28px;display:grid;grid-template-columns:120px 1fr;gap:22px;position:relative}
.jes .leader .ph{width:120px;aspect-ratio:4/5;border-radius:10px}
.jes .leader .who{display:flex;flex-direction:column;gap:2px;margin-bottom:12px}
.jes .leader .nm{font-family:var(--display);font-size:1.25rem;color:var(--brand)}
.jes .leader .rl{font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:700}
.jes .leader blockquote{margin:0 0 10px;font-family:var(--display);font-size:1.08rem;line-height:1.45;color:var(--ink);border-left:3px solid var(--accent);padding-left:14px}
.jes .leader p.body{color:var(--muted);font-size:.95rem}
.jes .leader>div{min-width:0}
@media (max-width:480px){.jes .leader{grid-template-columns:1fr}
.jes .leader .ph{width:110px}}
.jes .stages{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--card)}
.jes .stage{padding:26px 22px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:8px;position:relative;min-width:0}
.jes .stage:first-child{border-left:0}
.jes .stage .gr{font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--brand);background:var(--brand-soft);align-self:flex-start;padding:3px 10px;border-radius:4px}
.jes .stage h3{font-size:1.25rem}
.jes .stage p{color:var(--muted);font-size:.95rem}
@media (max-width:900px){.jes .stages{grid-template-columns:repeat(2,1fr)}
.jes .stage:nth-child(odd){border-left:0}
.jes .stage:nth-child(n+3){border-top:1px solid var(--line)}}
@media (max-width:560px){.jes .stages{grid-template-columns:1fr}
.jes .stage{border-left:0;border-top:1px solid var(--line)}
.jes .stage:first-child{border-top:0}}
.jes .fac{background:var(--card);border-radius:12px;overflow:hidden;border:1px solid var(--line);display:flex;flex-direction:column;position:relative}
.jes .fac .ph{aspect-ratio:16/10}
.jes .fac .fb{padding:18px 20px 22px;display:flex;flex-direction:column;gap:6px}
.jes .fac h3{font-size:1.15rem}
.jes .fac p{color:var(--muted);font-size:.93rem}
.jes .news-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:28px;align-items:start}
@media (max-width:900px){.jes .news-grid{grid-template-columns:1fr}}
.jes .news-list{display:flex;flex-direction:column;gap:18px}
.jes .news{display:grid;grid-template-columns:180px 1fr;gap:18px;background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;position:relative}
.jes .news.noimg{grid-template-columns:1fr}
.jes .news .ph{aspect-ratio:auto;height:100%;min-height:140px}
.jes .news .nb{padding:18px 20px 18px 0;display:flex;flex-direction:column;gap:6px;min-width:0}
.jes .news.noimg .nb{padding-left:20px}
.jes .date{font-size:.78rem;font-weight:700;letter-spacing:.06em;color:var(--brand);text-transform:uppercase;font-variant-numeric:tabular-nums}
.jes .news h3{font-size:1.15rem}
.jes .news p{color:var(--muted);font-size:.93rem}
@media (max-width:560px){.jes .news{grid-template-columns:1fr}
.jes .news .ph{height:auto;aspect-ratio:16/9}
.jes .news .nb{padding:0 18px 18px}}
.jes .board{background:var(--brand);color:#fff;border-radius:14px;padding:24px;position:relative}
.jes .board h3{font-size:1.35rem;margin-bottom:6px;display:flex;align-items:center;gap:10px}
.jes .board ul{list-style:none;margin:0;padding:0}
.jes .board li{padding:14px 0;border-top:1px solid rgba(255,255,255,.15);display:flex;flex-direction:column;gap:3px;position:relative}
.jes .board li:first-child{border-top:0}
.jes .board .date{color:var(--accent)}
.jes .board .ct{font-weight:600}
.jes .board .cx{font-size:.88rem;color:#cfe0d5}
.jes .gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-flow:dense;gap:12px}
@media (max-width:900px){.jes .gallery{grid-template-columns:repeat(3,1fr)}}
@media (max-width:600px){.jes .gallery{grid-template-columns:repeat(2,1fr)}}
.jes .g-item{position:relative;border-radius:10px;overflow:hidden;background:var(--card)}
.jes .g-item .ph{aspect-ratio:1}
.jes .g-item figcaption{position:absolute;left:0;right:0;bottom:0;padding:24px 10px 8px;font-size:.82rem;font-weight:600;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.65))}
.jes .g-item:nth-child(5n+1){grid-column:span 2;grid-row:span 2}
@media (max-width:600px){.jes .g-item:nth-child(5n+1){grid-column:span 2;grid-row:auto}
.jes .g-item:nth-child(5n+1) .ph{aspect-ratio:16/10}}
.jes .contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
@media (max-width:820px){.jes .contact-grid{grid-template-columns:1fr}}
.jes .cbox{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:26px;display:flex;flex-direction:column;gap:18px}
.jes .crow{display:grid;grid-template-columns:40px 1fr;gap:12px;align-items:start}
.jes .crow .ic{width:40px;height:40px;border-radius:50%;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center}
.jes .crow .k{font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);display:block}
.jes .crow .v{font-weight:600;display:block;word-break:break-word}
.jes .copy{background:none;border:1px solid var(--line);border-radius:5px;font:inherit;font-size:.72rem;padding:1px 8px;margin-left:6px;cursor:pointer;color:var(--muted);vertical-align:middle}
.jes .mapcard{background:var(--brand);color:#fff;border-radius:14px;padding:28px;display:flex;flex-direction:column;gap:14px;justify-content:space-between;position:relative;overflow:hidden;min-height:260px}
.jes .mapcard::before{content:"";position:absolute;inset:0;opacity:.18;background:
  linear-gradient(90deg,rgba(255,255,255,.25) 1px,transparent 1px) 0 0/36px 36px,
  linear-gradient(rgba(255,255,255,.25) 1px,transparent 1px) 0 0/36px 36px}
.jes .mapcard>*{position:relative}
.jes .mapcard h3{font-size:1.5rem}
.jes .mapcard p{color:#d5e6da}
.jes footer.site{background:var(--brand-ink);color:#cfe0d5;font-size:.93rem;border-top:4px solid var(--accent)}
.jes footer.site a{color:inherit}
.jes .f-brand{position:relative;overflow:hidden;text-align:center;border-bottom:1px solid rgba(255,255,255,.1)}
.jes .f-brand::before{content:"";position:absolute;inset:0;opacity:.07;background-image:radial-gradient(circle at 1px 1px,#fff 1.2px,transparent 0);background-size:22px 22px}
.jes .f-brand .wrap{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding-block:44px 34px}
.jes .f-logo{text-decoration:none}
.jes .f-logo .crest{width:96px;height:96px;box-shadow:0 0 0 6px rgba(255,255,255,.08),0 0 0 7px rgba(224,165,38,.5)}
.jes .f-name{font-family:var(--display);font-size:clamp(1.5rem,3.2vw,2.1rem);color:#fff;margin-top:12px;line-height:1.15}
.jes .f-tag{color:var(--accent);letter-spacing:.14em;font-size:.78rem;text-transform:uppercase;font-weight:700}
.jes .social{display:flex;gap:10px;margin-top:14px;justify-content:center;flex-wrap:wrap}
.jes .social a{width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.25);display:grid;place-items:center;transition:background .2s,color .2s}
.jes .social a:hover{background:var(--accent);color:#1d1a10;border-color:var(--accent)}
.jes .f-cols{display:grid;grid-template-columns:1.35fr 1fr 1fr 1.35fr;gap:clamp(24px,3vw,40px);padding-block:46px}
.jes .f-cols>div{min-width:0}
.jes .f-cols h4{font-family:var(--display);font-weight:400;font-size:1.18rem;color:#fff;margin:0 0 16px;padding-bottom:10px;position:relative}
.jes .f-cols h4::after{content:"";position:absolute;left:0;bottom:0;width:36px;height:3px;border-radius:2px;background:var(--accent)}
.jes .f-about p{margin-bottom:12px}
.jes .f-aff{font-size:.84rem;color:#a9c2b2}
.jes .f-about .btn{margin-top:6px;padding:10px 20px;font-size:.9rem}
.jes .f-links{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.jes .f-links a{text-decoration:none;display:inline-flex;gap:8px;align-items:baseline;transition:color .15s,transform .15s}
.jes .f-links a::before{content:"›";color:var(--accent);font-weight:700}
.jes .f-links a:hover{color:#fff;transform:translateX(3px)}
.jes .f-cl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.jes .f-cl li{display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:start;word-break:break-word}
.jes .f-cl svg{color:var(--accent);margin-top:3px}
.jes .f-dir{color:var(--accent)!important;font-weight:700;text-decoration:none;display:inline-flex;gap:6px;align-items:center;margin-top:16px}
.jes .f-bottom{background:rgba(0,0,0,.25);font-size:.84rem;color:#a9c2b2}
.jes .f-bottom .wrap{display:flex;justify-content:space-between;align-items:center;gap:10px 20px;flex-wrap:wrap;padding-block:16px}
.jes .f-credit{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.jes .f-credit a{color:var(--accent)!important;text-decoration:none;font-weight:600}
@media (max-width:980px){.jes .f-cols{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.jes .f-cols{grid-template-columns:1fr}
.jes .f-bottom .wrap{flex-direction:column;align-items:flex-start}}
.jes .modal{position:fixed;inset:0;background:rgba(10,20,14,.55);display:grid;place-items:center;z-index:60;padding:16px}
.jes .modal-card{background:var(--card);border-radius:16px;max-width:460px;width:100%;overflow:hidden;position:relative;max-height:90vh;overflow-y:auto}
.jes .modal-card .ph{aspect-ratio:16/9}
.jes .modal-card .mb{padding:24px;display:flex;flex-direction:column;gap:10px}
.jes .modal-card h3{font-size:1.5rem;color:var(--brand)}
.jes .modal-card p{color:var(--muted)}
.jes .x{position:absolute;top:10px;right:10px;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.92);cursor:pointer;font-size:1.3rem;line-height:1;z-index:3;color:var(--ink)}
.jes .field-note{font-size:.75rem;color:var(--muted);font-weight:600}
.jes .drow{display:grid;grid-template-columns:40px 1fr auto;gap:14px;align-items:center;padding:16px 20px;border-top:1px solid var(--line);position:relative}
.jes .drow:first-child{border-top:0}
.jes .drow>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.jes .drow .ct{font-weight:600}
.jes .dic{width:40px;height:40px;border-radius:8px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center}
.jes .dlb{padding:8px 16px;font-size:.88rem}
.jes .dl{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:.88rem;color:var(--brand);text-decoration:none;margin-top:4px;align-self:flex-start}
.jes .dl-light{color:var(--accent)}
@media (max-width:560px){.jes .drow{grid-template-columns:40px 1fr}
.jes .drow>.dlb,.jes .drow>.field-note{grid-column:2}}
.jes .crumbs a,.jes .copyright a{color:var(--accent)}
.jes [hidden]{display:none!important}
.jes .drow.has-file{cursor:pointer;transition:background .15s}
.jes .drow.has-file:hover{background:var(--brand-soft)}
.jes .doc-title{text-decoration:none;color:var(--ink)}
.jes .doc-title:hover{color:var(--brand);text-decoration:underline}
.jes .docmodal{align-items:stretch;padding:clamp(0px,2vw,24px)}
.jes .doc-card{background:var(--card);border-radius:14px;width:min(1000px,100%);margin:0 auto;display:flex;flex-direction:column;overflow:hidden;max-height:100%;height:calc(100vh - 48px)}
.jes .doc-head{display:flex;align-items:center;gap:12px;padding:10px 12px 10px 18px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.jes .doc-ttl{font-weight:700;color:var(--brand);display:flex;gap:8px;align-items:center;flex:1;min-width:0}
.jes .doc-acts{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.jes .doc-acts .x{position:static;background:var(--brand-soft)}
.jes .doc-body{flex:1;overflow:auto;background:#e9ece7;padding:16px;display:flex;flex-direction:column;align-items:center;gap:14px}
.jes .pdf-page{background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.15);max-width:100%;height:auto}
.jes .doc-img{max-width:100%;height:auto;box-shadow:0 2px 10px rgba(0,0,0,.15)}
.jes .doc-frame{width:100%;flex:1;min-height:70vh;border:0;background:#fff}
.jes .doc-msg{margin:auto;color:var(--muted);text-align:center;max-width:40ch;padding:40px 16px}
@media (max-width:600px){.jes .doc-card{height:100vh;border-radius:0}
.jes .docmodal{padding:0}
.jes .doc-body{padding:8px}}
.jes footer.site .btn-accent{color:#1d1a10}
.jes .feat,.jes .fac,.jes .news,.jes .leader,.jes .stage,.jes .person,.jes .step,.jes .drow,.jes .crow2,.jes .cbox,.jes .mapcard,.jes .qa,.jes .faq details{transition:transform .28s cubic-bezier(.2,.7,.2,1),box-shadow .28s ease,border-color .28s ease,background-color .28s ease}
.jes .feat:hover,.jes .fac:hover,.jes .news:hover,.jes .person:hover,.jes .leader:hover,.jes .step:hover,.jes .cbox:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(20,60,35,.14);border-color:color-mix(in oklab,var(--accent) 55%,var(--line))}
.jes .stage:hover{background:var(--brand-soft)}
.jes .stage:hover .gr{background:var(--brand);color:#fff}
.jes .stage .gr{transition:background .25s,color .25s}
.jes .feat .ic,.jes .crow .ic,.jes .dic{transition:background .3s,color .3s,transform .4s cubic-bezier(.2,.7,.2,1)}
.jes .feat:hover .ic,.jes .crow:hover .ic,.jes .drow:hover .dic{background:var(--brand);color:var(--accent);transform:rotate(-8deg) scale(1.1)}
.jes .ph>img{transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.jes .fac:hover .ph>img,.jes .news:hover .ph>img,.jes .g-item:hover .ph>img,.jes .person:hover .ph>img,.jes .leader:hover .ph>img,.jes .about-grid .ph:hover>img,.jes .hero-media .ph:hover>img{transform:scale(1.08)}
.jes .g-item{transition:transform .3s,box-shadow .3s}
.jes .g-item:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,0,0,.18)}
.jes .g-item::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 40%,color-mix(in oklab,var(--brand) 70%,transparent));opacity:0;transition:opacity .35s;pointer-events:none;z-index:1}
.jes .g-item:hover::after{opacity:1}
.jes .g-item figcaption{z-index:2;transition:transform .35s}
.jes .g-item:hover figcaption{transform:translateY(-4px)}
.jes .btn{position:relative;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,filter .22s}
.jes .btn::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-20deg);transition:left .6s ease;pointer-events:none}
.jes .btn:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(0,0,0,.18)}
.jes .btn:hover::after{left:130%}
.jes .btn:active{transform:translateY(0)}
.jes .side .top{position:relative}
.jes .side a.top::after{content:"";position:absolute;left:12px;right:12px;bottom:4px;height:2px;border-radius:2px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.jes .side a.top:hover::after{transform:scaleX(1)}
.jes .sub a{transition:background .2s,color .2s,padding-left .2s}
.jes .sub a:hover{padding-left:24px}
.jes .morelink svg,.jes .f-dir svg{transition:transform .25s}
.jes .morelink:hover svg{transform:translateX(5px)}
.jes .brand-c .crest,.jes .f-logo .crest{transition:transform .5s cubic-bezier(.2,.7,.2,1),width .2s,height .2s}
.jes .brand-c:hover .crest,.jes .f-logo:hover .crest{transform:rotate(-8deg) scale(1.04)}
.jes .chips li{transition:background .25s,transform .25s}
.jes .chips li:hover{background:rgba(255,255,255,.2);transform:translateY(-2px)}
.jes .stat .n{transition:transform .3s,color .3s}
.jes .stat:hover .n{transform:scale(1.08);color:#fff}
.jes .board li{transition:padding-left .25s}
.jes .board li:hover{padding-left:6px}
.jes .crow2:hover,.jes .drow:hover{background:color-mix(in oklab,var(--brand-soft) 70%,white)}
.jes .ticks li{transition:transform .2s}
.jes .ticks li:hover{transform:translateX(4px)}
.jes .t tbody tr{transition:background .2s}
.jes .t tbody tr:hover td{background:var(--accent-soft)}
.jes .faq details:hover{border-color:var(--accent)}
html.jes-cursor,html.jes-cursor *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M4 3l17 9.5-7.2 1.9 4.4 8.3-3.3 1.7-4.3-8.4L5 21z' fill='%2314532d' stroke='%23e0a526' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") 4 3,auto}
html.jes-cursor a,html.jes-cursor button,html.jes-cursor [data-act],html.jes-cursor summary,html.jes-cursor label,html.jes-cursor select,html.jes-cursor .drow.has-file,html.jes-cursor .dd>.top,html.jes-cursor .menu-btn,html.jes-cursor .elementor-tab-title,html.jes-cursor .elementor-toggle-title{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='9' fill='%23e0a526' stroke='%2314532d' stroke-width='2.5'/%3E%3Ccircle cx='16' cy='16' r='2.6' fill='%2314532d'/%3E%3C/svg%3E") 16 16,pointer}
html.jes-cursor input,html.jes-cursor textarea,html.jes-cursor [contenteditable],html.jes-cursor [contenteditable] *{cursor:text}
.jes-ring{position:fixed;left:0;top:0;width:38px;height:38px;margin:-19px 0 0 -19px;border:2px solid var(--accent,#e0a526);border-radius:50%;pointer-events:none;z-index:2147483646;opacity:0;transition:width .25s,height .25s,margin .25s,background-color .25s,border-color .25s,opacity .3s;will-change:transform}
.jes-ring.on{opacity:.85}
.jes-ring.hot{width:58px;height:58px;margin:-29px 0 0 -29px;background:color-mix(in oklab,var(--accent,#e0a526) 18%,transparent);border-color:var(--brand,#14532d)}
.jes-ring.down{width:28px;height:28px;margin:-14px 0 0 -14px}
@media (prefers-reduced-motion:reduce){.jes *,.jes-ring{animation:none!important;transition:none!important}}

/* ---------- kit additions ---------- */
.jes [hidden]{display:none!important}
.jes .ph-none{display:grid;place-items:center;background:var(--brand-soft);color:color-mix(in oklab,var(--brand) 55%,white);font-size:.8rem;font-weight:600;width:100%;height:100%;min-height:120px}
.jes .ph{background:var(--brand-soft)}
.jes .ph>img{width:100%;height:100%;object-fit:cover}
.jes .elementor-icon,.jes i,.jes svg.e-font-icon-svg{font-size:inherit}
.jes .feat .ic i,.jes .feat .ic svg{font-size:22px;width:22px;height:22px;fill:currentColor}
/* header wrapper added by the plugin so the menu bar can stay at the top while scrolling */
.jes-header-slot{position:relative;z-index:999}
.jes-header-slot .elementor-section,.jes-footer-slot .elementor-section{margin:0}
.jes header.site.is-fixed{position:fixed;left:0;right:0;top:0;animation:jesDrop .35s ease}
body.admin-bar .jes header.site.is-fixed{top:32px}
@media (max-width:782px){body.admin-bar .jes header.site.is-fixed{top:46px}}
@keyframes jesDrop{from{transform:translateY(-100%)}to{transform:none}}
.jes header.site{position:relative;top:auto}
.jes .side .dd{position:relative}
/* section title */
.jes-title .s-head{margin-bottom:0}
.jes-title.light .s-head h2,.jes-title.light .s-head h1,.jes-title.light .s-head h3{color:#fff}
.jes-title.light .s-head p{color:#dbe9df}
.jes .eyebrow{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
/* grids */
.jes .grid3.cols-2{grid-template-columns:repeat(2,1fr)}
.jes .grid3.cols-4{grid-template-columns:repeat(4,1fr)}
@media (max-width:900px){.jes .grid3.cols-4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.jes .grid3.cols-2,.jes .grid3.cols-4{grid-template-columns:1fr}}
.jes .stage-grid{display:grid;grid-template-columns:repeat(var(--cols,4),1fr);border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--card)}
.jes .stage-grid .stage{border-left:1px solid var(--line)}
.jes .stage-grid .stage:first-child{border-left:0}
@media (max-width:900px){.jes .stage-grid{grid-template-columns:repeat(2,1fr)}.jes .stage-grid .stage:nth-child(odd){border-left:0}.jes .stage-grid .stage:nth-child(n+3){border-top:1px solid var(--line)}}
@media (max-width:560px){.jes .stage-grid{grid-template-columns:1fr}.jes .stage-grid .stage{border-left:0;border-top:1px solid var(--line)}.jes .stage-grid .stage:first-child{border-top:0}}
.jes .card-link{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--brand);text-decoration:none;margin-top:6px;font-size:.92rem}
.jes .card-link:hover{gap:10px}
/* stats */
.jes-stats .stats{background:transparent}
.jes-stats .stats .row{padding-block:0}
/* hero inside elementor */
.jes-hero .hero{margin:0}
/* news */
.jes .news-empty{padding:18px;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}
.jes .news h3 a{text-decoration:none}
.jes .news h3 a:hover{color:var(--brand)}
/* banner */
.jes-banner .phero .wrap{padding-block:52px 46px}
.jes-banner .phero.has-img{background-size:cover;background-position:center}
.jes-banner .phero.has-img::before{opacity:1;background:linear-gradient(100deg,color-mix(in oklab,var(--brand) 92%,transparent) 30%,color-mix(in oklab,var(--brand) 55%,transparent));mask-image:none}
/* elementor native widgets used on kit pages */
.jes-site .elementor-widget-text-editor{color:var(--muted);font-size:1.03rem;line-height:1.7}
.jes-site .elementor-widget-text-editor p{margin:0 0 1em}
.jes-site .elementor-widget-text-editor p:last-child{margin-bottom:0}
.jes-site .elementor-widget-image img{border-radius:14px;transition:transform .6s cubic-bezier(.2,.7,.2,1),box-shadow .4s}
.jes-site .elementor-widget-image:hover img{transform:scale(1.02);box-shadow:0 18px 40px rgba(20,60,35,.16)}
.jes-site .elementor-widget-icon-list .elementor-icon-list-item{transition:transform .2s}
.jes-site .elementor-widget-icon-list .elementor-icon-list-item:hover{transform:translateX(4px)}
.jes-site .elementor-toggle .elementor-tab-title{background:var(--card);border:1px solid var(--line)!important;border-radius:10px;padding:16px 20px!important;font-weight:700;transition:border-color .2s}
.jes-site .elementor-toggle .elementor-tab-title:hover{border-color:var(--accent)!important}
.jes-site .elementor-toggle .elementor-toggle-item{margin-bottom:10px}
.jes-site .elementor-toggle .elementor-tab-content{border:0!important;padding:12px 20px 4px!important;color:var(--muted)}
.jes-site .elementor-button{transition:transform .22s,box-shadow .22s}
.jes-site .elementor-button:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(0,0,0,.18)}
/* single news / circular pages */
.jes-single{padding-block:48px 72px}
.jes-single .wrap{max-width:860px}
.jes-single .entry{font-size:1.05rem;line-height:1.75;color:var(--ink)}
.jes-single .entry p{margin:0 0 1.1em}
.jes-single .entry img{border-radius:12px;height:auto}
.jes-single .feat-img{border-radius:14px;overflow:hidden;margin-bottom:28px}
.jes-single .back{display:inline-flex;gap:6px;margin-top:28px;font-weight:700;color:var(--brand);text-decoration:none}
/* document viewer and popup live in a portal */
.jes-portal .modal{z-index:100000}
.jes .doc-acts .ebtn,.jes .doc-acts .jbtn{font:600 .78rem/1 var(--body);border-radius:6px;border:1px solid var(--line);background:#fff;color:#16211b;padding:7px 10px;cursor:pointer;display:inline-flex;gap:4px;align-items:center;text-decoration:none}
.jes .doc-acts .jbtn:hover{border-color:var(--accent)}
.jes .x{position:absolute;top:10px;right:10px;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.92);cursor:pointer;font-size:1.3rem;line-height:1;z-index:3;color:var(--ink)}
.jes .field-note{font-size:.78rem;color:var(--muted);font-weight:600}
.jes .gallery.flat .g-item:nth-child(5n+1){grid-column:auto;grid-row:auto}
.jes .gallery.flat .g-item:nth-child(5n+1) .ph{aspect-ratio:1}
.jes .adm-pill{flex:none}
.jes header.site .wrap.hdr,.jes .mnav .wrap{max-width:1340px}
@media (max-width:1380px){.jes .side .top{padding-inline:7px;font-size:.85rem}.jes .adm-pill{padding:8px 14px;font-size:.82rem;margin-left:4px}.jes .hdr{gap:10px}.jes .brand-c{max-width:230px}.jes .brand-tag{white-space:nowrap;font-size:.68rem}}
/* tablets and small laptops get the menu button, like phones */
@media (max-width:1220px){.jes .hdr{grid-template-columns:1fr auto;padding-block:8px}.jes .side{display:none}.jes .menu-btn{display:grid}.jes .brand-c{flex-direction:row;text-align:left;max-width:none;gap:12px}.jes .brand-c .crest{width:52px;height:52px;box-shadow:none}
.jes .mnav.open{display:block;position:absolute;top:100%;left:0;right:0;background:var(--brand);max-height:calc(100vh - 80px);overflow-y:auto;box-shadow:0 14px 28px rgba(0,0,0,.2)}
.jes .navrow{display:flex;flex-direction:column;padding-block:8px}
.jes .mnav .top{color:#fff;padding:11px 4px;font:600 .95rem var(--body);text-decoration:none;display:block;background:none;border:0;text-align:left}
.jes .mnav .dd>.top{pointer-events:none;color:var(--accent);font-size:.76rem;letter-spacing:.12em;text-transform:uppercase;padding-bottom:4px}
.jes .mnav .caret{display:none}
.jes .mnav .sub{display:block;position:static;box-shadow:none;background:transparent;border:0;padding:0 0 8px 10px;min-width:0}
.jes .mnav .sub a{color:#e3eee6;padding:8px}}
