/* Staggered Grid, Vengeance UI. Copyright (c) 2025-2026 Ashutoshx7, MIT.
 * Native responsive adaptation, Copyright 2026 Trillax contributors (MIT).
 * Source and credits: vengeance/staggered-grid.original.tsx; VENGEANCE-LICENSE.txt. */
.stagger-section{overflow:hidden;padding-block:100px 90px;background:#fff}
.stagger-heading{text-align:center;max-width:650px;margin:0 auto 55px}
.stagger-heading h2{font-size:clamp(40px,5vw,72px);line-height:1.06}
.stagger-heading p{font-size:18px;line-height:1.7;color:#454740;max-width:52ch;margin:25px auto 0}
.stagger-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:180px 245px;gap:18px;align-items:stretch;padding-block:24px 32px}
.stagger-tile{margin:0;overflow:hidden;border-radius:12px;background:#eeefea}
.stagger-tile img{height:100%;width:100%;object-fit:cover}
.stagger-screen img{object-position:left;filter:saturate(.65)}
.stagger-tile:nth-child(1),.stagger-tile:nth-child(5){margin-top:36px}
.stagger-tile:nth-child(2),.stagger-tile:nth-child(4){margin-top:17px}
.stagger-tile:nth-child(3){margin-bottom:17px}
.stagger-side{margin-top:20px;margin-bottom:18px}
.stagger-features{grid-column:2 / span 3;display:flex;gap:12px;min-width:0}
.stagger-feature{position:relative;min-width:0;flex:1 1 0;padding:0;border:0;border-radius:12px;overflow:hidden;background:#151614;color:#fff;text-align:left;transition:flex-grow .55s cubic-bezier(.22,1,.36,1)}
.stagger-feature[aria-pressed=true]{flex-grow:3}
.stagger-feature img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.25;transition:opacity .4s,transform .5s;transform:scale(1.08)}
.stagger-feature[aria-pressed=true] img{opacity:1;transform:scale(1)}
.stagger-feature:focus-visible{outline-offset:4px;z-index:2}
.feature-label{position:absolute;left:0;right:0;bottom:0;padding:18px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#151614;color:#fff;font-size:14px;font-weight:650}
.feature-label>span{display:none}.stagger-feature[aria-pressed=true] .feature-label{background:var(--gold);color:#151614}.stagger-feature[aria-pressed=true] .feature-label>span{display:inline}
.lot-feature-detail{max-width:700px;min-height:190px;margin:0 auto;text-align:center;padding:10px 0 0}
.lot-feature-detail h3{font-size:28px;letter-spacing:-1px;line-height:1.2;font-weight:650}
.lot-feature-detail p{font-size:16px;color:#454740;line-height:1.7;margin:16px auto 19px;max-width:60ch}
.lot-feature-detail .text-link{display:inline-block;padding:8px;min-height:44px}
@media(max-width:1100px){.stagger-grid{gap:12px;grid-template-rows:140px 220px}.stagger-features{gap:8px}.feature-label{font-size:13px;padding:16px 10px}.stagger-feature[aria-pressed=true]{flex-grow:2}}
@media(max-width:900px){.stagger-section{padding-block:75px 60px}.stagger-heading{margin-bottom:32px}.stagger-heading h2{font-size:54px}.stagger-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:155px 220px}.stagger-screen,.stagger-side{display:none}.stagger-features{grid-column:1 / -1}.stagger-feature[aria-pressed=true]{flex-grow:2.2}.stagger-tile:nth-child(1),.stagger-tile:nth-child(3){margin-top:20px;margin-bottom:0}.stagger-tile:nth-child(2){margin-top:0;margin-bottom:16px}}
@media(max-width:600px){.stagger-section{padding-block:60px 45px}.stagger-heading h2{font-size:40px;letter-spacing:-1.9px}.stagger-heading p{font-size:16px}.stagger-heading{margin-bottom:20px}.stagger-grid{gap:9px;padding-top:14px;grid-template-rows:110px 170px}.stagger-features{gap:7px}.stagger-feature,.stagger-feature[aria-pressed=true]{flex:1 1 0}.stagger-feature img{opacity:.55}.stagger-feature[aria-pressed=true] img{opacity:1}.feature-label{padding:13px 4px;min-height:46px;justify-content:center;font-size:13px}.feature-label>span,.stagger-feature[aria-pressed=true] .feature-label>span{display:none}.lot-feature-detail{min-height:240px;padding-top:0}.lot-feature-detail h3{font-size:26px;letter-spacing:-.9px}.lot-feature-detail p{font-size:16px;line-height:1.65}.stagger-tile{border-radius:8px}.stagger-feature{border-radius:8px}}
@media(max-width:350px){.stagger-grid{gap:6px}.stagger-features{gap:5px}.feature-label{font-size:13px;letter-spacing:-.5px}}
@media(prefers-reduced-motion:reduce){.stagger-feature,.stagger-feature img{transition:none}.stagger-grid>[data-grid-col]{transform:none!important;opacity:1!important}}
