.home-hero {
    position: relative;
    min-height: max(710px, 100svh);
    background: var(--paper-soft);
    overflow: hidden;
}

.home-hero-visual {
    position: absolute;
    inset: 0;
}

.home-hero-visual picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.home-hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero-scene {
    z-index: 0;
}

.home-hero-integrated {
    object-fit: cover !important;
}

/* 桌面主图和高屏安全构图共用同一完整商业场景。 */
@media (min-width: 821px) {
    .home-hero-visual {
        display: grid;
        place-items: center;
        background: #edf3f2;
    }

    .home-hero-visual img {
        object-position: center;
    }
}

.home-hero-inner {
    position: relative;
    z-index: 1;
    min-height: max(710px, 100svh);
    padding-top: 150px;
    padding-bottom: 62px;
    display: flex;
    align-items: center;
}

.home-hero-copy {
    width: min(660px, 49vw);
}

.home-hero h1 {
    margin-bottom: 25px;
    font-family: var(--serif);
    font-size: clamp(50px, 4.4vw, 68px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.04em;
}

.home-hero h1 span {
    white-space: nowrap;
}

.home-hero-lede {
    max-width: 540px;
    margin-bottom: 34px;
    color: #5f6761;
    font-size: 16px;
    line-height: 2;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-hero-proof {
    margin-top: 54px;
    padding-top: 18px;
    border-top: 1px solid var(--line-strong);
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 16px;
}

.home-hero-proof span + span::before {
    content: "/";
    margin: 0 22px;
    color: var(--brass-soft);
}

.home-network {
    padding: 86px 0 72px;
    background: var(--paper-soft);
    border-bottom: 1px solid var(--line);
}

.home-network-head {
    max-width: 920px;
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: minmax(360px, 1.2fr) minmax(300px, .8fr);
    align-items: end;
    gap: 64px;
}

.home-network-head h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(34px, 3.7vw, 52px);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -.035em;
}

.home-network-head p {
    margin: 0 0 4px;
    color: #596159;
    font-size: 15px;
    line-height: 1.9;
}

.home-center-map {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
}

.home-center-map::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brass);
    pointer-events: none;
}

.home-center {
    position: relative;
    min-height: 230px;
    padding: 34px 38px 36px;
    border-right: 1px solid var(--line);
}

.home-center::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    z-index: 1;
    width: 9px;
    height: 9px;
    border: 2px solid var(--brass);
    border-radius: 50%;
    background: var(--paper-soft);
    transform: translate(-50%, -50%);
}

.home-center:first-child {
    padding-left: 0;
}

.home-center:last-child {
    padding-right: 0;
    border-right: 0;
}

.home-center > span {
    display: block;
    margin-bottom: 22px;
    color: #765a3e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.home-center h3 {
    margin-bottom: 14px;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
}

.home-center p {
    max-width: 32ch;
    margin: 0;
    color: #596159;
    font-size: 14px;
    line-height: 1.85;
}

.home-delivery-flow {
    margin: 36px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
}

.home-delivery-flow li {
    position: relative;
    padding: 0 32px 0 22px;
}

.home-delivery-flow li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brass);
}

.home-delivery-flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 11px;
    right: 10px;
    width: 22px;
    height: 1px;
    background: var(--line-strong);
}

.home-delivery-flow strong,
.home-delivery-flow span {
    display: block;
}

.home-delivery-flow strong {
    margin-bottom: 9px;
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 500;
}

.home-delivery-flow span {
    color: #646b65;
    font-size: 12px;
    line-height: 1.7;
}

.home-network-link {
    margin-top: 34px;
}

.home-showrooms {
    padding: 78px 0 86px;
    background: var(--paper-soft);
}

