:root {
    --home-green: #173b32;
    --home-green-deep: #15372f;
    --home-paper: #f7f5ef;
    --home-paper-card: #fbfaf6;
    --home-ink: #263931;
    --home-muted: #85877d;
    --home-gold: #b6925c;
    --home-gold-light: #dec99b;
    --home-line: #ded9cc;
    --home-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
    --home-sans: "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--home-ink); background: var(--home-paper); font-family: var(--home-serif); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.home-header { height: 52px; position: relative; z-index: 5; background: #fbfaf7; border-bottom: 1px solid rgba(45, 57, 49, .08); }
.home-header-inner { width: min(1312px, 100%); height: 100%; margin: 0 auto; padding: 0 68px; display: flex; align-items: center; }
.home-brand { display: inline-flex; align-items: center; gap: 10px; flex: none; white-space: nowrap; }
.home-brand-icon { width: 52px; height: 34px; object-fit: contain; filter: invert(21%) sepia(13%) saturate(1025%) hue-rotate(111deg) brightness(92%) contrast(91%); }
.home-brand-name { color: #202e28; font-size: 20px; font-weight: 700; letter-spacing: 2px; }
.home-brand-divider { width: 1px; height: 23px; margin: 0 4px 0 8px; background: #aaa89e; }
.home-brand-subtitle { color: #28362f; font-size: 13px; letter-spacing: 1px; }
.home-nav { display: flex; align-items: center; gap: 44px; margin-left: auto; margin-right: 58px; white-space: nowrap; }
.home-nav a { color: #29372f; font-size: 14px; letter-spacing: .5px; transition: color .2s; }
.home-nav a:hover { color: var(--home-gold); }
.home-header-cta { width: 142px; height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; flex: none; color: #fffaf0; background: var(--home-gold); border-radius: 20px; font-size: 14px; letter-spacing: 1px; }
.home-header-cta:hover { background: #a5804b; }
.home-header-cta img { width: 15px; height: 15px; filter: brightness(0) invert(1); }

.home-hero { height: 263px; position: relative; overflow: hidden; background: #eee9dc; }
.home-hero-image { position: absolute; inset: 0; background: url('/assets/img/hero-banner.jpg') center center / cover no-repeat; }
.home-hero-copy { width: min(1312px, 100%); height: 100%; position: relative; z-index: 1; margin: 0 auto; padding: 32px 9.8% 20px; }
.home-hero h1 { margin: 0; color: #183d30; font-size: clamp(34px, 3.45vw, 48px); font-weight: 600; line-height: 1.31; letter-spacing: 1.5px; text-shadow: 0 1px 1px rgba(255, 255, 255, .2); }
.home-hero h1 span { color: #946f43; }
.home-hero-copy > p { margin: 8px 0 0; color: #33433a; font-size: 15px; letter-spacing: 1.4px; }
.home-hero-actions { display: flex; gap: 18px; margin-top: 19px; }
.home-button { min-width: 150px; height: 39px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid transparent; border-radius: 24px; font-family: var(--home-serif); font-size: 13px; letter-spacing: .5px; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.home-button img { width: 14px; height: 14px; }
.home-button-gold img { filter: brightness(0) invert(1); }
.home-button-outline img, .home-button-soft img { filter: invert(34%) sepia(14%) saturate(885%) hue-rotate(89deg) brightness(83%) contrast(90%); }
.home-button-gold { color: #fffaf2; background: var(--home-gold); }
.home-button-gold:hover { background: #9d7b4a; }
.home-button-outline { color: var(--home-green); border-color: #a9a79a; background: rgba(251, 250, 246, .55); }
.home-button-outline:hover { border-color: var(--home-green); background: rgba(255, 254, 250, .9); }

.home-journey { height: 111px; color: #f7f2e8; background: var(--home-green); }
.home-journey-inner { width: min(1220px, calc(100% - 68px)); height: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr 38px 1fr 38px 1fr 38px 1fr 38px 1fr; align-items: center; }
.journey-step { min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.journey-icon { width: 32px; height: 32px; margin-bottom: 1px; object-fit: contain; filter: invert(83%) sepia(22%) saturate(543%) hue-rotate(2deg) brightness(91%) contrast(87%); }
.journey-step strong { color: #f7f1e5; font-size: 19px; font-weight: 500; letter-spacing: 1px; }
.journey-step small { margin-top: 5px; color: #d4d8ce; font-size: 10px; letter-spacing: .2px; }
.journey-arrow { width: 20px; height: 20px; object-fit: contain; filter: invert(83%) sepia(22%) saturate(543%) hue-rotate(2deg) brightness(91%) contrast(87%); }

.home-spaces { height: 224px; padding: 17px 35px 12px; background: var(--home-paper); }
.home-section-title { height: 39px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; gap: 24px; text-align: center; }
.home-section-title > span { width: 112px; height: 1px; background: #cdbd9d; }
.home-section-title h2 { margin: 0; color: #27372f; font-size: 25px; font-weight: 600; letter-spacing: 2.4px; white-space: nowrap; }
.home-space-grid { width: min(1242px, 100%); height: 149px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-space-card { position: relative; min-width: 0; height: 100%; overflow: hidden; border-radius: 8px; color: #fff; background: #34463a; }
.home-space-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.home-space-card:hover img { transform: scale(1.025); }
.home-space-shade { position: absolute; inset: 42% 0 0; background: linear-gradient(0deg, rgba(20, 31, 25, .84), rgba(20, 31, 25, 0)); }
.home-space-copy { position: absolute; left: 21px; bottom: 15px; display: flex; flex-direction: column; gap: 4px; text-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.home-space-copy strong { font-size: 19px; font-weight: 500; letter-spacing: 1px; }
.home-space-copy small { color: rgba(255, 255, 255, .92); font-size: 11px; letter-spacing: .4px; }
.home-space-arrow { position: absolute; right: 15px; bottom: 16px; width: 22px; height: 22px; padding: 4px; object-fit: contain; border: 1px solid rgba(255, 255, 255, .75); border-radius: 50%; filter: brightness(0) invert(1); }
.home-space-card img.home-space-arrow { width: 22px; height: 22px; }

.home-services { height: 140px; padding: 3px 35px 12px; background: var(--home-paper); }
.home-services .home-section-title { height: 43px; margin-bottom: 5px; }
.home-services .home-section-title > span { width: 100px; }
.home-services .home-section-title h2 { font-size: 24px; }
.home-service-grid { width: min(1242px, 100%); height: 71px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.home-service-card { min-width: 0; display: flex; align-items: center; gap: 13px; padding: 9px 20px; border: 1px solid #e5dfd4; border-radius: 10px; background: #fbfaf6; }
.home-service-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: none; color: #8c7048; border: 1px solid #e5dece; border-radius: 50%; background: #f5f1e7; }
.home-service-icon img { width: 25px; height: 25px; filter: invert(48%) sepia(14%) saturate(819%) hue-rotate(2deg) brightness(83%) contrast(84%); }
.home-service-card strong { display: block; color: #27352d; font-size: 16px; font-weight: 600; letter-spacing: .5px; }
.home-service-card small { display: block; margin-top: 5px; color: #838276; font-size: 10px; white-space: nowrap; }

.home-membership { height: 220px; padding: 7px 35px 20px; display: grid; grid-template-columns: 1.05fr .98fr 1.38fr; gap: 12px; background: #f4f1e9; }
.home-member-card { min-width: 0; height: 193px; position: relative; overflow: hidden; padding: 21px 18px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid rgba(180, 164, 133, .44); border-radius: 12px; background: #f7f3e9; }
.home-member-card::before { content: ""; position: absolute; z-index: 0; inset: auto 0 0; height: 78px; background: url('/assets/img/ink-mountain-clean.jpg') left 58% / 220px auto no-repeat; opacity: .22; pointer-events: none; }
.home-member-card > * { position: relative; z-index: 1; }
.home-member-card .member-icon { position: absolute; top: 19px; left: 25%; width: 27px; height: 27px; object-fit: contain; filter: invert(48%) sepia(14%) saturate(819%) hue-rotate(2deg) brightness(83%) contrast(84%); }
.home-member-card h2 { margin: 1px 0 4px; color: #1f3028; font-size: 23px; font-weight: 600; letter-spacing: 1px; }
.home-member-card p { margin: 3px 0 13px; color: #49544b; font-size: 13px; letter-spacing: .3px; white-space: nowrap; }
.home-member-card .home-button { min-width: 178px; height: 36px; margin-top: auto; font-size: 12px; }
.home-button-soft { color: #725a36; background: #e7d3ad; }
.home-button-soft:hover { background: #d7bd8d; }
.home-advanced-member { color: #f4efe4; border-color: var(--home-green); background: var(--home-green); }
.home-advanced-member::before { background-position: left 58%; filter: brightness(.45) sepia(.25); opacity: .48; }
.home-advanced-member .member-icon { filter: invert(83%) sepia(22%) saturate(543%) hue-rotate(2deg) brightness(91%) contrast(87%); }
.home-advanced-member h2 { color: #f2eee4; }
.home-advanced-member p { color: #e6e3d8; }
.home-advanced-member .home-button { color: #493a24; background: var(--home-gold-light); }
.home-family-wallet { padding-right: 18px; padding-left: 18px; background: #fbfaf5; }
.home-family-wallet::before { background-position: right bottom; opacity: .16; }
.home-plum-branch { position: absolute; z-index: 0; top: -7px; right: -10px; width: 165px; height: 108px; object-fit: contain; object-position: right top; pointer-events: none; }
.home-family-wallet .member-icon { left: 15%; }
.home-family-wallet h2 { align-self: flex-start; margin-left: 24%; }
.home-family-wallet p { align-self: flex-start; margin-left: 24%; font-size: 12px; }
.home-wallet-levels { width: 100%; margin-top: 2px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.home-wallet-levels span { min-height: 38px; display: grid; place-items: center; color: #53584f; border: 1px solid #e3dccf; border-radius: 7px; background: #fbfaf6; font-size: 11px; }
.home-family-wallet .home-button { min-width: 176px; height: 34px; margin-top: 9px; }

.home-partners { height: 189px; position: relative; overflow: hidden; color: #f5f0e5; background-color: var(--home-green-deep); background-image: linear-gradient(90deg, rgba(20, 55, 44, .98) 0%, rgba(20, 55, 44, .95) 44%, rgba(20, 55, 44, .46) 72%, rgba(20, 55, 44, .12) 100%), url('/assets/img/ink-mountain-clean.jpg'), url('/assets/img/home-partner-backdrop.png'); background-repeat: no-repeat; background-position: center, left bottom, right center; background-size: cover, 330px auto, cover; }
.home-partners::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: linear-gradient(0deg, rgba(16, 48, 39, .45), transparent); pointer-events: none; }
.home-partner-copy { width: min(1242px, calc(100% - 70px)); height: 100%; position: relative; z-index: 1; margin: 0 auto; padding: 33px 34px; display: grid; grid-template-columns: 42px 300px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-content: start; }
.home-partner-icon { grid-row: 1 / span 2; width: 34px; height: 34px; margin-top: 2px; object-fit: contain; filter: invert(83%) sepia(22%) saturate(543%) hue-rotate(2deg) brightness(91%) contrast(87%); }
.home-partner-copy h2 { margin: 0 0 5px; color: #e5cf9f; font-size: 22px; font-weight: 600; letter-spacing: 1px; }
.home-partner-copy p { margin: 0; color: #f3efe5; font-size: 14px; letter-spacing: .5px; }
.home-partner-description { grid-column: 2; margin-top: 12px; color: #dce0d7; font-size: 11px; line-height: 1.8; }
.home-partner-cta { width: 144px; height: 35px; grid-column: 2; margin-top: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #4b3e28; border-radius: 19px; background: var(--home-gold-light); font-size: 12px; }
.home-partner-cta:hover { background: #ead9b6; }
.home-partner-cta img { width: 14px; height: 14px; filter: invert(26%) sepia(22%) saturate(655%) hue-rotate(8deg) brightness(85%) contrast(90%); }

.home-footer { color: rgba(246, 242, 232, .78); background: #15372f; }
.home-footer-main { width: min(1242px, calc(100% - 70px)); min-height: 176px; margin: 0 auto; padding: 30px 0 24px; display: grid; grid-template-columns: 1.05fr 1.2fr 1.35fr 1fr; align-items: start; gap: 32px; }
.home-footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.home-footer-brand-name { color: #f7f1e5; font-size: 22px; font-weight: 600; letter-spacing: 3px; }
.home-footer-brand-subtitle { margin-top: 7px; color: #d9c394; font-size: 11px; letter-spacing: 2px; }
.home-footer-motto { margin-top: 15px; color: rgba(246, 242, 232, .64); font-size: 11px; line-height: 1.8; letter-spacing: .5px; }
.home-footer-nav > strong, .home-footer-address > strong { display: block; margin: 3px 0 14px; color: #e5cf9f; font-size: 13px; font-weight: 500; letter-spacing: 2px; }
.home-footer-nav > div { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 24px; }
.home-footer-nav a { color: rgba(246, 242, 232, .76); font-size: 12px; transition: color .2s; }
.home-footer-nav a:hover { color: #fff; }
.home-footer-address address { max-width: 250px; color: rgba(246, 242, 232, .76); font-size: 12px; font-style: normal; line-height: 1.9; letter-spacing: .4px; }
.home-footer-partner { min-height: 125px; padding: 15px 14px; display: flex; align-items: flex-start; gap: 10px; color: #3c382d; border: 1px solid rgba(230, 211, 170, .72); border-radius: 10px; background: linear-gradient(135deg, #f0e2c5, #ddc390); box-shadow: 0 8px 24px rgba(5, 26, 21, .16); transition: transform .2s, box-shadow .2s; }
.home-footer-partner:hover { transform: translateY(-2px); box-shadow: 0 11px 28px rgba(5, 26, 21, .25); }
.home-footer-partner-icon { width: 31px; height: 31px; flex: none; display: grid; place-items: center; border: 1px solid rgba(91, 72, 41, .25); border-radius: 50%; }
.home-footer-partner-icon img { width: 18px; height: 18px; filter: invert(27%) sepia(18%) saturate(643%) hue-rotate(5deg) brightness(85%) contrast(87%); }
.home-footer-partner-copy { display: flex; flex-direction: column; align-items: flex-start; }
.home-footer-partner-copy small { color: #76613d; font-size: 9px; letter-spacing: 2px; }
.home-footer-partner-copy strong { margin-top: 4px; color: #27382f; font-size: 15px; letter-spacing: 1px; }
.home-footer-partner-copy em { margin-top: 3px; color: #695b42; font-size: 10px; font-style: normal; }
.home-footer-partner-copy b { margin-top: 9px; display: inline-flex; align-items: center; gap: 6px; color: #55452a; font-size: 10px; font-weight: 600; }
.home-footer-partner-copy b img { width: 12px; height: 12px; filter: invert(26%) sepia(22%) saturate(655%) hue-rotate(8deg) brightness(85%) contrast(90%); }
.home-footer-bottom { min-height: 38px; padding: 0 max(35px, calc((100% - 1242px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .13); color: rgba(246, 242, 232, .42); font-size: 10px; letter-spacing: .8px; }

@media (min-width: 1313px) {
    .home-header-inner { padding-right: max(68px, calc((100% - 1176px) / 2)); padding-left: max(68px, calc((100% - 1176px) / 2)); }
}

@media (max-width: 980px) {
    .home-header-inner { padding: 0 24px; }
    .home-brand-icon { width: 38px; height: 28px; }
    .home-brand-name { font-size: 17px; }
    .home-brand-subtitle { font-size: 11px; }
    .home-nav { gap: 18px; margin-right: 24px; }
    .home-nav a { font-size: 12px; }
    .home-header-cta { width: 122px; }
    .home-space-copy { left: 14px; }
    .home-space-copy strong { font-size: 16px; }
    .home-space-copy small { font-size: 9px; }
    .home-service-card { padding: 8px 10px; gap: 9px; }
    .home-service-icon { width: 40px; height: 40px; }
    .home-service-icon i { font-size: 22px; }
    .home-service-card strong { font-size: 14px; }
    .home-service-card small { font-size: 8px; }
    .home-member-card h2 { font-size: 19px; }
    .home-member-card p { font-size: 10px; }
    .home-member-card .member-icon { left: 16%; }
    .home-footer-main { grid-template-columns: 1fr 1fr; gap: 24px; }
    .home-footer-partner { max-width: 280px; }
}

@media (max-width: 700px) {
    .home-header { height: 56px; }
    .home-header-inner { padding: 0 14px; }
    .home-brand { gap: 7px; }
    .home-brand-icon { width: 29px; height: 24px; }
    .home-brand-name { font-size: 14px; letter-spacing: 1px; }
    .home-brand-divider { height: 18px; margin: 0 1px 0 3px; }
    .home-brand-subtitle { font-size: 9px; }
    .home-nav { display: none; }
    .home-header-cta { width: 100px; height: 33px; margin-left: auto; font-size: 11px; }
    .home-hero { height: 330px; }
    .home-hero-image { background-image: url('/assets/img/hero-tea-wide.png'); background-position: 27% center; }
    .home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248, 246, 239, .97), rgba(248, 246, 239, .86) 63%, rgba(248, 246, 239, .08)); }
    .home-hero-copy { z-index: 1; padding: 56px 18px 22px; }
    .home-hero h1 { font-size: clamp(30px, 8vw, 38px); line-height: 1.38; }
    .home-hero-copy > p { max-width: 290px; font-size: 11px; line-height: 1.7; }
    .home-hero-actions { gap: 8px; margin-top: 18px; }
    .home-button { min-width: auto; height: 36px; padding: 0 13px; gap: 6px; font-size: 10px; }
    .home-journey { height: auto; }
    .home-journey-inner { width: 100%; padding: 10px 18px; grid-template-columns: 1fr; }
    .journey-step { min-height: 54px; padding: 7px 8px 7px 45px; position: relative; align-items: flex-start; }
    .journey-icon { position: absolute; top: 9px; left: 8px; width: 27px; height: 27px; }
    .journey-step strong { font-size: 14px; }
    .journey-step small { margin-top: 2px; font-size: 9px; }
    .journey-arrow { display: none; }
    .home-spaces { height: auto; padding: 28px 16px; }
    .home-section-title { height: auto; min-height: 36px; margin-bottom: 16px; gap: 10px; }
    .home-section-title > span { width: 30px; flex: none; }
    .home-section-title h2, .home-services .home-section-title h2 { font-size: 17px; letter-spacing: .5px; white-space: normal; }
    .home-space-grid { height: auto; grid-template-columns: 1fr; gap: 10px; }
    .home-space-card { height: 180px; }
    .home-space-copy strong { font-size: 17px; }
    .home-space-copy small { font-size: 10px; }
    .home-services { height: auto; padding: 24px 16px 30px; }
    .home-services .home-section-title { height: auto; margin-bottom: 14px; }
    .home-service-grid { height: auto; grid-template-columns: 1fr 1fr; gap: 8px; }
    .home-service-card { min-height: 70px; padding: 8px; }
    .home-service-icon { width: 34px; height: 34px; }
    .home-service-icon img { width: 19px; height: 19px; }
    .home-service-card strong { font-size: 12px; }
    .home-service-card small { max-width: 110px; white-space: normal; line-height: 1.4; }
    .home-membership { height: auto; padding: 16px; grid-template-columns: 1fr; gap: 10px; }
    .home-member-card { height: 176px; padding-top: 22px; }
    .home-member-card .member-icon { left: 21%; width: 24px; height: 24px; }
    .home-member-card h2 { font-size: 20px; }
    .home-member-card p { font-size: 11px; }
    .home-family-wallet { height: 210px; }
    .home-plum-branch { width: 125px; height: 88px; }
    .home-family-wallet .member-icon { left: 10%; }
    .home-family-wallet h2, .home-family-wallet p { margin-left: 18%; }
    .home-wallet-levels { gap: 5px; }
    .home-wallet-levels span { min-height: 34px; font-size: 9px; }
    .home-partners { height: 220px; background-position: center, left bottom, right center; background-size: cover, 210px auto, cover; }
    .home-partner-copy { width: 100%; padding: 27px 20px; grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; }
    .home-partner-icon { width: 27px; height: 27px; }
    .home-partner-copy h2 { font-size: 18px; }
    .home-partner-copy p { font-size: 11px; }
    .home-partner-description { grid-column: 2; margin-top: 8px; font-size: 9px; }
    .home-partner-description br { display: none; }
    .home-partner-cta { grid-column: 2; height: 32px; margin-top: 10px; font-size: 10px; }
    .home-footer-main { width: calc(100% - 40px); padding: 25px 0 20px; grid-template-columns: 1fr; gap: 22px; }
    .home-footer-brand-name { font-size: 19px; }
    .home-footer-motto { margin-top: 9px; }
    .home-footer-nav > strong, .home-footer-address > strong { margin: 0 0 11px; }
    .home-footer-nav > div { grid-template-columns: repeat(2, minmax(0, max-content)); gap: 11px 30px; }
    .home-footer-address address { max-width: 100%; font-size: 11px; }
    .home-footer-partner { max-width: none; min-height: 106px; padding: 13px 15px; }
    .home-footer-partner-copy b { margin-top: 7px; }
    .home-footer-bottom { min-height: 42px; padding: 9px 20px; flex-wrap: wrap; font-size: 9px; }
}

/* 可访问性：键盘焦点可见 + 动效降级（P1-3） */
:focus-visible { outline: 2px solid var(--home-gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
