/* Reversible, Home-only image adjustments. Original image files stay unchanged. */
.home-page main :is(.hero-slide-link, .family-photo, .factory-photo, .card-image) > img {
  --photo-brightness: 1.04;
  --photo-contrast: 1.02;
  --photo-saturation: 1.04;
  filter: brightness(var(--photo-brightness)) contrast(var(--photo-contrast)) saturate(var(--photo-saturation));
}

/* Biomass category card uses its original Karachi installation photo only. */
/* Original banners have different exposure; retain all embedded lettering. */
.home-page #hero-slide-1 img {
  --photo-brightness: 1.06;
  --photo-saturation: 1.07;
}
.home-page #hero-slide-2 img {
  --photo-brightness: 1;
  --photo-contrast: 1;
  --photo-saturation: 1.015;
}
.home-page #hero-slide-3 img {
  --photo-brightness: 1.13;
  --photo-saturation: 1.06;
}
.home-page #hero-slide-4 img {
  --photo-brightness: 1.08;
  --photo-contrast: 1.03;
  --photo-saturation: 1.02;
}
.home-page #hero-slide-5 img {
  --photo-brightness: 1.16;
  --photo-contrast: 1.01;
  --photo-saturation: 1.05;
}

/* Lift darker indoor equipment; keep the bright factory and gas-boiler whites. */
.home-page main img[src$="/65082536d71580ea.webp"],
.home-page main img[src$="/1dfe6b3cf85221c7.webp"] {
  --photo-brightness: 1.08;
}
.home-page main img[src$="/1f095e21389f340d.webp"],
.home-page main img[src$="/c0e592b35abafd91.webp"],
.home-page main img[src$="/6dcce04253853e34.webp"] {
  --photo-brightness: 1.07;
  --photo-saturation: 1.03;
}
.home-page main img[src$="/e81844ebb0e8e729.webp"] {
  --photo-brightness: 1.03;
  --photo-saturation: 1.035;
}
.home-page main img[src$="/6fb25180a1f8d581.webp"],
.home-page main img[src$="/af64f3f519ff28b0.webp"] {
  --photo-brightness: 1;
  --photo-contrast: 1.01;
  --photo-saturation: 1.025;
}

/* Hazy daylight needs definition, while the furnace already has warm highlights. */
.home-page main img[src$="/8d3bde2d03bc505b.webp"] {
  --photo-brightness: 1;
  --photo-contrast: 1.06;
  --photo-saturation: 1.015;
}
.home-page main img[src$="/089472d6747b5c1d.webp"] {
  --photo-brightness: 1;
  --photo-contrast: 1.025;
  --photo-saturation: .97;
}
.home-page main img[src$="/76223db7866aad8e.webp"] {
  --photo-brightness: 1.06;
  --photo-contrast: 1.015;
}

