/* Offices 5.3: one coherent reference composition. No HOME or unrelated page selectors. */
.c4-office-hero,.c4-office-education,.c4-office-promotion,.c4-office-cta{--of41-oil:#003c45;--of41-gold:#cbaa6e;--of41-cream:#f4ede2;--of41-ink:#073d58;scroll-margin-top:28px}
.c4-office-hero{color:#f4ede2;background:#003c45 url('../../patterns/home-works-reference-background.webp') left top/1022px 596px;padding:28px 40px}
.of41-hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px}.of41-hero-copy{max-width:510px;text-align:center;justify-self:center}.of41-hero-copy h2{line-height:1.8;color:#cbaa6e;margin:12px 0 20px;}.of41-hero-copy p{font-size:17px;line-height:2}.of41-divider{display:flex;align-items:center;gap:16px;max-width:230px;margin:26px auto;color:#cbaa6e}.of41-divider:before,.of41-divider:after{content:'';height:1px;flex:1;background:#cbaa6e88}.of41-hero-art{margin:0;max-width:100%}.of41-hero-art img{width:100%;height:auto}
.of41-quick{display:grid;grid-template-columns:1fr 1fr;border:1px solid #cbaa6e88;border-radius:14px;background:#f4ede214}.of41-quick>a{display:flex;gap:16px;align-items:center;color:#f4ede2;padding:16px 24px}.of41-quick svg{width:32px;height:32px;color:#cbaa6e}.of41-quick strong,.of41-quick small{display:block}.of41-down{margin-inline-start:auto}
body .c4-office-education,body .c4-office-promotion,body .c4-office-cta{padding:38px 40px;background:#f4ede2 url('../../patterns/cream-girih-tile.webp') repeat;color:#073d58;line-height:1.9}
body .c4-office-promotion{padding-top:38px;background:#003c45 url('../../patterns/home-works-reference-background.webp') left top/1022px 596px;color:#f4ede2;position:relative;border-top:7px double #cbaa6e88}
body .c4-office-promotion:before{content:'✥';position:absolute;top:-25px;inset-inline-start:calc(50% - 20px);width:40px;height:40px;background:#003c45;color:#cbaa6e;text-align:center;font-size:29px;line-height:40px;z-index:3}
body :is(.c4-office-education,.c4-office-promotion,.c4-office-cta)>.c4-wrap{width:100%;max-width:1200px;margin-inline:auto}
.of53-office{--of53-rail:260px;--of53-gap:42px}.of53-office *{box-sizing:border-box}
body .of41-office-title{line-height:1.8;display:flex;align-items:center;gap:12px;margin:0 0 26px!important;}.of41-office-title>span{color:#cbaa6e;}
.of41-overview{display:grid;grid-template-columns:var(--of53-rail) minmax(0,1fr);align-items:center;gap:var(--of53-gap);margin-bottom:28px}.c4-office-promotion .of41-overview{grid-template-columns:minmax(0,1fr) var(--of53-rail)}
.of41-manager{min-width:0;text-align:center}.of49-portrait{--of49-frame:#cbaa6e;position:relative;isolation:isolate;width:192px;aspect-ratio:240/270;max-width:90%;margin:0 auto 10px}.c4-office-promotion .of49-portrait{width:174px}
.of49-portrait-window{position:absolute;inset:4% 5% 2%;overflow:hidden;background:#e5dac5;mask:url('../../groups/portrait-mask.svg') center/100% 100% no-repeat;-webkit-mask:url('../../groups/portrait-mask.svg') center/100% 100% no-repeat}
.of49-portrait-photo{width:100%;height:100%!important;display:block;object-fit:cover!important;object-position:center top;transform:none!important}.of49-portrait-frame{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:var(--of49-frame);stroke-width:1.7;pointer-events:none}.of49-portrait-frame path+path{stroke-width:.7}
.of49-portrait:before,.of49-portrait:after{content:'';position:absolute;bottom:0;width:32px;height:84px;background:center bottom/contain no-repeat;pointer-events:none;z-index:-1}.of49-portrait:before{right:-22px;background-image:url('../../reference-crops/home-hero-reference-ornament-right.png')}.of49-portrait:after{left:-22px;background-image:url('../../reference-crops/home-hero-reference-ornament-left.png')}
.of41-role{display:block;color:#947039;font-size:12px;line-height:1.8}.c4-office-promotion .of41-role{color:#cbaa6e}body .of41-manager h3{line-height:1.9;margin:5px 0 12px!important;}
.of41-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-width:290px;margin:auto}.of41-stats>div{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0}.of41-stats>div+div{border-right:1px solid #cbaa6e55}.of41-stats svg{width:25px;height:25px;flex:none;color:#cbaa6e}.of41-stats b{display:block;font-size:22px;line-height:1.3}.of41-stats small{font-size:11px;display:block;line-height:1.6}
body .of41-goals h3{display:flex;align-items:center;gap:12px;line-height:1.8;margin:0 0 12px!important;}.of41-goals h3:before{content:'';height:1px;background:#cbaa6e77;flex:1;order:3}.of41-goals h3>span{order:-1;color:#cbaa6e;}.of41-goals ol{list-style:none;margin:0;padding:0}.of41-goals li{display:flex;align-items:center;gap:18px;min-height:66px;padding:12px 0;border-bottom:1px solid #cbaa6e66;font-size:18px;line-height:1.9}.of41-goals li:last-child{border-bottom:0}
.of41-number{position:relative;isolation:isolate;display:grid;place-items:center;flex:none;width:30px;height:30px;font-size:18px;color:#fffaf0}.of41-number:before{content:'';position:absolute;inset:4px;background:#cbaa6e;transform:rotate(45deg);border-radius:3px;z-index:-1}
.c4-office-promotion .of41-goals h3{justify-content:center}.c4-office-promotion .of41-goals h3:before{flex:0 1 70px}.c4-office-promotion .of41-goals ol{display:grid;grid-template-columns:1fr 1fr;gap:12px;position:relative}.c4-office-promotion .of41-goals ol:after{content:'✥';position:absolute;left:calc(50% - 17px);top:calc(50% - 17px);display:grid;place-items:center;width:34px;height:34px;color:#cbaa6e;background:#003c45;font-size:27px}
.c4-office-promotion .of41-goals li{border:1px solid #cbaa6e99;border-radius:10px;box-shadow:inset 0 0 0 4px #cbaa6e0f;min-height:94px;padding:16px 20px;font-size:18px;gap:14px}
.of41-project-area{display:grid;grid-template-columns:var(--of53-rail) minmax(0,1fr);gap:var(--of53-gap);align-items:start}.of41-project-sidebar{padding-top:6px}body .of41-project-sidebar h3{display:flex;align-items:center;gap:12px;line-height:1.8;margin:0 0 10px!important;}.of41-project-sidebar h3 svg{width:29px;height:29px;color:#cbaa6e;flex:none}.of41-project-sidebar p{font-size:14px;line-height:1.9;margin:0 0 18px}.of41-tabs{display:grid;gap:9px}.of41-tabs button{font:inherit;font-size:14px;line-height:1.8;min-height:40px;padding:6px 10px;border:1px solid #cbaa6e77;border-radius:4px;background:#fffaf2;color:#073d58;cursor:pointer}.of41-tabs button[aria-pressed=true]{background:#003c45;color:#f4ede2;border-color:#003c45}
.of41-project-content{min-width:0}.of41-project-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.of41-project{position:relative;isolation:isolate;min-width:0;display:flex;flex-direction:column;padding:14px 12px 12px;border:1px solid #cbaa6e77;border-radius:11px;background:#fffcf6;color:#073d58;text-align:center;box-shadow:0 2px 6px #073d5808}.of41-project:before{content:'';position:absolute;inset:3px;pointer-events:none;border-radius:8px;border:1px solid #cbaa6e33;background:url('../../reference-crops/card-corner-1.png') top left/25px 25px no-repeat,url('../../reference-crops/card-corner-2.png') top right/25px 25px no-repeat,url('../../reference-crops/card-corner-3.png') bottom right/25px 25px no-repeat,url('../../reference-crops/card-corner-4.png') bottom left/25px 25px no-repeat}
body .of41-project-photo{width:100%;height:138px!important;display:block;object-fit:cover!important;object-position:center;border-radius:6px;position:relative;z-index:1}.of41-project-copy{position:relative;flex:1}.of41-category{display:table;max-width:92%;position:relative;z-index:2;margin:-13px auto 11px;padding:2px 12px;border-radius:16px;font-size:11px;line-height:1.8;background:#003c45;color:#f4ede2}
body .of41-project h3.c4-item-title{line-height:1.85;min-height:64px;margin:0 0 13px!important;}.of41-state{display:inline-flex;align-items:center;gap:7px;border-radius:18px;font-size:12px;line-height:1.8;background:#ede4d3;padding:2px 10px;margin-bottom:13px}.of41-state i{width:7px;height:7px;border-radius:50%;background:#cbaa6e}.of41-project[data-state=complete] .of41-state{background:#003c45;color:#f4ede2}.of41-details{text-align:right;position:relative;margin-top:auto}.of41-details .c4-button{font-size:12px;min-height:32px;padding:3px 7px;border:0;background:none;color:#073d58}
.of41-project-controls{display:flex;align-items:center;justify-content:space-between;flex-direction:row-reverse;gap:16px;margin-top:18px}.of41-pager{display:flex;gap:10px;align-items:center;direction:rtl}.of41-pager>button{width:36px;height:36px;padding:8px;border:1px solid #cbaa6e88;border-radius:50%;background:#fffaf3;color:#003c45;cursor:pointer}.of41-pager>button svg{width:100%;height:100%}.of41-pager>button:disabled{opacity:.35;cursor:default}.of53-dots{display:flex;align-items:center;gap:7px}.of53-dots button{width:7px;height:7px;padding:0;border:1px solid #cbaa6e88;border-radius:50%;background:transparent;cursor:pointer}.of53-dots button[aria-current=true]{background:#003c45;border-color:#003c45}.of53-page-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.of41-view-all{font:inherit;font-size:12px;min-height:36px;padding:6px 16px;border:1px solid #cbaa6e;border-radius:4px;background:transparent;color:inherit;cursor:pointer}.of41-empty{padding:24px;text-align:center;font-size:14px}.of41-office [hidden]{display:none!important}.of41-office :is(button,a):focus-visible{outline:3px solid #cbaa6e;outline-offset:3px}
.c4-office-promotion .of41-tabs button{background:transparent;color:#f4ede2;border-color:#cbaa6e99}.c4-office-promotion .of41-tabs button[aria-pressed=true]{background:#cbaa6e;color:#003c45}.c4-office-promotion .of41-project-content{position:relative;padding:18px 20px 14px;background:#fffaf2;color:#073d58;border:1px solid #cbaa6e99;border-radius:12px}.c4-office-promotion .of41-project-content:before{content:'';position:absolute;inset:4px;border-radius:8px;border:1px solid #cbaa6e33;background:url('../../reference-crops/card-corner-1.png') top left/26px no-repeat,url('../../reference-crops/card-corner-2.png') top right/26px no-repeat,url('../../reference-crops/card-corner-3.png') bottom right/26px no-repeat,url('../../reference-crops/card-corner-4.png') bottom left/26px no-repeat;pointer-events:none}
.c4-office-promotion .of41-project-list{display:grid;grid-template-columns:1fr;gap:0}.c4-office-promotion .of41-project{display:grid;grid-template-columns:56px minmax(0,1fr) 155px 70px;align-items:center;gap:14px;padding:10px 0;border:0;background:none;box-shadow:none;text-align:right;border-radius:0}.c4-office-promotion .of41-project:before,.c4-office-promotion .of41-category{display:none}.c4-office-promotion .of41-project-photo{width:56px;height:58px!important;border-radius:5px}.c4-office-promotion .of41-project-copy{min-width:0}body .c4-office-promotion .of41-project h3.c4-item-title{line-height:1.9;min-height:0;margin:0!important;}.c4-office-promotion .of41-state{font-size:11px;margin:4px 0 0;padding:0;background:none;color:#073d58}.c4-office-promotion .of41-state i{display:none}.of41-progress{display:flex;align-items:center;gap:10px;font-size:12px;direction:rtl}.of41-progress>div{flex:1;min-width:0;height:9px;border-radius:8px;background:#e9e4d8;overflow:hidden;direction:ltr}.of41-progress i{display:block;height:100%;background:#003c45;border-radius:inherit}.c4-office-promotion .of41-details .c4-button{font-size:11px;background:#ede4d3;border-radius:18px;min-height:29px;padding:3px 9px}.c4-office-promotion .of41-project-controls{margin-top:10px}.c4-office-promotion .of41-view-all{background:#fffaf2}
body .c4-office-cta{padding:18px 40px;background:#f4ede2}.of41-cta-panel{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 44%;gap:28px;align-items:center;overflow:hidden;min-height:190px;padding:22px 28px;border:1px solid #cbaa6e88;border-radius:12px;background:#fffaf3;color:#073d58}.of41-cta-panel:before{content:'';position:absolute;inset:4px;border:1px solid #cbaa6e33;border-radius:8px;pointer-events:none}body .of41-cta-panel .c4-heading{line-height:1.8;margin:0 0 8px!important;}.of41-cta-panel p{font-size:15px;line-height:1.9;margin:0 0 14px}.of41-cta-panel .c4-button{font-size:13px;min-height:38px}.of41-cta-image{align-self:stretch;height:190px;margin:-22px -28px -22px 0;mask-image:linear-gradient(to left,transparent,black 28%)}.of41-cta-image img{width:100%;height:100%;object-fit:cover!important}.of41-demo-note{text-align:center;font-size:10px;line-height:1.8;opacity:.7;margin:8px 0 0!important}
/* Tablet is a genuine two-column overview + two-card carousel, not a tall phone layout. */
@media(min-width:600px) and (max-width:1100px){
 body .c4-office-education,body .c4-office-promotion{padding:32px 28px}.of53-office{--of53-rail:210px;--of53-gap:26px}.of41-overview{grid-template-columns:210px minmax(0,1fr)}.c4-office-promotion .of41-overview{grid-template-columns:minmax(0,1fr) 210px}.of49-portrait{width:168px}.c4-office-promotion .of49-portrait{width:154px}.of41-goals li{font-size:15px;min-height:58px;gap:12px;padding:9px 0}.of41-number{width:26px;height:26px;font-size:16px}.of41-stats{gap:5px}.of41-stats svg{width:21px;height:21px}.of41-stats b{font-size:20px}.of41-stats small{font-size:10px}.c4-office-promotion .of41-goals li{font-size:14px;min-height:86px;padding:12px;gap:8px}.of41-project-area{grid-template-columns:1fr;gap:18px}.of41-project-sidebar{display:grid;grid-template-columns:1fr 2fr;gap:6px 22px;padding:0}.of41-project-sidebar p{grid-column:1;margin:0}.of41-tabs{grid-column:2;grid-row:1/3;grid-template-columns:1fr 1fr;gap:8px}.of41-tabs button{font-size:13px;min-height:40px}.of41-project-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.of41-project-photo{height:160px!important}.of41-project h3.c4-item-title{min-height:62px!important;}.c4-office-promotion .of41-project{grid-template-columns:54px minmax(0,1fr) 140px 68px;gap:12px}
}
@media(min-width:600px) and (max-width:749px){.of53-office{--of53-rail:180px;--of53-gap:20px}.of41-overview{grid-template-columns:180px minmax(0,1fr);gap:20px}.c4-office-promotion .of41-overview{grid-template-columns:minmax(0,1fr) 180px;gap:20px}.of49-portrait{width:145px}.of41-goals li{font-size:14px}.c4-office-promotion .of41-goals ol{grid-template-columns:1fr;gap:8px}.c4-office-promotion .of41-goals ol:after{display:none}.c4-office-promotion .of41-goals li{min-height:54px;padding:8px 12px}.c4-office-promotion .of41-project{grid-template-columns:48px minmax(0,1fr) 115px 62px;gap:10px}.c4-office-promotion .of41-project-photo{width:48px;height:52px!important}.of41-project-sidebar p{font-size:12px}}
@media(max-width:599px){
 body .c4-office-education,body .c4-office-promotion{padding:30px 18px}.of53-office{--of53-gap:24px}body .of41-office-title{gap:8px;margin-bottom:24px!important;}.of41-overview,.c4-office-promotion .of41-overview{grid-template-columns:1fr;gap:24px;margin-bottom:28px}.of41-manager{order:0;max-width:310px;width:100%;margin:auto}.of41-goals{order:1}.of49-portrait{width:182px}.c4-office-promotion .of49-portrait{width:170px}.of41-stats{max-width:280px}.of41-goals li{font-size:15px;min-height:60px;gap:14px}.c4-office-promotion .of41-goals ol{grid-template-columns:1fr;gap:10px}.c4-office-promotion .of41-goals ol:after{display:none}.c4-office-promotion .of41-goals li{min-height:66px;padding:12px 16px;font-size:15px}.of41-project-area{grid-template-columns:1fr;gap:18px}.of41-project-sidebar{padding:0}.of41-project-sidebar p{font-size:13px;margin-bottom:14px}.of41-tabs{grid-template-columns:1fr 1fr;gap:8px}.of41-tabs button{font-size:12px;min-height:42px}.of41-project-list{grid-template-columns:1fr;max-width:340px;width:100%;margin:auto}.of41-project{padding:14px}.of41-project-photo{height:180px!important}body .of41-project h3.c4-item-title{min-height:0;margin-bottom:12px!important;}.of41-state{margin-bottom:10px}.of41-project-controls{gap:12px}.of41-pager{gap:8px}.of41-view-all{font-size:11px;padding-inline:10px}.c4-office-promotion .of41-project-content{padding:12px 14px}.c4-office-promotion .of41-project-list{max-width:none}.c4-office-promotion .of41-project{grid-template-columns:50px minmax(0,1fr);gap:8px 12px;border-bottom:1px solid #cbaa6e33;padding:14px 0}.c4-office-promotion .of41-project:last-child{border-bottom:0}.c4-office-promotion .of41-project-photo{width:50px;height:54px!important}.c4-office-promotion .of41-project .of41-progress,.c4-office-promotion .of41-project .of41-details{grid-column:2}.c4-office-promotion .of41-project .of41-details{text-align:left}.c4-office-promotion .of41-project .of41-progress{max-width:220px}.c4-office-promotion .of41-project .of41-details .c4-button{font-size:11px}body .c4-office-cta{padding:18px}.of41-cta-panel{display:flex;flex-direction:column;gap:18px;padding:22px;text-align:right}.of41-cta-panel>div:first-child{width:100%}.of41-cta-panel p{font-size:14px}.of41-cta-image{width:calc(100% + 44px);height:145px;margin:0 -22px -22px;align-self:auto;mask-image:linear-gradient(to bottom,transparent,black 22%)}
}
@media(prefers-reduced-motion:reduce){.of53-office *{scroll-behavior:auto!important;transition:none!important}}
/* Reference control alignment: centered pager, archive action at the left edge. */
.of41-project-controls{position:relative;min-height:36px;flex-direction:row;justify-content:flex-end}.of41-project-controls .of41-pager{position:absolute;left:50%;transform:translateX(-50%)}.of41-project-controls .of41-view-all{margin-inline-start:auto}
@media(max-width:599px){.of41-project-controls{justify-content:space-between}.of41-project-controls .of41-pager{position:static;transform:none}.of41-project-controls .of41-view-all{margin-inline-start:0}}
