:root {
    --bg: #f6eee6;
    --bg-soft: #fcf7f2;
    --panel: rgba(255, 253, 249, 0.76);
    --panel-strong: rgba(255, 251, 246, 0.92);
    --line: rgba(106, 74, 54, 0.10);
    --line-strong: rgba(106, 74, 54, 0.18);
    --text: #4a3122;
    --text-soft: rgba(74, 49, 34, 0.72);
    --accent: #9c6240;
    --accent-strong: #7f4f33;
    --shadow: 0 26px 60px rgba(95, 64, 45, 0.10);
    --surface-glow: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.42), transparent 38%), radial-gradient(circle at 78% 18%, rgba(156, 98, 64, 0.08), transparent 34%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.74) 0%, rgba(244, 236, 227, 0.96) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

body::after {
    content: "";
    position: fixed;
    inset: -24px;
    background: url('./bg.jpg') center center / cover no-repeat;
    filter: blur(18px) brightness(1.16) contrast(1.08) saturate(1.02);
    transform: scale(1.06);
    opacity: 0.22;
    pointer-events: none;
    z-index: -3;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(106, 74, 54, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(106, 74, 54, 0.02) 1px, transparent 1px),
        var(--surface-glow);
    background-size: 48px 48px, 48px 48px, auto;
    pointer-events: none;
    opacity: 0.52;
    z-index: -2;
}

#cursor-dot,
#cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

#cursor-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent-strong);
}

#cursor-ring {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(127, 79, 51, 0.32);
    transition: width 0.18s ease, height 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

body.is-hovering #cursor-ring {
    width: 52px;
    height: 52px;
    background: rgba(127, 79, 51, 0.06);
    border-color: rgba(127, 79, 51, 0.55);
}

main {
    width: min(1120px, calc(100% - 64px));
    margin: 0 auto;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.top-nav:hover,
.solid-nav {
    background: rgba(255, 252, 248, 0.78);
    backdrop-filter: blur(18px);
    border-color: var(--line);
}

.brand-mark {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    color: var(--text);
}

.brand-en {
    font-size: 15px;
    letter-spacing: 0.28em;
    font-weight: 600;
}

.brand-cn {
    font-size: 12px;
    color: var(--text-soft);
    letter-spacing: 0.12em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a,
.nav-inline-btn,
.text-link,
.icon-btn,
.nav-toggle,
.modal-close {
    color: var(--text);
}

.nav-links a,
.nav-inline-btn {
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: transparent;
    border: none;
    font-family: inherit;
    position: relative;
    padding-bottom: 6px;
}

.nav-links a::after,
.nav-inline-btn::after,
.text-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.22s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after,
.nav-inline-btn:hover::after,
.text-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.62);
    border-radius: 999px;
}

.nav-toggle {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    width: 16px;
    height: 1px;
    background: currentColor;
    display: block;
}

.hero-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
    position: relative;
    padding: 140px 0 72px;
}

.glass-card,
.modal-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 251, 246, 0.56));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.hero-content {
    position: relative;
    max-width: 900px;
    padding: 0;
    border-radius: 0;
}

.teaser-hero {
    display: grid;
    gap: 18px;
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 12px;
    margin-bottom: 18px;
}

h1,
h2,
h3,
strong {
    font-weight: 600;
}

#hero-title {
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 12ch;
    min-height: 2.2em;
}

#hero-title::after {
    content: "|";
    display: inline-block;
    margin-left: 8px;
    color: var(--accent);
    animation: blink 0.8s infinite;
}

#hero-title.is-complete::after {
    opacity: 0;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.hero-copy,
.hero-minor,
.section-copy,
.feature-card p,
.story-card p,
.visit-card p,
.news-item p,
.news-detail-body p,
.modal-list span {
    color: var(--text-soft);
    line-height: 1.85;
}

.hero-copy {
    max-width: 58ch;
    margin-top: 8px;
    font-size: 17px;
}

.hero-minor {
    max-width: 62ch;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: var(--accent);
}

.hero-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 40px;
}

.hero-stats li,
.feature-card,
.story-card,
.visit-card,
.news-item,
.news-detail {
    border-radius: 24px;
}

