/* Homepage product film */
#home-section:has(.jf-film-hero) { background: #fff; }
.jf-film-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #09131e;
  color: #fff;
}
.jf-film-visual {
  position: absolute;
  inset: 0 0 0 14%;
  overflow: hidden;
}
.jf-film-visual picture, .jf-film-visual img, .jf-film-visual video, .jf-film-shade {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.jf-film-visual img, .jf-film-visual video {
  object-fit: cover;
  object-position: right center;
}
.jf-film-visual video { opacity: 0; }
.jf-film-playing .jf-film-visual video { opacity: 1; }
.jf-film-shade {
  background: linear-gradient(90deg, #09131e 0%, #09131ef5 12%, #09131e99 34%, transparent 62%),
    linear-gradient(0deg, #09131e99, transparent 30%);
}
.jf-film-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  max-width: 1440px;
  min-height: clamp(490px, 46vw, 690px);
  margin-inline: auto;
  padding: 42px clamp(24px, 5vw, 76px) 72px;
  pointer-events: none;
}
.jf-film-copy { width: min(46%, 570px); }
.jf-machine-label {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #185a92!important;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .875rem;
  font-weight: 750;
  margin: 0 0 1rem;
}
.jf-machine-label::before {
  content: '';
  width: 25px;
  height: 2px;
  flex: none;
  border-radius: 4px;
  background: #f2a34e;
}
.jf-film-copy .jf-machine-label { color: #ffc181!important; }
#home-section .jf-film-copy h1 {
  margin: 0 0 1rem;
  color: #fff!important;
  font: 690 clamp(2.7rem, 5.5vw, 5.7rem)/1.01 'Segoe UI', Arial, sans-serif!important;
  letter-spacing: -.065em!important;
  text-wrap: balance;
}
.jf-film-lead {
  max-width: 42ch;
  color: #dce7f2!important;
  font-size: clamp(1rem, 1.32vw, 1.18rem);
  line-height: 1.6;
  margin: 0 0 1.3rem;
}
.jf-film-content a, .jf-film-content button { pointer-events: auto; }
.jf-film-copy .jf-front-actions { gap: 10px; }
.jf-film-copy .jf-action-main { background: #1766b3; }
.jf-film-copy .jf-action-main:hover { background: #125494; }
.jf-film-copy .jf-action-outline {
  background: #09131ecf;
  color: #fff!important;
  border-color: #a1b6cd;
}
.jf-film-models {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 14px;
}
.jf-film-models a {
  display: inline-grid;
  align-items: center;
  min-height: 38px;
  color: #e4effc!important;
  font-size: .925rem;
  text-decoration: underline;
  text-underline-offset: .24em;
}
.jf-film-toggle {
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  top: 20px;
  min-height: 44px;
  padding: .55rem 1rem;
  border: 1px solid #b8cee87d;
  border-radius: 24px;
  color: #fff;
  background: #09131edb;
  font-size: .875rem;
  font-weight: 650;
  cursor: pointer;
}
.jf-film-toggle[hidden] { display: none; }
.jf-film-hero :is(a,button):focus-visible { outline: 3px solid #ffc181; outline-offset: 4px; }
.jf-compact-film {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(16px, 4vw, 62px);
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto clamp(26px, 4vw, 58px);
  padding: clamp(18px, 4vw, 52px);
  border: 1px solid #cddfeb;
  border-radius: 20px;
  background: #f0f6fb;
}
.jf-compact-film h2 {
  color: #103352!important;
  font: 670 clamp(1.75rem, 3.3vw, 3.2rem)/1.05 'Segoe UI', Arial, sans-serif!important;
  letter-spacing: -.045em!important;
  margin: 0 0 .8rem;
}
.jf-compact-film p:not(.jf-machine-label) { color: #35536d!important; line-height: 1.6; margin: 0; }
.jf-compact-film a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 1rem; padding: .5rem 1rem; border-radius: 25px; }
.jf-compact-film video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; border-radius: 12px; background: #09131e; }
@media (prefers-reduced-motion: no-preference) {
  .jf-film-playing .jf-film-copy > * { animation: jf-film-rise .65s ease-out backwards; }
  .jf-film-playing .jf-film-copy > :nth-child(2) { animation-delay: .07s; }
  .jf-film-playing .jf-film-copy > :nth-child(3) { animation-delay: .14s; }
  .jf-film-playing .jf-film-copy > :nth-child(4) { animation-delay: .2s; }
}
@keyframes jf-film-rise {
  from { transform: translateY(12px); opacity: .7; }
  to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 680px) {
  .jf-film-visual { inset: 0 0 auto; height: clamp(245px, 98vw, 420px); }
  .jf-film-visual img, .jf-film-visual video { object-position: center top; }
  .jf-film-shade { background: linear-gradient(0deg, #09131e, transparent 28%); }
  .jf-film-content { display: block; padding: clamp(240px, 93vw, 406px) 20px 21px; }
  .jf-film-copy { width: 100%; }
  .jf-film-copy .jf-machine-label { margin-bottom: .6rem; }
  #home-section .jf-film-copy h1 { font-size: clamp(2.4rem, 9vw, 3.8rem)!important; margin-bottom: .75rem; text-wrap: unset; }
  .jf-film-lead { margin-bottom: .9rem; }
  .jf-film-toggle { top: 18px; }
  .jf-film-copy .jf-front-actions a { padding-inline: .8rem; font-size: .95rem; }
  .jf-film-models { margin-top: 9px; }
  .jf-compact-film { grid-template-columns: 1fr; gap: 18px; }
  .jf-compact-film video { grid-row: 1; }
}

.jf-machine-categories,.jf-machine-support{max-width:1392px;padding-inline:clamp(18px,5vw,80px);margin:auto}
.jf-machine-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.5vw,24px);padding-block:clamp(26px,4vw,58px)}
.jf-machine-categories>a{display:grid;grid-template-columns:minmax(80px,.72fr) minmax(100px,1fr);align-items:center;gap:clamp(8px,1vw,20px);background:#f3f7fb;border:1px solid #d3e1eb;border-radius:16px;padding:clamp(14px,1.6vw,24px);color:#153954;text-decoration:none}
.jf-machine-categories img{width:100%;height:clamp(90px,8vw,138px);object-fit:contain;mix-blend-mode:multiply}
.jf-machine-categories h2,.jf-support-grid h3{font:650 clamp(1.04rem,1.45vw,1.45rem)/1.15 'Segoe UI',Arial,sans-serif!important;letter-spacing:-.035em;margin:0 0 .45rem;color:#103352!important}
.jf-machine-categories p,.jf-support-grid p{font-size:.96rem;line-height:1.52;margin:0;color:#455e74!important}
.jf-machine-support{padding-block:clamp(24px,4.3vw,70px);text-align:center}
.jf-support-heading{max-width:720px;margin:0 auto 1.85rem}
.jf-support-heading .jf-machine-label{justify-content:center}.jf-support-heading .jf-machine-label:before{display:none}
.jf-support-heading h2{font:650 clamp(2.1rem,4vw,3.45rem)/1.06 'Segoe UI',Arial,sans-serif!important;letter-spacing:-.055em;color:#103352!important;margin:.45rem 0 .8rem}
.jf-support-heading>p:last-child{margin:auto;max-width:58ch;color:#405b73;font-size:1.05rem;line-height:1.65}
.jf-support-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.4vw,22px)}
.jf-support-grid>a{background:white;overflow:hidden;display:flex;flex-direction:column;border:1px solid #d2dfeb;border-radius:15px;text-decoration:none}
.jf-support-media{aspect-ratio:1.8;background:#eef3f8;padding:14px}.jf-support-media img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.jf-support-text{padding:1rem 1rem 1.35rem}
.jf-service-card .jf-service-photo,.jf-service-intro .jf-service-cover{display:block;width:100%;height:auto;object-fit:cover;aspect-ratio:2.05;border-radius:12px}
.jf-service-card .jf-service-photo{margin:0 0 1.25rem}.jf-service-card:has(.jf-service-photo) .jf-service-icon{display:none}
.jf-service-wrap .jf-service-intro.jf-photo-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:clamp(20px,4vw,64px);align-items:center;max-width:100%;text-align:left}
.jf-service-intro.jf-photo-intro .jf-service-cover{aspect-ratio:1.65;margin:0}.jf-service-intro.jf-photo-intro p{margin-left:0}
#products-section .stock-product{position:relative;isolation:isolate;display:flex;flex-direction:column;padding:0!important;background:#fff!important;border:1px solid #ccdae5!important;border-radius:16px!important;overflow:hidden}
#products-section .jf-catalog-main{display:flex;flex:1;flex-direction:column;position:static;color:inherit;text-decoration:none;outline-offset:-4px}
#products-section .jf-catalog-main:after{content:'';position:absolute;inset:0;z-index:1}
#products-section .stock-product .stock-photo{display:grid;place-items:center;height:clamp(165px,16vw,245px);width:100%;padding:18px;background:linear-gradient(155deg,#f8fafc,#eff4f8);border-bottom:1px solid #dfebf3}
#products-section .stock-product .stock-photo img{width:100%!important;height:100%!important;min-height:0;object-fit:contain!important;mix-blend-mode:multiply}
#products-section .stock-product .stock-product-copy{display:grid;align-content:start;gap:.6rem;padding:20px clamp(18px,1.7vw,25px) 14px!important;text-align:left}
#products-section .stock-product .stock-product-copy h3{display:block;position:static;font-family:'Segoe UI',Arial,sans-serif!important;font-size:clamp(1.15rem,1.5vw,1.52rem)!important;font-weight:680!important;line-height:1.24!important;color:#113657!important;letter-spacing:-.025em;margin:0!important;padding:0!important}
#products-section .stock-product .stock-product-copy .stock-category{font-size:.81rem;font-weight:700;color:#15578d}
#products-section .stock-product .stock-product-copy>p:not(.stock-category){font-size:.96rem;line-height:1.55}
#products-section .stock-product .jf-commerce-actions,#products-section .stock-product>.grid:not([hidden]){display:flex;flex-wrap:wrap;gap:7px;margin:0;padding:0 clamp(18px,1.7vw,25px) 22px}
#products-section .stock-product .jf-commerce-actions>* ,#products-section .stock-product>.grid>a{position:relative;z-index:2;flex:1 1 75px;line-height:1.2;min-height:42px}
#products-section .stock-product:focus-within,.jf-related-equipment a:focus-visible{outline:3px solid #cc7620;outline-offset:2px}
#products-section .stock-product[hidden]{display:none!important}
.jf-related.jf-related-equipment{padding:clamp(20px,3vw,42px);background:#edf3f8;margin:clamp(32px,5vw,72px) auto;max-width:1200px}
.jf-related-equipment h2{margin:0 0 1rem}
.jf-related.jf-related-equipment ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.jf-related-equipment li{min-width:0}.jf-related.jf-related-equipment a{padding:0;display:grid;grid-template-rows:auto 1fr;height:100%;overflow:hidden;border-radius:12px;text-decoration:none;background:#fff;border:1px solid #c8d9e6}
.jf-related-media{height:clamp(110px,11vw,168px);background:#f7f9fc;padding:14px}.jf-related-media img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.jf-related-body{display:grid;align-content:start;gap:5px;padding:14px 16px 17px}.jf-related-body small{font-size:.8rem;color:#42617a}.jf-related-body strong{font:650 1.08rem/1.3 'Segoe UI',Arial,sans-serif;color:#143752}
@media (hover:hover) and (prefers-reduced-motion:no-preference){.jf-machine-categories a img,.jf-support-grid a img,.jf-related-equipment img{transition:transform .4s cubic-bezier(.18,.7,.2,1)}.jf-machine-categories a:hover img,.jf-support-grid a:hover img,.jf-related-equipment a:hover img{transform:translateY(-3px) scale(1.05)}}
@media(max-width:880px){.jf-machine-categories>a{grid-template-columns:1fr;text-align:center}.jf-support-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.jf-machine-categories{gap:8px;padding-block:22px}.jf-machine-categories a{padding:10px 5px;gap:5px}.jf-machine-categories img{height:65px}.jf-machine-categories h2{font-size:.9rem!important}.jf-machine-categories p{display:none}.jf-support-grid{gap:10px}.jf-support-text{padding:.8rem}.jf-support-grid h3{font-size:1.05rem!important}.jf-support-grid p{font-size:.88rem}.jf-service-wrap .jf-service-intro.jf-photo-intro{grid-template-columns:1fr}.jf-related.jf-related-equipment ul{grid-template-columns:1fr}.jf-related.jf-related-equipment a{grid-template-columns:90px minmax(0,1fr);grid-template-rows:auto;align-items:center}.jf-related-media{height:84px;padding:8px}.jf-related-body{padding:.75rem}}

#sales.jf-service-card .jf-service-photo{object-fit:contain;height:clamp(175px,18vw,270px);padding:14px;background:radial-gradient(ellipse at center,#fff,#e8f1f7)}
.jf-archive-note{border-left:3px solid #e89438;background:#f0f5f9;padding:1rem 1.2rem;margin:1.5rem 0}
#products-section .jf-catalog-main:hover h3{color:#005bac!important}
#products-section .jf-catalog-main .stock-card-image-note{padding-top:6px!important}

#products-section .stock-product .jf-commerce-actions>*{padding:.5rem .4rem!important;font:650 .86rem/1.2 'Segoe UI',Arial,sans-serif!important;flex:1 1 auto}

.jf-support-heading h2{text-wrap:balance}
.jf-support-grid .jf-support-media{display:grid;place-items:center;flex:none;width:100%;height:clamp(112px,13.5vw,205px);min-height:0;aspect-ratio:auto;overflow:hidden}
.jf-support-grid .jf-support-media img{min-height:0;max-height:100%}

.jf-splicer-gallery .product-gallery-stage {
  min-height: 0;
  height: clamp(290px, 37vw, 510px);
  padding: 18px 18px 40px;
}
.jf-splicer-gallery .product-gallery-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jf-splicer-gallery .product-gallery-thumb {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  gap: 5px;
  height: 100px;
  padding: 6px;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.2;
}
.jf-splicer-gallery .product-gallery-thumb img { min-height: 0; }
.jf-splicer-gallery .product-gallery-caption { font-size: .875rem; }
