/*
Theme Name: JJWA
Theme URI: https://jjwa.local/
Author: JJWA
Description: A restrained Bengali-first theme for Jawshan Jamal Welfare Association.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: jjwa
License: GNU General Public License v2 or later
*/
@font-face{font-family:Ador;src:url('assets/bengali-regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Ador;src:url('assets/bengali-bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
:root{--navy:#0b3566;--ink:#182f42;--muted:#5b6d77;--paper:#faf9f6;--line:#dce2df;--sage:#e9eee7;--green:#42654c;--sand:#ede7da;--white:#fff;--font:Ador,'Nirmala UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:18px;line-height:1.65}body.admin-bar .site-header{top:32px}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none;text-underline-offset:5px}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #c38c36;outline-offset:5px}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-weight:700;line-height:1.28}p{color:var(--muted)}.container{width:min(1280px,calc(100% - 96px));margin-inline:auto}.section{padding:96px 0}.eyebrow{font-size:15px;color:var(--green);letter-spacing:.025em;margin-bottom:19px;font-weight:700}h2{font-size:44px;letter-spacing:-.015em}.text-link{font-weight:700;display:inline-flex;align-items:center;gap:20px;color:var(--navy);border-bottom:1px solid var(--navy);padding-bottom:3px;font-size:17px}.text-link span{font-family:Arial,sans-serif}.button{display:inline-flex;align-items:center;justify-content:center;gap:30px;padding:15px 25px;background:var(--navy);color:#fff;border:1px solid var(--navy);border-radius:3px;font-size:17px;font-weight:700;line-height:1.5;transition:background .2s,transform .2s}.button:hover{background:#174b80;transform:translateY(-2px)}.button span{font-family:Arial,sans-serif;font-size:21px}.button-small{font-size:15px;padding:11px 18px;gap:15px}.button-light{background:var(--paper);border-color:var(--paper);color:var(--navy)}.button-light:hover{background:var(--sand)}.button-row{display:flex;align-items:center;gap:30px;flex-wrap:wrap}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;z-index:99999;top:10px;left:10px;background:white;padding:15px;color:var(--navy)}
.site-header{height:100px;border-bottom:1px solid var(--line);background:rgba(250,249,246,.98);position:sticky;top:0;z-index:50}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:14px;flex-shrink:0;color:var(--navy)}.brand img{width:68px;height:44px;object-fit:contain;padding-right:12px;border-right:1px solid #bac6cf}.brand>span{font-size:20px;font-weight:700;line-height:1.2}.brand strong{display:block;font-size:16px;margin-top:3px}.brand small{display:block;font-family:Arial,sans-serif;font-size:7px;letter-spacing:1px;margin-top:7px}.primary-nav{display:flex;align-items:center;gap:24px;font-size:15px}.primary-nav>a:not(.button):hover,.primary-nav a[aria-current=page]{color:var(--green);text-decoration:underline}.primary-nav ul{list-style:none;display:flex;gap:22px;margin:0;padding:0}.menu-toggle{display:none;border:1px solid var(--line);background:transparent;color:var(--navy);padding:6px 12px;border-radius:3px}
.hero{padding:65px 0 70px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.hero-content{padding:18px 0}.hero .eyebrow{display:flex;align-items:center;gap:10px}.dot{display:inline-block;width:7px;height:7px;background:var(--green);border-radius:50%;flex-shrink:0}.hero h1{font-size:clamp(52px,4.9vw,74px);line-height:1.2;color:var(--navy);letter-spacing:-.025em}.hero-copy{font-size:20px;max-width:510px;margin:28px 0 32px;line-height:1.85}.hero-note{margin-top:42px;display:flex;align-items:center;gap:17px;font-size:14px;color:var(--muted);line-height:1.5}.hero-note strong{font-weight:400;color:var(--ink)}.note-line{height:36px;width:2px;background:#a5b7a6}.hero-visual{position:relative;margin:0;padding-bottom:37px}.hero-photo{width:100%;height:535px;object-fit:cover;object-position:50% 50%;border-radius:170px 6px 6px 6px}.hero-visual:before{content:'';position:absolute;z-index:-1;inset:20px -24px 57px 24px;border:1px solid #becdbf;border-radius:170px 6px 6px 6px}.hero-visual figcaption{position:absolute;bottom:14px;left:-30px;background:#fff;box-shadow:0 8px 38px #183b4c0b;padding:19px 26px;display:flex;align-items:center;gap:15px;font-size:18px;color:var(--navy);border-left:3px solid #6b886d}.caption-icon{font-family:Georgia,serif;font-size:46px;line-height:1;color:#6b886d}.hero-visual figcaption small{display:block;font-size:13px;color:var(--muted);margin-top:2px}.photo-credit{display:block;font-size:11px;color:var(--muted);padding-top:10px}.hero-visual>.photo-credit{text-align:right;padding-top:13px}.pillars{border-block:1px solid var(--line);background:#f1f3ed}.pillar-grid{display:grid;grid-template-columns:repeat(3,1fr);padding-block:33px}.pillar-grid>div{position:relative;padding-left:56px;padding-right:24px}.pillar-grid>div+div{border-left:1px solid #cfd8cd;padding-left:85px}.pillar-num{position:absolute;left:0;top:3px;color:#65806a;font-size:17px}.pillar-grid>div+div .pillar-num{left:30px}.pillar-grid h2{font-size:23px;letter-spacing:0}.pillar-grid p{font-size:16px;margin-top:6px}.section-heading{display:flex;justify-content:space-between;gap:45px;align-items:flex-end;margin-bottom:38px}.section-heading>div:last-child>p{margin-bottom:16px}.section-heading p:not(.eyebrow){font-size:17px;max-width:465px}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.service-card{background:#fff;border:1px solid var(--line);border-radius:4px;overflow:hidden}.service-image{display:block;overflow:hidden;background:var(--sage);aspect-ratio:1.5}.service-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.service-card:hover .service-image img{transform:scale(1.04)}.service-body{padding:23px 22px 26px;display:flex;flex-direction:column;align-items:flex-start}.service-card h3{font-size:23px;margin-bottom:12px}.service-card p{font-size:16px;line-height:1.7;margin-bottom:22px}.service-card .text-link{font-size:15px;margin-top:auto;border:0;gap:28px}.service-body{height:calc(100% - 0px)}.service-card{display:flex;flex-direction:column}.service-image{flex-shrink:0}.about-section{background:var(--sage)}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:110px;align-items:center}.about-photo{position:relative;padding-right:30px;padding-bottom:20px}.about-photo>img{height:470px;width:100%;object-fit:cover;border-radius:4px;filter:saturate(.8)}.about-photo .photo-credit{font-size:11px}.established{position:absolute;right:-5px;bottom:48px;background:var(--paper);padding:22px 32px;border:1px solid var(--line)}.established strong{display:block;font-size:39px;color:var(--navy);line-height:1.25}.established span{font-size:14px}.about-copy>p:not(.eyebrow){font-size:19px;margin-top:24px}.values-list{list-style:none;padding:0;margin:25px 0 30px}.values-list li{padding:9px 0;border-bottom:1px solid #ced7cc;font-size:17px}.values-list li:before{content:'↗';margin-right:14px;color:var(--green);font-family:Arial,sans-serif}.participation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.participation{border-top:1px solid #9baa9b;padding:22px 0 10px}.participation .eyebrow{display:flex;justify-content:space-between}.participation h3{font-size:26px;margin-bottom:13px}.participation p{font-size:17px;max-width:330px}.participation:hover h3{text-decoration:underline}.participation:hover .eyebrow{color:var(--navy)}.closing-cta{background:var(--navy);padding:52px 60px;display:flex;justify-content:space-between;align-items:center;gap:35px;color:#fff;border-radius:5px;margin:0 0 85px}.closing-cta .eyebrow{color:#c1d4bc}.closing-cta h2{font-size:42px}.news-section{padding-top:0}.notice-row{display:grid;grid-template-columns:180px 1fr 30px;align-items:center;gap:30px;border-top:1px solid var(--line);padding:28px 0}.notice-row:last-child{border-bottom:1px solid var(--line)}.notice-row time{font-size:15px;color:var(--muted)}.notice-row h2,.notice-row h3{font-size:24px}.notice-row>span{font-family:Arial,sans-serif;font-size:26px}.notice-row:hover h2,.notice-row:hover h3{text-decoration:underline}
.site-footer{border-top:1px solid var(--line);padding:65px 0 0}.footer-top{display:grid;grid-template-columns:1.5fr .8fr 1fr;gap:70px;padding-bottom:50px}.footer-top h2{font-size:32px;margin-bottom:17px;color:var(--navy)}.footer-top h3{font-size:19px;margin:6px 0 22px}.footer-top a{display:block;width:fit-content;font-size:16px;margin-top:10px}.footer-top a:hover{text-decoration:underline}.footer-top p{font-size:16px}.footer-top>div:last-child p{max-width:290px}.footer-top .eyebrow{font-size:13px;margin-bottom:13px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:23px 0 26px;font-size:13px;color:var(--muted)}.footer-bottom a:hover{text-decoration:underline}
.page-hero{padding:62px 0;background:var(--sage);border-bottom:1px solid var(--line)}.page-hero h1{font-size:56px;line-height:1.22;color:var(--navy);max-width:1000px}.page-hero p:not(.eyebrow){margin-top:22px;max-width:680px;font-size:19px}.page-section{min-height:400px}.prose{max-width:820px;margin-inline:auto;font-size:20px;line-height:1.9}.prose p{margin:0 0 24px}.prose h2{font-size:32px;margin:38px 0 20px}.prose h2:first-child{margin-top:0}.prose h3{font-size:26px;margin:30px 0 15px}.prose ul{padding-left:25px;color:var(--muted)}.prose li{margin-bottom:12px}.prose a:not(.button){color:var(--navy);text-decoration:underline}.article-image{width:100%;max-height:460px;object-fit:cover;border-radius:4px;margin-bottom:40px}.prose .wp-block-image{margin:35px 0}.prose .wp-block-image img{border-radius:4px}.prose .wp-block-image figcaption{font-size:13px;color:var(--muted)}.service-contact{padding:30px;background:var(--sage);margin-top:40px;border-radius:4px}.service-contact h2{margin-top:0}.service-contact .button{margin-top:10px}.intro-prose{max-width:100%;margin-bottom:40px}.intro-prose p{max-width:770px}.member-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-bottom:65px}.member-card{padding:28px;border:1px solid var(--line);background:#fff;border-radius:4px}.member-card h2{font-size:23px;margin:22px 0 7px}.member-card p{font-size:16px}.member-monogram{width:62px;height:62px;border-radius:50%;background:var(--sage);color:var(--navy);display:grid;place-items:center;font-size:29px}.member-card img{width:100%;aspect-ratio:1;object-fit:cover}.gallery-intro{max-width:750px;margin-bottom:35px}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.gallery-open{display:block;position:relative;overflow:hidden;background:var(--sage);aspect-ratio:1.3;border-radius:4px}.gallery-open img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.gallery-open:hover img{transform:scale(1.04)}.gallery-open>span:not(.screen-reader-text){position:absolute;right:14px;bottom:14px;border-radius:50%;background:#fff;width:36px;height:36px;text-align:center;font-size:23px;font-family:Arial,sans-serif}.gallery-grid figcaption{padding:14px 0;font-size:20px}.lightbox{max-width:95vw;width:1000px;border:0;border-radius:6px;padding:25px;background:var(--paper);color:var(--ink)}.lightbox::backdrop{background:#081e2edb}.lightbox>img{max-height:76vh;width:100%;object-fit:contain}.lightbox>p{text-align:center;padding-top:16px}.lightbox-close{position:absolute;right:8px;top:8px;background:#fff;border:1px solid var(--line);border-radius:50%;width:42px;height:42px;font:28px Arial}.empty-state{border:1px solid var(--line);padding:50px;background:#fff;max-width:830px}.empty-state>span{color:var(--green);font-size:32px}.empty-state h2{font-size:32px;margin:15px 0}.empty-state p{margin-bottom:22px}.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:100px}.contact-grid>div>h2{font-size:38px}.contact-detail{border-bottom:1px solid var(--line);padding:23px 0}.contact-detail h3{font-size:19px;margin-bottom:6px}.contact-detail p,.contact-detail a{font-size:18px}.contact-detail a:hover{text-decoration:underline}.contact-hint{font-size:16px;margin-top:22px}.contact-panel{background:white;border:1px solid var(--line);padding:38px;border-radius:4px}.contact-panel h2{font-size:29px;margin-bottom:24px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}label{display:block;font-size:16px;margin-bottom:20px;color:var(--ink)}input:not([type=checkbox],[type=hidden]),textarea{display:block;background:var(--paper);border:1px solid #c8d1cb;border-radius:3px;width:100%;padding:11px 13px;color:var(--ink);margin-top:7px;font-size:17px}textarea{resize:vertical;min-height:150px}.consent{display:flex;gap:12px;align-items:flex-start;font-size:14px}.consent input{margin-top:6px;width:17px;height:17px;flex-shrink:0;accent-color:var(--navy)}.consent a{text-decoration:underline}.form-note{font-size:13px;margin-top:15px}.honey{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.form-status{padding:16px 18px;border-left:3px solid;margin-bottom:25px;font-size:17px}.form-status.success{background:#e9f3e6;border-color:#42654c}.form-status.error{background:#fff1e8;border-color:#a24722}.support-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:start}.support-aside{background:var(--sage);padding:35px;border:1px solid var(--line);border-radius:4px}.support-aside h2{font-size:30px;margin-bottom:20px}.support-aside p{font-size:18px}.support-grid .prose{max-width:100%}.pagination{margin-top:30px}.nav-links{display:flex;gap:15px}.page-numbers{padding:8px 16px;border:1px solid var(--line)}
@media(min-width:1600px){.hero{padding-block:85px}.hero-photo{height:580px}}
@media(max-width:1180px){.container{width:calc(100% - 64px)}.primary-nav{gap:16px;font-size:14px}.brand>span{font-size:18px}.brand strong{font-size:14px}.brand img{width:60px}.hero-grid{gap:38px}.hero h1{font-size:61px}.hero-photo{height:505px}.service-grid{gap:16px}.service-body{padding:20px 17px}.service-card h3{font-size:21px}.about-grid{gap:65px}.contact-grid{gap:55px}.section{padding:75px 0}}
@media(max-width:1050px){.primary-nav{gap:14px;font-size:14px}.brand small{font-size:6px;letter-spacing:.6px}.primary-nav .button-small{padding:9px 13px;font-size:14px}.brand img{width:51px;padding-right:9px}.brand{gap:9px}.brand>span{font-size:16px}.brand strong{font-size:13px}.service-grid{grid-template-columns:repeat(2,1fr);gap:24px}.service-card h3{font-size:25px}.service-image{aspect-ratio:1.65}.hero h1{font-size:55px}.hero-copy{font-size:19px}.hero-visual figcaption{left:-15px;padding:16px 20px}.hero-photo{height:490px}.member-grid{grid-template-columns:repeat(3,1fr)}.footer-top{gap:40px}.contact-grid{gap:35px}.contact-panel{padding:25px}.closing-cta{padding:45px}.closing-cta h2{font-size:36px}}
@media(max-width:900px){.site-header{height:87px}.menu-toggle{display:block}.brand>span{font-size:20px}.brand strong{font-size:15px}.brand img{width:65px;height:43px}.brand small{font-size:7px;letter-spacing:.7px}.primary-nav{display:none;position:absolute;top:86px;left:0;right:0;background:var(--paper);padding:25px 32px;box-shadow:0 15px 20px #16355210;border-bottom:1px solid var(--line);align-items:stretch;gap:0;font-size:18px}.primary-nav.is-open{display:flex;flex-direction:column}.primary-nav>a:not(.button){padding:12px 0;border-bottom:1px solid var(--line)}.primary-nav .button{margin-top:20px;align-self:flex-start;padding:12px 22px;font-size:17px}.primary-nav ul{flex-direction:column;gap:15px;padding-bottom:15px}.hero-grid{gap:30px}.hero h1{font-size:49px}.hero .eyebrow{font-size:13px}.hero-copy{font-size:18px}.hero-photo{height:450px;border-top-left-radius:120px}.hero-visual:before{border-top-left-radius:120px}.hero-visual figcaption{font-size:16px;padding:13px 16px;left:-10px}.hero-visual figcaption small{font-size:12px}.caption-icon{font-size:35px}.hero-note{margin-top:30px}.button-row{gap:20px}.hero .button{gap:15px;padding:13px 18px}.hero .text-link{font-size:16px;gap:10px}.pillar-grid>div{padding-left:35px;padding-right:15px}.pillar-grid>div+div{padding-left:50px}.pillar-grid>div+div .pillar-num{left:15px}.pillar-grid h2{font-size:20px}.pillar-grid p{font-size:14px}h2{font-size:37px}.section-heading{gap:30px}.section-heading p:not(.eyebrow){font-size:16px}.about-grid{gap:40px}.about-photo{padding-right:15px}.about-photo>img{height:430px}.about-copy>p:not(.eyebrow){font-size:17px}.established{padding:15px 22px}.participation h3{font-size:23px}.participation p{font-size:16px}.closing-cta{align-items:flex-start;flex-direction:column}.contact-grid{grid-template-columns:1fr 1.2fr;gap:30px}.contact-grid>div>h2{font-size:31px}.form-row{grid-template-columns:1fr;gap:0}.gallery-grid{grid-template-columns:repeat(2,1fr)}.footer-top{grid-template-columns:1.2fr .8fr 1fr;gap:25px}.support-grid{gap:40px}}
@media(max-width:700px){.container{width:calc(100% - 40px)}.section{padding:58px 0}.hero{padding:42px 0 43px}.hero-grid{grid-template-columns:1fr;gap:35px}.hero-content{padding:0}.hero h1{font-size:59px;line-height:1.19}.hero .eyebrow{font-size:14px;margin-bottom:20px}.hero-copy{max-width:520px;margin:22px 0 26px;font-size:19px}.hero-note{margin-top:28px}.hero-visual{margin-left:10px;margin-right:10px;padding-bottom:34px}.hero-photo{height:400px;border-top-left-radius:120px;object-position:center 48%}.hero-visual:before{inset:14px -10px 54px 14px}.hero-visual figcaption{left:-10px;font-size:18px;bottom:20px;padding:17px 20px}.hero-visual>.photo-credit{font-size:10px;padding-top:14px}.pillars{padding:9px 0}.pillar-grid{grid-template-columns:1fr;padding-block:0}.pillar-grid>div{padding:22px 0 22px 52px}.pillar-grid>div+div{border-left:0;border-top:1px solid #d5ded2;padding-left:52px}.pillar-num,.pillar-grid>div+div .pillar-num{left:0;top:25px}.pillar-grid h2{font-size:24px}.pillar-grid p{font-size:16px;margin-top:4px}.section-heading{display:block;margin-bottom:30px}.section-heading h2{font-size:38px}.section-heading>div+div,.section-heading>p,.section-heading>.text-link{margin-top:23px}.section-heading p:not(.eyebrow){font-size:17px}.service-grid{gap:18px}.service-card h3{font-size:22px}.service-body{padding:20px 17px}.service-card p{font-size:16px}.service-image{aspect-ratio:1.35}.about-grid{grid-template-columns:1fr;gap:35px}.about-photo{max-width:550px;padding-right:20px}.about-photo>img{height:380px;object-position:center 35%}.about-copy{max-width:550px}.about-copy h2{font-size:40px}.about-copy>p:not(.eyebrow){font-size:19px}.established{right:0;bottom:43px;padding:19px 27px}.participation-grid{grid-template-columns:1fr;gap:17px}.participation{padding-top:20px;padding-bottom:13px}.participation h3{font-size:26px}.participation p{font-size:18px;max-width:none}.participation .eyebrow{margin-bottom:12px}.closing-cta{padding:34px 27px;margin-bottom:55px;gap:28px}.closing-cta h2{font-size:36px}.closing-cta .button{font-size:16px;gap:18px}.footer-top{grid-template-columns:1fr 1fr;gap:35px}.footer-top>div:first-child{grid-column:1/-1}.footer-top h2{font-size:32px}.footer-top>div:first-child>p:not(.eyebrow){max-width:300px}.footer-bottom{flex-wrap:wrap;gap:12px;font-size:13px}.footer-bottom>span{flex-basis:100%}.site-footer{padding-top:45px}.page-hero{padding:45px 0}.page-hero h1{font-size:43px}.page-hero p:not(.eyebrow){font-size:18px}.prose{font-size:19px}.prose h2{font-size:29px}.contact-grid{grid-template-columns:1fr;gap:40px}.contact-grid>div>h2{font-size:35px}.contact-panel{padding:25px}.form-row{grid-template-columns:1fr 1fr;gap:15px}.member-grid{grid-template-columns:repeat(2,1fr);gap:18px}.member-card{padding:22px}.member-card h2{font-size:22px}.notice-row{grid-template-columns:1fr 28px;gap:12px;padding:22px 0}.notice-row time{grid-column:1/-1}.notice-row h2,.notice-row h3{font-size:23px}.empty-state{padding:28px}.empty-state h2{font-size:27px}.gallery-grid{gap:18px}.gallery-grid figcaption{font-size:18px}.support-grid{grid-template-columns:1fr;gap:35px}.support-aside{padding:28px}.news-section{padding-top:0}}
@media(max-width:420px){.hero h1{font-size:51px}.hero-photo{height:350px}.hero-visual figcaption{font-size:16px;padding:15px}.hero-visual figcaption small{font-size:11px}.service-grid{grid-template-columns:1fr;gap:25px}.service-image{aspect-ratio:1.6}.service-card h3{font-size:25px}.service-card p{font-size:18px}.service-body{padding:24px}.form-row{grid-template-columns:1fr;gap:0}.contact-panel{padding:23px 18px}.gallery-grid{grid-template-columns:1fr}.member-card{padding:18px}.member-card h2{font-size:21px}.brand>span{font-size:18px}.brand strong{font-size:14px}.brand small{font-size:6px}.brand img{width:57px}.menu-toggle{font-size:15px}.closing-cta h2{font-size:33px}.closing-cta .button{font-size:15px;padding:13px 17px;gap:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
.service-body{height:auto;flex:1}.service-artwork{position:relative;display:block;width:100%;height:100%;overflow:hidden;aspect-ratio:1.5}.service-artwork .artwork-sheet{position:absolute;width:400%;height:200%;max-width:none;left:calc(var(--tile-col)*-100%);top:calc(var(--tile-row)*-100%);object-fit:fill;transform:none!important}.service-artwork.article-image{height:auto;max-height:none;max-width:820px;aspect-ratio:1.5}.service-image:has(.service-artwork){aspect-ratio:1.5}

.menu-toggle{flex-shrink:0;white-space:nowrap}@media(max-width:420px){.header-inner{gap:10px}.brand{gap:9px}.brand img{width:49px}.brand>span{font-size:17px}.brand strong{font-size:13px}.brand small{font-size:5px;letter-spacing:.4px}.menu-toggle{font-size:14px;padding:6px 9px}}

/* Hero slideshow keeps the original image silhouette and caption placement. */
.hero-slider{position:relative;height:535px;border-radius:170px 6px 6px 6px;overflow:hidden;background:var(--sage);isolation:isolate;touch-action:pan-y}
.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .8s ease,visibility 0s .8s;z-index:0}
.hero-slide.is-active{opacity:1;visibility:visible;transition:opacity .8s ease;z-index:1}
.hero-slider .hero-photo{height:100%;width:100%;border-radius:0;object-fit:cover}
.hero-slider-controls{position:absolute;right:14px;top:16px;z-index:3;display:flex;align-items:center;gap:5px;padding:4px 6px;background:#0b2946cf;border:1px solid #ffffff38;border-radius:30px;color:#fff}
.hero-slider [hidden]{display:none!important}
.hero-slider-dots{display:flex;align-items:center}
.hero-dot{border:0;padding:0;background:transparent;width:22px;height:30px;display:grid;place-items:center;color:inherit}
.hero-dot span{width:6px;height:6px;border-radius:50%;background:#ffffff70;transition:background .2s,transform .2s}
.hero-dot.is-active span{background:#fff;transform:scale(1.35)}
.hero-pause{width:30px;height:30px;border:0;border-left:1px solid #ffffff40;padding:0 0 0 4px;color:#fff;background:transparent;font:15px Arial,sans-serif}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:35px;height:40px;border-radius:3px;border:1px solid #ffffff50;background:#0b29468c;color:white;font:32px/1 Arial,sans-serif;display:grid;place-items:center}
.hero-arrow:hover,.hero-pause:hover{background:#0b3566}.hero-prev{left:13px}.hero-next{right:13px}
.hero-slider :focus-visible{outline-color:#fff;outline-offset:2px}
@media(min-width:1600px){.hero-slider{height:580px}}
@media(max-width:1180px){.hero-slider{height:505px}}
@media(max-width:1050px){.hero-slider{height:490px}}
@media(max-width:900px){.hero-slider{height:450px;border-top-left-radius:120px}.hero-dot{width:19px}.hero-slider-controls{right:10px;top:12px}}
@media(max-width:700px){.hero-slider{height:400px}}
@media(max-width:420px){.hero-slider{height:350px}}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none!important}}
.hero-visual figcaption{max-width:calc(100% + 20px)}.hero-caption-copy{min-width:0}

/* A visible language choice on both desktop and mobile. */
.header-tools{display:flex;align-items:center;gap:12px;order:3;flex-shrink:0}.primary-nav{order:2;gap:18px}.header-inner{gap:18px}
.language-switch{display:flex;align-items:center;border:1px solid #c8d3ce;border-radius:4px;padding:3px;gap:2px;font-size:12px;line-height:1.2;background:var(--paper);white-space:nowrap}
.language-switch a{padding:7px 8px;min-height:30px;display:grid;place-items:center;border-radius:2px;color:var(--muted)}
.language-switch a[aria-current]{background:var(--navy);color:#fff}.language-switch a:hover:not([aria-current]){background:var(--sage);color:var(--navy)}
html[lang^="en"] body{font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.7}
html[lang^="en"] h1,html[lang^="en"] h2,html[lang^="en"] h3{letter-spacing:-.035em}
html[lang^="en"] .hero h1{font-size:clamp(43px,4.15vw,61px);line-height:1.12}
html[lang^="en"] h2{font-size:40px;line-height:1.18}
html[lang^="en"] .hero-copy{font-size:18px;line-height:1.8}
html[lang^="en"] .eyebrow{font-size:12px;letter-spacing:.09em;text-transform:uppercase;line-height:1.5}
html[lang^="en"] .hero .eyebrow{font-size:11px;letter-spacing:.055em}
html[lang^="en"] .brand>span{font-size:19px;letter-spacing:-.035em}
html[lang^="en"] .brand strong{font-size:13px;letter-spacing:0}
html[lang^="en"] .brand small{font-size:6px;letter-spacing:.6px}
html[lang^="en"] .primary-nav{font-size:12px;gap:17px}
html[lang^="en"] .button{font-size:14px}
html[lang^="en"] .button-small{font-size:12px;gap:13px;padding:11px 15px}
html[lang^="en"] .hero-visual figcaption{padding:17px 22px;gap:12px}
html[lang^="en"] .hero-caption-title{font-size:16px;font-weight:600;line-height:1.35;display:block}
html[lang^="en"] .hero-visual figcaption small{font-size:11px;line-height:1.6;margin-top:5px}
html[lang^="en"] .pillar-grid h2{font-size:21px;letter-spacing:-.02em}
html[lang^="en"] .pillar-grid p{font-size:14px}
html[lang^="en"] .service-card h3{font-size:23px;line-height:1.25}
html[lang^="en"] .service-card p{font-size:14px;line-height:1.75}
html[lang^="en"] .service-card .text-link{font-size:13px}
html[lang^="en"] .about-copy>p:not(.eyebrow){font-size:17px}
html[lang^="en"] .values-list li{font-size:15px}
html[lang^="en"] .participation h3{font-size:25px}
html[lang^="en"] .participation p{font-size:16px}
html[lang^="en"] .closing-cta h2{font-size:39px}
html[lang^="en"] .page-hero h1{font-size:49px}
html[lang^="en"] .prose{font-size:17px}
html[lang^="en"] .prose h2{font-size:29px}
html[lang^="en"] .member-card h2{font-size:21px;line-height:1.3}
html[lang^="en"] .footer-top h2{font-size:30px}
html[lang^="en"] .footer-top p,html[lang^="en"] .footer-top a{font-size:14px}
html[lang^="en"] .footer-top h3{font-size:17px}
html[lang^="en"] .contact-grid>div>h2{font-size:34px}
html[lang^="en"] label{font-size:14px}
html[lang^="en"] .consent{font-size:12px}
html[lang^="en"] .hero-note{font-size:12px}
@media(min-width:901px) and (max-width:1240px){.primary-nav{display:none;position:absolute;top:99px;left:0;right:0;background:var(--paper);padding:25px 32px;border-bottom:1px solid var(--line);box-shadow:0 15px 20px #16355210;align-items:stretch;gap:0;font-size:18px}.menu-toggle{display:block}.primary-nav.is-open{display:flex;flex-direction:column}.primary-nav>a:not(.button){padding:12px 0;border-bottom:1px solid var(--line)}.primary-nav .button{align-self:flex-start;margin-top:20px}.primary-nav ul{flex-direction:column}html[lang^="en"] .primary-nav{font-size:16px}}
@media(max-width:900px){.header-tools{order:2}.primary-nav{order:3}html[lang^="en"] .primary-nav{font-size:16px}html[lang^="en"] .hero h1{font-size:43px}html[lang^="en"] .brand>span{font-size:18px}html[lang^="en"] .brand strong{font-size:12px}}
@media(max-width:700px){.header-tools{gap:8px}.menu-toggle{padding:7px 9px}.menu-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.language-switch a{padding:6px;min-height:28px}.language-switch{font-size:11px}.brand small{display:none}.header-inner{gap:10px}.brand img{width:45px;padding-right:9px}.brand{gap:9px}.brand>span{font-size:18px}.brand strong{font-size:13px}html[lang^="en"] .brand>span{font-size:17px}html[lang^="en"] .brand strong{font-size:11px}html[lang^="en"] .hero h1{font-size:46px}html[lang^="en"] h2,html[lang^="en"] .section-heading h2{font-size:33px}html[lang^="en"] .page-hero h1{font-size:39px}html[lang^="en"] .closing-cta h2{font-size:32px}html[lang^="en"] .hero-visual figcaption{padding:15px 17px}.hero-caption-copy{min-width:0}}
@media(max-width:420px){.brand img{width:37px}.brand>span{font-size:15px}.brand strong{font-size:11px}.header-tools{gap:6px}.menu-toggle{padding:6px 7px}.language-switch a{padding:6px 5px}.language-switch{font-size:10px}html[lang^="en"] .brand>span{font-size:15px}html[lang^="en"] .brand strong{font-size:10px}html[lang^="en"] .hero h1{font-size:41px}html[lang^="en"] .hero-caption-title{font-size:14px}html[lang^="en"] .hero .eyebrow{font-size:10px}html[lang^="en"] .page-hero h1{font-size:35px}}


/* Compact heading banners for services, notices, gallery, contact and About. */
:is(.post-type-archive-jjwa_service,.post-type-archive-jjwa_notice,.post-type-archive-jjwa_gallery,.page-id-30,.page-id-29) .page-hero{padding:32px 0}
:is(.post-type-archive-jjwa_service,.post-type-archive-jjwa_notice,.post-type-archive-jjwa_gallery,.page-id-30,.page-id-29) .page-hero .eyebrow{margin-bottom:12px}
:is(.post-type-archive-jjwa_service,.post-type-archive-jjwa_notice,.post-type-archive-jjwa_gallery,.page-id-30,.page-id-29) .page-hero p:not(.eyebrow){margin-top:12px}
@media(max-width:700px){:is(.post-type-archive-jjwa_service,.post-type-archive-jjwa_notice,.post-type-archive-jjwa_gallery,.page-id-30,.page-id-29) .page-hero{padding:26px 0}}

/* Give the three priority numbers a clear visual hierarchy. */
.pillar-num{font-size:36px;font-weight:700;line-height:1.2;color:#c44b00;font-variant-numeric:tabular-nums}
@media(min-width:701px) and (max-width:1050px){.pillar-grid>div{padding-left:56px}.pillar-grid>div+div{padding-left:74px}}
@media(max-width:700px){.pillar-grid>div,.pillar-grid>div+div{padding-left:64px}}

/* Full corrected Logo Studio artwork, with fonts embedded in each SVG. */
.brand img.brand-logo{display:block;width:297px;height:90px;padding:0;border:0;object-fit:contain}
@media(max-width:700px){.brand img.brand-logo{width:220px;height:auto}}
@media(max-width:420px){.brand img.brand-logo{width:200px}}
@media(max-width:360px){.brand img.brand-logo{width:175px}}

/* Contact icons share the link color and keep labels aligned. */
.footer-top a.contact-link,.contact-detail a.contact-link{display:flex;align-items:center;gap:9px;width:fit-content;max-width:100%}
.contact-icon{width:18px;height:18px;flex:0 0 18px}

/* About menu disclosure. The parent link remains a link to About. */
.nav-dropdown{position:relative}
.nav-parent{display:flex;align-items:center;gap:3px}
.nav-parent>a:hover{text-decoration:underline;color:var(--green)}
.submenu-toggle{display:grid;place-items:center;width:28px;height:32px;padding:0;border:0;background:transparent;color:var(--navy);cursor:pointer;border-radius:3px}
.submenu-toggle:hover,.submenu-toggle:focus-visible{background:var(--sage)}
.submenu-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.nav-submenu{position:absolute;top:100%;left:0;min-width:215px;padding:8px;background:var(--paper);border:1px solid var(--line);border-radius:4px;box-shadow:0 10px 25px #16355218;z-index:30}
.nav-submenu[hidden]{display:none}
.nav-submenu a{display:block;padding:11px 14px;white-space:nowrap;font-size:15px;color:var(--navy);border-radius:3px}
.nav-submenu a:hover,.nav-submenu a:focus-visible{background:var(--sage);text-decoration:underline}
@media(max-width:1240px){.nav-dropdown{border-bottom:1px solid var(--line)}.nav-parent{justify-content:space-between}.nav-parent>a{padding:12px 0;flex:1}.submenu-toggle{width:40px;height:40px}.nav-submenu{position:static;min-width:0;margin:0 0 10px;padding:3px 10px;border:0;box-shadow:none;background:var(--sage)}.nav-submenu a{white-space:normal;font-size:16px}}

/* Larger participation card numbers; keep the arrow at its original scale. */
.participation>.eyebrow{font-size:32px;font-weight:700;line-height:1.2;letter-spacing:0;align-items:center}
.participation>.eyebrow>span{font-size:16px;font-weight:400}

/* Slightly larger desktop menu labels for readability. */
@media(min-width:1241px){.primary-nav{font-size:17px}html[lang^='en'] .primary-nav{font-size:14px}.nav-submenu a{font-size:16px}}

/* Facebook beside the desktop language switch; in the expanded mobile menu. */
.header-facebook{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;color:var(--navy);font-size:14px;font-weight:700;white-space:nowrap}
.header-facebook svg{flex:0 0 20px;width:20px;height:20px}
.header-facebook:hover{color:var(--green)}
.header-facebook-mobile{display:none}
@media(min-width:1241px){.header-facebook-desktop{padding-right:14px;border-right:1px solid var(--line)}.header-tools{gap:14px}.site-header>.container{width:min(1440px,calc(100% - 64px))}}
@media(min-width:1241px) and (max-width:1439px){.header-facebook-desktop>span{display:none}.header-facebook-desktop{min-width:36px;padding-right:12px}.header-tools{gap:10px}.header-inner{gap:14px}}
@media(max-width:1240px){.header-facebook-desktop{display:none}.primary-nav .header-facebook-mobile{display:inline-flex;align-self:flex-start;justify-content:flex-start;margin-top:14px;gap:9px;font-size:16px}}

/* Keep Facebook accessible directly in the mobile header. */
@media(max-width:1240px){
  .header-tools .header-facebook-desktop{display:inline-flex;width:36px;min-width:36px;min-height:36px;padding:0;border:1px solid var(--line);border-radius:4px}
  .header-tools .header-facebook-desktop>span{display:none}
}
@media(max-width:700px){
  .site-header>.header-inner{width:calc(100% - 32px);gap:8px}
  .site-header .brand{min-width:0;flex-shrink:1}
  .header-tools{gap:6px}
}
@media(max-width:420px){.brand img.brand-logo{width:165px}}
@media(max-width:360px){.brand img.brand-logo{width:145px}}
