:root {
    --jm-red: #c9222c;
    --jm-red-dark: #9d1b24;
    --jm-ink: #17202b;
    --jm-muted: #5f6b78;
    --jm-line: #e7ebf0;
    --jm-soft: #f7f8fa;
    --jm-warm: #f3f0ea;
    --jm-white: #fff;
}

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--jm-ink);
    background: #fff;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.wow {
    visibility: visible !important;
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
}

.jm-shell {
    width: min(100% - 56px, 1360px);
    margin: 0 auto;
}

.jm-site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(20, 25, 34, .08);
    backdrop-filter: blur(16px);
}

.jm-nav-wrap {
    width: min(100% - 56px, 1360px);
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.jm-logo {
    display: grid;
    gap: 2px;
    min-width: 250px;
}

.jm-logo strong {
    color: var(--jm-red);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.15;
}

.jm-logo span {
    color: var(--jm-muted);
    font-size: 13px;
    font-weight: 700;
}

.jm-main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex: 1;
}

.jm-main-nav a {
    color: var(--jm-ink);
    font-size: 14px;
    font-weight: 800;
}

.jm-main-nav a:hover {
    color: var(--jm-red);
}

.jm-nav-phone {
    padding: 11px 18px;
    color: #fff;
    background: var(--jm-red);
    font-weight: 900;
}

.jm-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    margin-left: auto;
    border: 1px solid var(--jm-line);
    background: #fff;
}

.jm-menu-btn span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--jm-ink);
}

.jm-hero {
    position: relative;
    min-height: 548px;
    padding-top: 72px;
    overflow: hidden;
    background: var(--jm-warm);
}

.jm-hero-slider,
.jm-hero-bg,
.jm-hero-layer {
    position: absolute;
    inset: 0;
}

.jm-hero-bg {
    opacity: 0;
    transition: opacity .75s ease;
}

.jm-hero-bg.active {
    opacity: 1;
}

.jm-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transform: scale(1.02);
    animation: jmHeroMove 16s ease-in-out infinite alternate;
}

@keyframes jmHeroMove {
    to { transform: scale(1.08) translateX(-1.5%); }
}

.jm-hero-layer {
    background:
        linear-gradient(90deg, rgba(255,255,255,.82), rgba(255,255,255,.58) 28%, rgba(255,255,255,.06) 45%, rgba(255,255,255,0) 62%);
}

.jm-hero-grid {
    position: relative;
    z-index: 2;
    min-height: 476px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 48px;
    align-items: center;
}

.jm-hero-grid.slim {
    grid-template-columns: minmax(0, 620px) 1fr;
}

.jm-eyebrow {
    margin: 0 0 12px;
    color: var(--jm-red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.jm-eyebrow.dark {
    color: var(--jm-red);
}

.jm-hero h1 {
    max-width: 560px;
    margin: 0 0 16px;
    color: var(--jm-ink);
    font-size: clamp(38px, 3.6vw, 52px);
    line-height: 1.08;
    font-weight: 900;
}

.jm-lead {
    max-width: 520px;
    margin: 0;
    color: #485564;
    font-size: 16px;
    line-height: 1.7;
}

.jm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.jm-hero-dots {
    align-self: end;
    justify-self: end;
    display: flex;
    gap: 10px;
    padding-bottom: 50px;
}

.jm-hero-dots button {
    width: 48px;
    height: 38px;
    color: var(--jm-ink);
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(23,32,43,.18);
    font-weight: 900;
}

.jm-hero-dots button.active {
    color: #fff;
    background: var(--jm-red);
    border-color: var(--jm-red);
}

.jm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    font-weight: 900;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.jm-btn:hover {
    transform: translateY(-2px);
}

.jm-btn-primary {
    color: #fff;
    background: var(--jm-red);
}

.jm-btn-primary:hover {
    color: #fff;
    background: var(--jm-red-dark);
}

.jm-btn-light {
    color: var(--jm-ink);
    background: #fff;
    border: 1px solid var(--jm-line);
}

.jm-strip {
    position: relative;
    z-index: 3;
    margin-top: -30px;
}

.jm-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    box-shadow: 0 18px 48px rgba(17,23,34,.11);
}

.jm-strip-grid div {
    min-height: 94px;
    padding: 20px 24px;
    border-right: 1px solid var(--jm-line);
}

.jm-strip-grid strong {
    display: block;
    color: var(--jm-red);
    font-size: 25px;
    font-weight: 900;
}

.jm-strip-grid span {
    color: var(--jm-ink);
    font-weight: 800;
}

.jm-section {
    padding: 50px 0;
}

.jm-section-head {
    max-width: 620px;
    margin: 0 auto 24px;
    text-align: center;
}

.jm-section-head.compact {
    margin-bottom: 28px;
}

.jm-section h2,
.jm-contact h2 {
    margin: 0 0 14px;
    color: var(--jm-ink);
    font-size: clamp(25px, 2.4vw, 34px);
    line-height: 1.16;
    font-weight: 900;
}

.jm-section-head p,
.jm-about-copy p,
.jm-factory-head p,
.jm-faq p {
    color: var(--jm-muted);
    line-height: 1.75;
}

.jm-products {
    background:
        linear-gradient(180deg, #fff 0%, #fff 58%, #f4f6f8 58%, #f4f6f8 100%);
}

.jm-products .jm-section-head {
    margin-top: 0;
}

.jm-products {
    padding-top: 58px;
}

.jm-products .jm-section-head p {
    margin-bottom: 0;
}

.jm-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.jm-filter button {
    min-width: 108px;
    padding: 11px 18px;
    color: var(--jm-ink);
    background: #fff;
    border: 1px solid var(--jm-line);
    font-weight: 900;
}

.jm-filter button.active,
.jm-filter button:hover {
    color: #fff;
    background: var(--jm-red);
    border-color: var(--jm-red);
}

.jm-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.jm-product-card {
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 18px 46px rgba(22, 32, 43, .07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.jm-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 34, 44, .28);
    box-shadow: 0 22px 54px rgba(22, 32, 43, .12);
}

.jm-product-card-link,
.jm-product-card h3 a {
    color: inherit;
    text-decoration: none;
}

.jm-product-card-link {
    display: block;
}

.jm-product-card h3 a:hover {
    color: var(--jm-red);
}

.jm-product-card[hidden] {
    display: none;
}

.jm-product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 24px;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    border-bottom: 1px solid var(--jm-line);
}

.jm-product-card div {
    min-height: 148px;
    padding: 18px 20px 20px;
}

.jm-product-card small {
    color: var(--jm-red);
    font-weight: 900;
}

.jm-product-card h3 {
    margin: 7px 0 8px;
    color: var(--jm-ink);
    font-size: 20px;
    line-height: 1.25;
    font-weight: 900;
}

.jm-product-card p {
    margin: 0;
    color: var(--jm-muted);
    font-size: 13px;
    line-height: 1.6;
}

.jm-product-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.jm-product-grid-home .jm-product-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 168px;
    box-shadow: 0 12px 30px rgba(22, 32, 43, .06);
}

