/* Homepage only. Approved C finish, integrated 2026-11-07. Keep existing site colors outside these surfaces. */
/* C saved variant, 2026-10-31.
   Client direction: charcoal gradient + fine brushed lines + copper-gold glow.
   Keep the actual homepage structure, photographs, spacing and typography. */
body.home {
 --c-brush: repeating-linear-gradient(90deg,rgba(192,138,69,.08) 0,rgba(192,138,69,.08) 1px,transparent 1px,transparent 4px),repeating-linear-gradient(90deg,transparent 0,transparent 8px,rgba(0,0,0,.11) 8px,rgba(0,0,0,.11) 9px,transparent 9px,transparent 13px);
 --c-gold-light:radial-gradient(ellipse at 88% 14%,rgba(177,119,55,.28),rgba(177,119,55,.09) 34%,transparent 65%);
 --c-metal-base:linear-gradient(115deg,#414141 0%,#343434 46%,#272727 100%);
}
html body.home :is(.site-header,.home-metrics,.site-footer) {
 background:var(--c-brush),var(--c-gold-light),var(--c-metal-base)!important;
}
html body.home #company-intro {
 background:var(--c-brush),radial-gradient(ellipse at 90% 12%,rgba(177,119,55,.26),transparent 64%),linear-gradient(115deg,#373737,#2c2c2c 65%,#242424)!important;
}
html body.home #company-workshop {
 background:var(--c-brush),radial-gradient(ellipse at 10% 90%,rgba(177,119,55,.2),transparent 62%),linear-gradient(115deg,#373737,#292929 65%,#242424)!important;
}
html body.home #company-workshop .xf-company-editorial__gallery {background:transparent!important;}
/* A translucent finish over the original video frame, not a replacement image. */
html body.home .home-hero__video-scrim {
 background:repeating-linear-gradient(90deg,rgba(192,138,69,.045) 0,rgba(192,138,69,.045) 1px,transparent 1px,transparent 4px),radial-gradient(ellipse at 10% 40%,rgba(177,119,55,.16),transparent 58%),linear-gradient(90deg,rgba(39,39,39,.91),rgba(39,39,39,.58) 60%,rgba(39,39,39,.25))!important;
}
html body.home #company-people::after {
 background:repeating-linear-gradient(90deg,rgba(192,138,69,.035) 0,rgba(192,138,69,.035) 1px,transparent 1px,transparent 4px),radial-gradient(ellipse at 100% 40%,rgba(177,119,55,.18),transparent 65%),linear-gradient(90deg,rgba(19,20,20,.04),rgba(19,20,20,.1) 40%,rgba(19,20,20,.8) 71%,rgba(19,20,20,.95))!important;
}
html body.home .site-header {border-bottom-color:#b17737;}
html body.home #company-intro :is(.xf-company-history__edition,.xf-company-history__masthead p>span) {color:#cfc3b2!important;}
html body.home .home-metrics {border-top:1px solid #9d7649;}
@media(max-width:600px){
 html body.home #company-people::after {
  background:repeating-linear-gradient(90deg,rgba(192,138,69,.035) 0,rgba(192,138,69,.035) 1px,transparent 1px,transparent 4px),radial-gradient(ellipse at 95% 95%,rgba(177,119,55,.2),transparent 65%),linear-gradient(180deg,transparent 160px,#242424 320px)!important;
 }
}
@media(prefers-reduced-motion:reduce){body.home *{scroll-behavior:auto!important;}}

/* 2026-11-04: Original site styles + the already-approved brushed backgrounds only.
   No global palette, radius, shadow, card, form, button or product overrides.
   c-brushed.css retains the approved vertical texture and light intensity verbatim.
   Foregrounds below only keep text readable on the retained dark backgrounds. */
html body.home .site-header :is(.desktop-nav>li>a,.nav-item>a,.header-social a){color:#f3f3ef!important;}
html body.home .home-metrics__number{color:#e3b37c!important;}
html body.home .home-metrics__label{color:#fff!important;}
html body.home .home-metrics__item{border-color:#626262!important;}
html body.home :is(#company-intro,#company-workshop){color:#fff!important;}
html body.home :is(#company-intro,#company-workshop) :is(h2,p,dt,dd,li,a){color:#e4e5e2!important;}
html body.home :is(#company-intro,#company-workshop) :is(h2,strong){color:#fff!important;}
html body.home :is(#company-intro,#company-workshop) :is(.xf-company-editorial__kicker,.xf-company-history__subtitle){color:#e3b37c!important;}
html body.home #company-intro :is(.xf-company-history__edition,.xf-company-history__masthead p>span){color:#cfc3b2!important;}
/* Preserve the existing mobile overflow correction; it does not restyle content. */
/* Service texture only: preserve the original light background and foreground colors.
   A 135deg gradient axis produces lines from upper right to lower left (/). */
html body.home #service-support{
 background-image:repeating-linear-gradient(135deg,rgba(177,119,55,.055) 0,rgba(177,119,55,.055) 1px,transparent 1px,transparent 4px),repeating-linear-gradient(135deg,transparent 0,transparent 8px,rgba(0,0,0,.025) 8px,rgba(0,0,0,.025) 9px,transparent 9px,transparent 13px);
}
/* Extend the selected machine-detail background through its outer gutters and bottom band.
   Borrow the first 32px of the next section's existing whitespace; content positions stay fixed. */
html body.home .xf-company-people-surround{
 display:flow-root;
 padding-bottom:32px;
 background:var(--c-brush),var(--c-gold-light),var(--c-metal-base);
}
html body.home .xf-company-people-surround + #advantages{
 padding-top:max(0px,calc(var(--xf-home-space) - 32px));
}

/* Fine diagonal grain on the six service icon tiles; retain original gold. */
html body.home #service-support .xf-home-service__icon{
 background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.19) 0,rgba(255,255,255,.19) .5px,transparent .5px,transparent 2px),repeating-linear-gradient(135deg,transparent 0,transparent 4px,rgba(48,38,23,.12) 4px,rgba(48,38,23,.12) 4.5px,transparent 4.5px,transparent 7px);
}

/* Homepage review, 2026-11-07: consistent surround and fuller editorial typography. */
body.home #primary { background-color: #fffdf8; }
@media (min-width: 1100px) {
 body.home #primary .featured-products__heading > p:not(.eyebrow) {
  max-width: none; width: 100%; font-size: clamp(20px, 1.25vw, 24px); line-height: 1.6;
 }
 body.home #service-support .xf-home-service__heading { max-width: none; }
 body.home #service-support .xf-home-service__heading h2 { max-width: 980px; margin-inline: auto; }
 body.home #service-support .xf-home-service__intro {
  max-width: none; font-size: clamp(20px, 1.15vw, 22px); line-height: 1.6;
 }
 body.home #primary #exhibitions .xf-exhibitions__copy h2 {
  font-size: clamp(46px, 3vw, 56px); line-height: 1.2; margin: 24px 0;
 }
 body.home #primary #exhibitions .xf-exhibitions__intro {
  max-width: none; font-size: clamp(21px, 1.25vw, 24px); line-height: 1.75;
 }
 body.home #primary #exhibitions .xf-exhibitions__action { font-size: 19px; margin-top: 34px; }
 body.home #primary #exhibitions .xf-exhibitions__index { font-size: 16px; margin-top: 36px; padding-top: 24px; }
 body.home #primary #company-intro .xf-company-history__story h2 { font-size: clamp(46px, 3vw, 56px); line-height: 1.2; }
 body.home #company-intro .xf-company-history__subtitle { font-size: clamp(21px, 1.25vw, 24px); line-height: 1.5; }
 body.home #company-intro .xf-company-history__intro { max-width: none; font-size: clamp(21px, 1.25vw, 24px); line-height: 1.65; }
 body.home #company-intro .xf-company-history__timeline { gap: 36px; margin-top: 30px; }
 body.home #company-intro .xf-company-history__timeline strong { font-size: 28px; line-height: 1.3; }
 body.home #company-intro .xf-company-history__timeline p { max-width: none; font-size: clamp(20px, 1.15vw, 22px); line-height: 1.65; }
 body.home #company-workshop .xf-company-editorial__head { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
 body.home #company-workshop .xf-company-editorial__summary { max-width: none; }
 body.home #company-workshop .xf-company-editorial__description { font-size: clamp(21px, 1.25vw, 24px); line-height: 1.7; }
 body.home #company-workshop .xf-company-editorial__link { font-size: 18px; margin-top: 20px; }
}