/* A clear manufacturing identity and authentic equipment in the first screen. */
.home-page :is(h1, h2, h3) { font-family: Arial, Helvetica, sans-serif; font-weight: 700; }
.home-page h2 { letter-spacing: -.035em; }
.home-page .hero-stage { background: #016e35; color: #fff; }
.home-page .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding: 40px 0; align-items: center; }
.home-page .hero-copy { min-width: 0; max-width: none; }
.home-page .hero .eyebrow { color: #fff; margin: 0 0 24px; font-size: 12px; letter-spacing: .13em; line-height: 1.65; }
.home-page .hero h1 { margin: 0; color: #fff; font-size: clamp(2.6rem, 4.7vw, 4.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.045em; overflow-wrap: normal; }
.home-page .hero h1 span { display: block; }
.home-page .hero-range { font-size: 1rem; font-weight: 700; line-height: 1.6; margin: 24px 0 12px; color: #fff; }
.home-page .hero-description { max-width: 36rem; color: #edf5ef; font-size: 1rem; line-height: 1.7; margin: 0 0 26px; }
.home-page .hero-actions { gap: 12px; margin: 0; flex-wrap: wrap; }
.home-page .hero-actions .button { min-height: 50px; padding: 14px 19px; font-size: 14px; line-height: 1.45; white-space: normal; background: #fff; border: 1px solid #fff; color: #015629; }
.home-page .hero-actions .button.outline { color: #fff; background: transparent; border-color: #c3dfd0; }
.home-page .hero-actions .button:hover { background: #e8f2eb; color: #014e26; border-color: #fff; }
.home-page .hero-heritage { margin: 22px 0 0; color: #fff; font-size: 12px; line-height: 1.7; }
.home-page .hero-heritage a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.home-page .hero-stage a:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.home-page .hero-product { min-width: 0; margin: 0; background: #fff; color: #173a27; }
.home-page .hero-product-photo { display: block; }
.home-page .hero-product-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1279 / 1290; object-fit: contain; }
.home-page .hero-product figcaption { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 12px; line-height: 1.6; }
.home-page .hero-product figcaption > span { flex: 1 1 190px; }
.home-page .hero-product figcaption a { color: #016e35; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.home-page .hero-product a:focus-visible { outline-color: #173a27; outline-offset: -4px; }
.home-page .home-needs { padding-block: 30px; }
.home-page .home-needs h2 { margin: 0 0 18px; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.4; }
.home-page .home-needs .application-links { margin: 0; gap: 12px; }
.home-page .home-needs .application-links a { min-height: 68px; padding: 16px 20px; font-size: 15px; }
.home-page .home-needs > p { margin: 14px 0 0; font-size: 13px; }
.home-page .home-needs > p .text-link { font-size: inherit; }
.home-page .family-index { border-top: 1px solid #dbe3dc; }

/* Show the three areas of expertise as a compact, distinct section. */
.home-page .home-buyer-priorities { border-top: 1px solid #dbe3dc; padding-block: 64px; }
.home-page .home-buyer-priorities > h2 { max-width: 27ch; margin-bottom: 28px; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.12; }
.home-page .company-technology { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; }
.home-page .company-technology > div { padding: 26px; border: 1px solid #dbe3dc; border-top: 4px solid #016e35; background: #fff; }
.home-page .company-technology dt { margin: 0 0 14px; font-size: 1.2rem; font-weight: 700; line-height: 1.35; }
.home-page .company-technology dt a { color: #016e35; display: block; text-wrap: pretty; }
.home-page .company-technology dt a:hover { text-decoration: underline; text-underline-offset: .2em; }
.home-page .company-technology dd { margin: 0; font-size: .95rem; line-height: 1.75; color: #58695f; }
.home-page .home-proposal { display: flex; gap: 2rem; align-items: center; justify-content: space-between; padding-top: 24px; margin-top: 8px; }
.home-page .home-proposal > div { max-width: 46rem; min-width: 0; }
.home-page .home-proposal h3 { margin: 0 0 .5rem; font-size: 1.15rem; line-height: 1.4; }
.home-page .home-proposal p { margin: 0; font-size: .95rem; line-height: 1.7; }
.home-page .home-proposal .button { flex-shrink: 0; white-space: normal; }
.home-page #about-huayuan { scroll-margin-top: 6rem; }
.home-page #about-huayuan h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.2; overflow-wrap: anywhere; }
.home-page #about-huayuan .hero-media { border-radius: 0; border: 0; box-shadow: none; padding-bottom: 64px; }
.home-page #about-huayuan .hero-media::after { content: none; }
.home-page #about-huayuan .hero-slide-link img { object-fit: contain; }
.home-page #about-huayuan .carousel-controls { z-index: 2; }
html[lang="ru"] .home-page .hero h1,
html[lang="es"] .home-page .hero h1 { font-size: clamp(2.35rem, 4.05vw, 3.8rem); }
html[dir="rtl"] .home-page .hero h1 { letter-spacing: 0; line-height: 1.2; }
html[dir="rtl"] .home-page .hero .eyebrow { letter-spacing: 0; }
@media (max-width: 1000px) {
  .home-page .hero { gap: 28px; }
  .home-page .hero h1 { font-size: 2.8rem; }
  html[lang="ru"] .home-page .hero h1,
  html[lang="es"] .home-page .hero h1 { font-size: 2.4rem; }
  .home-page .hero .eyebrow { margin-bottom: 18px; }
  .home-page .hero-actions .button { font-size: 13px; padding: 12px 15px; }
  .home-page .company-technology > div { padding: 22px; }
}
@media (max-width: 820px) {
  .home-page .hero { grid-template-columns: 1fr; padding-block: 32px; gap: 28px; }
  .home-page .hero h1,
  html[lang="ru"] .home-page .hero h1,
  html[lang="es"] .home-page .hero h1 { font-size: clamp(2.15rem, 6.3vw, 3.7rem); }
  .home-page .hero-product { width: min(100%, 540px); justify-self: center; }
  .home-page .home-needs .application-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .company-technology { grid-template-columns: 1fr; gap: 14px; }
  .home-page .company-technology > div { padding: 24px; }
  .home-page .home-proposal { flex-direction: column; align-items: stretch; gap: 1.25rem; }
}
@media (max-width: 560px) {
  .home-page .hero { padding-block: 28px; gap: 24px; }
  .home-page .hero .eyebrow { font-size: 11px; margin-bottom: 16px; }
  .home-page .hero h1 { font-size: 2.5rem; }
  html[lang="ru"] .home-page .hero h1,
  html[lang="es"] .home-page .hero h1 { font-size: 2.15rem; }
  .home-page .hero-range { font-size: 14px; margin-top: 18px; }
  .home-page .hero-description { font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
  .home-page .hero-actions { gap: 10px; }
  .home-page .hero-actions .button { flex: 1 1 140px; justify-content: center; padding: 12px; }
  .home-page .hero-heritage { margin-top: 18px; }
  .home-page .hero-product figcaption { padding: 12px 14px; }
  .home-page .home-needs .application-links a { font-size: 14px; padding: 14px 12px; }
  .home-page .home-needs .application-links b { display: block; }
  .home-page .home-buyer-priorities { padding-block: 38px; }
}

/* Customer-first hierarchy: industrial contrast, real evidence and clear enquiry. */
.home-page .hero-stage { background: radial-gradient(ellipse at 90% 15%,#185d3a 0,transparent 55%),linear-gradient(120deg,#092b20,#12442e); }
.home-page .hero { padding-block:48px; gap:48px; }
.home-page .hero h1 { font-size:clamp(2.4rem,4.2vw,4rem); line-height:1.09; }
.home-page .hero h1 span { color:#b7e3c6; }
.home-page .hero-range { letter-spacing:.015em; }
.home-page .hero-product { border:1px solid #7ba08c; box-shadow:0 20px 60px #001a1550; }
.home-page .hero-product-photo img { max-height:570px; object-fit:cover; object-position:center; }
.home-page .hero .eyebrow { border-inline-start:3px solid #b7e3c6; padding-inline-start:12px; }
.home-page .home-confidence { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-block:26px;border-bottom:1px solid #d1dfd6;gap:24px; }
.home-page .home-confidence a { display:flex;flex-direction:column;gap:4px;padding-inline-start:20px;border-inline-start:2px solid #016E35;text-decoration:none; }
.home-page .home-confidence strong { color:#016E35;font-size:30px;line-height:1.2; }
.home-page .home-confidence span { font-size:13px;line-height:1.6; }
.home-page .home-confidence a:hover span { text-decoration:underline; }
.home-page .home-buyer-priorities { padding-block:40px 52px; }
.home-page .company-technology > div { border-top:3px solid #016E35;background:#fff;box-shadow:0 8px 24px #133c2310; }
.home-page .company-technology dt { font-size:21px;line-height:1.3; }
.home-page .home-proposal { margin-top:24px; }
@media(max-width:820px){
 .home-page .hero { padding-block:30px;gap:24px; }
 .home-page .hero h1 { font-size:clamp(2rem,7vw,3.4rem); }
 .home-page .hero-product-photo img { max-height:400px;aspect-ratio:4/3; }
 .home-page .home-confidence { gap:16px;padding-block:24px;grid-template-columns:1fr; }
 .home-page .home-confidence a { flex-direction:row;align-items:center;gap:20px; }
 .home-page .home-confidence strong { font-size:24px;min-width:112px; }
 .home-page .home-buyer-priorities { padding-block:24px 36px; }
}
@media(prefers-reduced-motion:reduce){.home-page .hero-product{transition:none}}

/* Verified project highlights; original project photos and factory carousel preserved. */
.home-page .hero { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); padding-block:48px; }
.project-highlights { min-width:0; background:#f5f7f3; color:#193e2c; border:1px solid #b2cbb9; }
.project-highlights .hero-slides { min-width:0; }
.project-highlights .highlight-photo { display:block; background:#e9eee8; }
.project-highlights .highlight-photo img { width:100%; height:355px; object-fit:contain; display:block; }
.project-highlights .highlight-caption { padding:20px 24px 24px; min-height:190px; }
.project-highlights .highlight-caption h2 { font-size:clamp(1.4rem,2.1vw,2rem); line-height:1.14; letter-spacing:-.025em; margin:8px 0 12px; color:#143b27; }
.project-highlights .highlight-caption p { margin:0 0 9px; line-height:1.6; font-size:14px; }
.project-highlights .highlight-caption p:first-child { color:#016e35; font-weight:700; font-size:12px; letter-spacing:.04em; }
.project-highlights .highlight-caption a { color:#016e35; font-size:13px; font-weight:700; }
.project-highlights .carousel-controls { padding:12px; background:#fff; gap:6px; color:#163f29; flex-wrap:wrap; }
.project-highlights .carousel-dots { flex:1; display:flex; gap:4px; }
.project-highlights .carousel-dot { width:auto; height:auto; border-radius:0; flex:1; padding:9px 6px; border:0; background:#edf2ee; color:#183e29; text-align:start; }
.project-highlights .carousel-dot b { display:block; font-size:15px; }
.project-highlights .carousel-dot span { display:block; width:auto; height:auto; border:0; border-radius:0; background:none; font-size:10px; line-height:1.4; margin-top:3px; }
.project-highlights .carousel-dot[aria-current=true] { background:#016e35; color:#fff; }
.project-highlights .carousel-pause { font-size:11px; }
.home-page .home-confidence { background:#fff; padding-block:32px; }
.home-page .manufacturing { background:#edf3ee; }
@media(max-width:760px) {
 .home-page .hero { grid-template-columns:1fr; padding-block:30px; gap:28px; }
 .project-highlights .highlight-photo img { height:300px; }
 .project-highlights .highlight-caption { padding:18px; min-height:180px; }
 .project-highlights .carousel-controls { padding:8px; }
 .project-highlights .carousel-dot span { font-size:9px; }
 .home-page .hero h1 { font-size:clamp(2.25rem,9vw,3rem); }
}
@media(prefers-reduced-motion:reduce) { .project-highlights * { transition:none!important; } }
.project-highlights .hero-slides { position:relative; inset:auto; aspect-ratio:auto; }
.project-highlights .hero-slide { position:relative; inset:auto; }
.project-highlights .carousel-controls { position:relative; inset:auto; }
.project-highlights .carousel-controls button { color:inherit; }
.project-highlights .carousel-controls .carousel-dot { border-radius:0; min-width:0; display:block; background:#edf2ee; }
.project-highlights .carousel-controls .carousel-dot[aria-current=true] { background:#016e35; color:#fff; }
.project-highlights .carousel-controls .carousel-dot span { width:auto; background:none; border-radius:0; }
.project-highlights .carousel-controls button:not(.carousel-dot) { border-color:#cad8ce; background:#f2f5f0; color:#163f29; }

/* Capacity positioning and touch-friendly enquiry layout. */
.home-page .hero h1{font-size:clamp(2.2rem,4.1vw,4.8rem);line-height:1.08;overflow-wrap:normal}
.scope-links{padding-block:1.5rem;border-block:1px solid #dce6df}
.scope-links>div{display:flex;flex-wrap:wrap;gap:1.25rem;align-items:center}


@media(max-width:600px){.home-page .hero h1{font-size:clamp(2rem,8.4vw,3rem)}.hero-actions{align-items:stretch}.hero-actions .button{white-space:normal;text-align:center}.scope-links>div{align-items:stretch;flex-direction:column}.inquiry-form .form-row{grid-template-columns:minmax(0,1fr)}.inquiry-form input,.inquiry-form select{max-width:100%;min-width:0}}


/* Readable Home captions and full, uncropped source photographs. */
.home-page .hero .eyebrow,.home-page .hero-heritage,.home-page .highlight-caption p:first-child,.home-page .home-confidence span,.home-page .home-needs>p{font-size:14px;line-height:1.65}
.home-page .highlight-caption p,.home-page .highlight-caption a{font-size:15px;line-height:1.65}
.home-page .highlight-caption a{display:inline-block;min-height:44px;padding-block:10px;margin-inline-end:20px}
.home-page .project-highlights .highlight-photo img{height:auto;aspect-ratio:2/1;object-fit:contain;background:#f5f7f3}
.home-page .highlight-caption{min-height:0}
.home-page .hero-image-original{font-weight:500;text-decoration:underline;text-underline-offset:3px}
.home-page .family-photo>img,.home-page .card-image>img{filter:none}
.home-page .form-note,.home-page .eyebrow,.home-page .text-link,.home-page .journey-cover-note,.home-page .site-video-player figcaption{font-size:14px;line-height:1.65}
.home-page .topbar{font-size:13px;line-height:1.6}
.home-page footer :is(p,a,.muted),.home-page .footer-base{font-size:14px;line-height:1.7}
.home-page .nav nav a,.home-page .nav-quote{font-size:14px}
@media(max-width:600px){.home-page .hero .eyebrow{font-size:14px}.home-page .hero-actions .button{font-size:15px}.home-page .highlight-caption{padding:18px}.home-page .hero-heritage{font-size:14px}}

.home-page .topbar .wrap{gap:8px;flex-wrap:wrap}.home-page .topbar :is(a,span){font-size:12px;line-height:1.6}
