/* AK Solar Technologies - static site styles. Mobile-first, no framework. */
:root{
  --orange:#FB851A; --orange-hover:#E06F0A; --blue:#0B4ABC; --blue-dark:#093A7F; --blue-light:#2772CF; --yellow:#FDCE39; --navy:#001524; --cream:#F8F6F3; --ice:#EFF7F9; --text:#333333;
  --radius:14px; --shadow:0 6px 24px rgba(0,21,36,.10); --max:1160px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font:16px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--text);background:#fff;-webkit-text-size-adjust:100%}
img,iframe,svg{max-width:100%;display:block}
a{color:var(--blue)}a:hover{color:var(--blue-dark)}
h1,h2,h3,h4{color:var(--navy);line-height:1.2;margin:0 0 .5em}
h1{font-size:clamp(2rem,6vw,3.2rem)} h2{font-size:clamp(1.55rem,4vw,2.2rem)} h3{font-size:1.2rem}
p{margin:0 0 1em}
.wrap{width:100%;max-width:var(--max);margin:0 auto;padding:0 1.1rem}
.section{padding:3rem 0} .section.alt{background:var(--cream)} .section.ice{background:var(--ice)} .section.dark{background:var(--navy);color:#dfe8ee} .section.dark h2,.section.dark h3{color:#fff}
.eyebrow{display:inline-block;color:var(--blue);font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.8rem;margin-bottom:.6rem}
.dark .eyebrow,.hero .eyebrow{color:var(--yellow)}
.lead{font-size:1.15rem;max-width:62ch}
.skip{position:absolute;left:-999px;top:0;background:#fff;padding:.5rem 1rem;z-index:100}.skip:focus{left:0}
/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.8rem 1.4rem;border-radius:999px;border:2px solid var(--orange);background:var(--orange);color:var(--navy);font-weight:700;text-decoration:none;cursor:pointer;font-size:1rem;transition:transform .15s,background .15s}
.btn:hover{background:var(--orange-hover);border-color:var(--orange-hover);color:var(--navy);transform:translateY(-1px)}
.btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)} .btn.ghost:hover{background:rgba(255,255,255,.12)}
.btn.outline{background:transparent;color:var(--blue);border-color:var(--blue)} .btn.outline:hover{background:var(--blue);border-color:var(--blue);color:#fff}
.btn.wa{background:#25D366;border-color:#25D366;color:#053b1a}
.btn-row{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.2rem}
/* header */
.site-header{position:sticky;top:0;z-index:50;background:var(--navy);color:#fff;box-shadow:0 2px 12px rgba(0,0,0,.2)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;min-height:64px}
.logo{display:flex;align-items:center;gap:.6rem;color:#fff;text-decoration:none;font-weight:800;font-size:1.1rem}
.logo .mark{width:34px;height:34px;border-radius:9px;background:linear-gradient(135deg,var(--orange),var(--yellow));display:grid;place-items:center;color:var(--navy);font-weight:900;font-size:.95rem}
.logo small{display:block;font-weight:500;font-size:.68rem;opacity:.75;letter-spacing:.06em;text-transform:uppercase}
/* LOGO SLOT: swap .logo-wordmark for <img src="assets/img/logo.svg"> in assets/js/site.js when logo is supplied */
.nav-toggle{background:none;border:0;color:#fff;font-size:1.7rem;line-height:1;padding:.4rem;cursor:pointer}
.nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--navy);padding:.5rem 1.1rem 1.2rem;border-top:1px solid rgba(255,255,255,.12)}
.nav.open{display:block}
.nav a{display:block;color:#fff;text-decoration:none;padding:.7rem 0;border-bottom:1px solid rgba(255,255,255,.08)}
.nav a[aria-current="page"]{color:var(--yellow)}
.nav .btn{margin-top:.8rem;color:var(--navy);border-bottom:2px solid var(--orange)}
.header-call{display:flex;align-items:center;gap:.4rem;color:#fff;text-decoration:none;font-weight:800;font-size:.85rem;line-height:1.15;margin-left:auto;margin-right:.3rem;white-space:nowrap}
.header-call small{display:block;font-weight:500;font-size:.7rem;opacity:.75;text-transform:uppercase;letter-spacing:.05em}
.header-call .ico{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--orange);color:var(--navy);font-size:1rem}
@media(max-width:420px){.logo small{display:none}.logo{font-size:1rem;gap:.4rem}.header-call small{display:none}.header-call{font-size:.8rem}.header-call .ico{width:28px;height:28px}}
@media(min-width:900px){.header-call{order:3;margin:0 0 0 1.2rem}.nav{order:2;margin-left:auto}.header-call{font-size:.95rem}}
@media(min-width:900px){
  .nav-toggle{display:none}
  .nav{display:flex;position:static;padding:0;border:0;align-items:center;gap:1.15rem;background:none}
  .nav a{border:0;padding:.3rem 0;font-size:.92rem}
  .nav .btn{margin:0;padding:.55rem 1.05rem}
  .section{padding:4.5rem 0}
}
@media(min-width:900px) and (max-width:1180px){
  .nav{gap:.68rem}
  .nav a{font-size:.82rem}
  .nav .btn{padding:.5rem .8rem;font-size:.85rem}
  .header-call{margin-left:.7rem}
}
/* hero */
.hero{background:radial-gradient(1200px 500px at 85% -10%,rgba(251,133,26,.30),transparent 60%),linear-gradient(160deg,var(--navy) 0%,#00253d 100%);color:#e6eef3;padding:3.5rem 0 4rem;position:relative;overflow:hidden}
.hero h1{color:#fff;max-width:18ch} .hero .lead{color:#cfdbe3}
.hero .sun{position:absolute;right:-90px;top:-90px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,var(--orange) 0%,rgba(253,206,57,.25) 55%,transparent 70%);opacity:.5}
.page-hero{background:linear-gradient(160deg,var(--navy),#00253d);color:#cfdbe3;padding:2.6rem 0}
.page-hero h1{color:#fff;font-size:clamp(1.8rem,5vw,2.8rem);margin-bottom:.3em}.page-hero p{max-width:62ch;margin:0}
.crumbs{font-size:.85rem;margin-bottom:.8rem;opacity:.85}.crumbs a{color:#fff;text-decoration:underline}
.trust{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;margin-top:1.6rem;font-size:.92rem;color:#cfdbe3;padding:0;list-style:none}
.trust li::before{content:"✓ ";color:var(--yellow);font-weight:900}
/* grids/cards */
.grid{display:grid;gap:1.1rem}
.g2{grid-template-columns:1fr}.g3{grid-template-columns:1fr}.g4{grid-template-columns:repeat(2,1fr)}.g5{grid-template-columns:repeat(2,1fr)}
@media(min-width:700px){.g2{grid-template-columns:repeat(2,1fr)}.g3{grid-template-columns:repeat(2,1fr)}.g4{grid-template-columns:repeat(4,1fr)}}
@media(min-width:960px){.g3{grid-template-columns:repeat(3,1fr)}.g5{grid-template-columns:repeat(5,1fr)}}
.card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:1.4rem;border:1px solid rgba(0,21,36,.06)}
.card h3{margin-bottom:.4em}
.card .icon{font-size:1.8rem;margin-bottom:.4rem}
.card.link{text-decoration:none;color:inherit;display:block;transition:transform .15s}.card.link:hover{transform:translateY(-3px)}
.brand-chip{display:grid;place-items:center;min-height:84px;background:#fff;border:1px solid rgba(0,21,36,.1);border-radius:var(--radius);font-weight:800;color:var(--navy);text-decoration:none;text-align:center;padding:.6rem;transition:all .15s}
.brand-chip:hover{border-color:var(--blue);box-shadow:var(--shadow)}
.checks{list-style:none;padding:0;margin:0}.checks li{padding-left:1.6rem;position:relative;margin-bottom:.55rem}.checks li::before{content:"✓";position:absolute;left:0;color:var(--blue);font-weight:900}
.placeholder-note{font-size:.78rem;background:#fff6d6;color:#6a5600;border:1px dashed #d9b800;border-radius:8px;padding:.2rem .55rem;display:inline-block}
.stars{color:#f5b301;letter-spacing:2px}
/* Google reviews */
.reviews-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 1.4rem;margin:0 0 1.4rem}
.reviews-score{display:flex;align-items:center;gap:.85rem}
.reviews-score .num{font-size:2.6rem;font-weight:800;color:var(--navy);line-height:1;letter-spacing:-.03em}
.reviews-count{margin:0;font-size:.95rem;color:#566570}
.reviews-grid{align-items:stretch}
.review-card{display:flex;flex-direction:column}
.review-card .review-text{flex:1}
.review-card .review-text p{margin:0 0 .7em}
.review-card .review-text p:last-child{margin-bottom:0}
.review-card footer{margin-top:1rem;font-size:.95rem;color:var(--navy)}
.review-card .when{font-weight:500;color:#566570}
.review-more{margin-top:.4rem}
.review-more summary{cursor:pointer;color:var(--blue);font-weight:700;font-size:.92rem;list-style:none}
.review-more summary::-webkit-details-marker{display:none}
.review-more summary:hover{color:var(--blue-dark)}
.review-more[open] summary{margin-bottom:.6rem}
.reviews-source{margin:1.2rem 0 0;font-size:.88rem;color:#566570}
.branch .addr{margin:.2rem 0 .8rem}
.branch .btn-row{margin:.2rem 0 1rem}
/* products */
.product{display:flex;flex-direction:column;padding:0;overflow:hidden}
.product picture{display:block;width:100%}.product img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--ice)}
.product .body{padding:1.1rem 1.2rem 1.3rem;display:flex;flex-direction:column;flex:1}
.product ul{padding-left:1.1rem;margin:.3rem 0 1rem;font-size:.92rem}
.price{margin-top:auto;font-weight:800;color:var(--navy);font-size:1.1rem}
.price.call{color:var(--blue)}
.pdf-list{list-style:none;padding:0;margin:0;display:grid;gap:.6rem}
.pdf-list li{display:flex;justify-content:space-between;gap:1rem;align-items:center;background:#fff;border:1px solid rgba(0,21,36,.1);border-radius:10px;padding:.8rem 1rem}
.pdf-list .soon{opacity:.6;font-size:.85rem}
.pdf-list a{font-weight:700}
.empty{padding:1rem;background:var(--ice);border-radius:10px}
/* projects */
.project{padding:0;overflow:hidden}
.project .photos{display:grid;grid-template-columns:repeat(2,1fr);gap:3px;background:var(--navy)}
.project .photos picture{display:block;width:100%;min-width:0}
.project .photos img{width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;background:var(--ice)}
.project .photos picture:first-child{grid-column:1/-1}
.project .photos picture:first-child img{aspect-ratio:16/9}
.project .photos.n1{grid-template-columns:1fr}
@media(min-width:700px){.project .photos{grid-template-columns:repeat(3,1fr)}}
.project .body{padding:1.2rem 1.3rem 1.4rem}
.project .meta{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.6rem}
.tag{background:var(--ice);color:var(--navy);border-radius:999px;padding:.15rem .75rem;font-size:.82rem;font-weight:700}
.tag.size{background:var(--yellow);color:var(--navy)}
.project .addr{font-size:.9rem;opacity:.8;margin-bottom:.8rem}
.map-embed{width:100%;height:220px;border:0;border-radius:10px;background:var(--ice)}
.map-embed.tall{height:300px}
/* featured project (Topline Plastics and any later featured flag) */
.card.project.featured{grid-column:1/-1;border:2px solid var(--orange);scroll-margin-top:88px}
.card.project.featured .eyebrow{color:var(--orange);margin-bottom:.35rem}
.project .photos.branded-card{background:var(--navy);position:relative}
.project .photos.branded-card img{aspect-ratio:16/9;object-fit:cover;background:var(--navy)}
.project .photo-caption{margin:0;padding:.45rem .9rem;background:var(--navy);color:#cfdbe3;font-size:.78rem;letter-spacing:.01em}
.project .equipment{list-style:none;padding:0;margin:.2rem 0 1rem}
.project .equipment li{padding:.4rem 0;border-bottom:1px solid rgba(0,21,36,.08);font-weight:600}
.project .equipment li:last-child{border-bottom:0}
.card.project.featured.no-photos .photos.branded-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
@media(min-width:900px){
  .card.project.featured.no-photos .body{padding:1.5rem 1.8rem 1.8rem;display:grid;grid-template-columns:1.15fr .85fr;gap:0 2rem;align-items:start}
  .card.project.featured.no-photos .map-embed{height:240px}
}
#projects-teaser .card.featured{border:2px solid var(--orange)}
#projects-teaser .card.featured img{aspect-ratio:16/9;background:var(--navy)}
#projects-teaser .card.featured .eyebrow{display:block;color:var(--orange);margin-bottom:.35rem}
#projects-teaser .card .tag{align-self:flex-start}
@media(min-width:700px){
  #projects-teaser.has-featured.g3{grid-template-columns:repeat(2,1fr)}
  #projects-teaser.has-featured .card.featured{grid-column:1/-1}
}
/* forms */
.form{display:grid;gap:.9rem}
.form label{font-weight:600;font-size:.92rem;color:var(--navy);display:block;margin-bottom:.25rem}
.form input,.form select,.form textarea{width:100%;padding:.75rem .85rem;border:1.5px solid #c9d4da;border-radius:10px;font:inherit;background:#fff;color:var(--text)}
.form input:focus,.form select:focus,.form textarea:focus{outline:3px solid rgba(39,114,207,.35);border-color:var(--blue)}
.form .row{display:grid;gap:.9rem}@media(min-width:620px){.form .row{grid-template-columns:1fr 1fr}}
.form .check{display:flex;gap:.6rem;align-items:flex-start;font-size:.85rem}.form .check input{width:auto;margin-top:.25rem}
.hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.form-msg{padding:.8rem 1rem;border-radius:10px;font-weight:600;display:none}
.form-msg.ok{display:block;background:#e3ecfb;color:#093A7F}.form-msg.err{display:block;background:#fde4e4;color:#7a1b1b}.form-msg.demo{display:block;background:#fff6d6;color:#6a5600}
.cta-band{background:linear-gradient(135deg,var(--blue),var(--blue-dark));color:#fff;border-radius:var(--radius);padding:2rem 1.4rem}
.cta-band h2{margin-bottom:.3em;color:#fff}
.split{display:grid;gap:2rem}@media(min-width:900px){.split{grid-template-columns:1fr 1fr;align-items:start}}
.branch h3{margin-bottom:.2em}
/* footer */
.site-footer{background:var(--navy);color:#b9c8d1;padding:3rem 0 6rem;font-size:.92rem}
.site-footer h3{color:#fff;font-size:1rem}.site-footer a{color:#dfe8ee;text-decoration:none}.site-footer a:hover{color:var(--yellow)}
.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin-bottom:.4rem}
.fgrid{display:grid;gap:1.6rem}@media(min-width:760px){.fgrid{grid-template-columns:1.4fr 1fr 1fr 1.2fr}}
.legal{border-top:1px solid rgba(255,255,255,.12);margin-top:2rem;padding-top:1rem;font-size:.8rem}
/* mobile sticky call bar */
.callbar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;background:var(--navy);border-top:2px solid var(--orange)}
.callbar a{flex:1;text-align:center;padding:.85rem .5rem;color:#fff;text-decoration:none;font-weight:700}
.callbar a+a{background:#25D366;color:#053b1a}
@media(min-width:900px){.callbar{display:none}.site-footer{padding-bottom:3rem}}
.lp-body .callbar{display:none}
.prose{max-width:70ch}

.branch p small{opacity:.75}.branch a{white-space:nowrap}
@media(max-width:420px){.btn-row .btn{width:100%}}

/* logo sits directly on the navy header/footer — transparent PNG, no white plaque */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.logo-badge{display:inline-flex;background:transparent;padding:0;line-height:0}
.site-header .logo-badge img{height:52px;width:auto}
.footer-logo{margin-bottom:1rem;padding:0}.footer-logo img{height:auto;width:160px;max-width:100%}
@media(max-width:420px){.site-header .logo-badge img{height:44px}}

.card.link strong{color:var(--blue)}

/* ===== mobile pass ===== */
h1{font-size:clamp(1.85rem,4vw + 1rem,3.2rem)}
.hero h1{max-width:20ch}
.page-hero h1{font-size:clamp(1.65rem,4vw + .8rem,2.8rem)}
.hero{padding:2.6rem 0 3rem}
@media(min-width:900px){.hero{padding:3.5rem 0 4rem}}
.hero .lead{font-size:1.05rem}
/* 44px minimum tap targets */
.nav-toggle{min-width:44px;min-height:44px;display:grid;place-items:center;margin-right:-.4rem}
@media(min-width:900px){.nav-toggle{display:none}}
.header-call{min-height:44px}
.nav a{min-height:48px;display:flex;align-items:center}
.nav .btn{justify-content:center;min-height:48px}
.site-footer li a,.site-footer p a,.crumbs a{display:inline-flex;align-items:center;min-height:44px}
.site-footer li{margin-bottom:0}
.crumbs a{min-height:32px}
.crumbs{margin-bottom:.4rem}
.callbar a{min-height:52px;display:flex;align-items:center;justify-content:center}
.btn{min-height:48px}
.placeholder-note{font-size:.82rem}
.hp input{font-size:16px}
@media(max-width:899px){
  body{padding-bottom:0}
  .nav{max-height:calc(100vh - 64px);overflow:auto}
  .grid.g4{grid-template-columns:repeat(2,1fr)}
  .map-embed{height:240px}.map-embed.tall{height:260px}
  .split{gap:1.5rem}
  .card{padding:1.2rem}
  .pdf-list li{flex-direction:column;align-items:flex-start;gap:.3rem}
}
@media(max-width:520px){
  .section{padding:2.4rem 0}
  .cta-band{padding:1.5rem 1.1rem}
  .btn-row{flex-direction:column;align-items:stretch}
  .btn-row .btn{width:100%}
  .trust{flex-direction:column;gap:.4rem}
}
.lp-header-logo{display:inline-flex}
h1,h2{text-wrap:balance}
.hero .placeholder-note{margin-top:.7rem}
@media(max-width:899px){.card.project,.card.product{padding:0}}
/* sticky header lives on the injected wrapper (sticky inside an auto-height parent never sticks) + reserve space to avoid layout shift */
#site-header{position:sticky;top:0;z-index:50;min-height:64px;background:var(--navy)}
#site-header .site-header{position:relative;top:auto}
.pdf-list .soon{opacity:1;color:#566570}
#product-grid{min-height:480px}#pdf-list{min-height:130px}
@media(min-width:700px){#product-grid{min-height:430px}}

/* ===== featured products + warranty badge ===== */
.warranty-badge{display:inline-flex;align-items:center;gap:.35rem;background:var(--yellow);color:var(--navy);font-weight:800;font-size:.78rem;letter-spacing:.06em;padding:.35rem .7rem;border-radius:999px;box-shadow:0 2px 8px rgba(0,21,36,.25);line-height:1.2}
.warranty-badge.big{font-size:.95rem;padding:.55rem 1rem}
.featured-card,.featured-mini{padding:0;overflow:hidden;display:flex;flex-direction:column;border:2px solid var(--blue)}
.fimg,.pimg{position:relative;background:#fff;border-bottom:1px solid rgba(0,21,36,.08)}
.fimg img{width:100%;aspect-ratio:4/3;object-fit:contain;padding:.6rem;background:#fff}
.pimg img{width:100%;aspect-ratio:4/3;object-fit:cover}
.fimg .warranty-badge,.pimg .warranty-badge{position:absolute;top:.8rem;left:.8rem;z-index:2}
.featured-card .body,.featured-mini .body{padding:1.2rem 1.3rem 1.4rem;display:flex;flex-direction:column;flex:1}
.featured-card .eyebrow{margin-bottom:.2rem}
.sku{font-weight:700;color:var(--blue);font-size:.92rem;margin:-.2rem 0 .7rem;word-break:break-all}
.specs{padding-left:1.1rem;margin:0 0 1rem;font-size:.95rem}.specs li{margin-bottom:.3rem}
.datasheet-link{display:inline-flex;align-items:center;min-height:44px;font-weight:700;margin-top:.4rem}
.product .datasheet-link{padding:0 1.2rem 1rem;min-height:0}
.featured-banner{margin:1.5rem 0 0;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.featured-banner img{width:100%;max-height:320px;object-fit:cover}
.warranty-strip{display:grid;gap:1rem;align-items:center;background:var(--navy);color:#dfe8ee;border-radius:var(--radius);padding:1.4rem;margin-top:1.5rem}
.warranty-strip strong{color:#fff;font-size:1.15rem}.warranty-strip p{margin:.2rem 0 0}.warranty-strip .warranty-badge{justify-self:start}
@media(min-width:800px){.warranty-strip{grid-template-columns:auto 1fr auto}}
.featured-mini .price{margin:.2rem 0 .6rem}
.featured-mini .fimg img{aspect-ratio:16/10}
@media(max-width:520px){.featured-card .body,.featured-mini .body{padding:1rem 1rem 1.2rem}.warranty-badge{font-size:.72rem}}
#featured-grid[data-reserve]{min-height:2280px}
@media(min-width:700px){#featured-grid[data-reserve]{min-height:1040px}}

/* ===== engineering band + page ===== */
.eng-band{background:linear-gradient(160deg,var(--navy),#00253d);color:#dfe8ee;padding:3rem 0}
.eng-band h2{color:#fff;max-width:22ch}
.eng-band .lead{color:#cfdbe3}
.eng-strengths{margin:1.6rem 0 1.2rem}
.eng-card{border-top:4px solid var(--orange);color:var(--text);background:#fff}
.eng-card .checks li,.eng-card p{color:var(--text)}
.eng-card h3{color:var(--navy);margin-bottom:.7rem}
.eng-card .checks{margin:0}
.eng-proof{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:var(--radius);padding:1rem 1.2rem;margin:0 0 1.2rem;color:#cfdbe3}
.eng-proof p{margin:0}
.eng-proof strong{color:#fff}
.services-grid{grid-template-columns:1fr}
@media(min-width:700px){.services-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1100px){.services-grid{grid-template-columns:repeat(4,1fr)}}
.eng-process{list-style:none;padding:0;margin:1.4rem 0 0;display:grid;gap:1rem;counter-reset:engstep}
.eng-process li{position:relative;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid rgba(0,21,36,.06);padding:1.15rem 1.2rem 1.15rem 4.4rem;counter-increment:engstep}
.eng-process li::before{content:counter(engstep);position:absolute;left:1rem;top:1.15rem;width:2.2rem;height:2.2rem;border-radius:50%;background:var(--orange);color:var(--navy);font-weight:800;display:grid;place-items:center;line-height:1}
.eng-process strong{display:block;color:var(--navy);margin-bottom:.25rem}
.eng-process p{margin:0;font-size:.95rem}
@media(min-width:900px){.eng-process{grid-template-columns:repeat(3,1fr);gap:1.1rem}}
#electrical,#photovoltaic,#storage,#process,#project-proof{scroll-margin-top:88px}
.proof-grid .addr{font-size:.9rem;opacity:.8;margin-bottom:.5rem}
@media(max-width:899px){.eng-band{padding:2.4rem 0}}

.featured-card .copy,.product .copy{margin:.15rem 0 .85rem;font-size:.95rem;line-height:1.45;max-width:62ch}

/* ---------- homepage photo hero (Cape Town, Table Mountain at sunset) ---------- */
.hero.hero-photo{background:var(--navy);isolation:isolate;min-height:560px;display:flex;align-items:center}
.hero-photo .hero-bg,.hero-photo .hero-bg img{position:absolute;inset:0;width:100%;height:100%}
.hero-photo .hero-bg{z-index:-2}
.hero-photo .hero-bg img{object-fit:cover;object-position:right center}
/* desktop: photo already fades to navy on the left; reinforce it under the text */
.hero-photo::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,21,36,.94) 0%,rgba(0,21,36,.82) 38%,rgba(0,21,36,.35) 60%,rgba(0,21,36,0) 78%)}
.hero-photo .wrap{position:relative;width:100%}
.hero-photo h1,.hero-photo .lead,.hero-photo .eyebrow{max-width:34rem;text-shadow:0 1px 12px rgba(0,21,36,.55)}
.hero-photo h1{max-width:16ch}
.hero-photo .lead{max-width:30rem}
@media(min-width:768px){.hero-photo .trust{max-width:32rem;flex-wrap:wrap}}
@media(min-width:1200px){.hero.hero-photo{min-height:620px}}
/* mobile: right-hand crop (building, panels, mountain); text on a top-to-bottom navy scrim */
@media(max-width:767px){
  .hero.hero-photo{min-height:0;align-items:flex-start;padding:2.4rem 0 2.8rem}
  .hero-photo .hero-bg img{object-position:center 70%}
  .hero-photo::before{background:linear-gradient(180deg,rgba(0,21,36,.94) 0%,rgba(0,21,36,.84) 45%,rgba(0,21,36,.55) 75%,rgba(0,21,36,.35) 100%)}
}

/* Kris 29 Nov: logo on a white badge for contrast */
.logo-badge{background:#fff;padding:6px 10px;border-radius:10px;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.footer-logo{padding:8px 12px}

/* ---------- product catalog ---------- */
.cat-tools{display:grid;gap:.8rem;margin-bottom:1rem}
@media(min-width:768px){.cat-tools{grid-template-columns:2fr 1fr}}
.cat-tools input,.cat-tools select{width:100%;padding:.75rem .9rem;border:1px solid #c9d4dc;border-radius:10px;font:inherit;background:#fff}
.cat-chips{display:flex;flex-wrap:wrap;gap:.45rem;margin:.2rem 0 1rem}
.chip{border:1px solid #c9d4dc;background:#fff;color:var(--navy);border-radius:999px;padding:.45rem .85rem;font:inherit;font-size:.88rem;cursor:pointer;line-height:1.2}
.chip span{opacity:.6;font-size:.8em;margin-left:.15rem}
.chip[aria-pressed="true"]{background:var(--navy);color:#fff;border-color:var(--navy)}
.cat-count{margin:.2rem 0 1rem;color:#566570;font-size:.92rem}
.cat-card{display:flex;flex-direction:column;gap:.35rem}
.cat-card h3{font-size:1.02rem;line-height:1.3;margin:.1rem 0 0}
.cat-card .sku,.cat-card .cat-cat{margin:0;font-size:.82rem;color:#566570}
.cat-card .copy{font-size:.88rem;margin:.2rem 0 0;color:#33424d}
.cat-card .specs{margin:.3rem 0 0;padding-left:1.1rem;font-size:.86rem}
.cat-card .cat-top{display:flex;justify-content:space-between;align-items:center;gap:.5rem;flex-wrap:wrap}
.cat-card .cat-top .warranty-badge{position:static}
.cat-card .cat-actions{margin-top:auto;padding-top:.6rem;display:flex;gap:.5rem;flex-wrap:wrap}
.cat-card .cat-actions .btn{padding:.6rem 1rem;font-size:.9rem}
.cat-card .datasheet-link{font-size:.85rem}
.cat-card.is-featured{border:2px solid var(--orange)}
#cat-more{display:block;margin:1.4rem auto 0}
.form-product{background:#fff7e6;border:1px solid #fdce39;border-radius:10px;padding:.6rem .8rem;margin:0 0 .9rem;font-size:.92rem}
@media(max-width:520px){.chip{font-size:.82rem;padding:.4rem .7rem}.cat-card .cat-actions .btn{width:100%}}
/* nav has 9 links since Products was added: keep it on one line */
.nav .btn{white-space:nowrap}
@media(min-width:900px) and (max-width:1439px){.nav{gap:.6rem}.nav a{font-size:.8rem}.header-call small{display:none}.header-call{margin-left:.6rem}}
@media(min-width:900px) and (max-width:1099px){.nav{gap:.45rem}.nav a{font-size:.76rem}.nav .btn{padding:.45rem .65rem}.header-call .num{font-size:.85rem}}
#cat-more[hidden]{display:none}

/* ---------- EV chargers page ---------- */
.ev-card{display:flex;flex-direction:column;padding:0;overflow:hidden}
.ev-card .ev-img{background:#eef1f5;display:flex;justify-content:center;align-items:center;height:260px;padding:1rem}
.ev-card .ev-img img{max-height:228px;width:auto;height:auto;object-fit:contain}
.ev-card .body{padding:1.2rem 1.3rem 1.4rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
.ev-card .specs{padding-left:1.1rem;font-size:.9rem;margin:.3rem 0 0}
.ev-promo{margin:0;padding:0;overflow:hidden}
.ev-promo img{width:100%;height:auto;display:block}
.ev-promo figcaption{padding:1.1rem 1.3rem 1.4rem}
.ev-coming{margin-top:1.4rem;border-left:4px solid var(--orange)}
.ev-hero .btn-row{margin-top:1.2rem}

/* QA 29 Nov: phone tap targets */
.chip{min-height:40px}
.pdf-list a{display:inline-flex;align-items:center;min-height:40px}
.check input[type=checkbox]{width:22px;height:22px;flex:0 0 22px}

/* perf 30 Nov: reserve space so the catalog doesn't shift the page as it loads */
#cat-chips{min-height:44px}
#cat-count{min-height:1.6em}
#cat-grid{min-height:70vh}
/* ---------- shop (30 Nov) ---------- */
.cat-title{color:inherit;text-decoration:none}.cat-title:hover{text-decoration:underline}
.shop-price{font-weight:800;font-size:1.15rem;color:var(--navy);margin:.4rem 0}.shop-price small{font-weight:600;font-size:.75rem;opacity:.7}
.shop-price.big{font-size:1.7rem}
.nav-cart{position:relative;white-space:nowrap}
.cart-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--orange);color:#fff;font-size:.72rem;font-weight:800;margin-left:2px}
.cart-count[hidden]{display:none}
#ak-toast{position:fixed;left:50%;bottom:20px;transform:translate(-50%,140%);background:var(--navy);color:#fff;padding:.8rem 1.1rem;border-radius:10px;box-shadow:0 6px 24px rgba(0,0,0,.25);z-index:100;transition:transform .25s;max-width:92vw}
#ak-toast.show{transform:translate(-50%,0)}#ak-toast a{color:#FDCE39;font-weight:700}
.pd-grid{display:grid;grid-template-columns:2fr 1fr;gap:1.4rem;margin-top:1rem;align-items:start}
.pd-buy{display:flex;flex-direction:column;gap:.6rem;position:sticky;top:90px}
.pd-buy input{max-width:120px;min-height:44px}
.pd-main h1{font-size:clamp(1.4rem,3vw,2rem)}
.cart-table{display:grid;gap:.6rem}
.cart-row{display:grid;grid-template-columns:3fr 1fr 90px 1fr auto;gap:.8rem;align-items:center;background:#fff;border:1px solid rgba(0,21,36,.1);border-radius:10px;padding:.8rem 1rem}
.cart-row input{width:80px;min-height:44px}
.cart-name small{display:block;opacity:.7}
.cart-line-total{font-weight:700}
.linkbtn{background:none;border:0;color:var(--blue);text-decoration:underline;cursor:pointer;min-height:44px;font:inherit}
.cart-summary{margin-top:1.2rem;text-align:right}
.co-grid{display:grid;grid-template-columns:3fr 2fr;gap:1.4rem;align-items:start}
.co-lines{list-style:none;padding:0;margin:0}.co-lines li{display:flex;justify-content:space-between;gap:1rem;padding:.45rem 0;border-bottom:1px solid rgba(0,21,36,.08)}
.co-total{text-align:right;font-size:1.1rem;margin-top:.8rem}
#checkout-form fieldset{border:1px solid rgba(0,21,36,.12);border-radius:10px;padding:.6rem 1rem;margin:.8rem 0}
#checkout-form .is-disabled{opacity:.55}
.notice{background:#FFF7DB;border-left:4px solid #FDCE39;padding:.7rem 1rem;border-radius:6px}
@media(max-width:820px){.pd-grid,.co-grid{grid-template-columns:1fr}.pd-buy{position:static}
 .cart-row{grid-template-columns:1fr auto;grid-template-areas:"n n" "p q" "t r"}.cart-row>div:nth-child(1){grid-column:1/-1}.cart-summary{text-align:left}}
.small{font-size:.85rem}
.h3{font-size:1.15rem;margin:1rem 0 .4rem}
#product-detail .crumbs a{color:var(--blue)}
#checkout-form .check input{width:auto}
#checkout-form .check{display:flex;gap:.5rem;align-items:flex-start;margin:.35rem 0;font-weight:500}
.pd-buy input{width:100%}
.cat-title{display:inline-block;padding:.35rem 0}
/* header with Cart link: keep one line at every desktop width */
@media(min-width:900px){.nav a{white-space:nowrap}}
@media(min-width:900px) and (max-width:1279px){.header-call>span:not(.ico){display:none}.header-call{margin-left:.5rem}}
@media(min-width:900px) and (max-width:1023px){.nav{gap:.38rem}.nav a{font-size:.72rem}.nav .btn{padding:.4rem .55rem;font-size:.75rem}.site-header .logo-badge img{height:40px}}
@media(min-width:1280px) and (max-width:1439px){.nav{gap:.5rem}}
@media(min-width:1440px){.nav{gap:.85rem}}
/* quotation totals (ex VAT / VAT / incl VAT) */
.totals{display:grid;grid-template-columns:1fr auto;gap:.3rem 1rem;margin:.4rem 0 .8rem}
.totals dt,.totals dd{margin:0}.totals dd{text-align:right;font-variant-numeric:tabular-nums}
.totals .grand{border-top:1px solid rgba(0,0,0,.15);padding-top:.4rem;font-size:1.05rem}
.price-note{display:block;font-size:.75rem;opacity:.75;font-weight:500}
#co-delivery-note{margin-top:.5rem}
/* commercial/C&I page: Kris's factory + Table Mountain photo behind the page title (navy fade on the left keeps text readable) */
.page-hero-photo{position:relative;padding:4rem 0;min-height:300px;display:flex;align-items:center;
  background:linear-gradient(90deg,rgba(0,21,36,.94) 0%,rgba(0,21,36,.8) 45%,rgba(0,21,36,.25) 75%,rgba(0,21,36,.05) 100%),url("../img/hero/hero-factory-1024.jpg") right center/cover no-repeat var(--navy);
  background:linear-gradient(90deg,rgba(0,21,36,.94) 0%,rgba(0,21,36,.8) 45%,rgba(0,21,36,.25) 75%,rgba(0,21,36,.05) 100%),image-set(url("../img/hero/hero-factory-1024.webp") type("image/webp"),url("../img/hero/hero-factory-1024.jpg") type("image/jpeg")) right center/cover no-repeat var(--navy)}
.page-hero-photo .wrap{width:100%}.page-hero-photo h1,.page-hero-photo p{text-shadow:0 1px 10px rgba(0,21,36,.6)}
@media(max-width:767px){.page-hero-photo{background:linear-gradient(180deg,rgba(0,21,36,.55),rgba(0,21,36,.9)),image-set(url("../img/hero/hero-factory-mobile-800.webp") type("image/webp"),url("../img/hero/hero-factory-mobile-800.jpg") type("image/jpeg")) center/cover no-repeat var(--navy)}}
.terms ul{padding-left:1.2rem}.terms li{margin:.35rem 0}.terms h2{margin-top:1.4rem}
/* 30 Nov: stop the desktop nav squeezing the header logo to 0 width; keep the full logo on its white badge */
.site-header .logo{flex:0 0 auto;align-self:center;min-width:max-content}
.site-header .logo-badge{flex:0 0 auto;align-self:center;height:auto}
.site-header .logo-badge img{flex:0 0 auto;max-width:none;width:auto;aspect-ratio:116/52}
@media(min-width:768px){.site-header .logo-badge img{height:46px}}
.site-header .logo{margin-right:1.25rem}

/* header full-width fix 2026-11-30 */
.site-header .wrap{max-width:none;width:100%;padding-left:clamp(16px,2.5vw,40px);padding-right:clamp(16px,2.5vw,40px)}

/* responsive scaling 2026-11-30: no horizontal overflow at 1440 / 768 / 375 */
html,body{max-width:100%;overflow-x:clip;}
img,video,iframe{max-width:100%;height:auto;}
.site-header .logo-badge img{max-width:none;}
.wrap{max-width:min(var(--max),100%);}
.site-header .wrap{max-width:none;width:100%;}

/* header nav spread 2026-11-30: fill the space between logo and phone, no wrap/overlap at 1024-1279 */
@media(min-width:900px){
  .site-header .logo,.site-header .header-call{flex:0 0 auto}
  .site-header .nav{
    display:flex;flex:1 1 auto;justify-content:space-evenly;align-items:center;
    gap:clamp(.35rem,1vw,1rem);min-width:0;
    margin-left:clamp(.4rem,1.5vw,1.5rem);margin-right:clamp(.4rem,1.5vw,1.5rem)
  }
  .site-header .nav a{font-size:clamp(.85rem,.9vw,1rem);white-space:nowrap;flex:0 1 auto}
  .site-header .nav .btn{flex-shrink:0}
}
@media(min-width:900px) and (max-width:1279px){
  .site-header .nav{gap:clamp(.25rem,.8vw,.7rem);margin-left:.4rem;margin-right:.4rem}
  .site-header .nav a{font-size:clamp(.78rem,.75vw,.9rem)}
  .site-header .nav .btn{padding:.45rem .7rem;font-size:inherit}
}
@media(max-width:899px){
  .site-header .nav{width:100%;left:0;right:0}
  .site-header .nav a{width:100%;justify-content:flex-start}
  .site-header .nav .btn{width:100%;justify-content:center;margin-top:.8rem}
}


/* hero banner overlays + object-position 2026-11-30 */
.hero-photo .wrap{text-align:left}
.hero-photo .hero-bg img{object-position:var(--hero-object-position, right center)}
.hero-photo[data-overlay="navy-left"]::before{
  background:linear-gradient(90deg,rgba(0,21,36,.75) 0%,rgba(0,21,36,.45) 42%,rgba(0,21,36,0) 72%)
}
.hero-photo[data-overlay="none"]::before{background:none}
@media(max-width:767px){
  .hero-photo .hero-bg img{object-position:var(--hero-object-position, center 70%)}
  .hero-photo[data-overlay="navy-left"]::before{
    background:linear-gradient(180deg,rgba(0,21,36,.85) 0%,rgba(0,21,36,.55) 50%,rgba(0,21,36,.25) 100%)
  }
  .hero-photo[data-overlay="none"]::before{background:none}
}

/* homepage hero rotation 2026-11-30: stacked pictures, no layout shift */
.hero-photo .hero-bg-next{z-index:-2}
.hero-photo .hero-bg img{will-change:opacity}
@media (prefers-reduced-motion: reduce){
  .hero-photo .hero-bg{transition:none !important}
}

/* dogo brand mark + project showcase 2026-11-30 */
.page-hero .brand-mark{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap;margin:.15rem 0 .35rem}
.page-hero .brand-mark img{display:block;height:40px;width:auto;max-width:160px}
.brand-card-logo{display:block;height:28px;width:auto;max-width:140px;margin:0 0 .65rem}
.project-figure{max-width:1010px;margin:1.4rem 0 0}
.project-figure picture,.project-figure img{display:block;width:100%;height:auto;max-width:1010px;border-radius:12px}
.project-figure figcaption{margin-top:.7rem;color:var(--muted,#44505a);font-size:.95rem;line-height:1.45}


/* price-incl 2026-11-30-snaprice: merchandising shows ex VAT + computed incl VAT; VAT breakdown is on cart/checkout */
.price-incl{display:block;font-weight:600;font-size:.92rem;color:var(--navy);opacity:.82;margin:.15rem 0 .25rem}
.price .price-incl{font-size:.9rem;font-weight:600}
.pd-photo{max-width:420px;margin:0 0 1rem;background:#fff}
.pd-photo img{display:block;width:100%;height:auto;max-width:420px}
@media(max-width:820px){.pd-photo,.pd-photo img{max-width:100%}}


/* battery brand sections 2026-11-30 */
.batt-jump,.batt-subnav{display:flex;flex-wrap:wrap;gap:.45rem .7rem;margin:0 0 1.1rem;align-items:center}
.batt-jump a,.batt-subnav a{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .7rem;border:1px solid rgba(0,21,36,.15);border-radius:999px;text-decoration:none;color:var(--navy);font-weight:600;font-size:.9rem;background:#fff}
.batt-jump a span{opacity:.7;font-weight:700}
.batt-subnav a[aria-current="page"]{background:var(--navy);color:#fff;border-color:var(--navy)}
.batt-section{margin:0 0 2rem}
.batt-head{margin:0 0 1rem}
.batt-title{margin:0 0 .55rem;font-size:clamp(1.15rem,2.2vw,1.45rem);color:var(--navy)}
.batt-title .batt-count{font-weight:600;font-size:.85rem;opacity:.7;margin-left:.4rem}
.batt-head img,.batt-head picture{display:block;width:100%;height:auto;max-width:1200px;border-radius:12px;background:#001524}
.batt-grouped{display:block}
.batt-grouped .batt-section .grid{margin-top:.2rem}
@media(max-width:375px){
  .batt-head img{border-radius:8px}
  .batt-jump a,.batt-subnav a{font-size:.82rem;padding:.3rem .55rem}
}

/* product photo contain 2026-11-30 */
.pd-photo{max-width:420px;margin:0 0 1rem;background:#fff}
.pd-photo img{display:block;width:100%;height:auto;max-width:420px;object-fit:contain;aspect-ratio:1/1;background:#fff}
.cat-card .pd-thumb{background:#fff;border-bottom:1px solid rgba(0,21,36,.08);margin:0 0 .85rem}
.cat-card .pd-thumb img{display:block;width:100%;height:auto;max-height:220px;object-fit:contain;aspect-ratio:1/1;background:#fff;padding:.35rem}
@media(max-width:375px){
  .pd-photo,.pd-photo img{max-width:100%}
  .cat-card .pd-thumb img{max-height:180px}
}

/* topline project gallery + HV intro 2026-11-30 */
.project .photos figure{margin:0;min-width:0;background:#fff}
.project .photos figure picture{display:block;width:100%}
.project .photos figure:first-child{grid-column:1/-1}
.project .photos figure:first-child img{aspect-ratio:16/9}
.project .photos figcaption{margin:0;padding:.4rem .6rem .55rem;background:#fff;color:var(--navy);font-size:.82rem;line-height:1.35}
.project .related-links{margin:.2rem 0 1rem;font-size:.92rem;line-height:1.55}
.project .related-links a{display:inline;margin-right:.15rem}
.hv-intro{display:flex;gap:.9rem;align-items:center;margin:0 0 1.2rem;padding:.75rem .9rem;background:#fff;border:1px solid rgba(0,21,36,.12);border-radius:12px}
.hv-intro a{flex:0 0 220px;width:220px;max-width:40%}
.hv-intro picture,.hv-intro a img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:8px;background:#001524}
.hv-intro .eyebrow{margin:0}
.hv-intro p{margin:.25rem 0 0}
@media(max-width:375px){
  .hv-intro{flex-wrap:wrap}
  .hv-intro img{width:100%;max-width:100%}
}
