/* Jusnova home modules. Media-rule order preserves the confirmed layout. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

@keyframes pulse-slow { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.25); opacity: .35; } }
.pulse-dot { animation: pulse-slow 2.4s infinite ease-in-out; }
@keyframes duang { 0%{transform:scale(1)} 30%{transform:scale(1.14)} 50%{transform:scale(.95)} 70%{transform:scale(1.05)} 100%{transform:scale(1)} }
.group:hover .group-hover\:animate-duang { animation: duang .6s cubic-bezier(.34,1.56,.64,1) forwards; }
.hero-title { font-size: clamp(2rem, 4.6vw, 3.7rem); }
.hero-title-sub { font-size: clamp(1.35rem, 3.4vw, 2.7rem); }
.jn-marquee { overflow: hidden; }
.jn-marquee-track { display: flex; width: max-content; gap: 1.25rem; animation: jn-scroll 40s linear infinite; }
.jn-marquee:hover .jn-marquee-track { animation-play-state: paused; }
@keyframes jn-scroll { to { transform: translateX(calc(-50% - .625rem)); } }
@media (prefers-reduced-motion: reduce) {
.jn-marquee-track { animation: none; }
.pulse-dot, .group:hover .group-hover\:animate-duang { animation: none; }
}
.jn-home .font-serif { font-family: "Bodoni Moda",Didot,Georgia,serif; letter-spacing: -.025em; }
.jn-home .hero-title { font-weight: 500; letter-spacing: -.045em; }
.jn-home h2.font-serif,.jn-home h2.jn-section-title { font-weight: 500; }
.jn-home h3.font-serif,.jn-home h4.font-serif { font-weight: 600; }
.jn-home .hero-editorial { height: auto; min-height: 100dvh; background: var(--jn-color-bg); align-items: center; }
.jn-home .hero-editorial > .absolute.inset-0 { left: auto; right: 0; width: 56%; height: 86%; top: 8%; bottom: auto; overflow: hidden; background: #efe7dd; }
.jn-home .hero-editorial > .absolute.inset-0 > img { opacity: .96; object-position: center; }
.jn-home .hero-editorial > .absolute.inset-0 > div { display: none; }
.jn-home .hero-editorial .hero-title { color: var(--jn-color-text)!important; font-weight: 500; max-width: 680px; font-size: clamp(2.5rem,5.1vw,5.25rem); line-height: .98; }
.jn-home .hero-editorial .hero-title-sub { color: #8a6f3c!important; font-weight: 400; }
.jn-home .hero-editorial .hero-copy-text { color: rgba(30,34,40,.68)!important; border-color: rgba(198,161,91,.65)!important; }
.jn-home .hero-editorial .hero-bottom-feature { display: none; }
.jn-home .hero-editorial .hero-verified { display: none; }

.jn-home #tracks .jn-service-card--offset { position: relative; top: 42px; }
.jn-home #contact { background-image: linear-gradient(90deg,rgba(30,34,40,.94),rgba(30,34,40,.76)),url('/wp-content/themes/generatepress-child/home-assets/chains.webp'); background-size: cover; background-position: center; background-attachment: fixed; }
.jn-home #contact > .absolute.inset-0 { display: none; }
.jn-home .contact-direct { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.jn-home .contact-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.jn-home .contact-trust>div { min-height: 54px; }
.jn-home #process .js-stagger-grid > div:nth-child(even) { position: relative; top: 22px; }
.jn-home #process .js-stagger-grid { align-items: start; }
@media(max-width:1023px) {
.jn-home .hero-editorial > .absolute.inset-0 { position: absolute; width: 62%; height: 72%; top: 12%; opacity: .42; }
.jn-home .hero-editorial .hero-title { font-size: clamp(2.35rem,6vw,4.3rem); }
.jn-home #tracks .jn-service-card--offset { top: 0; }
}
.jn-home section[data-grid-only] .js-stagger-grid > a > span { display: none!important; }

@media(max-width:640px) {
.jn-home .hero-editorial { min-height: auto; padding-top: 6rem; padding-bottom: 4rem; }
.jn-home .hero-editorial > .absolute.inset-0 { position: relative; inset: auto; width: 100%; height: 360px; opacity: 1; margin-top: 2rem; }
.jn-home .hero-editorial .hero-title { font-size: clamp(2.4rem,12vw,4rem); }
.jn-home #process .js-stagger-grid > div:nth-child(even) { transform: none; }
.jn-home .contact-direct,.jn-home .contact-trust { grid-template-columns: 1fr; }
}
.jn-home .jn-home-stats .jn-stat__value { font-size: clamp(2rem,3.15vw,2.85rem)!important; }
.jn-home .jn-home-fresh .js-fade-block { align-items: center!important; }
.jn-home #production > div.relative.z-10 > .grid { align-items: start!important; }
.jn-home #production > div.absolute { display: none; }
.jn-home #production .lg\:sticky { position: sticky!important; top: 8rem!important; align-self: start!important; height: max-content; }
.jn-home #production .lg\:col-span-4 { align-self: start!important; transform: none!important; }
.jn-home #contact h2 { line-height: 1.26!important; }
.jn-home #contact .contact-direct { grid-template-columns: 1fr!important; gap: 12px!important; margin-bottom: 24px!important; padding: 16px 0!important; }
.jn-home #contact .contact-direct a { width: 100%!important; }
.jn-home #contact .contact-trust { margin-top: 6px!important; padding-top: 18px!important; gap: 10px 12px!important; }
.jn-home #contact .contact-trust>div { min-height: 58px; padding: 12px 14px!important; border: 1px solid rgba(255,255,255,.12)!important; border-radius: 12px; background: rgba(255,255,255,.055); }
.jn-home .jn-home-stats { background: linear-gradient(112deg,#181818 0%,#5a5a5a 48%,#242424 100%)!important; }
.jn-home #process .js-stagger-grid > div:nth-child(5) > div:first-child { background: var(--jn-color-gold)!important; color: #fff!important; box-shadow: 0 6px 16px rgba(198,161,91,.3)!important; }
.jn-home #production .lg\:col-span-8 .group > div:first-child > div { background: var(--jn-color-surface-muted)!important; border-color: #d7d7d4!important; }
.jn-home #production .lg\:col-span-8 .group > div:first-child > div i { color: var(--jn-color-gold)!important; }
.jn-home #production .lg\:col-span-8 .group:hover > div:first-child > div { background: var(--jn-color-gold)!important; border-color: var(--jn-color-gold)!important; }
.jn-home #production .lg\:col-span-8 .group:hover > div:first-child > div i { color: #fff!important; }
.jn-home #contact .contact-direct { border-top: 0!important; border-bottom: 0!important; }
.jn-home #contact .contact-trust { border-top: 0!important; }
.jn-home .bg-brand-sand { background-color: var(--jn-color-surface-muted)!important; }
.jn-home .bg-brand-cream { background-color: var(--jn-color-surface-soft)!important; }
.jn-home .hero-title-main { white-space: nowrap; }
.jn-home .hero-title-main,.jn-home .hero-title-sub { display: block; width: 100%; max-width: 680px; }
.jn-home .hero-title-sub { font-size: 1em!important; line-height: 1.02!important; white-space: nowrap; margin-top: .18em; }
.jn-home #production .lg\:col-span-8 .group > div:first-child > div svg { color: var(--jn-color-gold)!important; width: 28px!important; height: 28px!important; }
.jn-home #production .lg\:col-span-8 .group:hover > div:first-child > div svg { color: #fff!important; }
.jn-home #tracks { background: #f8f8f6!important; }
.jn-home #process { background: #ffffff!important; }
.jn-home .hero-editorial > .absolute.inset-0 { height: 100%!important; top: 0!important; bottom: 0!important; }
.jn-home #process .js-stagger-grid > div > div:first-child { background: linear-gradient(135deg,var(--jn-color-gold-start) 0%,var(--jn-color-gold-end) 100%)!important; color: #fff!important; box-shadow: 0 6px 16px rgba(195,167,68,.28)!important; }
.jn-home #process .process-intro { position: sticky; top: 8rem; align-self: start; }
.jn-home #process .process-timeline { padding-top: 2px; }
.jn-home #process .process-timeline-line { position: absolute; left: 27px; top: 30px; bottom: 30px; width: 1px; background: linear-gradient(180deg,rgba(195,167,68,.65),rgba(30,34,40,.14) 55%,rgba(195,167,68,.55)); z-index: 0; }
.jn-home #process .process-step { z-index: 1; border-bottom: 1px solid rgba(30,34,40,.12); transition: transform .3s ease,padding-left .3s ease; }
.jn-home #process .process-step:last-child { border-bottom: 0; }
.jn-home #process .process-step-number { position: relative; z-index: 2; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 9999px; background: linear-gradient(135deg,var(--jn-color-gold-start) 0%,var(--jn-color-gold-end) 100%); color: #fff; font-family: "Bodoni Moda",Didot,Georgia,serif; font-size: 1.1rem; font-weight: 600; box-shadow: 0 8px 20px rgba(195,167,68,.22); transition: transform .3s ease,box-shadow .3s ease; }
.jn-home #process .process-step:hover { transform: translateX(6px); }
.jn-home #process .process-step:hover .process-step-number { transform: scale(1.08); box-shadow: 0 10px 24px rgba(195,167,68,.3); }
@media(max-width:1023px) {
.jn-home #process .process-intro { position: static; }
.jn-home #process .process-timeline-line { left: 27px; }
}
@media(max-width:640px) {
.jn-home #process .process-step { grid-template-columns: 48px 1fr; gap: 16px; }
.jn-home #process .process-step-number { width: 48px; height: 48px; font-size: 1rem; }
.jn-home #process .process-timeline-line { left: 23px; top: 25px; bottom: 25px; }
.jn-home #process .process-step h3 { font-size: 1.35rem; }
}
.jn-home .jn-home-stats { background: radial-gradient(circle at 15% 50%,rgba(208,193,131,.14),transparent 34%),radial-gradient(circle at 86% 50%,rgba(195,167,68,.08),transparent 38%),linear-gradient(120deg,#f8f8f6 0%,#eeeeeb 52%,#f7f7f4 100%)!important; box-shadow: inset 0 1px 0 rgba(208,193,131,.22),inset 0 -1px 0 rgba(208,193,131,.16); }
.jn-home .jn-home-stats .jn-stat__value { color: #2f3135!important; }
.jn-home .jn-home-stats .js-stagger-grid > div { border-color: rgba(30,34,40,.14)!important; }
@media(max-width:1023px) {
.jn-home #production .lg\:col-span-4 { transform: none!important; }
}
@media(max-width:640px) {
.jn-home .hero-title-main { white-space: normal; }
.jn-home .hero-title-sub { white-space: normal; }
.jn-home .hero-editorial > .absolute.inset-0 { height: 360px!important; top: auto!important; bottom: auto!important; }
}
#certSlider .ex-slide figcaption { text-align: center; }
.jn-home #why-jusnova { background-image: linear-gradient(rgba(30,34,40,.68),rgba(30,34,40,.68)),url('/wp-content/themes/generatepress-child/home-assets/oem-production.webp'); background-size: cover; background-position: center; background-attachment: fixed; }
.jn-home #process .process-step { align-items: center; border-bottom: 0!important; }
.jn-home #process .process-step > div:nth-child(2) { align-self: center; padding-top: 0!important; }
.jn-home #inquiry-form .inquiry-submit { position: relative; justify-content: center; }
.jn-home .hero-editorial .hero-title-sub { color: var(--jn-color-gold)!important; }
.jn-home #contact .contact-direct .text-sm.font-semibold { font-size: 1rem!important; line-height: 1.4!important; }
.jn-home #contact h3.text-brand-gold { color: var(--jn-color-gold-end)!important; }

@media(max-width:1023px) {
.jn-home #production .lg\:sticky { position: static!important; top: auto!important; }
}
.jn-home .hero-editorial > .absolute.inset-0 { left: 0!important; right: 0!important; width: 100%!important; height: 100%!important; top: 0!important; bottom: 0!important; opacity: 1!important; background: transparent; }
.jn-home .hero-editorial > .absolute.inset-0 > video { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; transform: scale(1.3); transform-origin: center; }
.jn-home .hero-highlights { max-width: 920px; margin: 0; padding: 0; list-style: none; gap: 8px; }
@media(min-width:1024px) {
.jn-home .hero-highlights { width: max-content; max-width: calc(100vw - 48px); }
}
#certSlider .cert-image { cursor: zoom-in; }
#certSlider .ex-track { will-change: transform; }
#certSlider > .overflow-hidden { margin-left: 0!important; margin-right: 0!important; }
#certLightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 5vh 5vw; background: rgba(17,19,22,.92); }
#certLightbox.is-open { display: flex; }
#certLightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; background: #fff; box-shadow: 0 20px 70px rgba(0,0,0,.4); }
#certLightboxClose { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); font-size: 28px; line-height: 1; }
.factory-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 3.5rem; align-items: center; }
.factory-copy,.factory-carousel { min-width: 0; }
#production .factory-copy h2 { font-size: clamp(20px,2.25vw,36px)!important; white-space: nowrap; line-height: 1.12; }
.factory-progress { height: 3px; background: var(--jn-color-border); border-radius: 2px; overflow: hidden; margin-top: 14px; }
#factoryProgressFill { height: 100%; width: 100%; background: var(--jn-color-gold); transform: scaleX(0); transform-origin: left; will-change: transform; }
.factory-facts { margin-top: 3rem; gap: 1.4rem 1.5rem; }
.factory-facts>div { position: relative; padding-left: 2.3rem; }
.factory-facts>div>span { position: absolute; left: 0; top: .2rem; margin: 0; }
.factory-facts>div>span svg { width: 22px; height: 22px; }
.factory-facts>div>p:first-of-type { font-size: 1.5rem; margin-bottom: .5rem; }
.factory-facts>div>p:last-of-type { font-size: .8rem; line-height: 1.5; }
.factory-window { overflow: hidden; border-radius: 1.5rem; background: var(--jn-color-border); box-shadow: 0 12px 32px rgba(30,34,40,.08); touch-action: pan-y; }
.factory-track { display: flex; transition: transform .65s ease; }
.factory-slide { position: relative; flex: 0 0 100%; min-width: 0; margin: 0; aspect-ratio: 4/3; }
.factory-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.factory-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.factory-controls { display: flex; align-items: center; gap: .15rem; background: #f5f2ec; border: 1px solid var(--jn-color-border); border-radius: 999px; padding: .25rem; }
.factory-controls button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #3a4048; transition: background .2s,color .2s,transform .2s; cursor: pointer; }
.factory-controls button:hover { background: #262a30; color: #fff; }
.factory-controls button:active { transform: scale(.94); }
.factory-controls button svg { display: block; width: 17px; height: 17px; stroke-width: 1.6; }
.factory-pagination { display: flex; align-items: center; gap: .45rem; padding: 0 .2rem; font-size: .7rem; letter-spacing: .05em; font-variant-numeric: tabular-nums; color: #8a8985; }
#factoryCurrent { color: #262a30; font-weight: 700; }
.factory-pagination-divider { color: #c2bcb1; }
.factory-controls button:focus-visible { outline: 2px solid var(--jn-color-gold); outline-offset: 3px; }
@media(max-width:1023px) {
#production .factory-copy h2 { font-size: clamp(18px,5.5vw,36px)!important; }
.factory-layout { grid-template-columns: minmax(0,1fr); gap: 2.5rem; }
}
@media(max-width:480px) {
.factory-footer { flex-wrap: wrap; gap: 1rem; }
.factory-cta .jn-button { min-height: 2.75rem; font-size: .62rem; padding-left: 1rem; }
.factory-controls { gap: 0; }
.factory-controls button { width: 32px; height: 36px; }
.factory-pagination { gap: .3rem; padding: 0 .1rem; }
.factory-facts { column-gap: 1rem; }
.factory-facts>div { padding-left: 1.9rem; }
.factory-facts>div>p:first-of-type { font-size: 1.2rem; }
}
@media(prefers-reduced-motion:reduce) {
.factory-track { transition: none; }
}
.factory-window { position: relative; isolation: isolate; }
.factory-window::after { content: ""; position: absolute; inset: 50% 0 0; z-index: 1; pointer-events: none; background: linear-gradient(transparent,rgba(20,24,28,.65)); }
.factory-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; margin: 0; border-radius: 0; z-index: 3; background: rgba(255,255,255,.3); pointer-events: none; }
.factory-footer { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; margin: 0; gap: 16px; flex-wrap: nowrap; }
.factory-controls { background: rgba(252,251,249,.94); border-color: rgba(255,255,255,.65); flex-shrink: 0; }
@media(max-width:480px) {
.factory-footer { left: 16px; right: 16px; bottom: 20px; gap: 12px; flex-wrap: nowrap; }
.factory-cta .jn-button { min-height: 40px; padding-left: 12px; font-size: 9px; letter-spacing: .08em; gap: 8px; }
.factory-cta .jn-button__icon { width: 30px!important; min-width: 30px!important; height: 30px!important; }
.factory-controls button { width: 28px; height: 32px; }
.factory-pagination { font-size: 10px; gap: 4px; }
}
.jn-home button { border-radius: 9999px!important; }

.jn-home .hero-editorial > .hero-video-veil.absolute.inset-0 { background: linear-gradient(to right, rgba(255,255,255,.97), rgba(255,255,255,.70) 50%, rgba(255,255,255,.30)); }

/* Mobile refinements from the homepage review. */
@media(max-width:640px) {
  .jn-home .jn-header { background: #fcfbf9; }
  .jn-home .hero-editorial {
    height: auto!important;
    min-height: 0!important;
    padding: 6.5rem 0 2.5rem!important;
    align-items: flex-start;
  }
  .jn-home .hero-editorial > div.absolute.inset-0:not(.hero-video-veil) {
    position: absolute!important;
    inset: 0!important;
    width: 100%!important;
    height: 100dvh!important;
    bottom: auto!important;
    margin: 0!important;
    opacity: 1!important;
    overflow: hidden;
  }
  .jn-home .hero-editorial > div.absolute.inset-0:not(.hero-video-veil) > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.12);
  }
  .jn-home .hero-editorial > .hero-video-veil.absolute.inset-0 {
    position: absolute!important;
    inset: 0!important;
    width: 100%!important;
    height: 100%!important;
    background: linear-gradient(180deg,#fcfbf9 0,rgba(252,251,249,.96) 6rem,rgba(255,255,255,.84) 35%,rgba(255,255,255,.68));
  }
  .jn-home .hero-editorial > .relative.z-10 {
    padding: 0 var(--jn-container-gutter)!important;
  }
  .jn-home .hero-editorial > .relative.z-10 > div {
    gap: 1rem!important;
    padding-top: 0!important;
  }
  .jn-home .hero-editorial > .relative.z-10 > div > div.flex.flex-col.gap-7 {
    gap: 1rem!important;
  }
  .jn-home .hero-editorial .hero-title {
    font-size: clamp(2.2rem,10.5vw,2.8rem);
    line-height: .96;
  }
  .jn-home .hero-editorial .hero-title-sub {
    margin-top: .12em;
  }
  .jn-home .hero-editorial .hero-copy-text {
    font-size: 1rem;
    line-height: 1.55;
  }
  .jn-home .hero-editorial .hero-highlights { display: none; }

  .jn-home .jn-home-categories .jn-category-card,
  .jn-home .jn-home-categories .js-stagger-grid > div.relative.flex,
  .jn-home .jn-audience-card {
    aspect-ratio: 1/1!important;
  }
  .jn-home .jn-service-card .jn-service-card__body a.jn-button {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: .45rem;
    padding-left: .85rem;
    padding-right: .2rem;
  }
  .jn-home .jn-service-card .jn-service-card__body a.jn-button .jn-button__label {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: .58rem;
    letter-spacing: .075em;
  }
  .jn-home .jn-service-card .jn-service-card__body a.jn-button .jn-button__icon {
    width: 2.15rem;
    min-width: 2.15rem;
    height: 2.15rem;
  }
  .jn-home .jn-home-fresh .jn-section-heading {
    align-items: flex-start!important;
  }
  .jn-home .jn-home-fresh .jn-section-heading > a.jn-button {
    align-self: flex-start;
    margin-left: 0!important;
  }
}

