:root {
    --cn-yellow: #f4c400;
    --cn-yellow-soft: #fff7cf;
    --cn-ink: #171717;
    --cn-muted: #646464;
    --cn-line: #e8e8e8;
    --cn-white: #ffffff;
}

body.home {
    background: var(--cn-white);
    color: var(--cn-ink);
}

body.home .wp-site-blocks {
    padding-top: 0;
    padding-bottom: 0;
}

body.home main {
    margin-top: 0;
}

body.home main > .wp-block-group,
body.home main > .wp-block-post-content {
    margin-top: 0;
}

body.home .wp-block-post-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.home header.wp-block-template-part {
    border-bottom: 1px solid var(--cn-line);
    background: var(--cn-white);
}

body.home header .wp-block-site-title {
    font-weight: 800;
}

body.home header .wp-block-site-title a {
    text-decoration: none;
}

body.home header .wp-block-navigation-item__content {
    font-weight: 600;
}

body.home header .wp-block-navigation-item__content:hover,
body.home header .wp-block-navigation-item__content:focus {
    color: #9a7600;
}

.cn-home {
    position: relative;
    width: 100vw;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    overflow: hidden;
    letter-spacing: 0;
}

.cn-home *,
.cn-home *::before,
.cn-home *::after {
    box-sizing: border-box;
}

.cn-home a {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.cn-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.cn-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: var(--cn-white);
    border-bottom: 8px solid var(--cn-yellow);
}

.cn-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: opacity 600ms ease, visibility 600ms ease;
}

.cn-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
}

.cn-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.cn-slide__inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
    padding: 74px 0 80px;
}

.cn-slide__copy {
    position: relative;
    z-index: 2;
    width: min(610px, 58%);
}

.cn-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0 0 22px;
    padding: 5px 12px;
    background: var(--cn-yellow);
    color: var(--cn-ink);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.cn-hero h1,
.cn-hero h2 {
    max-width: 680px;
    margin: 0;
    color: var(--cn-ink);
    font-size: clamp(48px, 6vw, 78px);
    line-height: 0.98;
    font-weight: 850;
    letter-spacing: 0;
}

.cn-slide__lead {
    max-width: 620px;
    margin: 26px 0 0;
    color: #3f3f3f;
    font-size: 20px;
    line-height: 1.6;
}

.cn-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.cn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 22px;
    border: 2px solid var(--cn-ink);
    background: var(--cn-ink);
    color: var(--cn-white);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.cn-btn:hover,
.cn-btn:focus {
    transform: translateY(-2px);
    background: #303030;
    color: var(--cn-white);
}

.cn-btn--light {
    background: var(--cn-white);
    color: var(--cn-ink);
}

.cn-btn--light:hover,
.cn-btn--light:focus {
    background: var(--cn-yellow);
    color: var(--cn-ink);
}

.cn-hero__product {
    position: absolute;
    z-index: 1;
    right: max(-70px, calc((100vw - 1300px) / 2));
    bottom: -35px;
    width: min(590px, 46vw);
    height: min(545px, 46vw);
    object-fit: contain;
    object-position: right bottom;
    filter: drop-shadow(0 24px 20px rgba(0, 0, 0, 0.14));
}

.cn-carousel__controls {
    position: absolute;
    z-index: 4;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cn-carousel__arrow,
.cn-carousel__dot {
    border: 1px solid rgba(23, 23, 23, 0.42);
    background: rgba(255, 255, 255, 0.9);
    color: var(--cn-ink);
    cursor: pointer;
}

.cn-carousel__arrow {
    width: 42px;
    height: 42px;
    padding: 0;
    font-size: 28px;
    line-height: 1;
}

.cn-carousel__dots {
    display: flex;
    gap: 7px;
    margin-inline: 4px;
}

.cn-carousel__dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border-radius: 50%;
    background: var(--cn-white);
}

.cn-carousel__dot.is-active {
    border-color: var(--cn-ink);
    background: var(--cn-yellow);
}