.jm-product-grid-home .jm-product-card:hover {
    transform: translateY(-3px);
}

.jm-product-grid-home .jm-product-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--jm-line);
}

.jm-product-grid-home .jm-product-card img {
    height: 100%;
    aspect-ratio: auto;
    padding: 14px;
    border-bottom: 0;
}

.jm-product-grid-home .jm-product-card div {
    min-height: 0;
    padding: 18px 18px 16px;
}

.jm-product-grid-home .jm-product-card h3 {
    font-size: 19px;
}

.jm-about {
    background: linear-gradient(180deg, #f6f8fa 0%, #eef2f5 100%);
}

.jm-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) 440px;
    gap: 54px;
    align-items: center;
}

.jm-about-copy .jm-btn {
    margin-top: 22px;
}

.jm-checks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 22px;
}

.jm-checks span {
    padding: 13px 16px;
    color: var(--jm-ink);
    background: #fff;
    border-left: 4px solid var(--jm-red);
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(22, 32, 43, .05);
}

.jm-about-visual {
    position: relative;
    min-height: 360px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 22px 60px rgba(22, 32, 43, .10);
}

.jm-about-large {
    width: 100%;
    height: 300px;
    object-fit: contain;
    margin-left: 0;
}

.jm-about-small {
    position: absolute;
    left: -24px;
    bottom: 34px;
    width: 34%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: 0 12px 26px rgba(17,23,34,.14);
}

.jm-factory {
    background: #fff;
}

.jm-factory-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 26px;
}

.jm-factory-head p {
    max-width: 470px;
}

.jm-gallery {
    display: grid;
    grid-template-columns: 170px 170px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    padding: 18px;
    background: #f4f6f8;
    border: 1px solid var(--jm-line);
}

.jm-gallery-item {
    position: relative;
    min-height: 188px;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--jm-ink);
}

.jm-gallery-item img,
.jm-gallery-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .92;
    transition: transform .35s ease, opacity .35s ease;
}

.jm-gallery-item:hover img,
.jm-gallery-item.active img {
    transform: scale(1.06);
    opacity: 1;
}

.jm-gallery-item span,
.jm-gallery-stage strong {
    position: absolute;
    left: 18px;
    bottom: 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    z-index: 2;
}

.jm-gallery-item::after,
.jm-gallery-stage::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(transparent, rgba(0,0,0,.76));
}

.jm-gallery-stage {
    position: relative;
    grid-column: 3;
    grid-row: 1 / span 2;
    min-height: 392px;
    overflow: hidden;
    background: var(--jm-ink);
}

.jm-capability {
    background: #fff;
}

.jm-capability-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 44px;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--jm-line);
    background: linear-gradient(135deg, #fff 0%, #f7f8fa 100%);
}

.jm-capability-grid h2 {
    margin-bottom: 12px;
}

.jm-capability-grid p {
    color: var(--jm-muted);
    line-height: 1.75;
}

.jm-capability-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.jm-capability-list span {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: #fff;
    border-left: 4px solid var(--jm-red);
    box-shadow: 0 10px 24px rgba(17,23,34,.06);
    font-weight: 900;
}

.jm-process {
    background: var(--jm-soft);
}

.jm-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.jm-process-grid article {
    min-height: 172px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--jm-line);
}

.jm-process-grid span {
    color: var(--jm-red);
    font-size: 25px;
    font-weight: 900;
}

.jm-process-grid h3 {
    margin: 12px 0 8px;
    color: var(--jm-ink);
    font-weight: 900;
}

.jm-process-grid p {
    color: var(--jm-muted);
}

.jm-faq {
    background: #fff;
}

.jm-faq-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 52px;
}

.jm-home-info {
    background: #fff;
}

.jm-home-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 34px;
    align-items: start;
}

.jm-home-faq-copy,
.jm-home-news {
    padding: 26px;
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 12px 30px rgba(17,23,34,.06);
}

.jm-news-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.jm-news-head p,
.jm-news-head h2 {
    margin-bottom: 0;
}

.jm-news-head a {
    color: var(--jm-red);
    font-weight: 900;
    white-space: nowrap;
}

.jm-news-item {
    display: grid;
    gap: 6px;
    padding: 16px 0;
    color: var(--jm-ink);
    border-top: 1px solid var(--jm-line);
}

