/* Targeted owner-approved photography treatment on the existing reference D. */
body.variant-d .dropdown .reference-legal-links {border-top:1px solid #65766b;margin-top:10px;padding-top:10px;}
body.variant-d .dropdown .reference-legal-links a {display:block;}
body.variant-d .site-footer .image-credits {padding-top:8px;padding-bottom:8px;color:#304a2d;}
body.variant-d .image-credits summary {cursor:pointer;font-size:.82rem;min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:4px;}
body.variant-d .image-credits p {font-size:.82rem;line-height:1.6;max-width:100ch;}
body.variant-d .image-credits a {text-decoration:underline;text-underline-offset:3px;}
/* Existing experience layout, now with original scalable GRO lettering. */
body.variant-d .gro-experience-sign {background:radial-gradient(ellipse at 60% 35%,#2d423a,#15231e 75%);border-color:#56735d;}
body.variant-d .p6-profile-hero h1 {hyphens:manual;overflow-wrap:anywhere;}
body.variant-d .gro-experience-sign:before,body.variant-d .gro-experience-sign:after {display:none;}
body.variant-d .gro-experience-sign .gro-experience-wordmark {display:block;width:86%;max-width:560px;height:auto;position:relative;z-index:1;}
body.variant-d .gro-experience-sign .sr-only {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;}
/* Compact qualification cards with the owner's existing transparent PNGs. */
body.variant-d .qualification-documents article {border-top:3px solid #5d7e46;padding:28px;}
body.variant-d .qualification-documents article h3 {font-size:1.45rem;line-height:1.25;margin-bottom:20px;}
body.variant-d .qualification-documents article>p {font-size:1rem;line-height:1.55;font-weight:650;color:#3c5945;}
body.variant-d .qualification-documents .qualification-standards {display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px;}
body.variant-d .qualification-documents .qualification-standards li {margin:0;background:#dce6d2;padding:4px 8px;font-size:.82rem;}
body.variant-d .qualification-logo {height:104px;width:100%;margin-bottom:24px;padding:0;background:transparent;display:flex;align-items:center;justify-content:flex-start;}
body.variant-d .qualification-logo img {display:block;width:auto;height:auto;max-width:176px;max-height:96px;object-fit:contain;}
body.variant-d .qualification-document-links {padding-top:20px;border-top:1px solid #a3b298;width:100%;margin-top:auto;}
body.variant-d .qualification-document-links a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;background:#213d31;color:#f5f8f0;text-decoration:none;font-size:14px;line-height:1.4;}
body.variant-d .qualification-document-links a:hover {background:#365640;}
body.variant-d .qualification-document-links a:focus-visible {outline:3px solid #718a4d;outline-offset:4px;}
body.variant-d .qualification-documents .qualification-note {font-size:15px;line-height:1.6;color:#56644f;max-width:100ch;margin:26px 0 0;}
body.variant-d .legal-public .company-hero {padding-top:66px;padding-bottom:44px;}
body.variant-d .legal-public .company-hero h1 {font-size:clamp(2rem,4vw,3.5rem);overflow-wrap:anywhere;}
body.variant-d .legal-public .company-chapter {padding-top:32px;padding-bottom:32px;}
body.variant-d .legal-public .company-chapter h2 {font-size:clamp(1.35rem,2.2vw,1.8rem);}
body.variant-d .legal-public .company-chapter h3 {font-size:1.1rem;margin-top:18px;}
body.variant-d .legal-public .company-chapter p {font-size:1rem;line-height:1.7;max-width:75ch;}
@media(max-width:760px){body.variant-d .qualification-documents article {padding:24px 20px;}body.variant-d .qualification-logo {height:92px;margin-bottom:22px;}body.variant-d .qualification-logo img {max-width:158px;max-height:84px;}}
body.variant-d .reference-hero {position:relative;isolation:isolate;overflow:hidden;background:#17211f;padding:0;color:#f3f4eb;}
body.variant-d .reference-hero :is(.hero-grid,.service-hero-grid,.company-hero-grid,.vx-page-grid) {position:static;display:block;min-height:610px;}
body.variant-d .reference-hero .hero-copy,
body.variant-d .reference-hero .service-hero-grid>div:first-child,
body.variant-d .reference-hero .company-hero-grid>div:first-child,
body.variant-d .reference-hero .vx-page-grid>div:first-child {position:relative;z-index:2;width:58%;max-width:720px;padding:64px 0 72px;}
body.variant-d .reference-hero .hero-copy {padding-top:78px;}
body.variant-d .reference-hero .breadcrumb {position:relative;z-index:3;display:inline-flex;margin:28px 0 0;}
body.variant-d .reference-hero.service-hero .service-hero-grid>div:first-child {padding-top:30px;}
body.variant-d .reference-hero h1 {max-width:19ch;line-height:1.05;font-size:clamp(2.6rem,4.6vw,4.35rem);text-wrap:balance;}
body.variant-d .reference-hero.home-hero h1 {font-size:clamp(3rem,4.75vw,4.5rem);max-width:19ch;}
body.variant-d .reference-hero .reference-brand {display:block;color:#b7d790;margin-bottom:14px;}
body.variant-d .reference-hero.service-hero h1 {font-size:clamp(3.2rem,5.8vw,5.4rem);}
body.variant-d .reference-hero.service-hero h2 {font-size:clamp(1.45rem,2.1vw,1.9rem);max-width:30ch;color:#e5f0d5;line-height:1.3;}
body.variant-d .reference-hero .hero-lead {max-width:52ch;color:#e0e6dd;text-shadow:0 1px 6px #17211f;}
body.variant-d .reference-hero :is(.vx-service-image,.company-hero-image,.vx-home-image,.vx-page-grid>.vx-visual) {position:absolute;z-index:0;inset:0 0 0 30%;width:auto;height:auto;max-height:none;margin:0;border:0;}
body.variant-d .reference-hero :is(.vx-service-image,.company-hero-image)>.vx-visual {position:absolute;inset:0;height:100%;width:100%;max-height:none;border:0;margin:0;}
body.variant-d .reference-hero .industrial-photo {background:#17211f;box-shadow:none;}
body.variant-d .reference-hero .industrial-photo:before {display:none;}
body.variant-d .reference-hero .industrial-photo:after {content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#17211f 0%,#17211ff2 10%,#17211fc4 25%,#17211f66 46%,#17211f14 70%),linear-gradient(0deg,#17211f 0%,#17211f00 22%,#17211f00 86%,#17211f55 100%);}
body.variant-d .reference-hero .industrial-photo img {display:block;width:100%;height:100%;object-fit:cover;object-position:var(--reference-focus,60% 50%);filter:none;opacity:1;}
body.variant-d .reference-hero .hero-bottom {position:relative;z-index:2;}
body.variant-d .reference-clean {--reference-focus:70% 50%;}
body.variant-d .reference-check360,body.variant-d .reference-suppliers {--reference-focus:64% 54%;}
body.variant-d .reference-risk {--reference-focus:62% 50%;}
body.variant-d .reference-risk .vx-service-image {left:36%;}
body.variant-d .reference-risk {--reference-focus:50% 54%;}
body.variant-d .reference-system,body.variant-d .reference-production {--reference-focus:55% 50%;}
body.variant-d .reference-restart {--reference-focus:58% 50%;}
body.variant-d .reference-manufacturers,body.variant-d .reference-technical {--reference-focus:70% 50%;}
body.variant-d .reference-home .vx-home-image {left:25%;}
body.variant-d .reference-services .vx-page-grid {min-height:570px;}
body.variant-d .reference-services .vx-page-grid>div:first-child {padding-bottom:60px;}
body.variant-d .reference-founder .p6-intro-grid {position:static;display:block;min-height:650px;}
body.variant-d .reference-founder .p6-intro-grid>div:first-child {position:relative;z-index:2;width:58%;max-width:720px;padding:64px 0 72px;}
body.variant-d .reference-founder .lead {color:#e0e6dd;max-width:52ch;}
body.variant-d .reference-founder .founder-photo {position:absolute;inset:0 0 0 32%;width:auto;height:auto;min-height:0;max-height:none;aspect-ratio:auto;border:0;background:transparent;display:block;overflow:visible;}
body.variant-d .reference-founder .founder-photo:before,body.variant-d .reference-founder .founder-photo:after {display:none;}
body.variant-d .reference-founder .founder-photo>.vx-visual {position:absolute;inset:0;width:100%;height:100%;margin:0;}
body.variant-d .reference-suppliers {--reference-focus:72% 50%;}
@media(min-width:761px) and (max-width:1080px) {
  body.variant-d .reference-hero :is(.hero-grid,.service-hero-grid,.company-hero-grid,.vx-page-grid) {min-height:570px;}
  body.variant-d .reference-hero .hero-copy,body.variant-d .reference-hero .service-hero-grid>div:first-child,body.variant-d .reference-hero .company-hero-grid>div:first-child,body.variant-d .reference-hero .vx-page-grid>div:first-child {width:68%;padding-bottom:60px;}
  body.variant-d .reference-hero h1 {font-size:3rem;}
}
@media(max-width:760px) {
  body.variant-d .reference-hero :is(.hero-grid,.service-hero-grid,.company-hero-grid,.vx-page-grid) {display:flex;flex-direction:column;gap:0;min-height:0;}
  body.variant-d .reference-hero .hero-copy,body.variant-d .reference-hero .service-hero-grid>div:first-child,body.variant-d .reference-hero .company-hero-grid>div:first-child,body.variant-d .reference-hero .vx-page-grid>div:first-child {width:100%;max-width:none;padding:30px 0 8px;}
  body.variant-d .reference-hero.home-hero .hero-copy {padding-top:34px;}
  body.variant-d .reference-hero.service-hero .service-hero-grid>div:first-child {padding-top:22px;}
  body.variant-d .reference-hero .breadcrumb {margin-top:24px;}
  body.variant-d .reference-hero h1,body.variant-d .reference-hero.home-hero h1 {font-size:clamp(2.15rem,6.4vw,3.15rem);line-height:1.09;max-width:none;text-wrap:pretty;hyphens:manual;overflow-wrap:anywhere;}
  body.variant-d .reference-hero.service-hero h1 {font-size:clamp(2.65rem,9vw,4rem);}
  body.variant-d .reference-hero.service-hero h2 {font-size:1.5rem;line-height:1.3;max-width:none;}
  body.variant-d .reference-hero .reference-brand {margin-bottom:12px;}
  body.variant-d .reference-hero .hero-lead {max-width:none;line-height:1.7;margin:22px 0 24px;}
  body.variant-d .reference-hero :is(.vx-service-image,.company-hero-image,.vx-home-image,.vx-page-grid>.vx-visual) {position:relative;inset:auto;flex:none;width:calc(100% + 40px);height:clamp(260px,66vw,400px);max-height:none;margin:0 -20px;order:2;}
  body.variant-d .reference-hero .industrial-photo:after {background:linear-gradient(180deg,#17211f 0%,#17211f66 17%,#17211f00 43%,#17211f00 74%,#17211f 100%);}
  body.variant-d .reference-hero .industrial-photo img {object-position:var(--reference-mobile-focus,var(--reference-focus,60% 50%));}
  body.variant-d .reference-hero .hero-bottom {padding-top:5px;padding-bottom:22px;}
  body.variant-d .reference-clean {--reference-mobile-focus:68% 53%;}
  body.variant-d .reference-check360,body.variant-d .reference-suppliers {--reference-mobile-focus:62% 56%;}
  body.variant-d .reference-home,body.variant-d .reference-production,body.variant-d .reference-system {--reference-mobile-focus:50% 52%;}
  body.variant-d .reference-restart {--reference-mobile-focus:55% 52%;}
  body.variant-d .reference-risk .vx-service-image {left:auto;}
  body.variant-d .reference-risk {--reference-mobile-focus:48% 52%;}
  body.variant-d .reference-relocations {--reference-mobile-focus:50% 45%;}
  body.variant-d .reference-founder .p6-intro-grid {display:flex;flex-direction:column;gap:0;min-height:0;}
  body.variant-d .reference-founder .p6-intro-grid>div:first-child {width:100%;max-width:none;padding:30px 0 24px;}
  body.variant-d .reference-founder .founder-photo {position:relative;inset:auto;width:calc(100% + 40px);height:300px;margin:0 -20px;flex:none;}
  body.variant-d .reference-founder .lead {max-width:none;}
  body.variant-d .reference-suppliers {--reference-mobile-focus:78% 50%;}
}
