/* Home overview: installation album and four navigation menus. */
.home-overview-layout{--max:1380px;background:#fff}
.home-overview-layout main section{scroll-margin-top:96px}
.home-overview-layout .home-overview{padding:28px 0 64px;background:#fff}
.home-intro-banner{grid-column:1;grid-row:1;display:block;min-width:0;margin:0;padding:24px 28px;border:1px solid #d8dcde;background:#fafaf9}
.home-intro-eyebrow{margin-bottom:14px;font-size:12px;font-weight:700;line-height:1.4;letter-spacing:.12em;color:#24577a}
.home-overview-layout .home-intro-banner h1{margin:0;font-size:30px;line-height:1.4;font-weight:700;letter-spacing:0;color:#000;word-break:keep-all;overflow-wrap:anywhere}
.home-intro-banner p{margin:14px 0 0;font-size:18px;line-height:1.7;color:#667487;word-break:keep-all}
.home-intro-actions{display:flex;gap:12px;width:min(100%,372px);margin-top:24px}
.home-intro-actions .btn{flex:1;min-width:0;min-height:52px;padding:12px 18px;border:1px solid #c7d1da;border-radius:0;background:#fff;color:#101820;font-size:17px;justify-content:center;white-space:nowrap}
.home-intro-actions .btn.primary{border-color:#101820;background:#101820;color:#fff}
.home-intro-banner.home-gallery{position:relative;isolation:isolate;min-height:400px;padding:0;overflow:hidden;border-color:#273640;background:#101820}
.home-gallery>.hero-slides{position:absolute;inset:0;z-index:0;overflow:hidden}
.home-gallery .hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .45s ease,visibility .45s ease}
.home-gallery .hero-slide.is-active{opacity:1;visibility:visible}
.home-gallery .hero-slide img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
.home-gallery::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(6,16,24,.78),rgba(6,16,24,.4) 34%,transparent 60%),linear-gradient(0deg,rgba(6,16,24,.86),rgba(6,16,24,.24) 40%,transparent 65%)}
.home-gallery-case{position:absolute;top:auto;bottom:72px;left:32px;z-index:2;display:grid;gap:3px;max-width:calc(100% - 340px);color:#fff;pointer-events:none}
.home-gallery-case span{font-size:12px;font-weight:700;line-height:1.4;color:#e4edf3}
.home-gallery-case strong{font-size:20px;font-weight:700;line-height:1.4;word-break:keep-all}
.home-gallery-copy{position:absolute;top:28px;bottom:auto;left:32px;right:32px;z-index:2;pointer-events:none}
.home-overview-layout .home-gallery-copy h1{color:#fff;line-height:1.2}
.home-gallery-copy p{margin:0;font-size:16px;color:#e4edf3}
.home-gallery-actions{position:absolute;right:24px;bottom:24px;left:auto;z-index:3;width:min(134px,calc(100% - 48px));margin:0}
.home-gallery-actions .btn{min-height:40px;padding:8px 12px;font-size:14px}
.home-gallery-actions .btn svg{display:block;flex:none;width:16px;height:16px}
.home-gallery .home-intro-actions .btn,.home-gallery .home-intro-actions .btn.primary{border-color:rgba(255,255,255,.72);background:rgba(255,255,255,.82);color:#101820}
.home-gallery .home-intro-actions .btn:hover,.home-gallery .home-intro-actions .btn.primary:hover{background:rgba(255,255,255,.94)}
.home-gallery .hero-carousel-footer{top:auto;right:auto;bottom:24px;left:32px;z-index:3;max-width:calc(100% - 48px);gap:12px}
.home-gallery .hero-carousel-controls{gap:6px}
.home-gallery .hero-carousel-controls button{display:grid;place-items:center;width:28px;height:28px;border-color:rgba(255,255,255,.7);background:rgba(9,15,20,.55);font-size:17px}
.home-gallery .hero-carousel-controls button svg{display:block;width:16px;height:16px}
.home-gallery .hero-carousel-dots{gap:6px}
.home-gallery [data-hero-count]{font-size:12px;font-weight:700;line-height:1.4;white-space:nowrap;color:#fff}
.home-gallery .hero-slide:focus-visible{outline:3px solid #fff;outline-offset:-5px}
.home-gallery .home-intro-actions .btn:focus-visible,.home-gallery .hero-carousel-controls button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.home-overview-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);grid-template-rows:auto auto auto;gap:16px 24px;align-items:start}
.home-case-album{grid-column:1;grid-row:3;display:flex;flex-direction:column;min-width:0}
.home-album-header{grid-column:1;grid-row:2;display:flex;align-items:baseline;justify-content:flex-start;gap:16px;margin:0}
.home-album-header h2{margin:0;font-size:24px;font-weight:700;line-height:1.4;letter-spacing:0;color:var(--navy)}
.home-album-header .home-album-more{font-size:14px;white-space:nowrap}
.home-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px}
.home-project-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);background:#fff;transition:border-color .2s}
.home-project-card:hover{border-color:#8b9fad}
.home-project-card>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#edf1f3}
.home-project-card-copy{position:relative;flex:1;min-width:0;min-height:96px;padding:12px 14px}
.home-project-kind{display:block;margin-bottom:5px;font-size:10px;font-weight:700;line-height:1.4;letter-spacing:.05em;color:#24577a}
.home-project-card h3{margin:0 0 5px;font-size:17px;line-height:1.4;font-weight:700;letter-spacing:0;color:var(--navy);word-break:keep-all;overflow-wrap:anywhere}
.home-project-card p{margin:0;font-size:12px;line-height:1.55;color:var(--muted);word-break:keep-all;overflow-wrap:anywhere}
.home-quick-panel{grid-column:2;grid-row:1 / span 3;position:sticky;top:96px;min-width:0;align-self:start;padding:16px 20px;border:1px solid var(--line);border-radius:0;background:#fff}
.home-menu-grid{display:grid;grid-template-columns:1fr;grid-auto-rows:auto;align-content:start;flex:none;gap:0;margin:0}
.home-menu-card{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:18px;min-width:0;min-height:132px;padding:14px 0;border:0;background:transparent;transition:background .2s}
.home-menu-card+.home-menu-card{border-top:1px solid var(--line)}
a.home-menu-card:hover{background:#eeefec}
.home-menu-icon{display:block;width:52px;height:52px;color:#24577a}
.home-menu-icon svg{display:block;width:100%;height:100%}
.home-menu-card-copy{position:relative;min-width:0;padding-right:24px}
.home-menu-label{display:block;margin-bottom:5px;font-size:11px;font-weight:700;line-height:1.3;letter-spacing:.12em;color:#24577a}
.home-menu-card h2{margin:0 0 5px;font-size:24px;font-weight:700;line-height:1.3;letter-spacing:0;color:var(--navy)}
.home-menu-card p{margin:0;font-size:14px;line-height:1.5;letter-spacing:0;color:var(--muted);word-break:keep-all}
.home-support-card .home-menu-card-copy{padding-right:0}
.home-support-card{min-height:140px}
.home-support-card .home-support-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;font-size:20px;font-weight:700;line-height:1.3;color:var(--navy)}
.home-support-heading span{white-space:nowrap}
.home-support-number{display:inline;margin:0;font-size:22px;font-weight:700;line-height:1.3;letter-spacing:0;color:var(--navy);white-space:nowrap}
.home-support-card .home-support-hours{margin-top:6px;line-height:1.6}
.home-menu-arrow{position:absolute;top:22px;right:0;font-size:20px;line-height:1;color:var(--navy)}
.home-overview-layout .home-menu-card:focus-visible,
.home-overview-layout .home-project-card:focus-visible,
.home-overview-layout .home-album-more:focus-visible{outline:3px solid #24577a;outline-offset:4px}

@media(min-width:1081px) and (min-height:760px){
  .home-overview-layout .home-overview{padding:24px 0 64px}
  .home-overview-grid{--home-stage-height:calc(100svh - 120px);--home-intro-height:clamp(380px,calc(var(--home-stage-height)*.56),480px)}
  .home-intro-banner{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:var(--home-intro-height);padding:28px 32px}
  .home-intro-banner.home-gallery{min-height:0;padding:0}
  .home-album-header{min-height:34px;margin-top:16px}
  .home-project-grid{grid-auto-rows:calc(var(--home-stage-height) - var(--home-intro-height) - 82px)}
  .home-project-card{height:100%;min-height:0}
  .home-project-card>img{flex:1 1 0;min-height:0;height:0;aspect-ratio:auto}
  .home-project-card-copy{flex:none}
  .home-quick-panel{height:var(--home-stage-height);padding:20px 24px}
  .home-menu-grid{height:100%;grid-template-rows:repeat(4,minmax(0,1fr))}
  .home-menu-card,.home-support-card{min-height:0}
}

@media(min-width:1081px) and (min-height:760px) and (max-height:820px){
  .home-overview-grid{--home-intro-height:340px}
}

@media(max-width:1200px){
  .home-overview-layout .home-intro-banner h1{font-size:26px}
}

@media(max-width:1080px){
  .home-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-overview-layout .home-intro-banner h1{font-size:26px}
}

@media(min-width:901px) and (max-width:1080px){
  .home-gallery .hero-carousel-dots{display:none}
}

@media(max-width:900px){
  .home-overview-grid{grid-template-columns:1fr;grid-template-rows:auto;gap:24px}
  .home-intro-banner,.home-album-header,.home-case-album,.home-quick-panel{grid-column:1;grid-row:auto}
  .home-quick-panel{position:static}
  .home-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-content:normal;flex:none;column-gap:18px}
  .home-menu-card,.home-support-card{min-height:110px}
  .home-menu-card{grid-template-columns:48px minmax(0,1fr)}
  .home-menu-icon{width:48px;height:48px}
  .home-menu-card h2{font-size:22px}
  .home-menu-card:nth-child(2){border-top:0}
}

@media(max-width:600px){
  .home-overview-layout .home-overview{padding:24px 0 48px}
  .home-intro-banner{padding:20px}
  .home-intro-banner.home-gallery{min-height:420px;padding:0}
  .home-gallery-case{top:auto;bottom:112px;left:22px;max-width:calc(100% - 44px)}
  .home-gallery-case strong{font-size:18px}
  .home-gallery-copy{top:22px;bottom:auto;left:22px;right:22px}
  .home-gallery .hero-carousel-footer{top:auto;bottom:68px;left:22px;right:auto;max-width:calc(100% - 44px);flex-wrap:wrap;gap:10px}
  .home-gallery .hero-carousel-controls{gap:5px}
  .home-gallery .hero-carousel-dots{gap:5px}
  .home-gallery .hero-carousel-dots button{width:6px;height:6px}
  .home-gallery-actions{right:22px;bottom:18px;width:min(134px,calc(100% - 44px))}
  .home-menu-grid{grid-template-columns:1fr;gap:0}
  .home-menu-card{gap:18px}
  .home-menu-card:nth-child(2){border-top:1px solid var(--line)}
}

@media(max-width:480px){
  .home-overview-layout main section{scroll-margin-top:84px}
  .home-overview-layout .home-intro-banner h1{font-size:26px}
  .home-project-grid{grid-template-columns:1fr;gap:20px}
}

@media(prefers-reduced-motion:reduce){
  html:has(body.home-overview-layout){scroll-behavior:auto}
  .home-menu-card,.home-project-card{transition:none}
  .home-gallery .hero-slide,.home-gallery .hero-slide img,.home-gallery .hero-carousel-controls button,.home-gallery .hero-carousel-dots button{transition:none}
}
