/* ===================================
   Hero Section - 1:1 复刻 NEUTRL Studio
   CSS 源自对标站渲染后样式（2026-03-25 自动抓取）
   =================================== */

/* Hero 容器 */
.home-hero {
    width: 100%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-top: 104px;
}
@media (min-width: 768px) {
    .home-hero {
        overflow-x: hidden;
        padding-top: 128px;
    }
}
@media (min-width: 1200px) {
    .home-hero {
        max-width: 1200px;
    }
}

/* Hero Wrapper - 左右两栏布局 */
.home-hero__wrapper {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    max-width: 996px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
@media (min-width: 768px) {
    .home-hero__wrapper {
        flex-direction: row;
    }
}

/* 代码背景图 Desktop */
.home-hero__code-bg--desktop {
    position: absolute;
    top: 50%;
    right: 0px;
    display: none;
    height: 524px;
    width: 680px;
    transform: translate(25%, -50%);
}
@media (min-width: 768px) {
    .home-hero__code-bg--desktop {
        display: block;
    }
}

/* 代码背景图 Mobile */
.home-hero__code-bg--mobile {
    position: absolute;
    left: 50%;
    bottom: 0px;
    display: block;
    height: 524px;
    width: 100vw;
    transform: translate(-50%, 15%);
    overflow: hidden;
}
@media (min-width: 768px) {
    .home-hero__code-bg--mobile {
        display: none;
    }
}

.home-hero__code-bg-inner {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 524px;
    width: 440px;
}

.home-hero__code-bg-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

/* 左侧内容区 */
.home-hero__content {
    width: calc(100% - 32px);
    max-width: 588px;
}

/* 大标题 */
.home-hero__title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 36px;
    font-weight: 300;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: rgba(0, 0, 0, 0.8);
}
@media (min-width: 768px) {
    .home-hero__title {
        font-size: 56px;
    }
}

.home-hero__title-italic {
    font-style: italic;
}

.home-hero__title-ampersand {
    font-style: italic;
}

/* 统计数据轮播区 */
.home-hero__cta {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 1;
}
@media (min-width: 768px) {
    .home-hero__cta {
        margin-top: 32px;
    }
}

/* 轮播缩略图 */
.dc__thumbnail {
    aspect-ratio: 16 / 10;
    background-color: rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    width: 108px;
    flex-shrink: 0;
}

.dc__thumbnail img {
    height: 100%;
    left: 0px;
    object-fit: cover;
    opacity: 0;
    position: absolute;
    top: 0px;
    transition: opacity 0.6s ease-in-out;
    width: 100%;
}

.dc__thumbnail img.active {
    opacity: 1;
}

/* 轮播文字 */
.dc__text-wrapper {
    height: 20px;
    overflow: hidden;
    position: relative;
    width: 200px;
}

.dc__text {
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
    left: 0px;
    line-height: 1.25;
    max-width: 200px;
    opacity: 0;
    position: absolute;
    top: 20px;
    transition: top 0.6s ease-in-out;
    font-size: 15px;
}

.dc__text.active {
    opacity: 1;
    top: 0px;
}

.dc__text.exiting {
    opacity: 1;
    top: -20px;
}

/* 右侧图片区 */
.home-hero__image-wrapper {
    margin-top: 64px;
    width: calc(100% - 32px);
}
@media (min-width: 768px) {
    .home-hero__image-wrapper {
        margin-top: 0px;
        width: auto;
    }
}

.home-hero__image-container {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    height: 381px;
    width: 100%;
    max-width: 384px;
    overflow: hidden;
    border-radius: 20px;
}
@media (min-width: 768px) {
    .home-hero__image-container {
        margin-right: 0px;
        margin-left: auto;
        height: 400px;
        width: 359.4px;
    }
}

.home-hero__image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.home-hero__image--fg-container {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 80%;
    width: 100%;
}

.home-hero__image--fg {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: right center;
}

/* "See recent work" 按钮 */
.home-hero__image-link {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    cursor: pointer;
    border-radius: 9999px;
    background-color: rgb(255 255 255);
    padding: 19.5px 20px;
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    line-height: 125%;
    color: rgb(136, 45, 23);
    text-decoration: none;
    transition: background-color 300ms cubic-bezier(0, 0, 0.2, 1);
}

