.brand picture {
    display: block;
    line-height: 0;
}

.brand-logo {
    display: block;
    width: 150px;
    height: auto;
    max-width: 100%;
}

.brand-logo-light {
    filter: invert(1);
}

/* Keep the four product categories visible as one balanced row on desktop. */
#products .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

#products .section-heading > div {
    min-width: 0;
    flex: 1 1 auto;
}

#products .section-heading h2 {
    max-width: none;
}

#products .category-card {
    min-height: 0;
    aspect-ratio: 4 / 5;
}

#products .category-card picture {
    display: block;
    width: 100%;
    height: 100%;
}

#products .category-card > span {
    right: 20px;
    bottom: 20px;
    left: 20px;
}

#products .category-card strong {
    font-size: clamp(1.2rem, 1.65vw, 1.5rem);
    line-height: 1.15;
}

#products .category-card small {
    margin-top: 6px;
    font-size: .82rem;
    line-height: 1.45;
}

@media (max-width: 980px) {
    #products .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #products .category-card {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 640px) {
    #products .category-grid {
        grid-template-columns: 1fr;
    }

    #products .category-card {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
}

.page-content > .page-hero,
main > .page-hero {
    padding-block: 92px 66px;
}

.page-content > .page-hero h1,
main > .page-hero h1 {
    max-width: 980px;
    margin: .32em 0 .24em;
    font-size: clamp(2.8rem, 5.1vw, 5rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.045em;
    text-wrap: pretty;
}

.page-content > .page-hero > p:not(.eyebrow),
main > .page-hero > p:not(.eyebrow) {
    max-width: 760px;
    margin: 0;
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.75;
}

:lang(zh-CN) .page-content > .page-hero h1,
:lang(zh-CN) main > .page-hero h1,
:lang(zh) .page-content > .page-hero h1,
:lang(zh) main > .page-hero h1,
:lang(ja) .page-content > .page-hero h1,
:lang(ja) main > .page-hero h1 {
    max-width: 860px;
    font-weight: 650;
    letter-spacing: -.035em;
    text-wrap: auto;
}

:lang(zh-CN) .page-content > .page-hero h1,
:lang(zh-CN) main > .page-hero h1,
:lang(zh) .page-content > .page-hero h1,
:lang(zh) main > .page-hero h1 {
    max-width: 980px;
    font-size: clamp(2.55rem, 4.35vw, 4.3rem);
    line-height: 1.1;
}

@media (max-width: 640px) {
    .brand-logo {
        width: 132px;
    }
}

/* Resources hub gives buyers direct access to current catalogues and model sheets. */
.resources-hub {
    display: grid;
    gap: 96px;
}

.resource-download-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    align-items: end;
    gap: 56px;
    padding: 56px;
    background: var(--ink);
    color: #fff;
}

