/* Work section cards and standalone specialty pages. */
.expertise.work-section .section-heading{align-items:flex-start}
.expertise.work-section .section-heading>p{max-width:370px;line-height:1.9}
/* Two-column image cards with clear captions over owner photography. */
.work-grid{display:grid;grid-template-columns:1fr;gap:22px}
.expertise-pair{display:flex;gap:14px}
.expertise-pair>.work-section-card{flex:1 1 0;min-width:0}
.work-section-card{position:relative;display:flex;align-items:flex-end;height:clamp(420px,43vw,560px);aspect-ratio:auto;min-height:420px;padding:22px;overflow:hidden;border-radius:24px;background:#303937;color:#f7f8f0;isolation:isolate;transition:flex-grow .85s cubic-bezier(.22,1,.36,1),box-shadow .4s}
.work-card-media{position:absolute;inset:0;z-index:-2;overflow:hidden}
.work-card-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;transform:scale(1.045);filter:saturate(.86)}
.work-card-media{background:#273130}
.work-card-photo[data-portrait=true]{object-fit:contain}
/* Fill these two department cards while preserving full-image galleries. */
[data-expertise-category="hygiene-equipment"] .work-card-photo{object-fit:cover;object-position:center;transform:none}
[data-expertise-category="fabrication"] .work-card-photo{object-fit:cover;object-position:center;transform:none}
.work-card-media:after{content:'';position:absolute;inset:0;background:#172421;opacity:0;transition:opacity .8s;pointer-events:none}
.work-section-card:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#111e2110 25%,#101e2055 75%,#101e2099);z-index:-1;pointer-events:none}
.work-section-card:hover{box-shadow:0 20px 45px #0003}
@media(hover:hover) and (min-width:801px){
  .expertise-pair>.work-section-card:hover{flex-grow:2}
  .expertise-pair:has(>.work-section-card:hover)>.work-section-card:not(:hover) .work-card-media:after{opacity:.4}
}
@media(min-width:801px){
  .expertise-pair:has(>.work-section-card:focus-visible):not(:has(>.work-section-card:hover))>.work-section-card:focus-visible{flex-grow:2}
}

.work-section-card:focus-visible{outline:3px solid #bbcca7;outline-offset:5px}
.work-card-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;align-items:center;background:transparent;border:1px solid transparent;border-radius:17px;padding:21px 23px;width:100%;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;text-shadow:0 2px 7px #000b}
.work-card-number{grid-column:1/-1;font:10px var(--latin);letter-spacing:1.1px;color:#d6e0ce}
.work-card-panel h3{font-size:clamp(20px,1.9vw,27px);font-weight:500;line-height:1.4;letter-spacing:-.25px;margin:0}
.work-card-bottom{grid-column:1;grid-row:3;font-size:12px;color:#d4ddce}
.work-card-arrow{grid-column:2;grid-row:2/4;width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#d3e1c820;color:#f7f8f0;font:25px var(--latin);transition:background .3s,transform .3s}
.work-section-card:hover .work-card-arrow{background:#d3e1c83b;transform:translate(2px,-2px)}
.work-detail-page .site-header{background:#151b1df5;backdrop-filter:blur(12px)}
.catalog-hero{padding-top:150px;padding-bottom:72px}
.catalog-breadcrumb{display:flex;gap:13px;flex-wrap:wrap;align-items:center;font-size:12px;color:#758075;margin-bottom:36px}
.catalog-breadcrumb a{color:#3e5144;border-bottom:1px solid #bdc8b8}
.catalog-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:8%;align-items:end;margin-bottom:38px}
.catalog-heading .eyebrow{font-size:10px;letter-spacing:1.4px;margin-bottom:14px;color:#6e8062}
.catalog-heading h1{font-size:clamp(32px,4vw,54px);line-height:1.35;letter-spacing:-1.1px;font-weight:500}
.catalog-heading p:not(.eyebrow){font-size:17px;line-height:1.95;color:#647160;margin-bottom:6px}
.catalog-cover{position:relative;background:#dce1d5;border-radius:18px;overflow:hidden}
.catalog-cover>img{display:block;width:100%;height:410px;object-fit:cover;object-position:center 40%}
.catalog-cover[data-portrait=true]{background:#172023}
.catalog-cover[data-portrait=true]>img{object-fit:contain}
.catalog-cover-label{position:absolute;inset-inline-start:24px;bottom:24px;padding:14px 20px;border-radius:10px;background:#fff;color:#22342b;font-size:12px;display:flex;gap:20px;align-items:center}
.catalog-cover-label>span:first-child{font:22px var(--latin);color:#668055}
.catalog-overview{display:grid;grid-template-columns:.65fr 1.35fr;gap:9%;padding:38px 0;border-bottom:1px solid var(--line)}
.catalog-overview h2{font-size:25px;font-weight:500;line-height:1.5}
.catalog-overview p{font-size:16px;line-height:2;color:#697362}
.catalog-products{padding-block:18px 80px}
.catalog-products-heading{display:flex;gap:25px;justify-content:space-between;align-items:end;margin-bottom:30px}
.catalog-products-heading h2{font-size:32px;font-weight:500;line-height:1.4}
.catalog-products-heading>p{font-size:13px;color:#7b8970}
.catalog-jumps{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:32px}
.catalog-jumps a{font-size:12px;line-height:1.6;padding:9px 13px;border:1px solid #c9d3c0;border-radius:100px;color:#536744;transition:background .2s}
.catalog-jumps a:hover{background:#e2ead6}
.catalog-item{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid #dce1d6;border-radius:16px;background:#fff;margin-bottom:26px;scroll-margin-top:115px}
.catalog-item:nth-child(even) .catalog-item-image{order:2}
.catalog-item-image{position:relative;display:block;width:100%;min-height:355px;background:#dfe4d9;padding:0;overflow:hidden;align-self:stretch}
.catalog-item-image>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s}
.catalog-item[data-portrait=true]{grid-template-columns:2fr 3fr}
.catalog-item[data-portrait=true]:nth-child(even){grid-template-columns:3fr 2fr}
.catalog-item-image[data-portrait=true]{background:#1c2525;min-height:0;align-self:center}
.catalog-item-image[data-portrait=true]>img{position:static;width:100%;height:auto;object-fit:cover;object-position:center}
.catalog-item-image[data-placeholder=true]>img{object-fit:contain}
.catalog-item-image:hover>img{transform:scale(1.035)}
.catalog-item-image[data-portrait=true]:hover>img{transform:none}
.catalog-photo-count{position:absolute;bottom:16px;inset-inline-end:16px;display:flex;align-items:center;gap:12px;padding:8px 13px;border-radius:8px;background:#fff;color:#385044;font-size:12px;box-shadow:0 4px 20px #0002}
.catalog-item-copy{padding:36px 38px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.catalog-item-copy .eyebrow{font-size:10px;letter-spacing:1px;color:#95a189;margin-bottom:12px}
.catalog-item-copy h3{font-size:26px;line-height:1.5;font-weight:500;margin-bottom:16px;letter-spacing:-.3px}
.catalog-item-copy>p:not(.eyebrow){font-size:15px;color:#697562;line-height:1.95;margin-bottom:23px}
.catalog-item-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin-top:auto}
.catalog-item-actions button{background:none;font-size:12px;color:#45613c;padding:9px 0;border-bottom:1px solid #bcccb0}
.catalog-item-actions .button{min-height:45px;padding:10px 17px;font-size:12px;gap:20px}
.catalog-brief{display:grid;grid-template-columns:1.1fr 1fr;gap:12%;background:#e5edda;border-radius:18px;padding:46px;margin-bottom:72px}
.catalog-brief h2{font-size:32px;font-weight:500;line-height:1.45;margin-bottom:17px}
.catalog-brief p{font-size:15px;line-height:1.9;color:#607056;margin-bottom:24px}
.catalog-brief ul{list-style:none;display:grid;gap:10px;align-content:center}
.catalog-brief li{font-size:14px;line-height:1.9;border-bottom:1px solid #c5d2b9;padding-bottom:10px}
.catalog-brief li:last-child{border-bottom:none}
.catalog-more{padding-bottom:70px}
.catalog-more h2{font-size:24px;font-weight:500;margin-bottom:20px}
.catalog-more-links{display:flex;flex-wrap:wrap;gap:12px}
.catalog-more-links a{display:flex;gap:20px;align-items:center;justify-content:space-between;border:1px solid #cbd3c4;border-radius:10px;padding:14px 18px;font-size:13px;background:#fff}
.catalog-more-links a.is-current-section{background:#edf1e7;border-color:#698454}
.section-link-number{font-size:11px;color:#698454;font-variant-numeric:tabular-nums}
.section-link-title{flex:1}
@media print{.catalog-more{display:none!important}}
#work-gallery-dialog{width:min(960px,calc(100% - 32px));max-height:90svh}
#work-gallery-dialog .dialog-inner{padding:52px 32px 30px}
.work-detail-page .site-footer .back-top{margin-inline-start:auto;margin-inline-end:0}
[dir=ltr] .work-card-panel h3{font-family:var(--latin);font-size:clamp(21px,2.05vw,28px)}
[dir=ltr] .catalog-heading h1{font-family:var(--latin);font-size:clamp(32px,4vw,50px);letter-spacing:-1.5px}
[dir=ltr] .catalog-item-copy h3{font-family:var(--latin);font-size:25px;letter-spacing:-.7px}

@media(max-width:1100px){.expertise-pair{gap:14px}.work-section-card{min-height:380px}.catalog-heading{gap:6%}.catalog-item-copy{padding:28px}.catalog-brief{gap:8%;padding:36px}}
@media(max-width:800px){.work-grid{gap:18px}.work-section-card{height:410px;min-height:335px;aspect-ratio:auto;padding:15px;border-radius:20px}.work-card-panel{padding:17px;gap:8px 12px}.work-card-panel h3,[dir=ltr] .work-card-panel h3{font-size:20px}.work-card-arrow{width:40px;height:40px}.work-card-bottom{font-size:10px}.catalog-hero{padding-top:115px;padding-bottom:50px}.catalog-heading{grid-template-columns:1fr;gap:20px}.catalog-heading p:not(.eyebrow){font-size:16px;max-width:680px}.catalog-cover>img{height:350px}.catalog-overview{grid-template-columns:1fr;gap:16px}.catalog-item-copy h3,[dir=ltr] .catalog-item-copy h3{font-size:23px}.catalog-item-copy{padding:26px}.catalog-item-copy>p:not(.eyebrow){font-size:14px}.catalog-item-image{min-height:340px}.catalog-item-actions{gap:12px}.catalog-brief{grid-template-columns:1fr;gap:24px;padding:30px}.catalog-products-heading h2{font-size:28px}.catalog-products-heading{align-items:flex-start}.catalog-brief h2{font-size:28px}}
@media(max-width:560px){.work-grid{gap:24px}.expertise-pair{flex-direction:column;gap:24px}.expertise-pair>.work-section-card{flex:auto;width:100%}.work-section-card{height:auto;min-height:390px;aspect-ratio:1.05;padding:18px}.work-card-panel{padding:20px;gap:10px 16px}.work-card-panel h3,[dir=ltr] .work-card-panel h3{font-size:23px}.work-card-bottom{font-size:12px}.work-card-arrow{width:44px;height:44px}.expertise.work-section .section-heading>p{font-size:14px}.catalog-heading h1,[dir=ltr] .catalog-heading h1{font-size:32px;letter-spacing:-.6px}.catalog-breadcrumb{font-size:11px;margin-bottom:25px}.catalog-cover>img{height:300px}.catalog-cover-label{inset-inline-start:14px;bottom:14px;padding:10px 14px;font-size:11px;gap:14px}.catalog-overview h2{font-size:23px}.catalog-overview p{font-size:15px}.catalog-item{grid-template-columns:1fr}.catalog-item:nth-child(even) .catalog-item-image{order:0}.catalog-item-image{min-height:290px}.catalog-item-copy{padding:26px 23px}.catalog-item-copy h3,[dir=ltr] .catalog-item-copy h3{font-size:24px}.catalog-item-copy>p:not(.eyebrow){font-size:15px}.catalog-item-actions{width:100%;justify-content:space-between;gap:12px}.catalog-item-actions button{font-size:12px}.catalog-jumps a{font-size:11px;padding:8px 11px}.catalog-products-heading{flex-direction:column;gap:10px}.catalog-products-heading h2{font-size:27px}.catalog-brief{padding:27px 23px;margin-bottom:52px}.catalog-brief h2{font-size:27px}.catalog-more-links{flex-direction:column}.catalog-products{padding-bottom:45px}#work-gallery-dialog .dialog-inner{padding:52px 18px 26px}}
@media(prefers-reduced-motion:reduce){.work-section-card,.work-card-arrow,.work-card-media:after,.catalog-item-image>img{transition:none}.expertise-pair>.work-section-card:hover,.expertise-pair>.work-section-card:focus-visible{flex-grow:1}.work-card-photo{transform:none}.work-section-card:hover .work-card-arrow,.catalog-item-image:hover>img{transform:none}}

.product-hero-photo[data-placeholder=true]>img{object-fit:contain;background:#243833}

/* Portrait equipment gets a proportionate frame, including stacked mobile cards. */
@media(max-width:560px){.catalog-item[data-portrait=true],.catalog-item[data-portrait=true]:nth-child(even){grid-template-columns:1fr}.catalog-item-image[data-portrait=true]{min-height:0}}

.catalog-workshop-video{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:48px;padding:32px;margin-block:0 54px;border:1px solid var(--line,#c9d6e4);border-radius:20px;background:var(--surface,#e7eef6)}
.workshop-video-copy{max-width:540px}
.workshop-video-copy h2{font-size:32px;font-weight:500;line-height:1.4;margin-bottom:16px}
.workshop-video-copy h3{font-size:23px;font-weight:500;line-height:1.5;margin-bottom:14px}
.workshop-video-copy>p:not(.eyebrow){font-size:16px;line-height:1.9;color:var(--muted,#52687c);margin-bottom:22px}
.workshop-video-copy .workshop-video-note{font-size:13px;margin-bottom:18px}
.workshop-video-media{width:min(100%,326px);margin:0;justify-self:center}
.workshop-video-media video{display:block;width:100%;height:auto;aspect-ratio:512/910;object-fit:contain;border-radius:14px;background:#122e46}
.workshop-video-media figcaption{font-size:12px;line-height:1.7;color:var(--muted,#52687c);text-align:center;padding-top:12px}
.conveyor-station-video{grid-template-columns:.85fr 1.35fr}
.conveyor-station-video .workshop-video-media{width:100%;max-width:760px}
.conveyor-station-video .workshop-video-media video{aspect-ratio:910/512}
@media(max-width:800px){.conveyor-station-video{grid-template-columns:1fr}.conveyor-station-video .workshop-video-media{width:100%;max-width:none}}
@media(max-width:800px){.catalog-workshop-video{gap:28px;padding:25px}.workshop-video-copy h2{font-size:28px}.workshop-video-copy h3{font-size:21px}}
@media(max-width:560px){.catalog-workshop-video{grid-template-columns:1fr;gap:26px;padding:22px;margin-bottom:38px}.workshop-video-copy>p:not(.eyebrow){font-size:15px}.workshop-video-media{width:min(100%,300px)}}

/* The wide hygiene image fills each frame while keeping the machine in its center. */
[data-work-category="hygiene-equipment"] .catalog-cover>img{object-fit:cover;object-position:center}
[data-header-department="hygiene-equipment"] .products-preview-image{object-position:center}

/* Preserve the full fabrication photo while filling its own frame. */
[data-work-category="fabrication"] .catalog-cover>img{object-fit:cover;object-position:center}
[data-work-category="fabrication"] .catalog-item-image:not([data-placeholder=true]){min-height:0;aspect-ratio:var(--image-ratio);align-self:center}
[data-work-category="fabrication"] .catalog-item-image:not([data-placeholder=true])>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:none}
.products-preview-image[src="assets/sheet-metal-parts-wide.png"]{object-position:center}
