.yx-works-index-page,
.yx-works-index-page * {
    letter-spacing: 0 !important;
}

.yx-works-index-page {
    background: #f4f1e9;
    color: #243a32;
    overflow-x: hidden;
}

.yx-works-shell {
    width: min(100% - 48px, 1440px);
    margin-inline: auto;
}

.yx-works-skip {
    position: fixed;
    top: 12px;
    left: 16px;
    z-index: 200;
    padding: 10px 16px;
    color: #fff;
    background: #243a32;
    transform: translateY(-140%);
    transition: transform .2s ease;
}

.yx-works-skip:focus {
    transform: translateY(0);
}

.yx-works-index-page #menuBtn {
    min-width: 44px;
    min-height: 44px;
}

.yx-works-eyebrow {
    margin: 0 0 22px;
    color: #765326;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.yx-works-slot {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 32px;
    padding: 4px 9px;
    border: 1px solid rgba(255,255,255,.72);
    color: #fff;
    background: rgba(25,38,33,.75);
    font-size: 12px;
    font-weight: 600;
}

.yx-works-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border: 1px solid currentColor;
    font-size: 14px;
    font-weight: 500;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.yx-works-button--light {
    color: #fff;
    border-color: rgba(255,255,255,.72);
}

.yx-works-button--light:hover,
.yx-works-button--light:focus-visible {
    color: #243a32;
    background: #fff;
    border-color: #fff;
}

.yx-works-hero {
    position: relative;
    min-height: 720px;
    margin-top: 80px;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    background: #1e2f29;
}

.yx-works-hero__media,
.yx-works-hero__shade {
    position: absolute;
    inset: 0;
    margin: 0;
}

.yx-works-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
}

.yx-works-hero__shade {
    z-index: 1;
    background: rgba(18,29,25,.48);
}

.yx-works-hero__copy {
    position: relative;
    z-index: 2;
    padding-bottom: 78px;
    color: #fff;
}

.yx-works-hero__copy .yx-works-eyebrow {
    color: #e2c393;
}

.yx-works-hero h1 {
    max-width: 720px;
    margin: 0 0 26px;
    font-family: "Noto Serif SC", serif;
    font-size: 76px;
    font-weight: 400;
    line-height: 1.22;
}

.yx-works-hero__copy > p:not(.yx-works-eyebrow) {
    max-width: 620px;
    margin: 0 0 34px;
    color: rgba(255,255,255,.86);
    font-size: 18px;
    line-height: 2;
}

.yx-works-intro {
    padding: 116px 0;
    background: #fff;
}

.yx-works-intro__layout,
.yx-works-section-head,
.yx-works-details__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
    gap: 100px;
    align-items: end;
}

.yx-works-intro h2,
.yx-works-section-head h2,
.yx-works-details__head h2,
.yx-works-cta h2 {
    margin: 0;
    font-family: "Noto Serif SC", serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 1.5;
}

.yx-works-intro__copy > p,
.yx-works-section-head > p,
.yx-works-details__head > p {
    margin: 0;
    color: #5f6b66;
    font-size: 17px;
    line-height: 2;
}

.yx-works-intro__copy dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 36px 0 0;
    padding-top: 26px;
    border-top: 1px solid #d9d8d1;
}

.yx-works-intro__copy dl div {
    min-width: 0;
}

.yx-works-intro__copy dt {
    color: #243a32;
    font-family: "Noto Serif SC", serif;
    font-size: 24px;
}

.yx-works-intro__copy dd {
    margin: 7px 0 0;
    color: #7a827e;
    font-size: 12px;
}

.yx-works-series {
    padding: 122px 0 132px;
}

.yx-works-section-head {
    margin-bottom: 64px;
}

.yx-works-series__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
}

