:root {
            --tea: #8C6239;
            --tea-dark: #75502E;
            --tea-darker: #5E3F25;
            --matcha: #7B8B5E;
            --cream: #F7F3EC;
            --coffee: #2E241E;
            --amber: #C8A063;
            --ink: #3D322B;
            --ink-soft: #8C8076;
            --card: #FDFBF7;
            --border: #DDD2C5;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
            background: var(--cream);
            color: var(--ink);
            line-height: 1.75;
            -webkit-font-smoothing: antialiased;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            color: var(--tea);
            text-decoration: none;
            transition: color .2s ease;
        }

        a:hover {
            color: var(--tea-dark);
        }

        h1,
        h2,
        h3,
        h4 {
            font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', serif;
        }

        button,
        input,
        select,
        textarea {
            font-family: inherit;
        }

        input:focus-visible,
        select:focus-visible,
        textarea:focus-visible,
        button:focus-visible,
        a:focus-visible {
            outline: 2px solid var(--amber);
            outline-offset: 2px;
            border-radius: 4px;
        }

        .container-x {
            max-width: 1200px;
            margin: 0 auto;
            padding-left: 1.25rem;
            padding-right: 1.25rem;
        }

        @media (max-width: 640px) {
            .container-x {
                padding-left: 1rem;
                padding-right: 1rem;
            }
        }

        /* nav underline animation */
        .nav-link {
            position: relative;
            padding: 0.25rem 0;
            color: var(--ink);
            font-weight: 500;
            font-size: 0.925rem;
            transition: color .2s ease;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 0;
            height: 2px;
            background: var(--tea);
            border-radius: 2px;
            transition: width .25s ease;
        }
        .nav-link:hover {
            color: var(--tea);
        }
        .nav-link:hover::after {
            width: 100%;
        }
        .nav-link.active {
            color: var(--tea);
        }
        .nav-link.active::after {
            width: 100%;
        }

        /* pulse dot */
        .status-dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--matcha);
            position: relative;
        }
        .status-dot::after {
            content: '';
            position: absolute;
            inset: -3px;
            border-radius: 50%;
            border: 2px solid rgba(123, 139, 94, .5);
            animation: pulse-ring 2s infinite;
        }
        @keyframes pulse-ring {
            0% { transform: scale(.6); opacity: 1; }
            100% { transform: scale(1.4); opacity: 0; }
        }

        /* VS badge */
        .vs-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: var(--tea-600, #75502E);
            color: #fff;
            font-weight: 700;
            font-size: 1.125rem;
            font-family: 'Noto Serif SC', serif;
            box-shadow: 0 8px 24px rgba(46, 36, 30, .35);
            border: 3px solid var(--card);
            letter-spacing: .05em;
            z-index: 2;
        }

        /* progress bar */
        .progress-track {
            background: rgba(255, 255, 255, .12);
            border-radius: 999px;
            height: 8px;
            overflow: hidden;
        }
        .progress-fill {
            height: 100%;
            border-radius: 999px;
            background: linear-gradient(90deg, #8C6239, var(--amber));
            width: 82%;
            transition: width .6s ease;
        }

        /* faq item */
        .faq-item {
            border-bottom: 1px solid var(--border);
        }
        .faq-item:first-child {
            border-top: 1px solid var(--border);
        }
        .faq-question {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 1.25rem 0;
            cursor: pointer;
            background: none;
            border: none;
            width: 100%;
            text-align: left;
        }
        .faq-question .q-icon {
            flex-shrink: 0;
            width: 32px;
            height: 32px;
            border: 1.5px solid var(--tea);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--tea);
            font-weight: 600;
            font-size: .875rem;
        }
        .faq-question .q-text {
            flex: 1;
            font-size: 1rem;
            font-weight: 600;
            color: var(--ink);
            font-family: 'Noto Serif SC', serif;
            line-height: 1.5;
        }
        .faq-question .q-toggle {
            font-size: 1.25rem;
            color: var(--tea);
            transition: transform .3s ease;
            font-weight: 400;
            line-height: 1;
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height .35s ease;
        }
        .faq-answer-inner {
            padding: 0 0 1.25rem 48px;
            color: #5B4F47;
            font-size: .9375rem;
            line-height: 1.8;
        }
        .faq-item.open .q-toggle {
            transform: rotate(45deg);
        }

        /* card hover */
        .hover-lift {
            transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        }
        .hover-lift:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(46, 36, 30, .1);
            border-color: var(--tea-200, #DDC7B5);
        }

        /* cover image zoom */
        .img-zoom {
            overflow: hidden;
        }
        .img-zoom img {
            transition: transform .4s ease;
        }
        .img-zoom:hover img {
            transform: scale(1.03);
        }

        /* mobile menu */
        #mobile-menu {
            display: none;
        }
        #mobile-menu.open {
            display: block;
        }

        /* hamburger icon */
        .hamburger-line {
            transition: all .25s ease;
        }
        .hamburger-active .hamburger-line:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }
        .hamburger-active .hamburger-line:nth-child(2) {
            opacity: 0;
        }
        .hamburger-active .hamburger-line:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        /* hero background */
        .hero-bg {
            background-image: linear-gradient(90deg, rgba(247, 243, 236, .96) 0%, rgba(247, 243, 236, .82) 45%, rgba(247, 243, 236, .35) 100%),
                url('/assets/images/backpic/back-1.jpg');
            background-size: cover;
            background-position: center;
        }

        /* origin background */
        .origin-bg {
            background-image: linear-gradient(135deg, rgba(247, 243, 236, .95) 0%, rgba(247, 243, 236, .75) 100%),
                url('/assets/images/backpic/back-2.jpg');
            background-size: cover;
            background-position: center;
        }

        /* book background */
        .book-bg {
            background-image: linear-gradient(135deg, rgba(46, 36, 30, .96) 0%, rgba(46, 36, 30, .88) 100%),
                url('/assets/images/backpic/back-3.jpg');
            background-size: cover;
            background-position: center;
        }

        /* search */
        .cmd-search {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #F3EDE4;
            border-radius: 8px;
            padding: 0.375rem 0.75rem;
            border: 1px solid transparent;
            transition: border-color .2s ease, box-shadow .2s ease;
            width: 200px;
        }
        .cmd-search:focus-within {
            border-color: var(--amber);
            box-shadow: 0 0 0 3px rgba(200, 160, 99, .25);
        }
        .cmd-search input {
            background: transparent;
            border: none;
            outline: none;
            width: 100%;
            font-size: .875rem;
            color: var(--ink);
        }
        .cmd-search input::placeholder {
            color: #B5A99B;
        }
        .kbd {
            background: rgba(0, 0, 0, .06);
            border-radius: 4px;
            padding: 1px 6px;
            font-size: .75rem;
            color: #8C8076;
            border: 1px solid rgba(0, 0, 0, .08);
            font-family: ui-monospace, monospace;
        }

        /* quick icon btn */
        .icon-btn {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            border: 1.5px solid var(--border);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--tea);
            background: transparent;
            transition: all .2s ease;
            cursor: pointer;
        }
        .icon-btn:hover {
            border-color: var(--tea);
            color: var(--tea);
            box-shadow: 0 0 0 3px rgba(140, 98, 57, .12);
        }

        /* badge pill */
        .badge-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            border-radius: 999px;
            padding: 0.25rem 0.875rem;
            font-size: .8125rem;
            font-weight: 500;
            letter-spacing: .02em;
        }

        /* form field */
        .form-field {
            width: 100%;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: #fff;
            padding: 0.625rem 0.875rem;
            font-size: .9375rem;
            color: var(--ink);
            transition: border-color .2s ease, box-shadow .2s ease;
        }
        .form-field:focus {
            outline: none;
            border-color: var(--tea);
            box-shadow: 0 0 0 3px rgba(140, 98, 57, .15);
        }
        .form-field::placeholder {
            color: #B5A99B;
        }

        /* primary button */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: var(--tea);
            color: #fff;
            border-radius: 8px;
            padding: 0.75rem 1.5rem;
            font-weight: 500;
            font-size: .9375rem;
            border: none;
            cursor: pointer;
            transition: all .2s ease;
        }
        .btn-primary:hover {
            background: var(--tea-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(140, 98, 57, .3);
            color: #fff;
        }
        .btn-primary:active {
            transform: scale(.98);
        }

        /* secondary button */
        .btn-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: transparent;
            color: var(--tea);
            border-radius: 8px;
            padding: 0.75rem 1.5rem;
            font-weight: 500;
            font-size: .9375rem;
            border: 1.5px solid var(--tea);
            cursor: pointer;
            transition: all .2s ease;
        }
        .btn-secondary:hover {
            background: rgba(140, 98, 57, .08);
            transform: translateY(-2px);
        }
        .btn-secondary:active {
            transform: scale(.98);
        }

        /* text link with arrow */
        .link-arrow {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            color: var(--tea);
            font-weight: 500;
            font-size: .9375rem;
            transition: gap .2s ease;
        }
        .link-arrow:hover {
            gap: 8px;
            color: var(--tea-dark);
        }
        .link-arrow svg {
            transition: transform .2s ease;
        }
        .link-arrow:hover svg {
            transform: translateX(4px);
        }

        /* news list style */
        .news-item {
            padding: 1rem 0;
            border-bottom: 1px solid var(--border);
            transition: padding-left .2s ease;
        }
        .news-item:hover {
            padding-left: 8px;
        }
        .news-item:last-child {
            border-bottom: none;
        }
        .news-date {
            font-size: .8125rem;
            color: var(--ink-soft);
            letter-spacing: .02em;
            font-variant-numeric: tabular-nums;
        }
        .news-title {
            font-size: 1rem;
            font-weight: 600;
            color: var(--ink);
            font-family: 'Noto Serif SC', serif;
            transition: color .2s ease;
        }
        .news-title:hover {
            color: var(--tea);
        }
        .news-summary {
            font-size: .875rem;
            color: var(--ink-soft);
            line-height: 1.6;
            margin-top: 2px;
        }

        /* testimonial bubble */
        .t-bubble {
            position: relative;
            padding: 1.5rem;
            border-radius: 12px;
            border: 1px solid var(--border);
            background: var(--card);
            transition: all .2s ease;
        }
        .t-bubble::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 32px;
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid var(--card);
        }
        .t-bubble:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 24px rgba(46, 36, 30, .08);
        }

        .avatar-placeholder {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--tea), var(--amber));
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 600;
            font-size: .875rem;
        }

        /* footer */
        .footer-link {
            color: rgba(255, 255, 255, .7);
            transition: color .2s ease;
            font-size: .875rem;
        }
        .footer-link:hover {
            color: var(--amber);
        }

        /* section label */
        .sec-label {
            display: inline-block;
            padding: 0.25rem 0.875rem;
            border-radius: 999px;
            background: rgba(200, 160, 99, .15);
            color: var(--tea);
            font-size: .8125rem;
            font-weight: 500;
            letter-spacing: .04em;
        }

        /* data panel */
        .data-panel {
            background: var(--coffee);
            border-radius: 16px;
            padding: 1.5rem;
            box-shadow: 0 20px 50px rgba(46, 36, 30, .35);
            border: 1px solid rgba(255, 255, 255, .06);
        }
        .data-grid-item {
            background: rgba(255, 255, 255, .05);
            border-radius: 12px;
            padding: 1rem;
            border: 1px solid rgba(255, 255, 255, .04);
        }
        .data-num {
            font-size: clamp(1.75rem, 2.5vw, 2.5rem);
            font-weight: 700;
            color: var(--amber);
            font-family: 'Noto Serif SC', serif;
            line-height: 1.2;
        }
        .data-label {
            color: rgba(255, 255, 255, .7);
            font-size: .8125rem;
            margin-top: 4px;
            letter-spacing: .02em;
        }

        .float-badge {
            background: var(--card);
            border: 1px solid var(--tea-200, #DDC7B5);
            border-radius: 8px;
            padding: 0.375rem 0.75rem;
            font-size: .8125rem;
            color: var(--tea);
            box-shadow: 0 6px 16px rgba(46, 36, 30, .12);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        /* responsive */
        @media (max-width: 767px) {
            .desktop-nav {
                display: none;
            }
            .mobile-nav-toggle {
                display: flex;
            }
            .cmd-search {
                display: none;
            }
            .vs-badge {
                display: none;
            }
        }

        @media (min-width: 768px) {
            .mobile-nav-toggle {
                display: none;
            }
        }

        @media (max-width: 520px) {
            .hero-bg {
                background-image: linear-gradient(180deg, rgba(247, 243, 236, .96) 0%, rgba(247, 243, 236, .85) 100%),
                    url('/assets/images/backpic/back-1.jpg');
            }
            .data-panel {
                padding: 1rem;
            }
            .data-grid-item {
                padding: .75rem;
            }
        }
