/* Secondary pages follow the approved home page's palette, grid, and rhythm. */
body.subpage{background:#fff;color:#2a3d33}
.sub-shell{width:min(1240px,calc(100% - 80px))}
.sub-header{top:14px;margin-top:14px}
.sub-header-inner{min-height:76px;border-radius:999px;padding:10px 28px;background:rgba(248,250,247,.86)}
.sub-header-cta,.sub-button{min-height:50px;background:#20372e;font-weight:400}
.sub-main{padding-top:30px}
.sub-hero{grid-template-columns:minmax(0,1.2fr) minmax(280px,.65fr);align-items:end;gap:56px;padding:64px 0 58px;border:0}
.sub-eyebrow{margin-bottom:18px;color:#5a675e;font-size:12px;letter-spacing:.04em}
.sub-hero h1{font-size:clamp(48px,5.25vw,76px);line-height:1.04;letter-spacing:-.045em;overflow-wrap:normal}
.sub-hero p{max-width:380px;font-size:17px;line-height:1.6}
.sub-section{padding:38px 0 72px}
.sub-section-heading{align-items:end;margin-bottom:30px}
.sub-section h2{font-size:clamp(32px,3.35vw,48px);line-height:1.13;letter-spacing:-.04em}
.sub-section-heading p{font-size:15px;line-height:1.6}
.sub-catalog-grid{gap:16px}
.sub-product{background:#f7f8f5;border:1px solid rgba(42,61,51,.12);border-radius:24px}
.sub-product-image{position:relative;aspect-ratio:1.25;background:#fff}
.sub-product-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.sub-product-copy{padding:22px 23px 24px}
.sub-product h2,.sub-product h3{font-size:22px;line-height:1.25}
.sub-product p{font-size:14px;line-height:1.5}
.sub-product-actions{display:grid;gap:9px;align-items:stretch}
.sub-product-actions a{display:flex;justify-content:center;min-height:48px;padding:10px 17px;border:0;border-radius:999px;background:#e6ebe5;text-align:center;font-size:14px;line-height:1.35}
.sub-product-actions a:first-child{background:#20372e;color:#fff}
.sub-product-actions a:hover{background:#d7e0d4}
.sub-product-actions a:first-child:hover{background:#355b47}
.sub-work-grid{gap:16px}
.sub-work-image{border-radius:16px}
.sub-work h2,.sub-work h3{font-size:18px;line-height:1.35}
.sub-work p{font-size:13px;line-height:1.5}
.sub-note{font-size:13px}
.sub-cta{margin:0 0 72px;padding:48px 54px;border-radius:32px;background:#20372e}
.sub-cta h2{font-size:clamp(34px,3.4vw,48px)}
.sub-cta .sub-eyebrow{color:#b7c9b9}
.sub-cta .sub-button{background:#fff;color:#20372e!important}
.sub-cta .sub-button:hover{background:#e6ebe5}
.sub-contact-layout{gap:60px;padding:32px 0 72px}
.sub-contact-info h2{font-size:clamp(30px,3vw,43px);font-weight:400;letter-spacing:-.04em}
.sub-contact-info p{line-height:1.65}
.sub-form{border-radius:24px;padding:38px 40px;background:#20372e}
.sub-form input:not([type=checkbox]){min-height:52px;border-radius:12px;background:#101d18}
.sub-footer{min-height:490px;align-items:center;background:#f2f2ee}
.sub-footer-stone{filter:none;object-position:center 50%}
.sub-footer-glass{width:min(1200px,calc(100% - 40px));margin:0 auto;padding:25px 30px;background:rgba(248,250,247,.86);border-radius:24px}
.sub-footer-top{padding-bottom:20px;border-bottom:1px solid rgba(42,61,51,.18)}
.sub-footer-links{padding-top:18px;font-size:14px}
.sub-footer-nav{display:flex;align-items:center;gap:22px}
.sub-footer-nav a:hover,.sub-footer-links a:hover{text-decoration:underline;text-underline-offset:4px}
.subpage-works .sub-section{padding-top:42px}
/* Match the approved home palette and footer over legacy prototype rules. */
body.subpage .sub-cta{background:#20372e;border-radius:32px}
body.subpage .sub-product{border-radius:24px}
body.subpage .sub-work-image{border-radius:16px}
body.subpage .sub-footer{min-height:clamp(380px,58vw,460px);margin-top:48px;align-items:center;background:#f2f2ee}
body.subpage .sub-footer-stone{border-radius:0;object-position:center 48%;filter:saturate(.72) brightness(.82)}
body.subpage .sub-footer-glass{width:min(1240px,calc(100% - 80px));padding:32px;background:rgba(248,250,247,.86);border:1px solid rgba(255,255,255,.65);border-radius:32px;color:#20372e}
body.subpage .sub-footer-top{padding-bottom:0;border:0}
body.subpage .sub-footer-extra{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:start;margin:28px 0;padding:22px 0;border-block:1px solid rgba(32,55,44,.22)}
body.subpage .sub-footer-extra-title{margin:0;color:#5a675e;font-size:16px;line-height:1.5}
body.subpage .sub-footer-facts{display:flex;flex-wrap:wrap;gap:12px 32px;font-size:15px;line-height:1.5}
body.subpage .sub-footer-nav{grid-column:1/-1;gap:12px 24px}
body.subpage .sub-footer-bottom{display:flex;justify-content:space-between;gap:20px;font-size:14px}
body.subpage .sub-footer-bottom a{text-decoration:underline;text-underline-offset:4px}
@media(max-width:1000px){.sub-shell{width:calc(100% - 48px)}.sub-hero{gap:30px}.sub-footer-nav{gap:12px}}
@media(max-width:767px){
 .sub-shell{width:calc(100% - 40px)}
 .sub-header{top:10px;margin-top:10px}
 .sub-header-inner{min-height:66px;padding:9px 15px;border-radius:999px}
 .sub-menu summary{background:transparent}
 .sub-main{padding-top:12px}
 .sub-hero{padding:46px 0 34px}
 .sub-hero h1{font-size:clamp(36px,9.5vw,52px);line-height:1.08}
 .sub-hero p{margin-top:18px;font-size:15px;line-height:1.55}
 .sub-section{padding:30px 0 48px}
 .sub-section-heading{margin-bottom:23px}
 .sub-section h2{font-size:clamp(30px,8vw,38px)}
 .sub-section-heading p{margin-top:12px;font-size:14px}
 .sub-catalog-grid{gap:12px}
 .sub-product{border-radius:18px}
 .sub-product-image{aspect-ratio:1.05}
 .sub-product-copy{padding:15px}
 .sub-product h2,.sub-product h3{font-size:17px}
 .sub-product p{font-size:13px;line-height:1.45;margin-bottom:15px}
 .sub-product-actions a{min-height:46px;padding:9px 7px;font-size:12px}
 .sub-work-grid{gap:18px 12px}
 .sub-work-image{border-radius:14px}
 .sub-work h2,.sub-work h3{font-size:16px}
 .sub-work p{font-size:12px}
 .sub-cta{margin:0 0 48px;padding:28px 24px;border-radius:24px}
 .sub-cta h2{font-size:32px}
 .sub-cta .sub-button{justify-self:start}
 .sub-contact-layout{gap:30px;padding:20px 0 48px}
 .sub-form{padding:28px 23px;border-radius:24px}
 .sub-footer{min-height:420px}
 .sub-footer-glass{width:calc(100% - 28px);padding:18px;border-radius:20px}
 .sub-footer-top{align-items:flex-start;gap:10px}
 .sub-footer-top img{height:27px}
 .sub-footer-top>a{font-size:13px}
 .sub-footer-links{gap:14px;padding-top:16px}
 .sub-footer-nav{flex-wrap:wrap;gap:10px 20px}
 body.subpage .sub-product{border-radius:18px}
 body.subpage .sub-work-image{border-radius:14px}
 body.subpage .sub-cta{border-radius:24px}
 body.subpage .sub-footer{min-height:0;margin-top:36px;padding:20px;background:#fff}
 body.subpage .sub-footer-stone{display:none}
 body.subpage .sub-footer-glass{width:100%;margin:0;padding:26px 20px;background:#f8faf7;border:0;border-radius:20px;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
 body.subpage .sub-footer-extra{grid-template-columns:1fr;gap:16px;margin:22px 0;padding:20px 0}
 body.subpage .sub-footer-facts{display:grid;gap:6px}
 body.subpage .sub-footer-bottom{flex-direction:column;gap:6px}
}
@media(max-width:600px){
 .sub-catalog-grid{grid-template-columns:1fr}
 .sub-product-image{aspect-ratio:1.35}
 .sub-product-actions a{font-size:14px}
}
