/* Installation page */
.bb-inst{background:#fff;overflow:hidden}
.bb-inst h2{font-size:clamp(32px,3.4vw,46px);line-height:1.1;margin:8px 0 0}
.bb-inst h2 span{color:var(--bb-green)}
.bb-inst .bb-eyebrow{font-size:13px}

/* Hero */
.bb-inst-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:clamp(560px,46vw,700px);padding:80px 0;color:#fff;background:var(--bb-forest)}
.bb-inst-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 55%;z-index:-2}
.bb-inst-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(var(--bb-shade-rgb),.92) 0%,rgba(var(--bb-shade-rgb),.78) 40%,rgba(var(--bb-shade-rgb),.25) 75%,rgba(var(--bb-shade-rgb),.05)),linear-gradient(0deg,rgba(var(--bb-shade-rgb),.55),rgba(var(--bb-shade-rgb),0) 40%)}
.bb-inst-kicker{display:inline-flex;align-items:center;gap:10px;font:900 13px/1 var(--bb-serif);letter-spacing:.2em;text-transform:uppercase;color:var(--bb-yellow)}
.bb-inst-kicker:before{content:'';width:28px;height:3px;border-radius:3px;background:var(--bb-yellow)}
.bb-inst-hero h1{font:900 clamp(42px,5.4vw,78px)/1.03 var(--bb-serif);letter-spacing:-.02em;color:#fff;margin:18px 0 20px;max-width:760px}
.bb-inst-line{display:block;white-space:nowrap}
.bb-inst-accent{color:var(--bb-on-dark-accent)}
.bb-inst-hero-inner>p{font-size:clamp(17px,1.4vw,20px);line-height:1.6;color:var(--bb-on-dark);max-width:580px;margin:0 0 30px}
.bb-inst-buttons{display:flex;flex-wrap:wrap;gap:14px}
.bb-inst-buttons .bb-btn{min-height:56px;font-size:17px}
.bb-inst-chips{list-style:none;display:flex;flex-wrap:wrap;gap:10px 22px;margin:30px 0 0;padding:0;font-size:15px;font-weight:600;color:#fff}
.bb-inst-chips li{display:inline-flex;align-items:center;gap:8px}
.bb-inst-chips svg{color:var(--bb-yellow)}

/* Pillars */
.bb-inst-pillars{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:-64px}
.bb-inst-pillars article{background:#fff;border:1px solid var(--bb-line);border-radius:22px;padding:30px 28px 32px;box-shadow:0 2px 4px rgba(var(--bb-shadow-rgb),.05),0 24px 48px -20px rgba(var(--bb-shadow-rgb),.35)}
.bb-inst-icon{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:16px;background:var(--bb-mint);color:var(--bb-green)}
.bb-inst-pillars h3{font:800 22px/1.25 var(--bb-serif);margin:18px 0 8px}
.bb-inst-pillars p{font-size:16px;line-height:1.65;color:var(--bb-muted);margin:0}

/* Section heads */
.bb-inst-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:32px}
.bb-inst-head>p{font-size:17px;line-height:1.6;color:var(--bb-muted);max-width:420px;margin:0}
.bb-inst-head-center{justify-content:center;text-align:center}

/* Gallery */
.bb-inst-gallery{padding-top:110px}
.bb-inst-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,clamp(170px,16vw,230px));gap:14px}
.bb-inst-shot{position:relative;display:block;overflow:hidden;border-radius:18px;background:var(--bb-mint)}
.bb-inst-shot img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.bb-inst-shot:hover img{transform:scale(1.05)}
.bb-inst-zoom{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.92);color:var(--bb-forest);opacity:0;transform:translateY(6px);transition:opacity .25s,transform .25s}
.bb-inst-shot:hover .bb-inst-zoom,.bb-inst-shot:focus-visible .bb-inst-zoom{opacity:1;transform:none}
.bb-inst-shot-01{grid-column:1/3;grid-row:1/3}
.bb-inst-shot-04{grid-column:3;grid-row:1/3}
.bb-inst-shot-05{grid-column:4;grid-row:1/3}
.bb-inst-shot-02{grid-column:1;grid-row:3}
.bb-inst-shot-03{grid-column:2/4;grid-row:3}
.bb-inst-shot-06{grid-column:4;grid-row:3}
.bb-inst-shot-04 img,.bb-inst-shot-05 img{object-position:center 60%}