.home-section-head {
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.home-section-head h2 {
    margin-bottom: 0;
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
}

.home-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.home-product {
    position: relative;
    min-height: 460px;
    padding: 42px;
    background: #eeebe4;
    overflow: hidden;
    transition: background-color 260ms ease, box-shadow 360ms cubic-bezier(.16, 1, .3, 1);
}

.home-product-copy {
    position: relative;
    z-index: 2;
    width: 48%;
}

.home-product-copy > p {
    margin-bottom: 14px;
    color: #71583f;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .18em;
}

.home-product h3 {
    margin-bottom: 16px;
    font-family: var(--serif);
    font-size: clamp(25px, 2.4vw, 36px);
    font-weight: 500;
    line-height: 1.25;
}

.home-product-copy .home-product-desc {
    max-width: 280px;
    margin-bottom: 24px;
    color: #596159;
    font-size: 14px;
}

.home-product-media {
    position: absolute;
    right: 2%;
    bottom: 4%;
    width: 60%;
    height: 72%;
    margin: 0;
    padding: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(250, 247, 240, .42);
    overflow: hidden;
}

.home-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    mix-blend-mode: multiply;
    transform: translateY(-6px) scale(var(--home-product-scale, 1));
    transform-origin: center bottom;
    transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}

.home-product-media-pool {
    right: 2%;
    width: 60%;
    height: 72%;
    --home-product-scale: 1.12;
}

.home-product:hover .home-product-media img,
.home-product:focus-within .home-product-media img {
    transform: translateY(-6px) scale(var(--home-product-scale, 1));
}

.home-product:focus-within {
    background: #f3efe6;
    box-shadow: 0 18px 40px rgba(58, 65, 57, .08);
}

.home-product:focus-within .text-link {
    color: var(--brass);
}

.home-collaboration {
    min-height: 420px;
    background: var(--paper);
    background-image: url('../images/home/design-collaboration.webp');
    background-size: cover;
    background-position: center;
    border-top: 1px solid var(--line);
}

.home-collaboration-inner {
    min-height: 420px;
    padding-top: 82px;
    padding-bottom: 74px;
    display: flex;
    align-items: center;
}

.home-collaboration-copy {
    width: 43%;
}

.home-collaboration h2 {
    margin-bottom: 16px;
    font-family: var(--serif);
    font-size: clamp(31px, 3.4vw, 48px);
    font-weight: 500;
    line-height: 1.25;
}

.home-collaboration p {
    max-width: 520px;
    margin-bottom: 28px;
    color: var(--muted);
}

.home-collaboration-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.mobile-inquiry-cta {
    display: none;
}

@media (max-width: 1080px) {
    .home-hero,
    .home-hero-inner { min-height: max(650px, 100svh); }
    .home-hero-inner { padding-top: 132px; }
    .home-hero-copy { width: 56%; }
    .home-hero h1 { font-size: clamp(46px, 5vw, 60px); }
    .home-network-head { gap: 42px; }
    .home-center { padding-inline: 26px; }
    .home-delivery-flow li { padding-right: 24px; }
    .home-product { min-height: 430px; padding: 32px; }
}

