/* Homepage: precision, material, and generous space. */
.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(56px, 6vw, 88px) 0 0;
    background: var(--sndas-dark);
    color: #fff;
}
.home-hero__content {
    min-width: 0;
    max-width: 720px;
    padding: 16px 0;
}
.home-hero__title {
    max-width: 720px;
    color: #fff;
    font-size: clamp(54px, 5.8vw, 82px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.08;
    white-space: pre-line;
}

.home-hero__title:lang(zh) {
    letter-spacing: -.025em;
    line-height: 1.2;
}

.home-hero__copy {
    max-width: 500px;
    margin-top: 28px;
    color: #d4ddd2;
    font-size: 16px;
    line-height: 1.75;
}
.home-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}
.home-hero__scroll {
    display: inline-flex;
    min-height: 44px;
    margin-top: 36px;
    align-items: center;
    gap: 13px;
    color: #d4ddd2;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
}

.home-hero__scroll span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #bdc6b6;
    border-radius: 50%;
    color: var(--sndas-accent);
    font-size: 16px;
    transition: transform var(--sndas-transition);
}
.home-hero__scroll:hover span {
    transform: translateY(3px);
}
.home-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    margin: 0;
    background: var(--sndas-dark);
}
.home-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
}
.home-hero__capabilities {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    margin-top: 36px;
    padding: 28px 0;
    border-top: 1px solid #ffffff33;
}
.home-hero__capability {
    display: flex;
    gap: 18px;
    min-width: 0;
}
.home-hero__capability-number {
    margin-top: 3px;
    color: var(--sndas-accent);
    font-family: ui-monospace, monospace;
    font-size: 10px;
}
.home-hero__capability-title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}
.home-hero__capability-text {
    max-width: 300px;
    margin: 6px 0 0;
    color: #d4ddd2;
    font-size: 12px;
    line-height: 1.6;
}
.home-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(#00000026, #00000026), linear-gradient(90deg, rgba(8, 19, 13, .82), rgba(8, 19, 13, .58) 38%, rgba(8, 19, 13, .2) 72%), linear-gradient(0deg, rgba(8, 19, 13, .78), transparent 48%);
    content: "";
}
.home-hero .sndas-eyebrow { color: var(--sndas-accent); }
.home-hero .sndas-button--outline { border-color: #ffffff80; color: #fff; background: #ffffff0d; }
.home-hero .sndas-button--outline:hover { background: #ffffff20; }
.home-categories {
    background: var(--sndas-bg);
}
.home-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.home-categories--count-1 .home-category-grid {
    grid-template-columns: minmax(0, 1fr);
}
.home-categories--count-2 .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-categories--count-4 .home-category-grid,
.home-categories--count-more .home-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.home-category-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border-top: 1px solid #bdc6b6;
}
.home-category-card__media {
    display: flex;
    aspect-ratio: 4 / 3;
    margin-top: 16px;
    padding: 24px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border-radius: var(--sndas-radius-sm);
    background: var(--sndas-bg);
}
.home-category-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 260ms ease;
}
.home-category-card:hover .home-category-card__media img {
    transform: scale(1.04);
}
.sndas-media-placeholder {
    display: flex;
    width: 40%;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #b4c1a8;
    border-radius: 50%;
}
.sndas-media-placeholder i {
    display: block;
    width: 8px;
    height: 40%;
    background: var(--sndas-green);
    transform: rotate(30deg);
}
.sndas-media-placeholder i:nth-child(2) {
    height: 60%;
}
.home-category-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 0 0;
}
.home-category-card__eyebrow {
    color: var(--sndas-muted);
    font-family: ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: .025em;
}
.home-category-card__title {
    margin-top: 6px;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.25;
}
.home-category-card__description {
    margin-top: 12px;
    color: var(--sndas-muted);
    font-size: 13px;
}
.home-category-card__description p {
    margin: 0;
}
.home-category-card__description p + p {
    margin-top: .7em;
}
.home-category-card__link {
    display: flex;
    margin-top: auto;
    padding-top: 22px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--sndas-green);
    font-size: 12px;
    font-weight: 700;
}
.home-category-card__link span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #b9c5b1;
    border-radius: 50%;
    font-size: 16px;
    transition: background var(--sndas-transition), color var(--sndas-transition);
}
.home-category-card:hover .home-category-card__link span {
    border-color: var(--sndas-green);
    background: var(--sndas-green);
    color: #fff;
}
.home-featured {
    border-top: 1px solid var(--sndas-border);
    background: var(--sndas-paper);
}
.home-featured__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.home-why {
    background: var(--sndas-bg);
    color: var(--sndas-text);
}
.home-why__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(48px, 9vw, 140px);
    align-items: start;
}
.home-why .sndas-eyebrow,
.home-why .sndas-text-link {
    color: var(--sndas-green);
}
.home-why .sndas-section-title {
    max-width: 450px;
    font-size: clamp(36px, 4.2vw, 58px);
}
.home-why__content {
    max-width: 460px;
    margin-top: 28px;
    color: var(--sndas-muted);
    font-size: 15px;
    line-height: 1.8;
}
.home-why__content > :first-child {
    margin-top: 0;
}
.home-why__content > :last-child {
    margin-bottom: 0;
}
.home-why__intro > .sndas-text-link {
    margin-top: 30px;
}
.home-why__items {
    margin-top: clamp(150px, 14.8vw, 210px);
    border-top: 1px solid var(--sndas-border);
}
.home-why__item {
    display: flex;
    gap: 28px;
    padding: 25px 0;
    border-bottom: 1px solid var(--sndas-border);
}
.home-why__number {
    margin-top: 4px;
    color: var(--sndas-green);
    font-family: ui-monospace, monospace;
    font-size: 11px;
}
.home-why__item h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.4;
}
.home-why__item p {
    margin: 8px 0 0;
    color: var(--sndas-muted);
    font-size: 13px;
    line-height: 1.7;
}
.home-oem {
    background: var(--sndas-paper);
}
.home-oem__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 7vw, 104px);
}
.home-oem__visual {
    position: relative;
    display: flex;
    aspect-ratio: 1.2;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    padding: 42px;
    border: 1px solid #c3cdb7;
    border-radius: var(--sndas-radius);
    background: var(--sndas-bg);
    color: var(--sndas-green-dark);
}
.home-oem__monogram {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    font-size: clamp(64px, 8vw, 112px);
    font-weight: 500;
    letter-spacing: -.07em;
    line-height: .85;
}
.home-oem__monogram > span {
    padding: 12px 0 8px;
    color: #647c4f;
    font-size: 40px;
    font-weight: 400;
}
.home-oem__visual-caption {
    display: flex;
    padding-top: 26px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    font-size: 11px;
}
.home-oem__visual-caption > span {
    font-size: 42px;
    line-height: 1;
}
.home-oem__visual--image {
    display: block;
    padding: 0;
}
.home-oem__visual--image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-oem__content {
    display: flex;
    max-width: 520px;
    align-self: stretch;
    flex-direction: column;
}
.home-oem__copy {
    margin: 24px 0 0;
    color: var(--sndas-muted);
    font-size: 16px;
    line-height: 1.8;
}
.home-oem .sndas-button {
    margin-block: auto;
    align-self: center;
}
.home-oem .sndas-button--light {
    border-color: var(--sndas-green);
    background: var(--sndas-green);
    color: #fff;
}
.home-oem .sndas-button--light:hover {
    background: var(--sndas-green-dark);
}
.home-inquiry .site-inquiry__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 7vw, 104px);
}
.home-inquiry .sndas-button {
    justify-self: end;
    margin-right: 0;
    padding-inline: 16px;
    gap: 16px;
    transform: translateX(-100%);
}
.site-inquiry.home-inquiry .sndas-button {
    width: auto;
}
.home-oem .sndas-button {
    padding-inline: 16px;
    gap: 16px;
}
.home-oem .sndas-button {
    transform: translateX(var(--home-oem-copy-shift, 0px));
}
@media (max-width: 980px) {
    .home-hero__title {
        font-size: clamp(42px, 6.5vw, 66px);
    }
    .home-hero__capabilities {
        gap: 24px;
        margin-top: 40px;
    }
    .home-hero__scroll {
        margin-top: 28px;
    }
    .home-categories--count-4 .home-category-grid,
    .home-categories--count-more .home-category-grid,
    .home-featured__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-why__grid,
    .home-oem__grid {
        gap: 40px;
    }
    .home-oem__visual {
        padding: 30px;
    }
}

