/* Reference homepage flow. Display-only: keep the CMS markup and content keys intact. */
/* Six stable slots per category; unfilled slots remain whitespace, never fake links. */
.home-v2 .home-case-index-grid .home-case-index-links{display:grid;grid-template-rows:repeat(6,48px);align-content:start}
.home-v2 .home-case-index-grid .home-case-index-links>a{display:grid;grid-template-columns:18px minmax(0,1fr) 10px;align-items:center;gap:8px;height:48px;min-height:48px;padding:6px 0;box-sizing:border-box}
.home-v2 .home-case-index-grid .home-case-index-links>a>span{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:18px}
.home-v2 .home-case-index-grid .home-case-index-links{grid-template-columns:minmax(0,1fr)}
.home-v2 .home-case-index-grid .home-case-rank{font:11px/1.5 var(--sans);color:#a38b6a}
.home-v2 .home-product-category-index{display:none}
.home-v2 .home-product-category-index,.home-v2 .home-case-index{width:min(1460px,calc(100% - 96px));margin-inline:auto;box-sizing:border-box}
.home-v2 .home-product-category-index{order:7;padding:0 0 30px}
.home-v2 .home-product-category-index>.home-category-links{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:28px}
.home-v2 .home-product-category-index .home-category-heading h3{font:500 23px var(--serif);color:#342e25}
.home-v2 .home-product-category-index .home-category-links>a{min-height:42px;font-size:12px;color:#554f46;border-color:#e1dacf}
.home-v2 .home-case-index{order:8;padding:30px 0 38px;border-top:1px solid #d7d0c4}
.home-v2 .home-case-index>h2{margin:0 0 30px;font:500 28px/1.4 var(--serif);color:#181714}
.home-v2 .home-case-index>h2>span{font:12px var(--sans);letter-spacing:.08em}
.home-v2 .home-case-index-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));row-gap:30px}
.home-v2 .home-case-index-grid>article{min-width:0;padding:0 26px;border-left:1px solid #d4ccbf}
.home-v2 .home-case-index-grid>article:first-child{padding-left:0;border-left:0}
.home-v2 .home-case-index-grid h3{display:flex;gap:16px;align-items:baseline;margin:0 0 18px;font:500 25px/1.4 var(--serif);color:#181714}
.home-v2 .home-case-index-grid h3>b{font-size:18px;font-weight:500}
.home-v2 .home-case-index-links{display:block}
.home-v2 .home-case-index-links>a{display:flex;justify-content:space-between;align-items:baseline;gap:14px;min-height:0;padding:6px 0;border:0;color:#4e4942;font-size:12px;line-height:1.8}
.home-v2 .home-case-index-links>a:hover{color:#a57842}
.home-v2 .home-case-index-links i{font-size:13px;color:#9a805e}
@media(max-width:1000px){.home-v2 .home-product-category-index,.home-v2 .home-case-index{width:calc(100% - 44px)}.home-v2 .home-case-index-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-v2 .home-case-index-grid>article:nth-child(odd){padding-left:0;border-left:0}.home-v2 .home-product-category-index>.home-category-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.home-v2 .home-product-category-index,.home-v2 .home-case-index{width:calc(100% - 28px)}.home-v2 .home-product-category-index{order:8;padding-top:24px}.home-v2 .home-case-index-grid{grid-template-columns:1fr;row-gap:22px}.home-v2 .home-case-index-grid>article{padding:0 0 20px;border:0;border-bottom:1px solid #d4ccbf}.home-v2 .home-case-index-grid h3{font-size:22px}.home-v2 .home-case-index-links>a{font-size:13px}.home-v2 .home-case-index>h2{font-size:26px}}
.home-v2 .home-main{display:flex;flex-direction:column}
.home-v2 .home-category-browser,.home-v2 .home-category-browser>.wrap{display:contents}
.home-v2 .home-category-browser>.wrap>.v2-title,
.home-v2 .home-category-columns,
.home-v2 .home-latest-heading,
.home-v2 .home-latest-projects{width:min(1460px,calc(100% - 96px));margin-inline:auto;box-sizing:border-box}
.home-v2 .home-latest-heading{order:3;align-items:center;margin-top:27px;margin-bottom:20px;padding:0;border:0}
.home-v2 .home-latest-heading h3{font:500 31px var(--serif);color:#181714}
.home-v2 .home-latest-heading>a{color:#554f46;font-size:12px}
.home-v2 .home-latest-projects{order:3;display:flex;gap:12px;margin-top:0;margin-bottom:48px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#c4b49b transparent;padding-bottom:8px}
.home-v2 .home-latest-projects>a{display:flex;position:relative;flex:0 0 calc((100% - 48px)/5);min-width:245px;min-height:0;padding:0;background:transparent;color:#181714;justify-content:flex-start;scroll-snap-align:start;overflow:visible}
.home-v2 .home-latest-projects>a:after{content:none}
.home-v2 .home-latest-projects img{position:static;display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;transform:none}
.home-v2 .home-latest-projects>a:hover img{transform:none;filter:brightness(1.04)}
.home-v2 .home-latest-projects span{margin:12px 0 5px;color:#9a7447;font-size:11px}
.home-v2 .home-latest-projects b{font:500 17px/1.5 var(--serif);color:#29251f}
.home-v2 .desktop-home-products{order:7;padding:24px 0 34px}
.home-v2 .v2-product-track{gap:12px;scrollbar-width:thin;scrollbar-color:#c4b49b transparent;padding-bottom:10px}
.home-v2 .v2-product-track>a{flex:0 0 calc((100% - 60px)/6);min-width:190px}
.home-v2 .v2-product-track>a>div{aspect-ratio:1/1.08}
.home-v2 .v2-product-track img{object-fit:contain;background:#eeeae3}
.home-v2 .home-category-browser>.wrap>.v2-title{order:8;align-items:center;margin-top:0;margin-bottom:22px;padding-top:30px;border-top:1px solid #d7d0c4}
.home-v2 .home-category-browser .v2-title h2{font:500 28px/1.4 var(--serif);color:#181714}
.home-v2 .home-category-eyebrow{font-size:9px;letter-spacing:.13em;margin-bottom:8px;color:#9a7447}
.home-v2 .home-category-columns{order:8;gap:48px;margin-bottom:34px}
.home-v2 .home-category-columns .home-category-heading{padding-bottom:12px;border-color:#d7d0c4}
.home-v2 .home-category-columns h3{font:500 23px var(--serif);color:#342e25}
.home-v2 .home-category-links>a{min-height:42px;border-color:#e1dacf;color:#554f46;font-size:13px}
.home-v2 .home-category-links small{color:#9c9385}
.home-v2 .v2-partners{order:9}
@media(max-width:1000px){
 .home-v2 .home-category-browser>.wrap>.v2-title,.home-v2 .home-category-columns,.home-v2 .home-latest-heading,.home-v2 .home-latest-projects{width:calc(100% - 44px)}
 .home-v2 .home-category-columns{gap:26px}
}
@media(max-width:640px){
 .home-v2 .home-category-browser>.wrap>.v2-title,.home-v2 .home-category-columns,.home-v2 .home-latest-heading,.home-v2 .home-latest-projects{width:calc(100% - 28px)}
 .home-v2 .home-latest-heading{margin-top:27px;margin-bottom:16px}
 .home-v2 .home-latest-heading h3{font-size:26px}
 .home-v2 .home-latest-projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 10px;overflow:visible;margin-bottom:34px;padding:0}
 .home-v2 .home-latest-projects>a{min-width:0;min-height:0}
 .home-v2 .home-latest-projects img{aspect-ratio:4/3}
 .home-v2 .home-latest-projects span{font-size:10px;margin-top:9px}
 .home-v2 .home-latest-projects b{font-size:15px}
 .home-v2 .home-category-columns{grid-template-columns:1fr;gap:26px;margin-bottom:30px}
 .home-v2 .home-category-browser .v2-title h2{font-size:26px}
 .home-v2 .home-category-columns h3{font-size:21px}
 .home-v2 .home-category-links>a{font-size:12px;min-height:44px}
}