/* Lightbox */
.bb-inst-lightbox{padding:0;border:0;background:transparent;max-width:min(94vw,1400px);max-height:92vh;overflow:visible}
.bb-inst-lightbox::backdrop{background:rgba(var(--bb-shade-rgb),.88)}
.bb-inst-lightbox img{display:block;max-width:min(94vw,1400px);max-height:88vh;width:auto;height:auto;border-radius:14px;box-shadow:0 30px 70px rgba(0,0,0,.5)}
.bb-inst-lightbox button{position:absolute;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:0;background:#fff;color:var(--bb-forest);cursor:pointer;font:400 30px/1 var(--bb-sans);box-shadow:0 8px 20px rgba(0,0,0,.3)}
.bb-inst-lightbox button:hover{background:var(--bb-yellow)}
.bb-inst-lb-close{top:-16px;right:-16px}
.bb-inst-lb-prev,.bb-inst-lb-next{top:50%;margin-top:-24px}
.bb-inst-lb-prev{left:-24px}.bb-inst-lb-prev svg{transform:scaleX(-1)}
.bb-inst-lb-next{right:-24px}

/* Slope feature */
.bb-inst-slope{margin-top:110px;padding:100px 0;background:var(--bb-cream)}
.bb-inst-slope-inner{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(40px,6vw,88px);align-items:center}
.bb-inst-slope-photo{position:relative}
.bb-inst-slope-photo img{display:block;width:100%;aspect-ratio:4/3.4;object-fit:cover;border-radius:24px;box-shadow:0 30px 60px -30px rgba(var(--bb-shadow-rgb),.45)}
.bb-inst-badge{position:absolute;left:20px;bottom:20px;display:inline-flex;align-items:center;gap:9px;padding:11px 18px;border-radius:999px;background:#fff;color:var(--bb-forest);font:800 15px/1.2 var(--bb-serif);box-shadow:0 10px 24px -10px rgba(0,0,0,.4)}
.bb-inst-badge svg{color:var(--bb-green)}
.bb-inst-slope-copy>p{font-size:17px;line-height:1.7;color:var(--bb-muted);margin:18px 0 0}
.bb-inst-checks{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:16px}
.bb-inst-checks li{display:flex;gap:14px;align-items:flex-start;font-size:16px;line-height:1.55;color:var(--bb-muted)}
.bb-inst-checks svg{color:var(--bb-green);margin-top:1px}
.bb-inst-checks strong{color:var(--bb-forest)}
.bb-inst-slope-copy>p.bb-inst-note{font-size:15px;margin-top:26px;padding-top:22px;border-top:1px solid var(--bb-line)}
.bb-inst-note a{color:var(--bb-green);font-weight:700;border-bottom:2px solid var(--bb-yellow)}

/* Steps */
.bb-inst-steps{padding-top:110px}
.bb-inst-steps ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;counter-reset:none}
.bb-inst-steps li{position:relative;padding:30px 28px;border-radius:22px;border:1px solid var(--bb-line);background:#fff;box-shadow:var(--bb-shadow)}
.bb-inst-steps li>span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--bb-forest);color:var(--bb-yellow);font:900 21px/1 var(--bb-serif)}
.bb-inst-steps h3{font:800 21px/1.25 var(--bb-serif);margin:20px 0 8px}
.bb-inst-steps li p{font-size:16px;line-height:1.65;color:var(--bb-muted);margin:0}
.bb-inst-price{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:22px;padding:28px 32px;border-radius:22px;background:var(--bb-butter);border:1px solid var(--bb-butter-line)}
.bb-inst-price strong{display:block;font:900 clamp(24px,2.4vw,30px)/1.2 var(--bb-serif);color:var(--bb-forest)}
.bb-inst-price strong .amount{color:var(--bb-green)}
.bb-inst-price p{font-size:16px;color:var(--bb-butter-ink);margin:6px 0 0}
.bb-inst-fineprint{font-size:14px;color:var(--bb-muted);margin:16px 4px 0}

