/* Madison reference geometry, with SH aluminum content and brand assets. */
.madison-header{grid-template-columns:150px minmax(200px,1fr) 110px;gap:62px}
.madison-header .brand{width:150px}.madison-header .brand img{width:150px;height:80px;object-fit:contain}.header-search{max-width:none}
.reference-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:460px;color:#fff;overflow:hidden}
.reference-hero-image,.reference-hero-shade{position:absolute;inset:0;width:100%;height:100%;z-index:-2;object-fit:cover;object-position:center 48%}
.reference-hero-shade{z-index:-1;background:#0005}.reference-primary{min-height:390px}.reference-hero-content{width:100%;padding-block:45px}
.reference-hero h1,.reference-hero h2{font-size:58px;font-weight:700;line-height:1.2;margin:0;max-width:1400px;color:#fff}
.reference-primary h1{font-size:50px}.reference-primary .reference-subtitle{font-size:27px}.reference-subtitle{font-size:25px;font-weight:700;line-height:1.2;color:#fff;margin:16px 0 0;max-width:1250px}
.reference-features{display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px;font-size:15px;font-weight:700;margin-top:16px;line-height:1.3}
.reference-features>span{display:flex;align-items:center;gap:8px}.reference-features svg{width:18px;height:18px}
.reference-shop{margin-top:38px;min-width:172px;min-height:58px;font-size:15px;font-weight:400;text-transform:none;padding:14px 30px;justify-content:center;border:0;box-shadow:0 5px 8px #0004;gap:12px;background:#ffe402;color:#111;transition:background-color .3s,box-shadow .3s,transform .3s}
.reference-shop:hover{background:#fff34b;color:#111;box-shadow:0 8px 15px #0005;transform:translateY(-4px)}.reference-shop svg{width:19px;height:19px}
.reference-category:has(.reference-subtitle){min-height:340px}.reference-category:has(.reference-subtitle) .reference-subtitle{font-size:21px;font-weight:400;margin-top:12px}
.reference-category:has(.reference-subtitle) h2{font-size:56px}.reference-trust{height:52px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;border-bottom:1px solid #d7dfe5;gap:0}
.reference-trust span{display:flex;justify-content:center;align-items:center;gap:8px;font-size:14px;font-weight:700;color:#115387;border-right:1px solid #ddd;line-height:1.3}.reference-trust span:last-child{border-right:0}.reference-trust svg{width:17px;height:17px}
.reference-rail{--reference-card-width:25%;padding-top:28px;padding-bottom:16px;overflow:hidden;position:relative;touch-action:pan-y}
.reference-stage{position:relative;height:calc((100vw - 15px)*.3125);perspective:1200px;perspective-origin:50% 50%;transform-style:preserve-3d}
.reference-card{position:absolute;top:0;left:50%;width:25%;aspect-ratio:4/5;box-shadow:0 0 8px #0006;border-radius:7px;overflow:hidden;transform:translateX(calc(-50% + var(--offset,0)*100%)) translateZ(calc(var(--depth,0)*-200px));z-index:var(--layer,5);transition:transform .6s ease}
.reference-card>a{display:block;height:100%;position:relative;text-decoration:none;color:#fff}.reference-card img{width:100%;height:100%;object-fit:cover}.reference-card-caption{position:absolute;inset:auto 0 0;padding:80px 20px 28px;background:linear-gradient(transparent,#000b);text-align:center;color:#fff}
.reference-card h3{font:700 26px/1.2 'Bitter',Georgia,serif;color:#fff;margin-bottom:16px}.reference-card-caption span{display:inline-flex;align-items:center;gap:10px;padding:12px 22px;border-radius:7px;background:#fff;color:#111;font-size:15px}.reference-card-caption svg{width:17px;height:17px}.reference-card-caption span:hover{background:#eee}
.reference-card:not([data-offset="0"]):not([data-offset="-1"]):not([data-offset="1"]){filter:brightness(.94)}
.reference-arrow{position:absolute;top:calc((100vw - 15px)*.15625 + 6px);width:50px;height:50px;border:0;border-radius:50%;background:#fff;color:#111;z-index:20;display:grid;place-items:center;box-shadow:0 1px 7px #0001;transition:background-color .2s}
.reference-arrow:hover{background:#ececec}.reference-arrow svg{width:30px;height:30px}.reference-prev{left:24px}.reference-prev svg{transform:rotate(90deg)}.reference-next{right:24px}.reference-next svg{transform:rotate(-90deg)}
.reference-collection-link{display:flex;justify-content:center;padding:48px 20px;margin-bottom:32px}.reference-collection-link a{padding:10px 18px;border:1px solid #ddd;border-radius:7px;font-size:12px;text-decoration:none;text-transform:uppercase;line-height:1.7;transition:background-color .2s}.reference-collection-link a:hover{background:#eee}
.reference-collections-heading{text-align:center;font-size:39px;margin:32px 20px 20px;line-height:1.3}
.reference-projects{padding-block:48px}.project-spotlight-slides>article:not([hidden]){display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:64px;min-height:390px}.project-spotlight-copy{text-align:center;padding:20px 50px}.project-spotlight-kicker{font-size:14px;color:#115387;margin-bottom:20px}.project-spotlight-copy h2{font-size:32px;margin-bottom:18px}.project-spotlight-copy p{font-size:15px;line-height:1.6;margin-bottom:18px}.project-spotlight-copy .text-link{justify-content:center}.project-spotlight-image{height:390px}.project-spotlight-image img{width:100%;height:100%;object-fit:cover;border-radius:7px}.project-spotlight-controls{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:20px}.project-spotlight-status{font-size:13px}.project-spotlight-controls [data-project-prev] svg{transform:rotate(180deg)}
.reference-story{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;min-height:311px;background:linear-gradient(#ececec,#fff);margin-top:4px}.reference-story>div{padding:32px 64px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.reference-story h2{font-size:50px;margin-bottom:18px}.reference-story p{font-size:18px;line-height:1.5;max-width:700px;margin-bottom:25px}.reference-story .button{background:#000;border-color:#000;text-transform:none;font-size:17px;padding:13px 40px;box-shadow:0 6px 12px #0003}.reference-story>img{width:100%;height:100%;min-height:311px;object-fit:cover}
.reference-community{padding-block:40px 0;overflow:hidden}.reference-community-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 50px 30px}.reference-community-heading h2{font-size:39px;line-height:1.3}.reference-community-heading>a{border:1px solid #333;border-radius:30px;padding:12px 30px;white-space:nowrap;font-size:15px;font-weight:700;text-decoration:none}.reference-community .community-group img{width:240px;height:240px}.reference-community .community-group a{border-radius:12px}
.reference-blog-heading{text-align:center;padding:84px 20px 58px}.reference-blog-heading h2{font-size:39px;line-height:1.3;margin-bottom:48px}.reference-blog-heading>a{font-size:12px;font-weight:700;text-transform:uppercase}.reference-editorial{height:490px;position:relative;isolation:isolate;overflow:hidden}
.editorial-images,.editorial-images>img,.editorial-fade{position:absolute;inset:0;width:100%;height:100%;z-index:-2;object-fit:cover}.editorial-images>img{animation:editorial-in .3s ease}.editorial-fade{z-index:-1;background:linear-gradient(transparent 45%,#fffc 88%,#fff)}
.editorial-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;position:absolute;bottom:50px;left:20px;right:20px;align-items:end}.editorial-tab{border-bottom:2px solid #999;padding-bottom:10px;opacity:.45;transition:opacity .25s}.editorial-tab:has([aria-pressed=true]){opacity:1;border-color:#111}.editorial-tab>button{border:0;background:none;padding:0;text-align:left;font:25px/1.1 'Libre Baskerville',Georgia,serif;color:#111;display:block;width:100%;cursor:pointer}.editorial-tab>a{font-size:14px;color:#222;text-decoration:none;display:inline-flex;align-items:center;gap:6px;margin-top:8px}.editorial-tab>a svg{width:17px;height:17px}.editorial-tab:focus-within{opacity:1}
.editorial-arrow{position:absolute;top:45%;background:none;border:0;padding:14px;color:#111;z-index:2}.editorial-arrow svg{width:40px;height:40px}.editorial-prev{left:24px}.editorial-prev svg{transform:rotate(180deg)}.editorial-next{right:24px}.editorial-dots{position:absolute;bottom:14px;left:0;right:0;display:flex;gap:8px;justify-content:center}.editorial-dots>button{width:9px;height:9px;min-height:0;padding:0;border:0;border-radius:50%;background:#999}.editorial-dots>button[aria-pressed=true]{background:#111}.editorial-pause{position:absolute;right:20px;bottom:7px;padding:6px 10px;border:1px solid #ccc;border-radius:4px;background:#fff;font-size:11px;color:#333}
.reference-sitemap{padding-block:48px}.reference-sitemap>h2{font-size:28px;margin-bottom:28px}.reference-sitemap>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}.reference-sitemap h3{font-size:20px;background:#26679a;color:#fff;padding:18px 24px}.reference-sitemap ul{padding:0 24px;list-style:none;margin:0}.reference-sitemap li{border-bottom:1px solid #ddd}.reference-sitemap li a{display:block;padding:12px 0;text-decoration:none;font-size:14px;line-height:1.4}.reference-sitemap li a:hover{text-decoration:underline}
@keyframes editorial-in{from{opacity:0;transform:translateX(1%)}to{opacity:1;transform:translateX(0)}}
@media(max-width:1279px){.madison-header{gap:35px}.reference-primary h1{font-size:46px}.reference-hero h2{font-size:50px}.reference-subtitle{font-size:22px}.reference-card h3{font-size:23px}.reference-community-heading h2{font-size:32px}.editorial-tab>button{font-size:20px}.reference-story>div{padding:30px 32px}.reference-story h2{font-size:40px}}
@media(max-width:768px){
 .madison-header{grid-template-columns:1fr 100px;gap:0 10px}.madison-header .brand{width:150px}.madison-header .brand img{width:150px;height:78px}
 .reference-hero{min-height:390px;text-align:center}.reference-hero-content{padding-block:34px}.reference-primary{min-height:420px}.reference-primary h1{font-size:32px;line-height:1.25}.reference-subtitle{font-size:19px;line-height:1.35;margin-top:16px}.reference-hero h2{font-size:36px;line-height:1.2}.reference-features{justify-content:center;gap:10px 16px;font-size:12px;margin-top:18px}.reference-features svg{width:16px;height:16px}.reference-shop{font-size:15px;margin-top:28px;min-height:54px;padding:13px 26px}.reference-category:has(.reference-subtitle){min-height:280px}.reference-category:has(.reference-subtitle) h2{font-size:36px}.reference-category:has(.reference-subtitle) .reference-subtitle{font-size:18px}
 .reference-trust{padding-inline:10px;min-height:64px;height:auto;padding-block:12px}.reference-trust span{font-size:10px;line-height:1.4;gap:5px;text-align:center;padding-inline:7px}.reference-trust svg{width:15px;height:15px;flex-shrink:0}
 .reference-rail{padding-top:24px}.reference-stage{height:calc((100vw - 15px)*.875);perspective:800px}.reference-card{width:70%;aspect-ratio:4/5;transform:translateX(calc(-50% + var(--offset,0)*85%)) translateZ(calc(var(--depth,0)*-180px))}.reference-card h3{font-size:22px;line-height:1.2;margin-bottom:14px}.reference-card-caption{padding:60px 16px 24px}.reference-card-caption span{font-size:13px;padding:11px 20px}.reference-arrow{top:calc((100vw - 15px)*.4375 + 3px);width:40px;height:40px}.reference-arrow svg{width:24px;height:24px}.reference-prev{left:12px}.reference-next{right:12px}.reference-collection-link{padding:30px 20px;margin-bottom:12px}.reference-collections-heading{font-size:29px;margin:28px 20px 12px}
 .reference-projects{padding-block:32px}.project-spotlight-slides>article:not([hidden]){display:flex;flex-direction:column-reverse;gap:22px}.project-spotlight-copy{padding:0 5px}.project-spotlight-copy h2{font-size:27px}.project-spotlight-copy p{font-size:14px}.project-spotlight-image{height:260px;width:100%}
 .reference-story{grid-template-columns:1fr}.reference-story>div{padding:32px 24px}.reference-story h2{font-size:36px}.reference-story p{font-size:16px}.reference-story>img{height:230px;min-height:0}.reference-story .button{font-size:15px}
 .reference-community{padding-top:32px}.reference-community-heading{display:block;text-align:center;padding:0 20px 28px}.reference-community-heading h2{font-size:29px;margin-bottom:22px}.reference-community-heading>a{display:inline-block;font-size:13px;padding:10px 22px}.reference-community .community-group img{width:200px;height:200px}
 .reference-blog-heading{padding:48px 20px 32px}.reference-blog-heading h2{font-size:29px;margin-bottom:25px}.reference-editorial{height:430px}.editorial-tabs{display:block;bottom:55px;left:25px;right:25px}.editorial-tab{display:none}.editorial-tab:has([aria-pressed=true]){display:block}.editorial-tab>button{font-size:25px;line-height:1.25}.editorial-arrow{top:28%;padding:8px;background:#fffb;border-radius:50%}.editorial-arrow svg{width:25px;height:25px}.editorial-prev{left:15px}.editorial-next{right:15px}.editorial-fade{background:linear-gradient(transparent 25%,#fffe 78%,#fff)}.editorial-dots{gap:0;bottom:9px}.editorial-dots>button{width:25px;height:25px;background:none;border:8px solid #fff;box-shadow:inset 0 0 0 6px #999}.editorial-dots>button[aria-pressed=true]{background:none;box-shadow:inset 0 0 0 6px #111}.editorial-pause{right:15px;bottom:8px;font-size:10px}
 .reference-sitemap{padding-block:32px}.reference-sitemap>h2{font-size:25px;margin-bottom:22px}.reference-sitemap>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.reference-sitemap h3{padding:13px 12px;font-size:15px}.reference-sitemap ul{padding:0 10px}.reference-sitemap li a{font-size:12px;padding:10px 0}
}
@media(max-width:370px){.reference-primary h1{font-size:30px}.reference-hero h2{font-size:32px}.reference-card h3{font-size:20px}.reference-trust span{font-size:9px;padding-inline:5px}}
@media(max-width:768px){
 .reference-primary{min-height:380px}.reference-hero-content{padding:28px 30px}.reference-primary h1{font-size:30px;line-height:1.2}.reference-primary .reference-subtitle{font-size:18px;line-height:1.1;margin-top:10px}.reference-primary .reference-shop{display:flex;width:100%;min-height:46px;margin-top:30px;padding:11px 20px}.reference-primary .reference-features{flex-direction:column;gap:10px;margin-top:12px;font-size:13px;line-height:1.2}
 .reference-trust{height:50px;min-height:50px;grid-template-columns:1fr}.reference-trust span{border:0;font-size:13px}.reference-trust span:not(:first-child){display:none}.reference-trust svg{width:17px;height:17px}
}
.reference-stage{height:auto;aspect-ratio:16/5}
.reference-card h3{font-weight:400;font-size:28px;line-height:1}.reference-card-caption{padding:45px 30px 24px}.reference-card-caption span{font-size:14px;line-height:.9;background:transparent;border:1px solid #fff;border-radius:2px;color:#fff;padding:12px 20px}.reference-card-caption span:hover{background:#ffffff24}.reference-card-caption svg{display:none}
@media(max-width:768px){.reference-stage{height:auto;aspect-ratio:8/5;perspective:1200px}.reference-card{width:50%;transform:translateX(calc(-50% + var(--offset,0)*100%)) translateZ(calc(var(--depth,0)*-200px))}.reference-arrow{top:calc(100vw*.3125 + 3px)}.reference-card h3{font-size:18px;line-height:1}.reference-card-caption{padding:30px 20px 24px}.reference-card-caption span{font-size:10px;line-height:.9;padding:9px 15px}.reference-hero.reference-category{min-height:380px}.reference-category h2{font-size:50px}.reference-category:has(.reference-subtitle){min-height:280px}.reference-category:has(.reference-subtitle) h2{font-size:36px}.reference-collection-link a{background:#000;border-color:#000;color:#fff;font-weight:700;padding:13px 24px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}.reference-collection-link a:hover{background:#2e2e2e}}
@media(max-width:767px){.reference-stage{aspect-ratio:42/25}.reference-card{width:47.6190476%}.reference-arrow{top:calc(100vw*.297619 + 3px)}}
@media(prefers-reduced-motion:reduce){.reference-card,.reference-shop,.editorial-tab{transition:none}.editorial-images>img{animation:none}.community-track{animation:none}}

/* Horizontal gestures preserve vertical page scrolling and pinch zoom. */
.reference-rail{touch-action:pan-y pinch-zoom}
.sha-swipe{touch-action:pan-y pinch-zoom;cursor:grab;-webkit-user-select:none;user-select:none}
.sha-swipe img,.sha-swipe a{-webkit-user-drag:none}
.sha-swipe a,.sha-swipe .product-zoom{cursor:grab}
.sha-swipe.is-dragging,.sha-swipe.is-dragging *{cursor:grabbing!important}
.reference-stage.is-dragging .reference-card{transition:none!important}
.community-controls{display:flex;justify-content:center;gap:16px;padding:16px 20px 0}
.community-controls .icon-button{width:44px;height:44px;border:1px solid #ddd;background:#fff;border-radius:50%}
.community-controls .icon-button:hover{background:#eee}

/* Catalogue download beside the header search. */
.madison-header{grid-template-columns:150px minmax(0,1fr) auto 110px;column-gap:32px}
.header-search{min-width:0}
.header-catalogue{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 4px;color:#111;text-decoration:none;font-size:15px;font-weight:600;white-space:nowrap}
.header-catalogue svg{width:20px;height:20px;flex-shrink:0}
.header-catalogue:hover{text-decoration:underline;text-underline-offset:4px}
.header-catalogue:focus-visible{outline:2px solid #115387;outline-offset:4px;border-radius:3px}
@media(min-width:769px) and (max-width:1023px){.madison-header{column-gap:20px}}
@media(max-width:768px){
 .madison-header{grid-template-columns:minmax(0,1fr) 112px;column-gap:10px}
 .madison-header .header-search{grid-column:1;grid-row:2}
 .header-catalogue{grid-column:2;grid-row:2;align-self:start;min-height:42px;padding:0;font-size:13px;gap:6px}
 .header-catalogue svg{width:18px;height:18px}
 .header-search input{min-width:0}
}