@media (max-width: 760px) {
    .home-hero {
        padding-top: 64px;
    }
    .home-hero__content {
        padding: 0;
    }
    .home-hero__image { object-position: 58% center; }
    .home-hero::before {
        background: linear-gradient(90deg, rgba(8, 19, 13, .88), rgba(8, 19, 13, .55)), linear-gradient(0deg, rgba(8, 19, 13, .8), transparent 55%);
    }
    .home-hero__title {
        max-width: 580px;
        font-size: clamp(48px, 9.8vw, 68px);
    }
    .home-hero__copy {
        max-width: 500px;
        margin-top: 22px;
    }
    .home-hero__actions {
        margin-top: 24px;
    }
    .home-hero__scroll {
        margin-top: 20px;
    }
    .home-hero__capabilities {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 32px;
        padding: 24px 0;
    }
    .home-hero__capability-text {
        max-width: none;
    }
    .home-category-grid,
    .home-categories--count-1 .home-category-grid,
    .home-categories--count-2 .home-category-grid,
    .home-categories--count-4 .home-category-grid,
    .home-categories--count-more .home-category-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .home-category-card__media {
        aspect-ratio: 1.6;
    }
    .home-why__grid,
    .home-oem__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .home-oem .sndas-button {
        margin-top: 32px;
        margin-bottom: 0;
    }
    .home-inquiry .site-inquiry__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .home-inquiry .sndas-button {
        justify-self: start;
        margin-right: 0;
        transform: none;
    }
    .home-why__items {
        margin-top: 0;
    }
    .home-why__number {
        flex: 0 0 2.5em;
        min-width: 2.5em;
        white-space: nowrap;
    }
    .home-oem__visual {
        width: 100%;
        aspect-ratio: auto;
        min-height: 310px;
        max-height: 440px;
    }
    .home-oem__monogram {
        font-size: clamp(80px, 15vw, 106px);
    }
}

@media (max-width: 560px) {
    .home-featured__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .home-hero__actions .sndas-button {
        flex: 1 1 auto;
        gap: 20px;
        padding-inline: 16px;
    }
}