@media (max-width: 820px) {
    .home-hero { min-height: max(760px, 100svh); }
    .home-hero-visual { height: 100%; }
    .home-hero-visual img { object-position: 63% center; }
    .home-hero-visual .home-hero-integrated { object-position: center; opacity: .94; }
    .home-hero-inner { min-height: max(760px, 100svh); padding-top: 118px; padding-bottom: 44px; align-items: flex-start; }
    .home-hero-copy { width: min(520px, 84%); }
    .home-hero h1 { font-size: clamp(45px, 9vw, 62px); }
    .home-hero-lede { max-width: 480px; color: #4f5751; }
    .home-hero-proof { margin-top: 38px; }
    .home-network { padding: 68px 0 58px; }
    .home-network-head { grid-template-columns: 1fr; gap: 18px; }
    .home-center { min-height: 220px; padding-inline: 24px; }
    .home-delivery-flow { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .home-delivery-flow li:nth-child(2)::after { display: none; }
    .home-product-grid { grid-template-columns: 1fr; }
    .home-product { min-height: 500px; }
    .home-collaboration { background-position: 58% center; }
    .home-collaboration-copy { width: 56%; }
}

@media (max-width: 540px) {
    .home-hero { min-height: max(720px, 100svh); }
    .home-hero-visual { height: 100%; }
    .home-hero-visual img { object-position: 69% center; opacity: .68; }
    .home-hero-visual .home-hero-integrated { object-position: center; opacity: .88; }
    .home-hero-inner { min-height: max(720px, 100svh); padding-top: 112px; }
    .home-hero-copy { width: 100%; }
    .home-hero h1 { font-size: clamp(35px, 9.8vw, 38px); line-height: 1.12; }
    .home-hero h1 span { white-space: normal; }
    .home-hero-lede { font-size: 14px; line-height: 1.85; }
    .home-hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .home-hero-actions .btn { width: auto; padding-inline: 12px; }
    .home-hero-proof { font-size: 14px; }
    .home-hero-proof span + span::before { margin-inline: 11px; }
    .home-network { padding: 54px 0 50px; }
    .home-network-head { margin-bottom: 34px; }
    .home-network-head h2 { font-size: 34px; }
    .home-center-map { grid-template-columns: 1fr; }
    .home-center-map::after { top: 0; bottom: 0; left: 3px; width: 2px; height: auto; }
    .home-center,
    .home-center:first-child,
    .home-center:last-child { min-height: 0; padding: 26px 0 28px 24px; border-right: 0; border-bottom: 1px solid var(--line); }
    .home-center:last-child { border-bottom: 0; }
    .home-center::before { top: 36px; left: 4px; transform: translate(-50%, -50%); }
    .home-center > span { margin-bottom: 10px; }
    .home-center h3 { margin-bottom: 10px; font-size: 25px; }
    .home-center p { max-width: 38ch; }
    .home-delivery-flow { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
    .home-delivery-flow li { padding: 0 0 22px 22px; }
    .home-delivery-flow li:not(:last-child)::after { top: 18px; right: auto; bottom: 3px; left: 3px; width: 1px; height: auto; }
    .home-delivery-flow span { max-width: 34ch; }
    .home-network-link { margin-top: 16px; }
    .home-showrooms { padding: 56px 0 60px; }
    .home-section-head { align-items: flex-start; }
    .home-section-head h2 { font-size: 28px; }
    .home-product { min-height: 500px; padding: 26px; }
    .home-product-copy { width: 88%; }
    .home-product-media { right: 4%; bottom: 2%; width: 92%; height: 47%; padding: 10px; }
    .home-product-media-pool { right: 4%; width: 92%; height: 47%; }
    .home-collaboration { min-height: 520px; background-image: url('../images/home/design-collaboration-mobile.webp'); background-position: 70% center; }
    .home-collaboration-inner { min-height: 520px; padding-top: 56px; align-items: flex-start; }
    .home-collaboration-copy { width: 92%; }
    .home-collaboration p { color: #545b55; }
    .home-collaboration-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .home-collaboration-actions .btn { width: auto; padding-inline: 12px; }

    .mobile-inquiry-cta {
        position: fixed;
        right: 16px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        left: 16px;
        z-index: 45;
        min-height: 54px;
        padding: 0 18px;
        display: flex;
        align-items: center;
        gap: 9px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 6px;
        background: var(--moss-deep);
        box-shadow: 0 15px 36px rgba(37, 40, 36, .22);
        color: var(--white);
        opacity: 0;
        visibility: hidden;
        transform: translateY(calc(100% + 24px));
        pointer-events: none;
        transition: opacity 220ms ease, visibility 220ms ease, transform 360ms cubic-bezier(.16, 1, .3, 1);
    }

    .mobile-inquiry-cta.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .mobile-inquiry-cta span {
        color: #dce3d9;
        font-size: 12px;
    }

    .mobile-inquiry-cta strong {
        margin-left: auto;
        font-size: 14px;
        font-weight: 650;
    }

    .mobile-inquiry-cta i {
        font-size: 17px;
    }

    body.has-mobile-inquiry .back-to-top {
        bottom: calc(82px + env(safe-area-inset-bottom));
    }
}

/* 桌面端首屏严格占一屏；矮屏同步收紧文字区，避免内容把首屏撑高。 */
@media (min-width: 821px) {
    .home-hero {
        height: 100svh;
        min-height: 0;
    }

    .home-hero-inner {
        height: 100%;
        min-height: 0;
        padding-top: clamp(94px, 15svh, 150px);
        padding-bottom: clamp(24px, 6svh, 62px);
    }

    .home-hero h1 {
        margin-bottom: clamp(15px, 2.5svh, 25px);
        font-size: clamp(42px, min(4.4vw, 8svh), 68px);
    }

    .home-hero-lede {
        margin-bottom: clamp(20px, 3.4svh, 34px);
    }

    .home-hero-proof {
        margin-top: clamp(24px, 5.4svh, 54px);
    }
}