.cn-carousel__arrow:hover,
.cn-carousel__arrow:focus,
.cn-carousel__dot:hover,
.cn-carousel__dot:focus {
    border-color: var(--cn-ink);
    background: var(--cn-yellow);
}

.cn-proof {
    border-bottom: 1px solid var(--cn-line);
    background: var(--cn-white);
}

.cn-proof__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cn-proof__item {
    min-height: 108px;
    padding: 26px 24px;
    border-right: 1px solid var(--cn-line);
}

.cn-proof__item:first-child {
    border-left: 1px solid var(--cn-line);
}

.cn-proof__item strong {
    display: block;
    margin-bottom: 7px;
    font-size: 17px;
}

.cn-proof__item span {
    color: var(--cn-muted);
    font-size: 14px;
    line-height: 1.45;
}

.cn-section {
    padding: 92px 0;
}

.cn-section--soft {
    background: #fafafa;
}

.cn-section--yellow {
    background: var(--cn-yellow);
}

.cn-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.cn-section__head h2,
.cn-oem__copy h2,
.cn-markets h2,
.cn-final h2 {
    margin: 0;
    color: var(--cn-ink);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 820;
    letter-spacing: 0;
}

.cn-section__head p {
    max-width: 500px;
    margin: 0;
    color: var(--cn-muted);
    line-height: 1.7;
}

.cn-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--cn-line);
    border-left: 1px solid var(--cn-line);
}

.cn-category {
    position: relative;
    min-height: 255px;
    padding: 28px;
    overflow: hidden;
    border-right: 1px solid var(--cn-line);
    border-bottom: 1px solid var(--cn-line);
    background: var(--cn-white);
    color: var(--cn-ink);
    text-decoration: none;
}

.cn-category:hover,
.cn-category:focus {
    background: var(--cn-yellow-soft);
}

.cn-category__index {
    position: relative;
    z-index: 2;
    color: #9a7600;
    font-size: 13px;
    font-weight: 800;
}

.cn-category h3 {
    position: relative;
    z-index: 2;
    max-width: 210px;
    margin: 14px 0 7px;
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: 0;
}

.cn-category p {
    position: relative;
    z-index: 2;
    max-width: 210px;
    margin: 0;
    color: var(--cn-muted);
    font-size: 14px;
    line-height: 1.5;
}

.cn-category img {
    position: absolute;
    right: -18px;
    bottom: -20px;
    width: 52%;
    height: 72%;
    object-fit: contain;
    object-position: right bottom;
}

.cn-category--text {
    background: var(--cn-yellow);
}

.cn-category--text:hover,
.cn-category--text:focus {
    background: #e6b900;
}

.cn-category--text p {
    color: #4a3a00;
}

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

.cn-product {
    position: relative;
    min-width: 0;
    background: var(--cn-white);
    border: 1px solid var(--cn-line);
}

.cn-product__image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f7f7f7;
}

.cn-product__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 220ms ease;
}

.cn-product:hover .cn-product__image img {
    transform: scale(1.025);
}

.cn-product__body {
    min-height: 126px;
    padding: 20px;
    border-top: 4px solid var(--cn-yellow);
}

.cn-product__model {
    margin: 0 0 7px;
    color: #8a6b00;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.cn-product h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: 0;
}

.cn-product h3 a {
    color: var(--cn-ink);
    text-decoration: none;
}

.cn-oem {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: stretch;
    border: 1px solid var(--cn-line);
    background: var(--cn-white);
}

.cn-oem__image {
    min-height: 560px;
    background: #f5f5f5;
}

.cn-oem__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cn-oem__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 62px;
}

.cn-oem__copy > p {
    margin: 22px 0 0;
    color: var(--cn-muted);
    font-size: 17px;
    line-height: 1.7;
}

.cn-oem__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.cn-oem__list li {
    padding: 14px 0;
    border-top: 2px solid var(--cn-yellow);
    font-weight: 700;
}

.cn-markets {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.cn-markets > div > p {
    color: #4a3a00;
    line-height: 1.7;
}

.cn-market-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(23, 23, 23, 0.35);
    border-left: 1px solid rgba(23, 23, 23, 0.35);
}

