/* One sticky header, matching the short navigation bar and hanging artwork in
   home 1–4. At 1920px: navigation 107px, logo hit area 200×107, artwork 1920×350.
   The entire artwork is a non-interactive background below all page elements. */
body.approved-home{--sticky-header-height:clamp(76px,5.572917vw,107px);--logo-width:clamp(110px,10.416667vw,200px);--header-art-width:max(1056px,100vw);--reference-green:#16865f;--header-content-gap:clamp(24px,2.552083vw,49px);--sticky-shell-height:calc(var(--sticky-header-height) + var(--header-content-gap))}
body.approved-home{position:relative;z-index:0}
.h-brand-backdrop{position:sticky;top:0;height:0;z-index:-3;pointer-events:none}
.h-backdrop-art{display:block;width:100%;height:calc(var(--header-art-width) * 350 / 1920);background:url('/src/assets/logo-header.png') left top/var(--header-art-width) auto no-repeat;pointer-events:none}
/* Native sticky chrome paints a crop of the same artwork behind navigation.
   The padding is real layout space, not a scroll-event-driven clipping mask.
   The hanging portion of the artwork remains below all page sections. */
.h-header{padding-bottom:var(--header-content-gap);background:#fff url('/src/assets/logo-header.png') left top/var(--header-art-width) auto no-repeat;border-bottom:0}
/* No frosted white overlay over the supplied artwork. */
.h-header::before{content:none}
.h-header .h-header-inner{min-height:var(--sticky-header-height);padding-left:max(0px,calc(var(--logo-width) - var(--h-gutter)));position:static}
.h-header .h-logo-link{position:absolute;left:0;top:0;width:var(--logo-width);height:var(--sticky-header-height);z-index:0}
.h-header .h-desktop-nav{position:static;z-index:1}.h-header .h-header-actions{position:relative;z-index:1}
.h-header-quote{color:white}
/* Primary orange header; secondary green navigation interaction states. */
.h-header :is(.h-desktop-nav>a,.h-products-menu>summary,.h-mobile-nav>a){color:#000}
.h-header .h-desktop-nav .h-products-menu>summary{color:#000}
.h-header .h-desktop-nav>a[aria-current],.h-header .h-products-menu:is([data-current],[open])>summary{border-bottom-color:var(--h-orange)}
.h-header .h-desktop-nav .h-icon{color:currentColor}
.h-header :is(.h-desktop-nav>a,.h-products-menu>summary,.h-mobile-nav>a):is(:hover,:focus-visible){background:var(--h-green);color:#fff;border-bottom-color:var(--h-green)}
.h-header .h-products-panel a{color:#000}
.h-header .h-products-panel a:is(:hover,:focus-visible){background:var(--h-green)!important;color:#fff;border-color:var(--h-green)}
.h-header .h-products-panel a:is(:hover,:focus-visible) :is(strong,span,.h-icon){color:inherit}
.approved-home [id]{scroll-margin-top:calc(var(--sticky-shell-height) + 16px)}
/* The reference leaves a clear band beneath the navigation: at 1920px the
   header ends at 107px and the home-4 panel starts at 156px. Keep background
   sections at that inset when opened from navigation, too. */
.home-page :is(#about,#services,#knowledge){scroll-margin-top:calc(var(--sticky-header-height) + var(--header-content-gap))}
.h-products-panel{max-height:calc(100dvh - var(--sticky-shell-height) - 55px)}
@media(max-width:1400px){.h-desktop-nav{display:none}.h-menu-toggle{display:flex}}
@media(max-width:700px){.h-header .h-header-inner{padding-left:max(0px,calc(var(--logo-width) - var(--h-gutter)));gap:8px}.h-header-actions{margin-left:auto;gap:7px}.h-header .h-header-quote{font-size:11px;padding-inline:10px}.h-header .h-icon-button{width:36px;height:36px}.h-header .h-menu-toggle{width:36px;height:36px}}
@media(max-width:380px){.h-header .h-header-quote{font-size:10px;padding-inline:7px}.h-header .h-header-actions{gap:5px}.h-header .h-icon-button{width:32px;height:32px}.h-header .h-menu-toggle{width:32px;height:32px}}
/* Home 1: hero, reference brands, and About. The header artwork hangs over the white hero. */
.home-panel-1 .h-intro{background:transparent;isolation:auto}
.home-panel-1 .h-intro::before,.home-panel-1 .h-intro::after{content:none}
.h-hero-wrap{background:transparent}
.home-page .h-hero h1,.home-page .h-section-heading h2,.home-page .h-about h2,.home-page .h-values h2{color:var(--reference-green)}
.home-page .h-button{color:white}
.home-page .h-hero h1{max-width:900px}
.home-page .h-hero-actions .h-button{min-width:330px}
.home-page .h-hero-description{margin-bottom:30px}
.home-page .h-hero{padding-block:20px 25px;min-height:514px}
.home-page .h-hero-copy{padding-top:35px}
.home-page .h-brands-inner{min-height:90px}
.home-page .h-about{padding-top:35px;padding-bottom:45px}
.home-page .h-about-wrap,.home-page .h-services,.home-page .h-values{background-color:#fff8ed;background-size:130px 130px}
.home-page .h-about-grid{max-width:1120px}
/* Home 2: applications and proposed services. */
.home-page .h-solution-copy h3,.home-page .h-service-copy strong{color:var(--h-orange)}
.home-page .h-text-link,.home-page .h-text-label{color:#252525}
.home-panel-2 .h-solutions{padding-top:42px;padding-bottom:65px}
.home-panel-2 .h-services .h-section{padding-top:26px;padding-bottom:35px}
/* Home 3: three cards per row, following the updated reference. */
.home-page .h-ribbon-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:35px}
.home-page .h-ribbon-card{grid-template-columns:42% 1fr;gap:20px;min-height:190px}
.home-page .h-featured{padding-top:49px}
.home-page .h-featured .h-section-heading{margin-bottom:18px}
.home-page .h-ribbon-info .h-button{font-size:16px}
/* Home 4: values, knowledge and quotation CTA. Shared footer: footer.js. */
.home-panel-4{background:none}
.home-panel-4 .h-knowledge{padding-bottom:20px}
.home-panel-4 .h-values{background-color:#fff8ed}
.home-page .h-home-cta{background:none}
.home-page .h-home-cta .h-gradient-button{background:var(--h-saffron);box-shadow:none;border:1px solid #f4d7a2;border-radius:4px;color:white}
.home-page .h-home-cta h2{font-size:31px}
@media(max-width:1700px){.home-page .h-hero-actions .h-button{min-width:240px}.home-page .h-hero{min-height:440px}.home-page .h-ribbon-grid{gap:24px}.home-page .h-ribbon-card{gap:15px}.home-page .h-ribbon-info .h-button{font-size:14px}}
@media(max-width:1250px){.home-page .h-hero-actions .h-button{min-width:0}.home-page .h-ribbon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-page .h-ribbon-card{grid-template-columns:36% 1fr}.home-page .h-ribbon-info .h-button{font-size:15px}}
@media(max-width:1000px){.home-page .h-hero{min-height:400px}.home-page .h-ribbon-info .h-button{font-size:13px}.home-page .h-ribbon-info h4{font-size:18px}}
@media(max-width:700px){.home-page .h-hero{padding-top:32px;min-height:0}.home-page .h-hero-copy{padding-top:0}.home-page .h-hero-actions .h-button{min-width:0;font-size:14px}.home-page .h-ribbon-grid{grid-template-columns:minmax(0,1fr)}.home-page .h-ribbon-card{grid-template-columns:34% 1fr;gap:14px}.home-page .h-ribbon-info .h-button{font-size:14px}.home-page .h-hero h1{font-size:38px}.home-page .h-about-grid{gap:22px}.home-panel-4{background-size:900px auto}.home-page .h-home-cta h2{font-size:28px}}

@media(min-width:1401px){
  .home-page .home-panel-2 .h-solutions>.h-section-heading h2,.home-page .home-panel-3 .h-section-heading h2{margin-left:100px}
}

/* Section backgrounds and content always paint above the logo artwork. */
.home-page .h-about-wrap,.home-page .h-services,.home-page .h-values,.home-page .home-panel-4{background:none;position:relative}
.home-page .h-about-wrap::before,.home-page .h-services::before,.home-page .h-values::before{content:'';position:absolute;inset:0;background-color:rgba(255,248,237,.38);background-image:url('/src/assets/jaali.svg');background-size:130px 130px;z-index:-2;pointer-events:none}
body.approved-home:not(.home-page) #main{padding-top:calc(max(0px,var(--logo-width) * .8 - var(--sticky-header-height)) + 12px)}
.home-page .h-values{background:transparent}
.home-page .h-value>span{font-family:var(--h-heading);font-weight:700}
.home-page .h-article-copy>strong,.home-page .h-service-copy>strong{font-weight:600}
/* Match the 1920px reference panel rhythm while retaining approved demo copy. */
@media(min-width:1701px){
  .home-page .h-hero-copy{padding-top:69px}
  .home-page .h-hero h1{margin-bottom:9px}
  .home-panel-2 .h-solutions{padding-top:72px;padding-bottom:49px}
  .home-panel-2 .h-solutions>.h-section-heading{margin-bottom:41px}
  .home-panel-2 .h-solution-card{min-height:367px}
}
.home-panel [tabindex="-1"]:focus{outline:none}

/* Fade the foreground surface fills, not the logo or its fine orange lines.
   Opacity belongs to background colours only; text, photos and controls retain
   their normal contrast. No backdrop blur is applied to the logo artwork. */
.approved-home :is(.h-brands,.h-ribbon-group-heading,.p-banner,.c-message){background-color:rgba(243,244,249,.60)}
.approved-home :is(.h-solution-card,.h-ribbon-card,.h-article-card,.p-card,.brand-directory-card,.quote-form,.success-panel){background-color:rgba(255,255,255,.68)}