.jm-news-item span,
.jm-news-grid span {
    color: var(--jm-red);
    font-size: 13px;
    font-weight: 900;
}

.jm-news-item strong {
    font-size: 17px;
    line-height: 1.45;
}

.jm-news-page {
    background: #f7f8fa;
}

.jm-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.jm-news-grid article {
    padding: 26px;
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 12px 30px rgba(17,23,34,.06);
}

.jm-news-grid h2 {
    margin: 8px 0 10px;
    font-size: 24px;
}

.jm-news-grid p {
    margin: 0;
    color: var(--jm-muted);
    line-height: 1.8;
}

.jm-pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.jm-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.jm-pagination a,
.jm-pagination span {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--jm-line);
    background: #fff;
    color: var(--jm-ink);
}

.jm-pagination .current {
    border-color: var(--jm-red);
    background: var(--jm-red);
    color: #fff;
}

.jm-pagination a:hover {
    border-color: var(--jm-red);
    color: var(--jm-red);
}

.jm-single-page {
    padding: 56px 0 80px;
    background: #f7f8fa;
}

.jm-single-article {
    max-width: 920px;
    margin: 0 auto;
    padding: 42px 56px 52px;
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 18px 48px rgba(17, 23, 34, .06);
}

.jm-single-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    color: var(--jm-muted);
    font-size: 14px;
}

.jm-single-topline a,
.jm-single-nav a {
    color: var(--jm-red);
}

.jm-single-article h1 {
    margin: 0;
    color: var(--jm-ink);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
}

.jm-single-category {
    display: inline-block;
    margin-top: 18px;
    padding: 5px 10px;
    color: var(--jm-red);
    background: #fff3f3;
    font-size: 13px;
}

.jm-single-content {
    margin-top: 34px;
    color: #39495d;
    font-size: 16px;
    line-height: 1.95;
}

.jm-single-content h2 {
    margin: 34px 0 12px;
    color: var(--jm-ink);
    font-size: 25px;
    line-height: 1.35;
}

.jm-single-content h3 {
    margin: 24px 0 8px;
    color: var(--jm-ink);
    font-size: 19px;
}

.jm-single-content p {
    margin: 0 0 16px;
}

.jm-single-content figure {
    margin: 26px 0 30px;
}

.jm-single-content figure img {
    display: block;
    width: min(100%, 760px);
    max-height: 460px;
    margin: 0 auto;
    object-fit: contain;
    border: 1px solid var(--jm-line);
    background: #fff;
}

/* News images are editorial content, not full-width banners. Keep portrait product photos compact. */
.jm-single-content > p img,
.jm-single-content > img,
.jm-single-content img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 420px;
    height: auto;
    margin: 22px auto 26px;
    object-fit: contain;
}

.jm-single-content figure img {
    width: auto;
    max-width: 100%;
    max-height: 420px;
}

.jm-single-content figcaption {
    margin-top: 9px;
    color: var(--jm-muted);
    font-size: 13px;
    text-align: center;
}

.jm-single-content ul,
.jm-single-content ol {
    margin: 0 0 18px;
    padding-left: 1.4em;
}

.jm-single-content li {
    margin: 5px 0;
}

.jm-single-content table {
    width: 100%;
    margin: 22px 0 28px;
    border-collapse: collapse;
    font-size: 15px;
}

.jm-single-content th,
.jm-single-content td {
    padding: 12px 14px;
    text-align: left;
    border: 1px solid var(--jm-line);
}

.jm-single-content th {
    color: var(--jm-ink);
    background: #f7f8fa;
}

.jm-single-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid var(--jm-line);
    font-size: 14px;
}

.jm-single-nav div:last-child {
    text-align: right;
}

@media (max-width: 700px) {
    .jm-single-page {
        padding: 28px 0 48px;
    }

    .jm-single-article {
        padding: 28px 20px 34px;
    }

    .jm-single-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.jm-accordion button {
    width: 100%;
    padding: 16px 20px;
    color: var(--jm-ink);
    background: #fff;
    border: 1px solid var(--jm-line);
    font-size: 16px;
    font-weight: 900;
    text-align: left;
}

.jm-accordion button.active {
    color: #fff;
    background: var(--jm-red);
    border-color: var(--jm-red);
}

.jm-accordion div {
    display: none;
    padding: 16px 20px;
    color: var(--jm-muted);
    line-height: 1.8;
    background: var(--jm-soft);
    border: 1px solid var(--jm-line);
    border-top: 0;
}

.jm-accordion div.open {
    display: block;
}

.jm-contact {
    padding: 46px 0;
    color: var(--jm-ink);
    background:
        linear-gradient(90deg, #eef2f5 0%, #f7f8fa 58%, #eef2f5 100%);
}

.jm-contact h2,
.jm-contact p {
    color: var(--jm-ink);
}

.jm-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: center;
}

.jm-contact-copy img {
    width: 168px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-top: 16px;
    border: 6px solid #fff;
    box-shadow: 0 14px 34px rgba(17,23,34,.1);
}

@media (min-width: 1500px) {
    .jm-hero {
        min-height: 560px;
    }

    .jm-hero-grid {
        min-height: 488px;
    }
}

.jm-form {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 14px 34px rgba(17,23,34,.08);
}

.jm-form input,
.jm-form textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px solid var(--jm-line);
    outline: none;
}

.jm-form textarea {
    min-height: 104px;
    resize: vertical;
}

.jm-form .jm-btn {
    width: 100%;
    border: 0;
}

.jm-footer {
    padding: 44px 0 24px;
    background: #0d121b;
    color: rgba(255,255,255,.68);
}

.jm-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.jm-footer strong {
    display: block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 18px;
}

.jm-footer p {
    margin: 0;
    line-height: 1.8;
}