.cn-market-grid span {
    min-height: 62px;
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-right: 1px solid rgba(23, 23, 23, 0.35);
    border-bottom: 1px solid rgba(23, 23, 23, 0.35);
    font-weight: 750;
}

.cn-final {
    padding: 82px 0;
    background: var(--cn-ink);
    color: var(--cn-white);
    text-align: center;
}

.cn-final h2 {
    max-width: 800px;
    margin-inline: auto;
    color: var(--cn-white);
}

.cn-final p {
    max-width: 680px;
    margin: 20px auto 0;
    color: #d7d7d7;
    line-height: 1.7;
}

.cn-final .cn-actions {
    justify-content: center;
}

.cn-final .cn-btn {
    border-color: var(--cn-yellow);
    background: var(--cn-yellow);
    color: var(--cn-ink);
}

.cn-final .cn-btn--light {
    border-color: var(--cn-white);
    background: transparent;
    color: var(--cn-white);
}

@media (max-width: 900px) {
    .cn-hero {
        min-height: 680px;
    }

    .cn-slide {
        align-items: start;
        background-position: 36% center;
    }

    .cn-slide::before {
        background: rgba(255, 255, 255, 0.24);
    }

    .cn-slide__inner {
        padding-top: 58px;
    }

    .cn-slide__copy {
        width: 100%;
    }

    .cn-hero h1,
    .cn-hero h2 {
        max-width: 640px;
        font-size: clamp(46px, 10vw, 68px);
    }

    .cn-slide__lead {
        max-width: 580px;
        font-size: 18px;
    }

    .cn-hero__product {
        right: -40px;
        bottom: -30px;
        width: 470px;
        height: 390px;
        opacity: 0.92;
    }

    .cn-carousel__controls {
        right: 24px;
        bottom: 24px;
    }

    .cn-proof__grid,
    .cn-categories,
    .cn-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cn-proof__item:nth-child(3) {
        border-left: 1px solid var(--cn-line);
    }

    .cn-oem,
    .cn-markets {
        grid-template-columns: 1fr;
    }

    .cn-oem__image {
        min-height: 460px;
    }

    .cn-markets {
        gap: 38px;
    }
}

@media (max-width: 620px) {
    .cn-container,
    .cn-slide__inner {
        width: min(100% - 28px, 1180px);
    }

    .cn-hero {
        min-height: 720px;
    }

    .cn-slide {
        background-position: 31% center;
    }

    .cn-slide::before {
        background: rgba(255, 255, 255, 0.38);
    }

    .cn-slide__inner {
        padding-top: 44px;
    }

    .cn-hero h1,
    .cn-hero h2 {
        font-size: 46px;
    }

    .cn-slide__lead {
        font-size: 17px;
        line-height: 1.55;
    }

    .cn-actions {
        width: 100%;
    }

    .cn-btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .cn-hero__product {
        right: -72px;
        bottom: -24px;
        width: 410px;
        height: 345px;
    }

    .cn-carousel__controls {
        right: 14px;
        bottom: 14px;
    }

    .cn-carousel__arrow {
        width: 38px;
        height: 38px;
    }

    .cn-proof__grid,
    .cn-categories,
    .cn-products,
    .cn-oem__list,
    .cn-market-grid {
        grid-template-columns: 1fr;
    }

    .cn-proof__item,
    .cn-proof__item:first-child,
    .cn-proof__item:nth-child(3) {
        min-height: 84px;
        border-left: 1px solid var(--cn-line);
    }

    .cn-section {
        padding: 68px 0;
    }

    .cn-section__head {
        display: block;
    }

    .cn-section__head p {
        margin-top: 16px;
    }

    .cn-category {
        min-height: 235px;
    }

    .cn-product__body {
        min-height: 108px;
    }

    .cn-oem__image {
        min-height: 360px;
    }

    .cn-oem__copy {
        padding: 36px 24px;
    }

    .cn-final {
        padding: 68px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cn-home a,
    .cn-product__image img {
        transition: none;
    }
}
