/* The same brand treatment and hero bars across every NEVEN page. */
body .site-header .brand-logo { display:flex; flex:0 0 auto; align-items:center; margin-right:auto; visibility:visible; opacity:1; }
body:is(.neven-home,.product-guide) .site-header .brand-logo img { display:block; width:86px; height:62px; object-fit:contain; filter:none; opacity:1; visibility:visible; }
body .site-header.header-on-light { background:#fff; color:#171817; }
body .site-header.header-on-light .brand-logo img { filter:invert(1); }
body .site-header.header-on-light .nav-root,
body .site-header.header-on-light .header-utility a { color:#171817; }
body .site-header.header-on-light .header-button { border-color:#171817; color:#171817; }
body .site-header.header-on-light .header-button--primary { background:#f5b91c; border-color:#f5b91c; }
body:is(.neven-home,.product-guide) :is(.page-jump,.alu-index,.door-jump,.about-jump,.downloads-index,.product-index,.trust-strip,.sun-proof) {
  position:relative; z-index:4; display:flex; align-items:stretch; gap:0;
  width:min(1280px,calc(100% - 56px)); margin:-28px auto 0; padding:0;
  background:#fff; color:#171817; border:0; border-radius:14px;
  box-shadow:0 20px 60px rgba(0,0,0,.11); overflow:hidden;
}
body:is(.neven-home,.product-guide) :is(.page-jump,.alu-index,.door-jump,.about-jump,.downloads-index,.product-index,.trust-strip,.sun-proof) > :is(a,span,b) {
  flex:1 1 0; min-width:0; height:100px; min-height:100px; display:flex; align-items:center; justify-content:center;
  margin:0; padding:24px 22px; border:0; border-right:1px solid #dbd9d2; border-radius:0;
  background:#fff; color:#171817; font:800 14px/1.4 Arial,Helvetica,sans-serif;
  letter-spacing:.04em; text-align:center; text-transform:uppercase; text-decoration:none;
}
body:is(.neven-home,.product-guide) :is(.page-jump,.alu-index,.door-jump,.about-jump,.downloads-index,.product-index,.trust-strip,.sun-proof) > :last-child { border-right:0; }
body:is(.neven-home,.product-guide) :is(.alu-index,.product-index) > a > span { display:none; }
body:is(.neven-home,.product-guide) :is(.alu-index,.product-index) > a > strong { margin:0; font:inherit; color:inherit; letter-spacing:inherit; }
body .product-index > a { flex-direction:column; gap:5px; }
body .product-index > a > small { font:400 12px/1.4 Arial,Helvetica,sans-serif; text-transform:none; }
body:is(.neven-home,.product-guide) :is(.page-jump,.trust-strip,.sun-proof) > :is(span,b)::before { content:'✓'; color:#966f09; margin-right:8px; font-weight:800; }
body:is(.neven-home,.product-guide) :is(.alu-index,.door-jump,.about-jump,.downloads-index,.product-index) > a:hover { background:#f5b91c; color:#171817; }
body:is(.neven-home,.product-guide) :is(.alu-index,.door-jump,.about-jump,.downloads-index,.product-index) > a:focus-visible { outline:3px solid #966f09; outline-offset:-4px; }
@media(max-width:760px) {
  body:is(.neven-home,.product-guide) .site-header .brand-logo img { width:70px; height:54px; }
  body:is(.neven-home,.product-guide) :is(.page-jump,.alu-index,.door-jump,.about-jump,.downloads-index,.product-index,.trust-strip,.sun-proof) { width:calc(100% - 36px); flex-direction:column; margin-top:-20px; }
  body:is(.neven-home,.product-guide) :is(.page-jump,.alu-index,.door-jump,.about-jump,.downloads-index,.product-index,.trust-strip,.sun-proof) > :is(a,span,b) { flex:auto; height:76px; min-height:76px; padding:17px 18px; border-right:0; border-bottom:1px solid #dbd9d2; font-size:14px; }
  body:is(.neven-home,.product-guide) :is(.page-jump,.alu-index,.door-jump,.about-jump,.downloads-index,.product-index,.trust-strip,.sun-proof) > :last-child { border-bottom:0; }
}
/* Fixed photo-header heights for all offer categories and their child pages. */
body.offer-page main > :is(.hero,.inner-hero,.alu-hero,.pvc-door-hero,.offer-hero) {
  box-sizing:border-box; height:800px; min-height:800px; max-height:800px;
}
@media(max-width:1100px) {
  body.offer-page main > :is(.hero,.inner-hero,.alu-hero,.pvc-door-hero,.offer-hero) { height:760px; min-height:760px; max-height:760px; }
}
@media(max-width:760px) {
  body.offer-page main > :is(.hero,.inner-hero,.alu-hero,.pvc-door-hero,.offer-hero) { height:760px; min-height:760px; max-height:760px; }
}

body.product-guide .site-header .header-button { border-color:rgba(255,255,255,.75); color:#fff; }
body.product-guide .site-header .header-button--secondary { background:rgba(10,12,11,.28); }
body.product-guide .site-header .header-button--primary { background:#f5b91c; border-color:#f5b91c; color:#18140a; }
body.product-guide .site-header .header-utility { top:8px; right:clamp(22px,5vw,76px); }
body.product-guide .site-header .header-utility a { padding:0; border:0; }

/* Let grid and flex children shrink to the available screen width. */
body main :is(section,article,header,div,nav,figure,aside,ul,li,form),
body footer :is(div,nav,section) { min-width:0; }
body main :is(h1,h2,h3,h4,p,li,summary,a), body footer :is(p,a,span) { overflow-wrap:break-word; }
@media(max-width:1050px) {
 body main :is(.door-download-grid,.download-grid,.price-grid) { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
 body main :is(section,article,header,div,nav,figure,aside,ul,form) { max-width:100%; }
 body main :is(h1,h2,h3,h4,p,li,summary,a) { min-width:0; max-width:100%; }
 body:is(.neven-home,.product-guide) main h1 { font-size:clamp(34px,10vw,46px); line-height:1.02; }
 body:is(.neven-home,.product-guide) main h2 { font-size:clamp(28px,8vw,36px); line-height:1.08; }
 body:is(.neven-home,.product-guide) main h3 { font-size:24px; line-height:1.15; }
 body main :is(.hero-actions,.hero-copy>div,.inner-hero-copy>div,.pvc-door-hero-copy>div,.inline-cta) { flex-wrap:wrap; }
 body.product-guide .hero-copy { width:calc(100% - 40px); min-width:0; }
 body.product-guide .hero h1 { font-size:clamp(34px,10vw,46px); }
 body.product-guide .page-grid { grid-template-columns:minmax(0,1fr); width:100%; padding-inline:20px; }
 body main :is(.door-download-grid,.download-grid,.price-grid,.story-intro,.solar-layout,.utility,.offer-intro) { grid-template-columns:minmax(0,1fr); }
 body main :is(.table-wrap,.comparison,.sun-table) { max-width:100%; overflow:visible; }
 body main table { width:100%; min-width:0; table-layout:fixed; }
 body main :is(th,td) { padding:12px 8px; font-size:13px; overflow-wrap:anywhere; }
 body main :is(.btn,.button) { max-width:100%; white-space:normal; text-align:center; }
 body .about-page .about-hero-copy h1 { font-size:clamp(32px,8.5vw,42px); }
 body.about-page .about-hero-copy h1 { font-size:clamp(32px,8.5vw,42px); overflow-wrap:break-word; }
 body main .contact-hero-lines { display:none; }
 body .top .brand-logo { display:block; flex:0 0 70px; width:70px; }
 body .top .brand-logo img { width:70px; height:54px; }
}
body .site-footer .footer-brand img { display:block; width:86px; height:62px; object-fit:contain; }

body .pvc-door-hero{position:relative;display:block;isolation:isolate}body .pvc-door-hero>figure{position:absolute;inset:0;width:100%;height:100%;margin:0;z-index:0}body .pvc-door-hero>figure img{width:100%;height:100%;object-fit:cover}body .pvc-door-hero:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(0,0,0,.84),rgba(0,0,0,.5) 50%,rgba(0,0,0,.1))}body .pvc-door-hero-copy{position:absolute;z-index:2;left:max(28px,calc((100vw - 1280px)/2));right:28px;bottom:80px;padding:0;max-width:850px}body .pvc-door-hero-copy h1{font-size:clamp(48px,6vw,86px)}@media(max-width:760px){body .pvc-door-hero-copy{left:20px;right:20px;bottom:48px}body .pvc-door-hero-copy h1{font-size:clamp(34px,10vw,46px)}body .pvc-door-hero>figure img{object-position:68% center}body .pvc-door-hero:after{background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.92))}}

@media(max-width:760px){body.about-page .about-values-grid h3{font-size:22px;overflow-wrap:anywhere}body .installation-gallery-grid{grid-template-columns:minmax(0,1fr)}body .installation-gallery figcaption>*{min-width:0;max-width:100%}}

/* Frager entrance photograph: complete facade across the header. */
body .pvc-door-hero>figure img{object-position:50% 58%}body .pvc-door-hero-copy{max-width:580px}body .pvc-door-hero-copy h1{font-size:clamp(48px,5vw,72px)}body .pvc-door-hero:after{background:linear-gradient(90deg,rgba(0,0,0,.8),rgba(0,0,0,.55) 34%,rgba(0,0,0,.05) 62%)}@media(max-width:760px){body .pvc-door-hero>figure img{object-position:50% center}body .pvc-door-hero-copy h1{font-size:clamp(34px,10vw,46px)}body .pvc-door-hero:after{background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.1) 35%,rgba(0,0,0,.9) 78%)}}
/* Keep the long team heading readable without breaking the word arbitrarily. */
.neven-home .team-copy{container-type:inline-size;min-width:0}.neven-home .team-copy h2{font-size:clamp(18px,6.8cqw,52px);line-height:1.08;overflow-wrap:normal;word-break:normal;hyphens:none;max-width:100%;letter-spacing:-.045em}