.jm-footer a {
    color: rgba(255,255,255,.82);
}

.jm-footer a:hover {
    color: #fff;
}

.jm-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jm-footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    color: rgba(255,255,255,.78);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    font-size: 13px;
    font-weight: 800;
}

.jm-footer-links a:hover {
    color: #fff;
    border-color: rgba(255,255,255,.28);
}

.jm-credit {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 13px;
}

.jm-credit a {
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.45);
}

@media (max-width: 1100px) {
    .jm-hero-grid,
    .jm-about-grid,
    .jm-contact-grid,
    .jm-faq-grid,
    .jm-capability-grid {
        grid-template-columns: 1fr;
    }

    .jm-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jm-product-grid-home,
    .jm-process-photo-grid,
    .jm-category-chip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jm-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .jm-gallery-stage {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .jm-process-grid,
    .jm-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jm-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .jm-shell,
    .jm-nav-wrap {
        width: calc(100% - 28px);
    }

    .jm-nav-wrap {
        min-height: 62px;
        gap: 12px;
    }

    .jm-logo {
        min-width: 0;
        max-width: calc(100% - 56px);
    }

    .jm-logo strong {
        font-size: 17px;
    }

    .jm-logo span {
        font-size: 12px;
    }

    .jm-menu-btn {
        display: block;
    }

    .jm-main-nav {
        display: none;
        position: absolute;
        left: 14px;
        right: 14px;
        top: 64px;
        padding: 18px;
        background: #fff;
        box-shadow: 0 18px 48px rgba(20,25,34,.16);
    }

    .jm-main-nav.open {
        display: grid;
        gap: 14px;
    }

    .jm-nav-phone {
        display: none;
    }

    .jm-hero {
        min-height: 500px;
        padding-top: 62px;
    }

    .jm-hero-grid {
        min-height: 438px;
        grid-template-columns: 1fr;
        gap: 18px;
        align-content: center;
    }

    .jm-hero h1 {
        max-width: 270px;
        font-size: 29px;
        margin-bottom: 12px;
    }

    .jm-hero-dots {
        grid-column: 1 / -1;
        justify-self: start !important;
        align-self: start;
        max-width: 100%;
        gap: 8px;
        padding-bottom: 10px;
        flex-wrap: wrap;
    }

    .jm-hero-dots button {
        width: 46px;
        height: 36px;
    }

    .jm-lead {
        max-width: 280px;
        font-size: 13px;
        line-height: 1.65;
    }

    .jm-hero-actions {
        gap: 10px;
        margin-top: 20px;
    }

    .jm-hero-actions,
    .jm-filter {
        display: grid;
    }

    .jm-btn {
        min-height: 42px;
    }

    .jm-btn,
    .jm-filter button {
        width: 100%;
    }

    .jm-strip {
        margin-top: 0;
    }

    .jm-strip-grid div {
        min-height: 0;
        padding: 14px 16px;
    }

    .jm-strip-grid strong {
        font-size: 21px;
        line-height: 1.2;
    }

    .jm-strip-grid span {
        display: block;
        font-size: 13px;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .jm-product-grid,
    .jm-process-grid,
    .jm-gallery {
        grid-template-columns: 1fr;
    }

    .jm-product-grid-home,
    .jm-process-photo-grid,
    .jm-category-chip-grid {
        grid-template-columns: 1fr;
    }

    .jm-product-grid-home .jm-product-card {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .jm-strip-grid {
        grid-template-columns: 1fr;
    }

    .jm-capability-grid {
        padding: 22px;
    }

    .jm-capability-list {
        grid-template-columns: 1fr;
    }

    .jm-gallery-item,
    .jm-gallery-stage {
        grid-row: auto;
        min-height: 230px;
    }

    .jm-section {
        padding: 46px 0;
    }

    .jm-section h2,
    .jm-contact h2 {
        font-size: 28px;
    }

    .jm-section-head {
        margin-bottom: 24px;
    }

    .jm-product-card div {
        min-height: 0;
        padding: 16px;
    }

    .jm-product-card h3 {
        font-size: 18px;
    }

    .jm-about-large {
        width: 100%;
        height: 260px;
    }

    .jm-about-small {
        position: relative;
        width: 62%;
        left: 0;
        bottom: auto;
        margin-top: -70px;
    }

    .jm-checks {
        grid-template-columns: 1fr;
    }

    .jm-contact {
        padding: 46px 0;
    }

    .jm-contact-copy img {
        width: 150px;
    }

    .jm-form {
        padding: 22px;
    }

    .jm-credit {
        flex-direction: column;
    }
}

.jm-inner-page {
    background: #fff;
}

.jm-inner-hero {
    position: relative;
    padding: 128px 0 58px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,.34) 100%),
        url("../images/generated/hero-products-workshop-v6.png") center / cover no-repeat;
    border-bottom: 1px solid var(--jm-line);
}

.jm-inner-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: end;
}

.jm-inner-hero h1 {
    max-width: 760px;
    margin: 0 0 14px;
    color: var(--jm-ink);
    font-size: clamp(34px, 3.2vw, 48px);
    line-height: 1.12;
    font-weight: 900;
}

.jm-inner-hero p {
    max-width: 720px;
    margin: 0;
    color: #4f5e6b;
    font-size: 16px;
    line-height: 1.8;
}

.jm-inner-hero-card {
    padding: 24px;
    background: rgba(255,255,255,.92);
    border-left: 5px solid var(--jm-red);
    box-shadow: 0 18px 42px rgba(17,23,34,.12);
}

.jm-inner-hero-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--jm-red);
    font-size: 22px;
    font-weight: 900;
}

.jm-inner-hero-card span {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--jm-muted);
    line-height: 1.7;
}

