/* Home preview v1
   Purpose: subtle homepage polish without changing content or structure.
   Rollback: stop enqueuing this file in functions.php.
*/

body.home #why-us {
    position: relative;
    overflow: hidden;
    background: #E4D2BF;
}

body.home #why-us::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(245, 235, 221, 0.34), rgba(245, 235, 221, 0));
}

body.home #why-us .container,
body.home #heritage-points .container {
    position: relative;
    z-index: 1;
}

body.home #why-us .section-title {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 2rem;
}

body.home #why-us .section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 168, 76, 0.78), rgba(201, 168, 76, 0.12));
}

body.home #why-us .section-title h2 {
    margin: 0;
    padding: 0.9rem 1.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #8d211d, #731512);
    color: #fff4d8;
    box-shadow: 0 14px 28px rgba(115, 21, 18, 0.18);
}

body.home #why-us .section-title h2::after {
    display: none;
}

body.home #why-us .why-us-kicker {
    margin-bottom: 0.8rem;
    color: #7a5741;
    letter-spacing: 0.12em;
}

body.home #why-us .why-us-article {
    padding-top: 0;
}

body.home #why-us .why-us-article .why-us-lead {
    margin-top: 1.8rem;
    margin-bottom: 0.85rem;
    font-size: clamp(1.2rem, 1.6vw, 1.65rem);
}

body.home #why-us .why-us-article .why-us-lead strong {
    display: inline-flex;
    align-items: center;
    min-height: 2.8rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(143, 31, 28, 0.95);
    color: #fff4dc;
    box-shadow: 0 10px 22px rgba(115, 21, 18, 0.15);
}

body.home #why-us .why-us-article p:not(.why-us-lead) {
    margin: 0 0 1.25rem;
    padding: 1.45rem 1.5rem;
    border-radius: 30px;
    border: 1px solid rgba(201, 168, 76, 0.28);
    background: linear-gradient(180deg, rgba(245, 235, 221, 0.98), rgba(228, 210, 191, 0.92));
    box-shadow: 0 12px 26px rgba(79, 47, 23, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

body.home #why-us .why-us-article p:not(.why-us-lead):last-child {
    margin-bottom: 0;
}

body.home #why-us .why-us-article p strong {
    color: #68211c;
}

body.home #heritage-points {
    position: relative;
    overflow: hidden;
    padding: clamp(3.6rem, 5.6vw, 4.8rem) 0;
    background: #E4D2BF;
}

body.home #heritage-points::before {
    content: "道";
    position: absolute;
    left: clamp(-1rem, 1vw, 1rem);
    top: 0;
    font-family: var(--font-display);
    font-size: clamp(11rem, 23vw, 18rem);
    line-height: 1;
    color: rgba(54, 8, 6, 0.035);
    pointer-events: none;
}

body.home #heritage-points::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(245, 235, 221, 0.18), rgba(245, 235, 221, 0));
}

body.home #heritage-points .section-title h2 {
    color: #35170E;
}

body.home #heritage-points .section-title h2::before {
    background: linear-gradient(to left, transparent, rgba(214, 175, 95, 0.72));
}

body.home #heritage-points .section-title h2::after {
    background: linear-gradient(to right, transparent, rgba(214, 175, 95, 0.72));
}

body.home #heritage-points .section-title {
    margin-bottom: 2rem;
}

body.home #heritage-points .heritage-card {
    padding: 1.4rem 1.3rem 1.2rem;
    border-radius: 24px;
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.16);
}

body.home #heritage-points .heritage-card::before {
    border-color: rgba(201, 164, 76, 0.12);
}

body.home #heritage-points .heritage-card-top {
    margin-bottom: 0.85rem;
}

body.home #heritage-points .heritage-card h3 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.32rem, 1.65vw, 1.72rem);
}

body.home #heritage-points .heritage-card-summary {
    font-size: 0.96rem;
    line-height: 1.75;
}

body.home #heritage-points .heritage-card-list {
    margin-top: 0.95rem;
    gap: 0.7rem;
}

body.home #heritage-points .heritage-card-list li {
    font-size: 0.94rem;
    line-height: 1.65;
}

body.home #news-posts.section-sm {
    padding: clamp(2.5rem, 4.1vw, 3.15rem) 0;
}

body.home #news-posts.news-posts--quiet .news-feature {
    margin-top: 0;
    padding: 0.7rem;
    border-radius: 22px;
}

body.home #news-posts.news-posts--quiet .news-feature-thumb img {
    min-height: 210px;
}

body.home #news-posts.news-posts--quiet .news-feature-placeholder {
    min-height: 210px;
    padding: 1.4rem;
}

body.home #news-posts.news-posts--quiet .news-feature-body {
    padding: 0.2rem 0.15rem 0.2rem 0;
}

body.home #news-posts.news-posts--quiet .news-feature-body h3 {
    margin-bottom: 0.7rem;
    font-size: clamp(1.35rem, 1.85vw, 1.78rem);
}

body.home #news-posts.news-posts--quiet .news-feature-body p {
    font-size: 0.95rem;
    line-height: 1.72;
}

body.home #news-posts.news-posts--quiet .news-feature-meta {
    margin-top: 0.8rem;
    padding-top: 0.75rem;
}

body.home #references.section-sm {
    padding-top: 1.2rem;
}

body.home #references .reference-groups {
    margin-top: 0.4rem;
    gap: 1.8rem;
}

body.home #references .reference-group-title {
    margin-bottom: 0.95rem;
}

@media (max-width: 900px) {
    body.home #why-us .section-title {
        display: block;
        margin-bottom: 1.5rem;
    }

    body.home #why-us .section-title::after {
        display: none;
    }

    body.home #why-us .section-title h2 {
        padding: 0.82rem 1.5rem;
    }

    body.home #why-us .why-us-article p:not(.why-us-lead) {
        padding: 1.2rem 1.15rem;
        border-radius: 24px;
    }

    body.home #heritage-points {
        padding: 3.15rem 0;
    }

    body.home #news-posts.news-posts--quiet .news-feature-thumb img,
    body.home #news-posts.news-posts--quiet .news-feature-placeholder {
        min-height: 190px;
    }

    body.home #news-posts.news-posts--quiet .news-feature-body {
        padding: 0.2rem;
    }

    body.home #references.section-sm {
        padding-top: 0.9rem;
    }
}

@media (max-width: 560px) {
    body.home #why-us .why-us-article .why-us-lead strong {
        min-height: 2.45rem;
        padding: 0.45rem 0.8rem;
    }

    body.home #why-us .why-us-article p:not(.why-us-lead) {
        padding: 1rem 0.95rem;
        border-radius: 20px;
    }

    body.home #heritage-points::before {
        top: 1.2rem;
        left: -0.35rem;
    }

    body.home #heritage-points {
        padding: 2.7rem 0;
    }

    body.home #heritage-points .section-title {
        margin-bottom: 1.4rem;
    }

    body.home #heritage-points .heritage-card {
        padding: 1.15rem 1rem 1rem;
    }

    body.home #news-posts.section-sm {
        padding: 2rem 0;
    }

    body.home #news-posts.news-posts--quiet .news-feature {
        padding: 0.55rem;
    }

    body.home #news-posts.news-posts--quiet .news-feature-thumb img,
    body.home #news-posts.news-posts--quiet .news-feature-placeholder {
        min-height: 170px;
    }

    body.home #references.section-sm {
        padding-top: 0.75rem;
    }

    body.home #references .reference-groups {
        margin-top: 0.2rem;
        gap: 1.4rem;
    }
}