.yx-works-card {
    display: grid;
    grid-template-rows: 520px auto;
    min-width: 0;
    overflow: hidden;
    color: #243a32;
    background: #fff;
    border: 1px solid #dedbd2;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.yx-works-card:hover,
.yx-works-card:focus-visible {
    border-color: #b58a4b;
    box-shadow: 0 18px 50px rgba(42,50,46,.1);
    transform: translateY(-4px);
}

.yx-works-card__media {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #ebe7dd;
}

.yx-works-card__media img {
    width: 100%;
    height: 100%;
    padding: 20px;
    object-fit: contain;
    transition: transform .6s ease;
}

.yx-works-card:hover .yx-works-card__media img {
    transform: scale(1.018);
}

.yx-works-card__body {
    min-height: 270px;
    padding: 34px 38px 36px;
    display: flex;
    flex-direction: column;
}

.yx-works-card__body > span {
    color: #765326;
    font-size: 12px;
    font-weight: 600;
}

.yx-works-card__body h3 {
    margin: 14px 0 16px;
    font-family: "Noto Serif SC", serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.45;
}

.yx-works-card__body p {
    margin: 0 0 26px;
    color: #68716d;
    font-size: 15px;
    line-height: 1.9;
}

.yx-works-card__body strong {
    margin-top: auto;
    color: #243a32;
    font-size: 13px;
    font-weight: 600;
}

.yx-works-card__body strong i {
    margin-left: 8px;
    transition: transform .25s ease;
}

.yx-works-card:hover .yx-works-card__body strong i {
    transform: translateX(5px);
}

.yx-works-details {
    padding: 124px 0 138px;
    color: #f7f3e9;
    background: #1f3b33;
}

.yx-works-details .yx-works-eyebrow {
    color: #d8b67e;
}

.yx-works-details__head {
    margin-bottom: 62px;
}

.yx-works-details__head > p {
    color: rgba(247,243,233,.7);
}

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

.yx-works-detail {
    position: relative;
    min-width: 0;
    margin: 0;
    background: #e8e3d7;
}

.yx-works-detail--landscape {
    grid-column: 1 / -1;
}

.yx-works-detail img {
    display: block;
    width: 100%;
    height: 560px;
    padding: 18px;
    object-fit: contain;
}

.yx-works-detail--landscape img {
    height: 640px;
}

.yx-works-detail figcaption {
    display: grid;
    grid-template-columns: minmax(130px, .35fr) 1fr;
    gap: 28px;
    padding: 24px 28px 26px;
    color: #243a32;
    background: #f8f5ee;
    border-top: 1px solid #d8d3c8;
}

.yx-works-detail figcaption strong {
    font-family: "Noto Serif SC", serif;
    font-size: 20px;
    font-weight: 500;
}

.yx-works-detail figcaption span {
    color: #68716d;
    font-size: 14px;
    line-height: 1.8;
}

.yx-works-cta {
    padding: 112px 0;
    color: #fff;
    background: #6f2f2c;
}

.yx-works-cta .yx-works-eyebrow {
    color: #e4c59a;
}

.yx-works-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 80px;
    align-items: center;
}

.yx-works-cta__inner > div > p:not(.yx-works-eyebrow) {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.76);
    font-size: 16px;
    line-height: 2;
}

.yx-works-email {
    overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
    .yx-works-shell {
        width: min(100% - 40px, 960px);
    }

    .yx-works-hero {
        min-height: 650px;
    }

    .yx-works-hero h1 {
        font-size: 62px;
    }

    .yx-works-intro__layout,
    .yx-works-section-head,
    .yx-works-details__head {
        gap: 54px;
    }

    .yx-works-card {
        grid-template-rows: 410px auto;
    }

    .yx-works-card__body {
        min-height: 290px;
        padding: 30px;
    }

    .yx-works-detail img {
        height: 480px;
    }

    .yx-works-detail--landscape img {
        height: 560px;
    }
}

@media (max-width: 767px) {
    .yx-works-shell {
        width: min(100% - 28px, 680px);
    }

    .yx-works-hero {
        min-height: 760px;
        align-items: flex-end;
    }

    .yx-works-hero__media {
        bottom: auto;
        height: 300px;
    }

    .yx-works-hero__media img {
        object-position: center;
    }

    .yx-works-hero__shade {
        bottom: auto;
        height: 300px;
        background: rgba(18,29,25,.18);
    }

    .yx-works-hero__copy {
        padding-top: 340px;
        padding-bottom: 48px;
    }

    .yx-works-hero h1 {
        font-size: 44px;
    }

    .yx-works-hero__copy > p:not(.yx-works-eyebrow) {
        font-size: 15px;
        line-height: 1.85;
    }

    .yx-works-intro,
    .yx-works-series,
    .yx-works-details,
    .yx-works-cta {
        padding: 78px 0;
    }

    .yx-works-intro__layout,
    .yx-works-section-head,
    .yx-works-details__head,
    .yx-works-cta__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .yx-works-intro h2,
    .yx-works-section-head h2,
    .yx-works-details__head h2,
    .yx-works-cta h2 {
        font-size: 34px;
    }

    .yx-works-intro__copy > p,
    .yx-works-section-head > p,
    .yx-works-details__head > p {
        font-size: 15px;
    }

    .yx-works-intro__copy dl {
        gap: 10px;
    }

    .yx-works-intro__copy dt {
        font-size: 18px;
    }

    .yx-works-series__grid,
    .yx-works-details__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .yx-works-section-head,
    .yx-works-details__head {
        margin-bottom: 42px;
    }

    .yx-works-card {
        grid-template-rows: 390px auto;
    }

    .yx-works-card__media img {
        padding: 12px;
    }

    .yx-works-card__body {
        min-height: 0;
        padding: 28px 24px 30px;
    }

    .yx-works-card__body h3 {
        font-size: 26px;
    }

    .yx-works-detail--landscape {
        grid-column: auto;
    }

    .yx-works-detail img,
    .yx-works-detail--landscape img {
        height: 440px;
        padding: 12px;
    }

    .yx-works-detail figcaption {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 20px;
    }

    .yx-works-cta__inner {
        align-items: start;
    }

    .yx-works-footer-grid {
        gap: 34px;
    }
}

@media (max-width: 420px) {
    .yx-works-hero h1 {
        font-size: 40px;
    }

    .yx-works-card {
        grid-template-rows: 340px auto;
    }

    .yx-works-detail img,
    .yx-works-detail--landscape img {
        height: 390px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .yx-works-index-page *,
    .yx-works-index-page *::before,
    .yx-works-index-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }
}