.jm-inner-hero-card a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    color: var(--jm-ink);
    background: #f7f8fa;
    border: 1px solid var(--jm-line);
    font-size: 13px;
    font-weight: 900;
}

.jm-inner-hero-card a:hover {
    color: #fff;
    background: var(--jm-red);
    border-color: var(--jm-red);
}

.jm-inner-products {
    background: #f3f5f7;
}

.jm-series-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.jm-series-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.jm-product-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.jm-product-sidebar {
    display: grid;
    gap: 18px;
}

.jm-side-box {
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 16px 40px rgba(17,23,34,.07);
}

.jm-side-title {
    min-height: 72px;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    column-gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--jm-line);
}

.jm-side-title span {
    width: 27px;
    height: 27px;
    background:
        linear-gradient(90deg, #111 7px, transparent 7px 10px, #111 10px 17px, transparent 17px 20px, #111 20px),
        linear-gradient(#111 7px, transparent 7px 10px, #111 10px 17px, transparent 17px 20px, #111 20px);
}

.jm-side-title strong {
    display: block;
    color: #111;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.1;
}

.jm-side-title em {
    display: block;
    color: var(--jm-muted);
    font-style: normal;
    font-size: 13px;
    line-height: 1.2;
}

.jm-side-box a {
    position: relative;
    display: block;
    min-height: 42px;
    padding: 12px 14px 12px 48px;
    color: #111;
    border-bottom: 1px dashed #d7dbe0;
    font-size: 14px;
    font-weight: 900;
}

.jm-side-box a::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 15px;
    height: 15px;
    margin-top: -7px;
    border-radius: 50%;
    background: #111;
}

.jm-side-box a::after {
    content: "";
    position: absolute;
    left: 24px;
    top: 50%;
    width: 0;
    height: 0;
    margin-top: -4px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid #fff;
}

.jm-side-box a:hover {
    color: var(--jm-red);
    background: #f8f8f8;
}

.jm-product-main .jm-section-head {
    margin-top: 0;
}

.jm-product-topbar {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 16px 40px rgba(17,23,34,.07);
}

.jm-product-topbar .jm-eyebrow {
    margin-bottom: 5px;
}

.jm-product-topbar h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

.jm-product-topbar a {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    color: #fff;
    background: var(--jm-red);
    font-weight: 900;
}

.jm-product-overview {
    display: grid;
    gap: 20px;
}

.jm-overview-panel {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 16px 40px rgba(17,23,34,.07);
}

.jm-overview-panel h2 {
    margin: 0 0 8px;
    color: var(--jm-ink);
    font-size: 24px;
    line-height: 1.2;
}

.jm-overview-panel p {
    margin: 0 0 18px;
    color: var(--jm-muted);
    line-height: 1.75;
}

.jm-category-chip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.jm-category-chip-grid a {
    display: grid;
    gap: 5px;
    min-height: 74px;
    padding: 14px 16px;
    color: var(--jm-ink);
    background: #f7f8fa;
    border: 1px solid var(--jm-line);
    border-left: 4px solid var(--jm-red);
    transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.jm-category-chip-grid a:hover {
    transform: translateY(-2px);
    background: #fff;
    border-color: rgba(201,34,44,.28);
}

.jm-category-chip-grid strong {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 900;
}

.jm-category-chip-grid span {
    color: var(--jm-muted);
    font-size: 13px;
    line-height: 1.35;
}

.jm-series-card {
    display: grid;
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 16px 40px rgba(17,23,34,.07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.jm-series-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 34, 44, .30);
    box-shadow: 0 22px 54px rgba(17,23,34,.12);
}

.jm-series-cover {
    display: block;
    padding: 22px;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    border-bottom: 1px solid var(--jm-line);
}

.jm-series-cover img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.jm-series-body {
    padding: 20px 22px 22px;
}

.jm-series-body small {
    display: block;
    color: var(--jm-red);
    font-weight: 900;
}

.jm-series-body h2 {
    margin: 8px 0 8px;
    color: var(--jm-ink);
    font-size: 21px;
    line-height: 1.25;
    font-weight: 900;
}

.jm-series-body p {
    margin: 0;
    color: var(--jm-muted);
    font-size: 14px;
    line-height: 1.7;
}

.jm-text-link {
    display: inline-flex;
    align-items: center;
    margin-top: 14px;
    color: var(--jm-red);
    font-weight: 900;
}

.jm-text-link:hover {
    color: var(--jm-red-dark);
}

.jm-series-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.jm-series-thumbs a {
    display: block;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--jm-line);
}

.jm-series-thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.jm-about-inner {
    background: #fff;
}

.jm-about-long {
    display: grid;
    gap: 16px;
    margin-top: 28px;
    padding: 28px 32px;
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 12px 30px rgba(17,23,34,.05);
}

.jm-about-long p {
    margin: 0;
    color: var(--jm-muted);
    font-size: 16px;
    line-height: 1.9;
}

.jm-info-band {
    padding-top: 0;
    background: #fff;
}

.jm-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.jm-info-grid article {
    min-height: 116px;
    padding: 24px;
    background: var(--jm-soft);
    border-left: 5px solid var(--jm-red);
}

.jm-info-grid strong {
    display: block;
    color: var(--jm-ink);
    font-size: 24px;
    font-weight: 900;
}

.jm-info-grid span {
    color: var(--jm-muted);
    line-height: 1.7;
}

.jm-factory-inner {
    background: #fff;
}

.jm-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.jm-photo-grid article {
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 12px 30px rgba(17,23,34,.06);
}

.jm-photo-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-bottom: 1px solid var(--jm-line);
    background: #fff;
}

.jm-photo-link img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .32s ease;
}