/* CTA */
.bb-inst-cta{padding-block:100px 110px}
.bb-inst-cta-card{display:flex;align-items:center;justify-content:space-between;gap:36px;padding:52px 56px;border-radius:28px;color:#fff;background:radial-gradient(500px 300px at 90% 0%,rgba(var(--bb-accent-rgb),.22),transparent 70%),linear-gradient(135deg,var(--bb-forest),var(--bb-dark-2))}
.bb-inst-cta .bb-eyebrow{color:var(--bb-yellow)}
.bb-inst-cta h2{color:#fff}
.bb-inst-cta-card p{font-size:17px;line-height:1.6;color:var(--bb-on-dark);margin:12px 0 0;max-width:520px}
.bb-inst-cta-actions{display:flex;flex-direction:column;gap:12px;flex-shrink:0}

@media(prefers-reduced-motion:reduce){.bb-inst *{transition:none!important}}

@media(max-width:1000px){
  .bb-inst-pillars{grid-template-columns:1fr;gap:14px;margin-top:-48px}
  .bb-inst-pillars article{display:grid;grid-template-columns:56px 1fr;column-gap:20px;padding:24px}
  .bb-inst-icon{grid-row:1/3}
  .bb-inst-pillars h3{margin:4px 0 6px}
  .bb-inst-slope-inner{grid-template-columns:1fr}
  .bb-inst-steps ol{grid-template-columns:1fr;gap:14px}
  .bb-inst-steps li{display:grid;grid-template-columns:48px 1fr;column-gap:20px;padding:24px}
  .bb-inst-steps li>span{grid-row:1/3}
  .bb-inst-steps h3{margin:4px 0 6px}
  .bb-inst-cta-card{flex-direction:column;align-items:flex-start}
  .bb-inst-cta-actions{flex-direction:row;flex-wrap:wrap}
}
@media(max-width:800px){
  .bb-inst-head{display:block}
  .bb-inst-head>p{margin-top:12px}
  .bb-inst-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:clamp(150px,38vw,260px)}
  .bb-inst-grid .bb-inst-shot{grid-column:auto;grid-row:auto}
  .bb-inst-grid .bb-inst-shot-01{grid-column:1/-1;grid-row:span 1}
  .bb-inst-grid .bb-inst-shot-04,.bb-inst-grid .bb-inst-shot-05{grid-row:span 2}
  .bb-inst-grid .bb-inst-shot-03{grid-column:1/-1}
  .bb-inst-zoom{opacity:1;transform:none;width:32px;height:32px}
  .bb-inst-hero:before{background:linear-gradient(90deg,rgba(var(--bb-shade-rgb),.86),rgba(var(--bb-shade-rgb),.6)),linear-gradient(0deg,rgba(var(--bb-shade-rgb),.6),rgba(var(--bb-shade-rgb),0) 50%)}
  .bb-inst-lb-prev{left:6px}.bb-inst-lb-next{right:6px}.bb-inst-lb-close{top:6px;right:6px}
}
@media(max-width:600px){
  .bb-inst-hero{min-height:0;padding:48px 0 96px}
  .bb-inst-hero-bg{object-position:72% center}
  .bb-inst-hero h1{font-size:clamp(38px,10.5vw,48px);margin:14px 0 16px}
  .bb-inst-hero-inner>p{font-size:16px;margin-bottom:24px}
  .bb-inst-buttons{display:grid;grid-template-columns:1fr;gap:10px}
  .bb-inst-buttons .bb-btn{width:100%}
  .bb-inst-chips{flex-direction:column;gap:8px;margin-top:24px}
  .bb-inst-pillars article{grid-template-columns:48px 1fr;column-gap:16px;padding:20px}
  .bb-inst-icon{width:48px;height:48px;border-radius:14px}
  .bb-inst-pillars h3{font-size:19px}
  .bb-inst-pillars p{font-size:15px}
  .bb-inst-gallery,.bb-inst-steps{padding-top:72px}
  .bb-inst-grid{gap:10px}
  .bb-inst-shot{border-radius:14px}
  .bb-inst-slope{margin-top:72px;padding:64px 0}
  .bb-inst-slope-photo img{border-radius:18px}
  .bb-inst-badge{left:12px;bottom:12px;font-size:13px;padding:9px 14px}
  .bb-inst-steps li{grid-template-columns:44px 1fr;column-gap:16px;padding:20px}
  .bb-inst-steps li>span{width:44px;height:44px;font-size:19px}
  .bb-inst-price{flex-direction:column;align-items:flex-start;padding:24px}
  .bb-inst-price .bb-btn{width:100%}
  .bb-inst-cta{padding-block:64px 72px}
  .bb-inst-cta-card{padding:32px 22px;border-radius:22px}
  .bb-inst-cta-actions{flex-direction:column;width:100%}
  .bb-inst-cta-actions .bb-btn{width:100%}
}
@media(max-width:600px){.bb-inst-kicker{font-size:11px;letter-spacing:.12em}.bb-inst-kicker:before{width:20px}}
