/* Homepage content palette: warm paper, ink and restrained vermilion accents. */
.home{--home-paper:#f7f5f0;--home-card:#fffdf9;--home-ink:#403a33;--home-muted:#595148;--home-red:#7b3028;--home-line:#e0d9cf;--home-detail:#6b513a;background:var(--home-paper)}
.home .v2-core,.home .v2-projects{background:var(--home-paper)}
.home .v2-core:before,.home .v2-craft:after{display:none}
.home .core-card,.home .strength-card,.home .v2-case-card{background:var(--home-card);border-color:var(--home-line);box-shadow:none}
.home .core-card:hover,.home .strength-card:hover{border-color:var(--home-detail);background:var(--home-card)}
.home .v2-section-title h2,.home .v2-eyebrow{color:var(--home-red)}
.home .v2-section-title h2:before,.home .v2-section-title h2:after{background:var(--home-line)}
.home .core-card h3,.home .strength-intro h2,.home .strength-card h3,.home .v2-case-copy h3{color:var(--home-ink)}
.home .core-card>.jy-icon,.home .strength-card>.jy-icon{color:var(--home-detail)}
.home .strength-card>.jy-icon{opacity:.7}
.home .core-card p,.home .strength-intro p,.home .strength-card>p,.home .strength-card small,.home .v2-case-copy>span,.home .v2-section-title p,.home .v2-section-title small{color:var(--home-muted)}
.home .v2-strength{border-bottom:1px solid var(--home-line)}
.home .strength-intro .v2-button,.home .strength-card .v2-button{border-color:var(--home-line);color:var(--home-red);background:transparent}
.home .strength-intro .v2-button:hover,.home .strength-card:hover .v2-button{border-color:var(--home-detail);background:var(--home-paper)}
.home .case-filters button{background:transparent;color:var(--home-muted);border-bottom:2px solid var(--home-line)}
.home .case-filters button[aria-pressed=true]{background:transparent;color:var(--home-red);border-bottom-color:var(--home-red)}
.home .v2-case-image{background:#e7e2d9}
.home .v2-case-image img{filter:none;opacity:1}
.home .v2-case-copy>b{border-color:var(--home-line);color:var(--home-detail)}
.home .v2-section-title>a{color:var(--home-red);border-bottom-color:var(--home-line)}

.home .jy-midbanner[data-mid-banner=index]{--mb-ground:#eae5db;--mb-accent:var(--home-detail);color:var(--home-ink);border:1px solid var(--home-line)}
.home .jy-midbanner[data-mid-banner=index] .jy-midbanner-photo{filter:saturate(.5)}
.home .jy-midbanner[data-mid-banner=index] .jy-midbanner-shade{background:linear-gradient(90deg,#efeae1 0%,#efeae1f5 32%,#efeae1c4 49%,#efeae126 77%)}
.home .jy-midbanner[data-mid-banner=index] .jy-midbanner-copy{max-width:48%}
.home .jy-midbanner[data-mid-banner=index] .jy-midbanner-copy p{color:var(--home-muted)}
.home .jy-midbanner[data-mid-banner=index] .jy-midbanner-link{color:var(--home-red);border-bottom-color:#b7a58c}

.home .v2-craft{background:#efebe3;color:var(--home-ink);border-block:1px solid var(--home-line)}
.home .craft-intro>span{color:var(--home-red)}
.home .craft-intro h2,.home .craft-grid h3{color:var(--home-ink)}
.home .craft-intro p,.home .craft-note{color:var(--home-muted)}
.home .craft-grid a{background:var(--home-card);border-color:var(--home-line);color:var(--home-detail)}
.home .craft-grid a:hover{background:var(--home-paper);border-color:var(--home-detail)}
.home .craft-intro .v2-button.cream{background:transparent;border-color:#b7a58c;color:var(--home-red)}
.home .craft-intro .v2-button.cream:hover{background:var(--home-card)}

/* Published company and industry news share one calm, two-column reading area. */
.home-news{padding-block:60px 68px}
.home-news-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}
.home-news-heading>div{display:flex;align-items:baseline;gap:26px}
.home-news-heading h2{font:500 34px/1.4 var(--serif);letter-spacing:3px;color:var(--home-red)}
.home-news-heading p{font:13px/1.8 var(--serif);letter-spacing:2px;color:var(--home-muted)}
.home-news-heading>a,.home-news-more{display:inline-flex;align-items:center;gap:15px;flex-shrink:0;font:13px/1.8 var(--serif);color:var(--home-red)}
.home-news-heading>a{padding-block:6px;border-bottom:1px solid var(--home-line)}
.home-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.home-news-channel{min-width:0;padding-right:40px}
.home-news-channel+.home-news-channel{border-left:1px solid var(--home-line);padding-left:40px;padding-right:0}
.home-news-channel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}
.home-news-channel-heading h3{border-left:2px solid var(--home-red);padding-left:13px;font:500 23px/1.3 var(--serif);letter-spacing:2px;color:var(--home-ink)}
.home-news-more{font-size:12px;gap:9px}
.home-news-feature>a{display:grid;grid-template-columns:160px minmax(0,1fr);gap:23px;align-items:center}
.home-news-image{height:146px;overflow:hidden;background:#e9e2d8}
.home-news-image img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.8)}
.home-news-feature-copy{min-width:0}
.home-news time{font:11px/1.8 var(--sans);letter-spacing:.7px;white-space:nowrap;color:var(--home-muted)}
.home-news-feature h4{font:500 19px/1.6 var(--serif);color:var(--home-ink);margin:7px 0 9px}
.home-news-feature p{font:13px/1.85 var(--sans);color:var(--home-muted)}
.home-news-feature h4,.home-news-feature p,.home-news-list h4{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.home-news-list{list-style:none;margin:22px 0 0;padding:0;border-top:1px solid var(--home-line)}
.home-news-list li{border-bottom:1px solid var(--home-line)}
.home-news-list a{display:grid;grid-template-columns:minmax(0,1fr) auto 14px;align-items:center;gap:15px;min-height:62px;padding-block:14px}
.home-news-list h4{font:400 15px/1.7 var(--serif);color:var(--home-ink);margin:0}
.home-news-list a>span{font-size:16px;color:var(--home-detail)}
.home-news a:focus-visible{outline:2px solid var(--home-red);outline-offset:5px}
.home-news-empty{padding:28px 0;color:var(--home-muted);font-size:13px}
@media(hover:hover){.home-news a:hover h4,.home-news-channel-heading a:hover{color:var(--home-red)}.home-news-list a:hover>span{color:var(--home-red)}}
@media(max-width:1100px){.home-news-channel{padding-right:26px}.home-news-channel+.home-news-channel{padding-left:26px}.home-news-feature>a{grid-template-columns:130px minmax(0,1fr);gap:18px}.home-news-feature h4{font-size:18px}.home-news-list a{gap:10px}}
@media(max-width:800px){.home .strength-intro>.v2-eyebrow,.home .v2-projects .v2-section-title>a{display:none}.home .strength-intro>h2{margin-top:0}.home-news{padding-block:40px 46px}.home-news-heading{margin-bottom:28px;align-items:flex-start}.home-news-heading>div{display:block}.home-news-heading h2{font-size:30px}.home-news-heading p{margin-top:7px;font-size:12px}.home-news-grid{grid-template-columns:1fr;gap:30px}.home-news-channel{padding:0}.home-news-channel+.home-news-channel{border-left:0;border-top:1px solid var(--home-line);padding:29px 0 0}.home-news-feature>a{grid-template-columns:160px minmax(0,1fr)}}
@media(max-width:540px){.home-news-heading h2{font-size:28px}.home-news-heading>a{font-size:12px;gap:9px}.home-news-channel-heading{margin-bottom:19px}.home-news-channel-heading h3{font-size:21px}.home-news-feature>a{grid-template-columns:108px minmax(0,1fr);gap:16px}.home-news-image{height:132px}.home-news-feature h4{font-size:17px;line-height:1.6;margin:5px 0 7px}.home-news-feature p{font-size:12px}.home-news-list{margin-top:19px}.home-news-list h4{font-size:14px}.home-news-list a{grid-template-columns:minmax(0,1fr) auto 12px;min-height:68px;gap:10px}.home-news-list time{font-size:10px;letter-spacing:0}}
@media(max-width:370px){.home-news-feature>a{grid-template-columns:92px minmax(0,1fr);gap:12px}.home-news-feature h4{font-size:16px}}
@media(max-width:700px){
 .home .jy-midbanner[data-mid-banner=index] .jy-midbanner-copy{max-width:100%}
 .home .jy-midbanner[data-mid-banner=index] .jy-midbanner-shade{background:linear-gradient(90deg,#efeae1f7,#efeae1eb 65%,#efeae1c9)}
}

/* Homepage gallery: clear category selection and generous, unfiltered photography. */
.home .v2-projects{padding:42px 0 60px}
.home .v2-projects .v2-section-title{margin-bottom:23px;text-align:left}
.home .v2-projects .v2-section-title p{font-size:15px;letter-spacing:3px;margin:0;color:#856746}
.home .case-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:none;margin:0 0 26px}
.home .case-filters button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:58px;padding:12px 16px;border:1px solid #d9cebe;border-radius:2px;background:#f0ebe2;color:#665644;font-size:17px;letter-spacing:1px;transition:background .2s,color .2s,border-color .2s}
.home .case-filters button .case-filter-index{font:11px/1 Arial,sans-serif;color:#6b513a;letter-spacing:1px}
.home .case-filters button[aria-pressed=true]{background:#7b3028;border-color:#7b3028;color:#fff0d6}
.home .case-filters button[aria-pressed=true] .case-filter-index{color:#e1c499}
.home .case-filters button:hover{border-color:#9a694a}
.home .case-filters button:focus-visible{outline:2px solid #7b3028;outline-offset:3px}
.home .v2-case-grid{gap:26px 24px}
.home .v2-case-card{border:1px solid #ded4c5;border-radius:2px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.home .v2-case-card:hover,.home .v2-case-card:focus-visible{border-color:#b19571;box-shadow:0 8px 24px #563c2312}
.home .v2-case-image{height:auto;aspect-ratio:4/3}
.home .v2-case-image img{display:block;height:100%;width:100%;object-fit:cover;filter:none;opacity:1}
.home .v2-case-copy{padding:21px 24px 22px}
.home .v2-case-copy h3{font-size:22px;line-height:1.5;letter-spacing:1px;padding-right:44px}
.home .v2-case-copy>span{font-size:12px;letter-spacing:1px;margin-top:6px;color:#796850}
.home .v2-case-copy>b{right:22px;top:30px;display:grid;place-items:center;width:32px;height:32px;border:1px solid #d6c4a7;background:#f7efdf;color:#825435;font:21px/1 Arial,sans-serif}
@media(max-width:1000px){.home .case-filters button{font-size:15px;padding:12px 8px;gap:7px}.home .v2-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home .v2-case-copy{padding:17px 18px}.home .v2-case-copy h3{font-size:20px}.home .v2-case-copy>b{right:16px;top:25px}}
@media(max-width:650px){.home .v2-projects{padding:28px 0 36px}.home .v2-projects .v2-section-title{margin-bottom:18px}.home .v2-projects .v2-section-title p{font-size:13px;letter-spacing:2px}.home .case-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:20px}.home .case-filters button{min-height:48px;font-size:14px}.home .v2-case-grid{gap:18px}.home .v2-case-copy h3{font-size:20px}}
@media(max-width:520px){.home .v2-case-grid{grid-template-columns:1fr}.home .v2-case-image{aspect-ratio:3/2}}
@media(prefers-reduced-motion:reduce){.home .v2-case-card,.home .case-filters button,.home .v2-case-image img{transition:none}}

/* Gallery introduction: compact title and a quiet architectural rule. */
.home-gallery-intro{display:flex;align-items:center;gap:20px;margin:0 0 25px;padding:3px 0 3px 16px;border-left:3px solid #8b392c}
.home-gallery-intro h2{margin:0;color:#713126;font:400 26px/1.4 var(--serif);letter-spacing:3px;white-space:nowrap}
.home-gallery-intro p{margin:0;color:#806b50;font:13px/1.7 var(--serif);letter-spacing:3px;white-space:nowrap}
.home-gallery-rule{flex:1;height:1px;margin-left:4px;background:linear-gradient(90deg,#cbb796, #e3dacf 75%,transparent)}
@media(max-width:650px){.home-gallery-intro{gap:12px;margin-bottom:20px;padding-left:12px}.home-gallery-intro h2{font-size:23px;letter-spacing:2px}.home-gallery-intro p{font-size:12px;letter-spacing:2px}.home-gallery-rule{margin-left:0}}

/* Single-line gallery captions: centre the arrow beside the title. */
.home .v2-case-copy>b{top:50%;transform:translateY(-50%)}
