/* Tighten the reading rhythm; the engineering ground stays below the content. */
body.home.nl-design-active .home-content>.wp-block-group{padding-block:clamp(36px,3vw,52px)}
body.home .home-content>.wp-block-group::before{margin-bottom:11px}
body.home .home-content>.wp-block-group>h2{margin-bottom:14px}
body.home .home-content>.wp-block-group>p:last-child{margin-bottom:0}
body.home .home-content>.wp-block-group:is([data-home-section="capabilities"],[data-home-section="equipment"],[data-home-section="materials"],[data-home-section="process"]){
  position:relative;background-color:#f4f7f9;background-image:url("industrial-contour.svg"),url("industrial-grid.svg");background-repeat:no-repeat,repeat;background-position:right top,left top;background-size:820px 430px,96px 96px;
}
body.home .home-content>.wp-block-group[data-home-section="materials"]{background-position:right bottom,left top}
body.home .home-content>.wp-block-group[data-home-section="process"]{background-color:#f8fafb;background-image:url("industrial-grid.svg");background-repeat:repeat;background-size:96px 96px}
body.home .equipment-table-wrap{background:#fff}
body.home .yc-material{background:rgba(255,255,255,.94)}
body.home .capability-list>a{padding-block:21px}
body.home .nl-showcase--embedded .nl-showcase__gesture{margin-bottom:18px}
body.home .nl-showcase--embedded .nl-showcase__detail{gap:22px;min-height:0}
body.home .nl-showcase--embedded .nl-showcase__toolbar{margin-top:20px;padding-top:14px}
body.home .nl-showcase--embedded .nl-showcase__description{margin-top:11px}
/* Resource previews stay readable while giving the manufacturing content more room. */
body.home .home-content>[data-home-section="cases"] .story-card{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1fr);align-items:start;background:#fff}
body.home .home-content>[data-home-section="cases"] .story-card>.story-image{margin:0;aspect-ratio:4/5;min-height:210px;align-self:stretch}
body.home .home-content>[data-home-section="cases"] .story-card>.story-image img{height:100%;width:100%;object-fit:contain;background:#eef3f6}
body.home .home-content>[data-home-section="cases"] .story-card>div{padding:20px;min-width:0}
body.home .home-content>[data-home-section="cases"] .story-card h3{font-size:clamp(20px,1.7vw,27px);line-height:1.25}
body.home .home-content>[data-home-section="cases"] .story-card>div>p:not(.category){display:none}
body.home .home-content>[data-home-section="cases"] .section-more{margin-top:20px}
/* A two-view film gallery replaces the isolated, centered player. */
body.home.nl-design-active .home-content>[data-home-section="video"]{
  background-color:#101f2a;background-image:linear-gradient(rgba(186,211,226,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(186,211,226,.035) 1px,transparent 1px);background-size:64px 64px;
}
body.home.nl-design-active .home-content>[data-home-section="video"]::before,body.home.nl-design-active .home-content>[data-home-section="video"]>h2{text-align:left;margin-inline:0}
.yc-video-gallery{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.45fr);align-items:center;gap:24px;margin-top:24px;min-width:0}
body.home .home-content>[data-home-section="video"] .yc-video-gallery .video-showcase{width:100%;max-width:none;margin:0;aspect-ratio:16/9;background:#07131d;box-shadow:none;border:1px solid #718a9b}
.yc-video-gallery .video-showcase video,.yc-video-gallery .video-showcase iframe{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:contain;border:0}
.yc-video-gallery .video-showcase video:focus-visible{outline:3px solid #efc068;outline-offset:4px}
.yc-video-choices{display:grid;gap:14px;min-width:0}
.yc-video-choice{display:grid;grid-template-columns:1fr;width:100%;padding:0;border:1px solid #5e788a;border-radius:0;background:#172e3e;color:#edf4f7;cursor:pointer;text-align:left;overflow:visible;font:inherit;transition:border-color 160ms ease,background-color 160ms ease,transform 160ms var(--plate-ease,ease)}
.yc-video-choice.is-active{border-color:#e0b46a;box-shadow:inset 3px 0 #e0b46a;background:#213c4e}
.yc-video-choice:focus-visible{outline:3px solid #f6c665;outline-offset:4px}
.yc-video-choice-image{display:block;position:relative;aspect-ratio:2/1;background:linear-gradient(135deg,#1b3c51,#102633);overflow:hidden}
.yc-video-choice-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 180ms var(--plate-ease,ease)}
.yc-video-choice-play{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #d2e0e7a1;background:#0b1b27cc;color:#fff}
.yc-video-choice-image:not(:has(img)) .yc-video-choice-play{inset:0;margin:auto;width:44px;height:44px}
.yc-video-choice-label{display:block;padding:10px 13px;font-size:15px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
@media(hover:hover) and (pointer:fine){.yc-video-choice:hover{border-color:#e6c794;transform:translateY(-2px)}.yc-video-choice:hover img{transform:scale(1.02)}}
@media(max-width:1100px){
  .yc-video-gallery{grid-template-columns:minmax(0,1fr) minmax(220px,.48fr);gap:18px}
  body.home .home-content>[data-home-section="cases"] .story-card{grid-template-columns:minmax(0,.58fr) minmax(0,1fr)}
  body.home .home-content>[data-home-section="cases"] .story-card>div{padding:16px}
}
@media(max-width:760px){
  .yc-video-gallery{grid-template-columns:minmax(0,1fr);gap:15px;margin-top:20px}
  .yc-video-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
  .yc-video-choice-label{font-size:14px;padding:9px 10px;min-height:58px}
  .yc-video-choice-play{width:30px;height:30px;right:7px;bottom:7px}
}
@media(max-width:650px){
  body.home.nl-design-active .home-content>.wp-block-group,
  body.home.nl-design-active .home-content>.wp-block-group[data-home-section="video"],
  body.home.nl-design-active .home-content>.wp-block-group[data-home-section="markets"]{padding-block:30px}
  body.home .home-content>.wp-block-group::before{margin-bottom:9px}
  body.home .home-content>.wp-block-group:is([data-home-section="capabilities"],[data-home-section="equipment"],[data-home-section="materials"]){background-size:580px 310px,96px 96px;background-position:right top,left top}
  body.home .capability-list>a{padding-block:20px}
  body.home .nl-showcase--embedded .nl-showcase__gesture{margin:4px 0 16px}
  body.home .nl-showcase--embedded .nl-showcase__detail{gap:18px}
  body.home .nl-showcase--embedded .nl-showcase__toolbar{gap:7px 12px;margin-top:14px;padding-top:9px}
  body.home .nl-showcase--embedded .nl-showcase__categories{display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;max-width:100%;gap:7px;padding-bottom:5px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#8fa4b4 #edf2f6}
  body.home .nl-showcase--embedded .nl-showcase__categories button{flex:0 0 auto;max-width:none;scroll-snap-align:start;white-space:nowrap;overflow-wrap:normal}
  body.home .home-content>:is([data-home-section="guides"],[data-home-section="cases"]) .story-card{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:start;background:#fff;min-height:136px}
  body.home .home-content>:is([data-home-section="guides"],[data-home-section="cases"]) .story-card:not(:has(>.story-image)){grid-template-columns:minmax(0,1fr);min-height:0}
  body.home .home-content>:is([data-home-section="guides"],[data-home-section="cases"]) .story-card>.story-image{margin:0;aspect-ratio:4/5;min-height:120px;align-self:stretch}
  body.home .home-content>:is([data-home-section="guides"],[data-home-section="cases"]) .story-card>.story-image img{width:100%;height:100%;object-fit:contain;background:#edf3f6}
  body.home .home-content>:is([data-home-section="guides"],[data-home-section="cases"]) .story-card>div{padding:12px 14px;min-width:0}
  body.home .home-content>:is([data-home-section="guides"],[data-home-section="cases"]) .story-card h3{font-size:18px;line-height:1.3;margin-bottom:7px}
  body.home .home-content>:is([data-home-section="guides"],[data-home-section="cases"]) .story-card .category{font-size:13.5px;margin-bottom:6px}
  body.home .home-content>:is([data-home-section="guides"],[data-home-section="cases"]) .story-card>div>p:not(.category){display:none}
  body.home .home-content>:is([data-home-section="guides"],[data-home-section="cases"]) .story-card .text-link{font-size:14px;min-height:44px;gap:12px}
}
@media(prefers-reduced-motion:reduce){.yc-video-choice,.yc-video-choice-image img{transition:none}.yc-video-choice:hover,.yc-video-choice:hover img{transform:none}}