.jm-photo-link span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 12px;
    color: #fff;
    background: rgba(201, 34, 44, .94);
    font-size: 13px;
    font-weight: 900;
}

.jm-photo-link:hover img {
    transform: scale(1.04);
}

.jm-photo-grid h2 {
    margin: 0;
    padding: 16px 18px 8px;
    color: var(--jm-ink);
    font-size: 18px;
    font-weight: 900;
}

.jm-photo-grid p {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--jm-muted);
    font-size: 14px;
    line-height: 1.75;
}

.jm-factory-specs {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0 18px 18px;
}

.jm-factory-specs div {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
    border-top: 1px dashed #dfe4ea;
}

.jm-factory-specs dt {
    color: var(--jm-red);
    font-size: 13px;
    font-weight: 900;
}

.jm-factory-specs dd {
    margin: 0;
    color: #344252;
    font-size: 13px;
    line-height: 1.65;
}

.jm-factory-detail {
    background: #f7f8fa;
}

.jm-factory-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 28px;
    align-items: start;
}

.jm-factory-detail-media,
.jm-factory-detail-copy,
.jm-factory-seo-blocks article {
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 12px 30px rgba(17,23,34,.06);
}

.jm-factory-detail-media {
    padding: 18px;
}

.jm-factory-detail-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #fff;
}

.jm-factory-detail-copy {
    padding: 28px;
}

.jm-factory-detail-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 2.2vw, 34px);
}

.jm-factory-detail-copy p {
    color: var(--jm-muted);
    line-height: 1.85;
}

.jm-tech-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    background: #fff;
}

.jm-tech-table th,
.jm-tech-table td {
    padding: 15px 16px;
    border: 1px solid var(--jm-line);
    text-align: left;
    vertical-align: top;
    line-height: 1.75;
}

.jm-tech-table th {
    width: 112px;
    color: var(--jm-red);
    background: #fafbfc;
    font-weight: 900;
    white-space: nowrap;
}

.jm-tech-table td {
    color: #344252;
}

.jm-factory-seo-blocks {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.jm-factory-seo-blocks article {
    padding: 24px 28px;
}

.jm-factory-seo-blocks h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.jm-factory-seo-blocks p {
    margin: 0;
    color: var(--jm-muted);
    line-height: 1.85;
}

.jm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(8, 12, 18, .82);
}

.jm-lightbox.open {
    display: flex;
}

.jm-lightbox-panel {
    width: min(1120px, 100%);
    max-height: calc(100vh - 56px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0,0,0,.32);
}

.jm-lightbox-img {
    min-height: 420px;
    max-height: calc(100vh - 56px);
    object-fit: contain;
    background: #0f141c;
}

.jm-lightbox-copy {
    position: relative;
    padding: 26px;
}

.jm-lightbox-copy h2 {
    margin: 0 42px 12px 0;
    color: var(--jm-ink);
    font-size: 24px;
}

.jm-lightbox-copy p {
    margin: 0;
    color: var(--jm-muted);
    line-height: 1.8;
}

.jm-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 0;
    color: #fff;
    background: var(--jm-red);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.jm-process-inner {
    background: #f7f8fa;
}

.jm-process-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.jm-process-photo-grid article {
    display: grid;
    grid-template-rows: 128px auto auto 1fr;
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 12px 30px rgba(17,23,34,.06);
}

.jm-process-photo-grid img {
    width: 100%;
    height: 128px;
    object-fit: cover;
    border-bottom: 1px solid var(--jm-line);
}

.jm-process-photo-grid span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin: -21px 0 0 18px;
    color: #fff;
    background: var(--jm-red);
    font-weight: 900;
    z-index: 1;
}

.jm-process-photo-grid h2 {
    margin: 10px 18px 6px;
    color: var(--jm-ink);
    font-size: 22px;
    line-height: 1.25;
}

.jm-process-photo-grid p {
    margin: 0 18px 20px;
    color: var(--jm-muted);
    line-height: 1.75;
}

.jm-process-inner .jm-process-grid article h2 {
    margin: 12px 0 8px;
    font-size: 24px;
}

.jm-process-note {
    margin-top: 24px;
    padding: 28px;
    background: #fff;
    border-left: 5px solid var(--jm-red);
    box-shadow: 0 12px 30px rgba(17,23,34,.06);
}

.jm-process-note h2 {
    margin: 0 0 10px;
    color: var(--jm-ink);
    font-size: 25px;
    font-weight: 900;
}

.jm-process-note p {
    margin: 0;
    color: var(--jm-muted);
    line-height: 1.8;
}

.jm-contact-inner {
    padding-top: 78px;
    padding-bottom: 78px;
}

.jm-contact-copy a {
    color: var(--jm-red);
    font-weight: 900;
}

.jm-section-head.wide {
    max-width: 860px;
}

.jm-use-panel {
    margin-bottom: 30px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 12px 30px rgba(17,23,34,.06);
}

.jm-use-panel h2,
.jm-block-title {
    margin: 0 0 18px;
    color: var(--jm-ink);
    font-size: 25px;
    font-weight: 900;
}

.jm-use-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.jm-use-grid a {
    min-height: 88px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 16px;
    color: var(--jm-ink);
    background: var(--jm-soft);
    border-left: 4px solid var(--jm-red);
    transition: transform .25s ease, background .25s ease;
}

.jm-use-grid a:hover {
    transform: translateY(-3px);
    background: #fff;
}

.jm-use-grid strong {
    font-size: 17px;
    font-weight: 900;
}

.jm-use-grid span {
    color: var(--jm-muted);
    font-size: 13px;
}

.jm-series-body h2 a {
    color: var(--jm-ink);
}