.home-hero__image-link:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: rgb(136, 45, 23);
}

/* ===================================
   品牌 Logo 滚动条
   =================================== */

/* Mobile 版 */
.home-hero__brands--mobile {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    display: flex;
    width: 100%;
    align-items: center;
    overflow: hidden;
}
@media (min-width: 768px) {
    .home-hero__brands--mobile {
        display: none;
    }
}

/* Desktop 版 */
.home-hero__brands--desktop {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    display: none;
    max-width: 1198px;
    align-items: center;
    overflow: hidden;
    opacity: 1;
}
@media (min-width: 768px) {
    .home-hero__brands--desktop {
        display: flex;
    }
}

/* 滚动轨道 */
.home-hero__brands-track {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
    animation: marquee 25s linear 0s infinite;
}
@media (min-width: 768px) {
    .home-hero__brands-track {
        gap: 36px;
        padding-right: 36px;
    }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 品牌 Logo 通用 */
.home-hero__brand {
    flex-shrink: 0;
    object-fit: contain;
    opacity: 1;
}

/* 各品牌 Logo 尺寸 */
.home-hero__brand--fair-price { height: 28px; width: 129px; }
@media (min-width: 768px) { .home-hero__brand--fair-price { height: 33px; width: 151px; } }

.home-hero__brand--far-east { height: 36px; width: 151px; }
@media (min-width: 768px) { .home-hero__brand--far-east { height: 39px; width: 167px; } }

.home-hero__brand--grab { height: 26px; width: 72.94px; }
@media (min-width: 768px) { .home-hero__brand--grab { height: 29.97px; width: 84.09px; } }

.home-hero__brand--nathan { height: 36px; width: 78px; }
@media (min-width: 768px) { .home-hero__brand--nathan { height: 43.96px; width: 94.92px; } }

.home-hero__brand--bread-talk { height: 22px; width: 117px; }
@media (min-width: 768px) { .home-hero__brand--bread-talk { height: 23.97px; width: 126.89px; } }

.home-hero__brand--jll { height: 36px; width: 82px; }
@media (min-width: 768px) { .home-hero__brand--jll { height: 40px; width: 90px; } }

.home-hero__brand--singtel { height: 36px; width: 65px; }
@media (min-width: 768px) { .home-hero__brand--singtel { height: 48px; width: 87px; } }

.home-hero__brand--vivo { height: 36px; width: 74px; }
@media (min-width: 768px) { .home-hero__brand--vivo { height: 40px; width: 83px; } }

/* 左右渐变遮罩 */
.home-hero__brands-fade {
    pointer-events: none;
    position: absolute;
    left: 0px;
    display: flex;
    height: 100%;
    width: 100%;
    user-select: none;
    justify-content: space-between;
}

.home-hero__brands-fade-left {
    height: 48px;
    width: 160px;
    background-image: linear-gradient(to right, #F0EFEB, transparent);
}

.home-hero__brands-fade-right {
    height: 48px;
    width: 160px;
    background-image: linear-gradient(to left, #F0EFEB, transparent);
}

/* ===================================
   Hero 渐变背景（保留原有）
   =================================== */

.home-hero__gradient {
    position: absolute;
    left: 0;
    top: 0;
    min-height: 836px;
    width: 100vw;
    overflow-x: hidden;
    z-index: 0;
}

.gr-48 {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
}

.gr-48__radial {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -10;
    margin-top: 150px;
    aspect-ratio: 1 / 1;
    width: 636px;
    transform: translateX(-50%);
    border-radius: 9999px;
    filter: blur(25px);
    opacity: 1;
    background: radial-gradient(100% 100% at 50% 50%, #F5645A 10%, #FF9D7E 25%, #FFD4A6 37%, #FFEEC8 50%);
}

.gr-48__overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 836px;
    width: 100%;
    background-image: linear-gradient(to bottom, #FAF5E8, rgba(250, 245, 232, 0));
}