.resource-download-panel h2,
.resource-section-heading h2 {
    margin: .22em 0;
    font-size: clamp(2.2rem, 4.5vw, 4.6rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.resource-download-panel p:not(.eyebrow) {
    max-width: 680px;
    color: #a9abb0;
}

.resource-download-panel .button-row {
    justify-content: flex-end;
}

.resource-section-heading {
    max-width: 820px;
    margin-bottom: 38px;
}

.resource-section-heading > p:not(.eyebrow),
.resource-document-note {
    color: var(--muted);
}

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

.resource-product-card {
    background: var(--soft);
}

.resource-product-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ececea;
}

.resource-product-image picture,
.resource-product-image img {
    width: 100%;
    height: 100%;
}

.resource-product-image img {
    object-fit: cover;
    transition: transform .4s ease;
}

.resource-product-card:hover .resource-product-image img {
    transform: scale(1.025);
}

.resource-product-body {
    padding: 24px;
}

.resource-product-body > p {
    margin: 0;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.resource-product-body h3 {
    min-height: 2.5em;
    margin: 6px 0 22px;
    font-size: 1.25rem;
    line-height: 1.25;
}

.resource-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.resource-product-actions a {
    border-bottom: 1px solid currentColor;
    font-size: .82rem;
    font-weight: 750;
}

.resource-document-note {
    max-width: 900px;
    margin: 28px 0 0;
    font-size: .86rem;
}

@media (max-width: 980px) {
    .resource-download-panel {
        grid-template-columns: 1fr;
    }

    .resource-download-panel .button-row {
        justify-content: flex-start;
    }

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

@media (max-width: 640px) {
    .resources-hub {
        gap: 68px;
    }

    .resource-download-panel {
        padding: 34px 24px;
    }

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

.product-card-placeholder .product-card-image {
    background: linear-gradient(135deg, #ecece8, #dfe1db);
    color: #9a9d96;
}

.product-card-placeholder .product-card-image span {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 800;
    letter-spacing: -.08em;
}

.product-card-placeholder .product-card-body {
    min-height: 132px;
}

.procurement-note {
    max-width: 760px;
    margin: -8px 0 28px;
    color: var(--muted);
}

.oem-page {
    display: grid;
    gap: 100px;
}

.oem-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
    gap: 16px 72px;
    align-items: end;
    margin-bottom: 36px;
}

.oem-section-heading .eyebrow {
    grid-column: 1 / -1;
}

.oem-section-heading h2,
.oem-cert-copy h2,
.oem-cta h2 {
    margin: 0;
    font-size: clamp(2.25rem, 4.4vw, 4.4rem);
    line-height: 1;
    letter-spacing: -.055em;
}

.oem-section-heading > p:last-child,
.oem-cert-copy > p:not(.eyebrow),
.oem-cta > div > p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
}

.oem-offering-grid,
.oem-buyer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.oem-offering-grid article,
.oem-buyer-grid article {
    min-height: 230px;
    padding: 26px;
    background: #fff;
}

.oem-offering-grid span {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.oem-offering-grid h3,
.oem-buyer-grid h3 {
    margin: 55px 0 10px;
    font-size: 1.3rem;
    line-height: 1.15;
}

.oem-offering-grid p,
.oem-buyer-grid p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
}

.oem-facts {
    padding: 58px;
    background: var(--ink);
    color: #fff;
}

.oem-facts dl {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0;
}

.oem-facts dl div {
    padding: 0 20px;
    border-left: 1px solid #34363a;
}

.oem-facts dl div:first-child {
    padding-left: 0;
    border-left: 0;
}

.oem-facts dd {
    margin: 0;
    font-size: clamp(1.6rem, 2.7vw, 2.65rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.05em;
}

.oem-facts dt {
    margin-top: 12px;
    color: #9b9ea4;
    font-size: .78rem;
}

.oem-process .capability-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oem-process .capability-item {
    grid-template-columns: 50px 1fr;
    padding: 28px 24px 28px 0;
}

.oem-process .capability-item:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.oem-process .capability-item:nth-child(even) {
    padding-left: 24px;
}

.oem-process .capability-item h3 {
    margin: 0 0 8px;
    font-size: 1.28rem;
}

.oem-buyer {
    padding: 58px;
    background: var(--soft);
}

.oem-buyer-grid article {
    min-height: 190px;
}

.oem-buyer-grid h3 {
    margin-top: 20px;
}

.oem-certification {
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
    gap: clamp(40px, 7vw, 90px);
    align-items: center;
}

.oem-cert-copy ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.oem-cert-copy li {
    padding: 8px 15px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
}

.oem-cert-copy h2 {
    margin: 12px 0 24px;
}

.oem-certification figure {
    margin: 0;
}

.oem-certification picture,
.oem-certification img {
    display: block;
    width: 100%;
}

.oem-certification figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: .75rem;
}

.oem-cta {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 48px;
    padding: 60px;
    background: var(--ink);
    color: #fff;
}

.oem-cta h2 {
    max-width: 720px;
    margin: 12px 0 18px;
}

.oem-cta > div > p:not(.eyebrow) {
    max-width: 700px;
    color: #a9abb0;
}

.oem-cta .button {
    flex: 0 0 auto;
}

.capability-list {
    border-top: 1px solid var(--line);
}

.capability-visual {
    aspect-ratio: 16 / 9;
    margin: 0 0 70px;
    overflow: hidden;
    background: var(--soft);
}

.capability-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capability-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 28px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.capability-item > span {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.capability-item h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    letter-spacing: -.04em;
}

.capability-item p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
}

.capability-item.has-image {
    grid-template-columns: 72px minmax(0, 1fr) minmax(280px, 380px);
    align-items: center;
    gap: clamp(24px, 4vw, 54px);
    padding: 34px 0;
}

.capability-item-visual {
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    background: var(--soft);
}

.capability-item-visual picture,
.capability-item-visual img {
    display: block;
    width: 100%;
    height: 100%;
}

.capability-item-visual img {
    object-fit: cover;
    transition: transform .45s ease;
}

.capability-item.has-image:hover .capability-item-visual img {
    transform: scale(1.025);
}

.option-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.option-grid > div {
    grid-column: span 3;
}

.option-grid > div:nth-last-child(-n + 3) {
    grid-column: span 4;
}

@media (max-width: 980px) {
    .oem-page {
        gap: 76px;
    }

    .oem-offering-grid,
    .oem-buyer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oem-facts dl {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 34px 0;
    }

    .oem-facts dl div:nth-child(4) {
        padding-left: 0;
        border-left: 0;
    }

    .oem-certification {
        grid-template-columns: 1fr;
    }

    .capability-item.has-image {
        grid-template-columns: 54px minmax(0, 1fr) minmax(240px, 32vw);
        gap: 24px;
    }

    .option-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .option-grid > div,
    .option-grid > div:nth-last-child(-n + 3) {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .page-content > .page-hero,
    main > .page-hero {
        padding-block: 64px 42px;
    }

    .page-content > .page-hero h1,
    main > .page-hero h1 {
        margin-block: .4em .3em;
        font-size: clamp(2.35rem, 11vw, 3.35rem);
        line-height: 1.08;
    }

    :lang(zh-CN) .page-content > .page-hero h1,
    :lang(zh-CN) main > .page-hero h1,
    :lang(zh) .page-content > .page-hero h1,
    :lang(zh) main > .page-hero h1 {
        font-size: clamp(2.1rem, 9.5vw, 2.85rem);
    }

    .oem-page {
        gap: 58px;
    }

    .oem-section-heading,
    .oem-offering-grid,
    .oem-buyer-grid,
    .oem-process .capability-list {
        grid-template-columns: 1fr;
    }

    .oem-offering-grid article,
    .oem-buyer-grid article {
        min-height: 0;
    }

    .oem-offering-grid h3 {
        margin-top: 34px;
    }

    .oem-facts,
    .oem-buyer,
    .oem-cta {
        padding: 34px 24px;
    }

    .oem-facts dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oem-facts dl div:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .oem-process .capability-item,
    .oem-process .capability-item:nth-child(even) {
        grid-template-columns: 42px 1fr;
        padding: 22px 0;
        border-right: 0;
    }

    .oem-cta {
        align-items: start;
        flex-direction: column;
    }

    .option-grid {
        grid-template-columns: 1fr;
    }

    .capability-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 24px 0;
    }

    .capability-item.has-image {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .capability-item-visual {
        margin-top: 6px;
    }
}

/* Contact page combines direct business details with the managed inquiry form. */
.contact-page {
    display: grid;
    gap: 24px;
}

.contact-direct,
.contact-inquiry {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(42px, 8vw, 110px);
    align-items: start;
}

.contact-direct {
    padding: 56px;
    background: var(--soft);
}

.contact-direct h2,
.contact-inquiry h2 {
    max-width: 680px;
    margin: 12px 0 20px;
    font-size: clamp(2.25rem, 4.3vw, 4.35rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.contact-direct-copy > p:not(.eyebrow),
.contact-inquiry-copy > p:not(.eyebrow) {
    max-width: 620px;
    color: var(--muted);
}

.contact-details {
    margin: 0;
    border-top: 1px solid #cfd0cd;
    font-style: normal;
}

.contact-details > div,
.contact-details > a {
    display: grid;
    gap: 5px;
    padding: 20px 0;
    border-bottom: 1px solid #cfd0cd;
}

.contact-details span {
    color: var(--muted);
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-details strong {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    overflow-wrap: anywhere;
}

.contact-details > a:hover strong {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-inquiry {
    padding: 60px 56px;
    background: var(--ink);
    color: #fff;
}

.contact-inquiry-copy > p:not(.eyebrow) {
    color: #a9abb0;
}

.contact-form-panel .maxcare-form {
    width: 100%;
}

.contact-form-panel .maxcare-field input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 3px 8px 0 0;
    padding: 0;
    accent-color: #fff;
}

.contact-form-panel .maxcare-field-wide label:has(input[type="checkbox"]) {
    display: flex;
    align-items: flex-start;
    line-height: 1.55;
}

@media (max-width: 820px) {
    .contact-direct,
    .contact-inquiry {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 40px 32px;
    }
}

@media (max-width: 640px) {
    .contact-direct,
    .contact-inquiry {
        padding: 32px 22px;
    }

    .contact-direct h2,
    .contact-inquiry h2 {
        font-size: clamp(2rem, 10vw, 2.85rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .capability-item-visual img {
        transition: none;
    }
}

.about-page {
    display: grid;
    gap: 100px;
}

.about-story,
.about-quality {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 7vw, 96px);
    align-items: center;
}

.about-story-copy h2,
.about-quality-copy h2,
.about-partner h2 {
    max-width: 760px;
    margin: 12px 0 24px;
    font-size: clamp(2.25rem, 4.4vw, 4.4rem);
    line-height: 1;
    letter-spacing: -.055em;
}

.about-story-copy > p:not(.eyebrow),
.about-quality-copy > p:not(.eyebrow),
.about-partner > p:not(.eyebrow) {
    max-width: 680px;
    color: var(--muted);
}

.about-story figure,
.about-quality figure,
.about-product-grid figure {
    margin: 0;
    overflow: hidden;
    background: var(--soft);
}

.about-story picture,
.about-story img {
    display: block;
    width: 100%;
}

.about-story img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.about-facts {
    padding: 58px;
    background: var(--ink);
    color: #fff;
}

.about-facts dl {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0;
}

.about-facts dl div {
    padding: 0 20px;
    border-left: 1px solid #34363a;
}

.about-facts dl div:first-child {
    padding-left: 0;
    border-left: 0;
}

.about-facts dd {
    margin: 0;
    font-size: clamp(1.6rem, 2.7vw, 2.65rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.05em;
}

.about-facts dt {
    margin-top: 12px;
    color: #9b9ea4;
    font-size: .78rem;
}

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

.about-product-grid article {
    min-width: 0;
}

.about-product-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .45s ease;
}

.about-product-grid article:hover img {
    transform: scale(1.025);
}

.about-product-grid h3 {
    margin: 18px 0 6px;
    font-size: 1.2rem;
}

.about-product-grid p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
}

.about-quality ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.about-quality li {
    padding: 8px 15px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 750;
}

.about-quality picture,
.about-quality img {
    display: block;
    width: 100%;
}

.about-quality img {
    aspect-ratio: 2.4 / 1;
    object-fit: cover;
}

.about-quality figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: .75rem;
}

.about-partner {
    padding: 60px;
    background: var(--soft);
}

.about-partner > p:not(.eyebrow) {
    max-width: 720px;
}

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

    .about-facts dl {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 32px;
    }
}

@media (max-width: 640px) {
    .about-page {
        gap: 58px;
    }

    .about-story,
    .about-quality {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .about-facts,
    .about-partner {
        padding: 34px 24px;
    }

    .about-facts dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-facts dl div:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }
}

/* OEM/ODM workflow cards keep the six steps scannable while giving each stage a visual anchor. */
.oem-process .capability-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.oem-process .capability-item,
.oem-process .capability-item:nth-child(even),
.oem-process .capability-item:nth-child(odd) {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0 18px;
    padding: 0 24px 28px;
    border: 0;
    background: #fff;
}

.oem-process .capability-item-visual {
    grid-column: 1 / -1;
    width: calc(100% + 48px);
    aspect-ratio: 16 / 9;
    margin: 0 -24px 24px;
}

.oem-process .capability-item > span {
    padding-top: 2px;
}

.oem-process .capability-item h3 {
    margin: 0 0 8px;
}

@media (max-width: 640px) {
    .oem-process .capability-list {
        grid-template-columns: 1fr;
    }

    .oem-process .capability-item,
    .oem-process .capability-item:nth-child(even),
    .oem-process .capability-item:nth-child(odd) {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 0 20px 24px;
    }

    .oem-process .capability-item-visual {
        width: calc(100% + 40px);
        margin-right: -20px;
        margin-left: -20px;
        margin-bottom: 20px;
    }
}

/* Product detail customization cards use a regular four-column grid. */
.option-grid.option-grid-custom {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.option-grid.option-grid-custom > div,
.option-grid.option-grid-custom > div:nth-last-child(-n + 3) {
    grid-column: auto;
}

@media (max-width: 980px) {
    .option-grid.option-grid-custom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .option-grid.option-grid-custom {
        grid-template-columns: 1fr;
    }
}