.jm-card-more {
    display: inline-flex;
    margin-top: 14px;
    color: var(--jm-red);
    font-weight: 900;
}

.jm-use-sections {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.jm-use-sections section,
.jm-seo-copy {
    padding: 26px;
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 12px 30px rgba(17,23,34,.05);
}

.jm-use-sections h2,
.jm-seo-copy h2 {
    margin: 0 0 10px;
    color: var(--jm-ink);
    font-size: 24px;
    font-weight: 900;
}

.jm-use-sections p,
.jm-seo-copy p {
    margin: 0 0 16px;
    color: var(--jm-muted);
    line-height: 1.8;
}

.jm-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jm-related-links a {
    padding: 10px 14px;
    color: var(--jm-ink);
    background: var(--jm-soft);
    border: 1px solid var(--jm-line);
    font-weight: 900;
}

.jm-related-links a:hover {
    color: #fff;
    background: var(--jm-red);
    border-color: var(--jm-red);
}

.jm-product-detail {
    background: #f7f8fa;
}

.jm-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 34px;
    align-items: start;
}

.jm-detail-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 12px 30px rgba(17, 23, 34, .06);
}

.jm-detail-media > img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
}

.jm-detail-gallery,
.jm-detail-copy {
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 12px 30px rgba(17,23,34,.06);
}

.jm-detail-gallery {
    padding: 18px;
}

.jm-detail-main-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #fff;
}

.jm-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.jm-detail-thumbs a {
    padding: 6px;
    border: 1px solid var(--jm-line);
    background: #fff;
}

.jm-detail-thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.jm-detail-copy {
    padding: 30px;
}

.jm-detail-copy h2 {
    margin: 0 0 14px;
    color: var(--jm-ink);
    font-size: clamp(26px, 2.4vw, 36px);
    line-height: 1.18;
    font-weight: 900;
}

.jm-detail-copy p {
    color: var(--jm-muted);
    line-height: 1.85;
}

.jm-seo-list {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.jm-seo-list li {
    padding: 13px 15px;
    color: var(--jm-muted);
    background: var(--jm-soft);
    border-left: 4px solid var(--jm-red);
    line-height: 1.65;
}

.jm-seo-list strong {
    color: var(--jm-ink);
}

.jm-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.jm-product-detail .jm-seo-copy {
    margin-top: 26px;
}

.jm-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jm-style-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.jm-style-grid-home {
    gap: 18px;
}

.jm-style-card {
    display: grid;
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 12px 30px rgba(17,23,34,.06);
}

.jm-style-card > a {
    display: block;
    padding: 16px;
    border-bottom: 1px solid var(--jm-line);
}

.jm-style-grid-home .jm-style-card > a {
    padding: 14px;
}

.jm-style-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.jm-style-card div {
    padding: 18px;
}

.jm-style-grid-home .jm-style-card div {
    padding: 15px 16px 17px;
}

.jm-style-card small {
    color: var(--jm-red);
    font-weight: 900;
}

.jm-style-card h2 {
    margin: 8px 0;
    font-size: 21px;
}

.jm-style-grid-home .jm-style-card h2 {
    margin: 7px 0 0;
    font-size: 20px;
}

.jm-style-card h2 a {
    color: var(--jm-ink);
}

.jm-style-card p {
    margin: 0;
    color: var(--jm-muted);
    line-height: 1.7;
}

.jm-process-visual {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.jm-process-visual article {
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 12px 30px rgba(17,23,34,.06);
}

.jm-process-visual img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.jm-process-visual span {
    display: inline-flex;
    margin: 18px 18px 0;
    color: var(--jm-red);
    font-size: 24px;
    font-weight: 900;
}

.jm-process-visual h2 {
    margin: 8px 18px;
    font-size: 23px;
}

.jm-process-visual p {
    margin: 0;
    padding: 0 18px 20px;
    color: var(--jm-muted);
    line-height: 1.75;
}

.jm-param-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.jm-param-grid article,
.jm-process-seo {
    padding: 24px;
    background: #fff;
    border-left: 5px solid var(--jm-red);
    box-shadow: 0 12px 30px rgba(17,23,34,.06);
}

.jm-param-grid h2,
.jm-process-seo h2 {
    margin: 0 0 10px;
    font-size: 23px;
}

.jm-param-grid p,
.jm-process-seo p {
    margin: 0;
    color: var(--jm-muted);
    line-height: 1.8;
}

.jm-process-seo {
    margin-top: 24px;
}

.jm-process-seo p + p {
    margin-top: 10px;
}

.jm-back-top {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 1200;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--jm-red);
    box-shadow: 0 12px 28px rgba(17,23,34,.18);
    font-size: 24px;
    font-weight: 900;
}

.jm-back-top:hover {
    color: #fff;
    background: var(--jm-red-dark);
}

@media (max-width: 1100px) {
    .jm-inner-hero-grid,
    .jm-product-layout,
    .jm-home-info-grid,
    .jm-news-grid,
    .jm-series-grid,
    .jm-style-grid,
    .jm-info-grid,
    .jm-photo-grid,
    .jm-detail-grid,
    .jm-process-visual,
    .jm-param-grid {
        grid-template-columns: 1fr 1fr;
    }

    .jm-use-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .jm-inner-hero-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .jm-inner-hero {
        padding: 100px 0 38px;
    }

    .jm-inner-hero-grid,
    .jm-product-layout,
    .jm-home-info-grid,
    .jm-news-grid,
    .jm-series-grid,
    .jm-style-grid,
    .jm-info-grid,
    .jm-photo-grid,
    .jm-detail-grid,
    .jm-use-grid,
    .jm-process-visual,
    .jm-param-grid {
        grid-template-columns: 1fr;
    }

    .jm-inner-hero-card,
    .jm-series-body,
    .jm-process-note {
        padding: 18px;
    }

    .jm-series-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .jm-detail-copy {
        padding: 20px;
    }

    .jm-detail-actions {
        display: grid;
    }

    .jm-lightbox {
        padding: 14px;
    }

    .jm-lightbox-panel {
        grid-template-columns: 1fr;
        overflow: auto;
    }

    .jm-lightbox-img {
        min-height: 240px;
        max-height: 48vh;
    }

    .jm-lightbox-copy {
        padding: 20px;
    }

    .jm-product-topbar {
        display: grid;
        min-height: 0;
        padding: 16px;
    }

    .jm-product-topbar a {
        justify-content: center;
        width: 100%;
    }
}

/* Product center overview: left navigation + compact image showcase */
.jm-product-feature-wall {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--jm-line);
    box-shadow: 0 16px 40px rgba(17, 23, 34, .07);
}