.hero-stats li {
    padding: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.44);
}

.hero-stats strong {
    display: block;
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--accent-strong);
}

.hero-stats span {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.6;
}

.section-block {
    padding: 48px 0 32px;
}

.section-heading {
    max-width: 860px;
    margin-bottom: 28px;
}

.section-heading h2,
.news-hero h1 {
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.row-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.text-link {
    display: inline-block;
    text-decoration: none;
    position: relative;
    padding-bottom: 6px;
}

.flavor-grid,
.visit-grid,
.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.story-card,
.visit-card,
.news-item,
.news-detail,
.news-sidebar {
    padding: 26px;
}

.card-index {
    color: var(--accent-strong);
    font-size: 13px;
    letter-spacing: 0.22em;
}

.feature-card h3,
.story-card h3,
.visit-card h3,
.modal-panel h2,
.news-item h3,
.news-detail h2 {
    font-size: 24px;
    margin: 14px 0 10px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 20px;
    align-items: start;
}

.story-stack {
    display: grid;
    gap: 18px;
}

.home-news-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-item {
    display: block;
    width: 100%;
    text-align: left;
    text-decoration: none;
    color: inherit;
    background: transparent;
    border: 1px solid transparent;
    font: inherit;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.news-item:hover,
.news-item.is-active,
.feature-card:hover,
.story-card:hover,
.visit-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 241, 0.64));
}

.news-meta,
.news-tags,
.visit-list span,
.visit-list strong {
    font-size: 13px;
}

.news-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--accent);
    flex-wrap: wrap;
}

.news-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.news-tags span,
.filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--text-soft);
}

.visit-list {
    list-style: none;
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.visit-list li {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.emphasis-card {
    background: linear-gradient(180deg, rgba(228, 185, 143, 0.14), rgba(255, 255, 255, 0.22));
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.footer-links a,
.footer-links span,
.footer-meta {
    color: var(--text-soft);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text);
}

.news-main {
    padding-top: 108px;
}

.news-layout {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.news-sidebar {
    position: sticky;
    top: 104px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.filter-chip {
    background: rgba(255, 255, 255, 0.54);
    font-family: inherit;
}

.filter-chip.is-active {
    background: rgba(156, 98, 64, 0.14);
    border-color: rgba(156, 98, 64, 0.3);
    color: var(--text);
}

.news-list {
    display: grid;
    gap: 14px;
}

.news-list .news-item h3 {
    font-size: 18px;
}

.news-detail {
    min-height: 520px;
}

.news-detail-header {
    margin-bottom: 22px;
}

.news-detail-body {
    display: grid;
    gap: 16px;
}

.site-footer {
    width: min(1120px, calc(100% - 64px));
    margin: 0 auto;
    padding: 36px 0 42px;
    color: var(--text-soft);
    font-size: 14px;
}

@media (max-width: 980px) {
    * {
        cursor: auto;
    }

    #cursor-dot,
    #cursor-ring {
        display: none;
    }

    main,
    .site-footer {
        width: min(100%, calc(100% - 28px));
    }

    .top-nav {
        width: 100%;
        padding: 0 14px;
        height: 72px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 82px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 24px;
        background: var(--panel-strong);
        backdrop-filter: blur(20px);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a,
    .nav-inline-btn {
        padding: 14px 10px;
        text-align: left;
    }

    .feature-card,
    .story-card,
    .visit-card,
    .news-item,
    .news-detail,
    .news-sidebar {
        padding: 22px;
    }

    .hero-stats,
    .flavor-grid,
    .home-news-list,
    .visit-grid,
    .preview-grid,
    .split-layout,
    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        position: static;
    }

    #hero-title {
        max-width: none;
        font-size: clamp(34px, 10vw, 56px);
    }

    .row-heading {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding-top: 92px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-link,
    .secondary-link {
        width: 100%;
    }

    .brand-en {
        font-size: 13px;
    }

    .brand-cn,
    .nav-links a,
    .nav-inline-btn,
    .hero-copy,
    .section-copy {
        font-size: 13px;
    }
}