.jm-feature-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--jm-line);
}

.jm-feature-intro h2 {
    margin: 0 0 8px;
    color: var(--jm-ink);
    font-size: 26px;
    line-height: 1.2;
}

.jm-feature-intro p:not(.jm-eyebrow) {
    max-width: 760px;
    margin: 0;
    color: var(--jm-muted);
    line-height: 1.75;
}

.jm-product-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.jm-feature-product-card {
    margin: 0;
    background: #fff;
    border: 1px solid var(--jm-line);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.jm-feature-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 34, 44, .28);
    box-shadow: 0 14px 30px rgba(17, 23, 34, .08);
}

.jm-feature-product-card a {
    display: grid;
    grid-template-rows: 168px auto auto auto;
    min-height: 310px;
    color: inherit;
}

.jm-feature-product-card img {
    width: 100%;
    height: 168px;
    padding: 18px;
    object-fit: contain;
    background: #f7f8fa;
    border-bottom: 1px solid var(--jm-line);
}

.jm-feature-product-card span,
.jm-feature-product-card strong,
.jm-feature-product-card em {
    display: block;
    padding-right: 18px;
    padding-left: 18px;
}

.jm-feature-product-card span {
    padding-top: 16px;
    color: var(--jm-red);
    font-size: 13px;
    font-weight: 900;
}

.jm-feature-product-card strong {
    margin-top: 6px;
    color: var(--jm-ink);
    font-size: 20px;
    line-height: 1.25;
    font-weight: 900;
}

.jm-feature-product-card em {
    padding-bottom: 18px;
    margin-top: 8px;
    color: var(--jm-muted);
    font-style: normal;
    font-size: 14px;
    line-height: 1.65;
}

/* Cleaner company intro visual: product showcase instead of workshop collage */
.jm-about-showcase {
    min-height: 0;
    overflow: hidden;
    padding: 14px;
    background: linear-gradient(135deg, #fff, #f4f6f8);
}

.jm-about-showcase .jm-about-large {
    display: block;
    width: 100%;
    height: 330px;
    object-fit: cover;
    margin: 0;
}

.jm-about-badge {
    position: absolute;
    left: 30px;
    bottom: 28px;
    max-width: calc(100% - 60px);
    padding: 14px 18px;
    color: #fff;
    background: rgba(17, 23, 34, .82);
    border-left: 4px solid var(--jm-red);
    box-shadow: 0 16px 34px rgba(17, 23, 34, .18);
}

.jm-about-badge strong,
.jm-about-badge span {
    display: block;
}

.jm-about-badge strong {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 900;
}

.jm-about-badge span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 1100px) {
    .jm-product-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jm-feature-intro {
        display: block;
    }
}

@media (max-width: 760px) {
    .jm-product-feature-wall {
        padding: 18px;
    }

    .jm-product-feature-grid {
        grid-template-columns: 1fr;
    }

    .jm-feature-product-card a {
        grid-template-rows: 150px auto auto auto;
        min-height: 0;
    }

    .jm-feature-product-card img {
        height: 150px;
    }

    .jm-about-showcase .jm-about-large {
        height: 230px;
    }

    .jm-about-badge {
        position: static;
        max-width: none;
        margin-top: 12px;
        background: var(--jm-ink);
    }
}

/* Keep product/use heading text from being squeezed into broken lines */
.jm-feature-intro {
    display: grid;
    grid-template-columns: 120px minmax(260px, .8fr) minmax(0, 1.6fr);
    align-items: center;
}

.jm-feature-intro .jm-eyebrow,
.jm-feature-intro h2,
.jm-feature-intro p:not(.jm-eyebrow) {
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 1100px) {
    .jm-feature-intro {
        display: block;
    }

    .jm-feature-intro h2 {
        margin-bottom: 8px;
    }
}

.jm-editor-content {
    padding-top: 46px;
    padding-bottom: 0;
}

.jm-editor-content .jm-about-long,
.jm-seo-copy {
    color: var(--jm-muted);
    font-size: 16px;
    line-height: 1.9;
}

.jm-editor-content h2,
.jm-seo-copy h2 {
    margin: 0 0 18px;
    color: var(--jm-ink);
    font-size: 28px;
    line-height: 1.28;
}

.jm-editor-content p,
.jm-seo-copy p {
    margin: 0 0 16px;
}

.jm-editor-content table,
.jm-seo-copy table {
    width: 100%;
    margin: 22px 0 0;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--jm-border);
}

.jm-editor-content th,
.jm-editor-content td,
.jm-seo-copy th,
.jm-seo-copy td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--jm-border);
    text-align: left;
    vertical-align: top;
}

.jm-editor-content th,
.jm-seo-copy th {
    width: 160px;
    color: var(--jm-ink);
    background: #f6f8fb;
    font-weight: 800;
}
