/* === Theme CSS variables === */
    :root {
      --bg: #FFFBF5;
      --bg2: #FFF5EB;
      --bg3: #F5EDE3;
      --ink: #1A0F0A;
      --muted: #7A6B5D;
      --rule: #E0D5C8;
      --accent: #C41E3A;
      --accent2: #D4A017;
      --accent3: #2E6B4F;
      --font: 'Noto Sans CJK SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
      --font-serif: 'Noto Serif CJK SC', 'Songti SC', 'STSong', 'SimSun', serif;
      --max: 1200px;
    }

    .lang-switcher{position:relative;margin-left:1rem}.lang-btn{background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.2);color:#fff;padding:0.4rem 0.9rem;border-radius:6px;font-size:0.85rem;cursor:pointer;display:flex;align-items:center;gap:0.4rem;transition:all 0.2s}.lang-btn:hover{background:rgba(255,255,255,0.2)}.lang-dropdown{position:absolute;top:calc(100% + 0.5rem);right:0;background:rgba(26,15,10,0.98);border:1px solid rgba(196,30,58,0.3);border-radius:8px;padding:0.5rem;min-width:160px;display:none;flex-direction:column;gap:0.15rem;z-index:1001;box-shadow:0 8px 30px rgba(0,0,0,0.4)}.lang-dropdown.open{display:flex}.lang-option{padding:0.5rem 0.75rem;border-radius:6px;color:rgba(255,255,255,0.8);font-size:0.85rem;cursor:pointer;transition:all 0.15s;display:flex;align-items:center;gap:0.5rem;text-decoration:none}.lang-option:hover,.lang-option.active{background:rgba(196,30,58,0.25);color:#fff}.lang-flag{font-size:1rem}@media(max-width:768px){.lang-switcher{margin-left:0;margin-top:0.5rem}.lang-dropdown{right:auto;left:0}}

    /* === Base styles === */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { font-size: 16px; scroll-behavior: smooth; }
    body {
      font-family: var(--font);
      color: var(--ink);
      background: var(--bg);
      line-height: 1.8;
      padding: 0;
      overflow-x: hidden;
    }

    /* === Navigation === */
    .site-nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: rgba(26, 15, 10, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(196, 30, 58, 0.3);
      transition: all 0.3s ease;
    }
    .nav-inner {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
      color: #fff;
    }
    .nav-logo-icon {
      width: 40px;
      height: 40px;
      background: transparent;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .nav-logo-icon svg { display: block; width: 100%; height: 100%; }
    .nav-logo-text {
      font-family: var(--font-serif);
      font-size: 1.25rem;
      font-weight: 700;
      letter-spacing: 0.05em;
    }
    .nav-logo-sub {
      font-size: 0.65rem;
      color: var(--accent2);
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 0.25rem;
      list-style: none;
    }
    .nav-links a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      padding: 0.5rem 0.68rem;
      border-radius: 6px;
      font-size: 0.86rem;
      transition: all 0.2s;
      white-space: nowrap;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: #fff;
      background: rgba(196, 30, 58, 0.3);
    }
    .nav-mobile-toggle {
      display: none;
      background: none;
      border: none;
      color: #fff;
      font-size: 1.5rem;
      cursor: pointer;
      padding: 0.5rem;
    }

    /* === Hero Section === */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
    }
    .hero-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(26, 15, 10, 0.5) 0%,
        rgba(26, 15, 10, 0.3) 40%,
        rgba(26, 15, 10, 0.6) 70%,
        rgba(26, 15, 10, 0.95) 100%
      );
      z-index: 1;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      max-width: 800px;
      padding: 2rem;
    }
    .hero-badge {
      display: inline-block;
      padding: 0.4rem 1.2rem;
      border: 1px solid var(--accent2);
      border-radius: 100px;
      color: var(--accent2);
      font-size: 0.85rem;
      letter-spacing: 0.15em;
      margin-bottom: 1.5rem;
      background: rgba(212, 160, 23, 0.1);
    }
    .hero h1 {
      font-family: var(--font-serif);
      font-size: clamp(2.5rem, 6vw, 4.5rem);
      font-weight: 700;
      color: #fff;
      line-height: 1.2;
      margin-bottom: 1rem;
      text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    }
    .hero h1 span {
      background: linear-gradient(135deg, var(--accent2), #F0C75E);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero-subtitle {
      font-size: clamp(1rem, 2vw, 1.25rem);
      color: rgba(255,255,255,0.85);
      line-height: 1.8;
      margin-bottom: 2.5rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    .hero-actions {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.85rem 2rem;
      border-radius: 8px;
      font-size: 1rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.25s;
      cursor: pointer;
      border: none;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--accent), #E0294A);
      color: #fff;
      box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 25px rgba(196, 30, 58, 0.5);
    }
    .btn-secondary {
      background: rgba(255,255,255,0.1);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.3);
    }
    .btn-secondary:hover {
      background: rgba(255,255,255,0.2);
      border-color: rgba(255,255,255,0.5);
    }
    .hero-scroll {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      color: rgba(255,255,255,0.5);
      font-size: 0.8rem;
      text-align: center;
      animation: float 2s ease-in-out infinite;
    }
    .hero-scroll-arrow {
      display: block;
      width: 20px;
      height: 20px;
      margin: 0.5rem auto 0;
      border-right: 2px solid rgba(255,255,255,0.4);
      border-bottom: 2px solid rgba(255,255,255,0.4);
      transform: rotate(45deg);
    }
    @keyframes float {
      0%, 100% { transform: translateX(-50%) translateY(0); }
      50% { transform: translateX(-50%) translateY(8px); }
    }

    /* === Stats Bar === */
    .stats-bar {
      background: var(--ink);
      padding: 3rem 2rem;
    }
    .stats-inner {
      max-width: var(--max);
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
    }
    .stat-item {
      text-align: center;
    }
    .stat-number {
      font-family: var(--font-serif);
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--accent2);
      line-height: 1;
      margin-bottom: 0.5rem;
    }
    .stat-label {
      font-size: 0.9rem;
      color: rgba(255,255,255,0.7);
    }

    /* === Section Common === */
    .section {
      padding: 5rem 2rem;
    }
    .section-inner {
      max-width: var(--max);
      margin: 0 auto;
    }
    .section-header {
      text-align: center;
      margin-bottom: 3.5rem;
    }
    .section-tag {
      display: inline-block;
      font-size: 0.8rem;
      letter-spacing: 0.15em;
      color: var(--accent);
      text-transform: uppercase;
      margin-bottom: 0.75rem;
      font-weight: 600;
    }
    .section-title {
      font-family: var(--font-serif);
      font-size: clamp(1.8rem, 3.5vw, 2.5rem);
      font-weight: 700;
      color: var(--ink);
      line-height: 1.3;
      margin-bottom: 1rem;
    }
    .section-desc {
      font-size: 1.05rem;
      color: var(--muted);
      max-width: 650px;
      margin: 0 auto;
      line-height: 1.8;
    }
    .section-divider {
      width: 60px;
      height: 3px;
      background: linear-gradient(90deg, var(--accent), var(--accent2));
      margin: 1rem auto 0;
      border-radius: 2px;
    }

    /* === History Section === */
    .history-section {
      background: var(--bg);
    }
    .history-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }
    .history-image {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 30px rgba(26, 15, 10, 0.12);
    }
    .history-image img {
      width: 100%;
      height: auto;
      display: block;
    }
    .history-content h3 {
      font-family: var(--font-serif);
      font-size: 1.5rem;
      color: var(--ink);
      margin-bottom: 1rem;
    }
    .history-content p {
      color: var(--muted);
      margin-bottom: 1.5rem;
      line-height: 1.8;
    }
    .timeline {
      position: relative;
      padding-left: 2rem;
    }
    .timeline::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(to bottom, var(--accent), var(--accent2));
    }
    .timeline-item {
      position: relative;
      padding-bottom: 1.5rem;
    }
    .timeline-item::before {
      content: '';
      position: absolute;
      left: -2rem;
      top: 0.35rem;
      width: 10px;
      height: 10px;
      background: var(--accent);
      border-radius: 50%;
      transform: translateX(-4px);
      box-shadow: 0 0 0 3px var(--bg);
    }
    .timeline-year {
      font-family: var(--font-serif);
      font-size: 0.9rem;
      color: var(--accent);
      font-weight: 700;
      margin-bottom: 0.25rem;
    }
    .timeline-text {
      font-size: 0.95rem;
      color: var(--muted);
    }
    /* 宽屏下时间线分两列，避免右侧内容远高于左侧配图 */
    @media (min-width: 900px) {
      .timeline {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(9, auto);
        grid-auto-flow: column;
        column-gap: 2.4rem;
        padding-left: 1.4rem;
      }
      .timeline::before { display: none; }
      .timeline-item {
        padding-left: 1.5rem;
        padding-bottom: 1rem;
      }
      .timeline-item::after {
        content: '';
        position: absolute;
        left: 0; top: 0; bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, rgba(196,30,58,.8), rgba(212,160,23,.65));
      }
      .timeline-item::before {
        left: 0;
        top: 0.32rem;
        transform: translateX(-4px);
      }
    }

    /* === Culture Section === */
    .culture-section {
      background: var(--bg2);
    }
    .culture-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }
    .culture-grid.reverse {
      direction: rtl;
    }
    .culture-grid.reverse > * {
      direction: ltr;
    }
    .culture-image {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 30px rgba(26, 15, 10, 0.12);
    }
    .culture-image img {
      width: 100%;
      height: auto;
      display: block;
    }
    .culture-content h3 {
      font-family: var(--font-serif);
      font-size: 1.5rem;
      color: var(--ink);
      margin-bottom: 1rem;
    }
    .culture-content p {
      color: var(--muted);
      margin-bottom: 1.5rem;
      line-height: 1.8;
    }
    .culture-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .culture-tag {
      padding: 0.35rem 1rem;
      background: var(--bg);
      border: 1px solid var(--rule);
      border-radius: 100px;
      font-size: 0.85rem;
      color: var(--muted);
      transition: all 0.2s;
    }
    .culture-tag:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(196, 30, 58, 0.05);
    }

    /* === Cards Grid === */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      margin-top: 3rem;
    }
    .card {
      background: var(--bg);
      border: 1px solid var(--rule);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s;
    }
    .card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(26, 15, 10, 0.1);
      border-color: var(--accent);
    }
    .card-img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    .card-body {
      padding: 1.5rem;
    }
    .card-title {
      font-family: var(--font-serif);
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 0.5rem;
    }
    .card-text {
      font-size: 0.9rem;
      color: var(--muted);
      line-height: 1.7;
    }
    .card-link {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      margin-top: 1rem;
      font-size: 0.9rem;
      color: var(--accent);
      text-decoration: none;
      font-weight: 600;
      transition: gap 0.2s;
    }
    .card-link:hover {
      gap: 0.6rem;
    }

    /* === Culture Cards: clickable === */
    .card-enter {
      cursor: pointer;
      position: relative;
    }
    .card-enter:hover {
      transform: translateY(-4px);
      border-color: rgba(196, 30, 58, 0.35);
      box-shadow: 0 18px 40px -22px rgba(26, 15, 10, 0.45);
    }
    .card-enter:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
    }
    .card-enter:hover .card-link {
      gap: 0.6rem;
    }

    /* === Culture Detail Modal === */
    .culture-modal[hidden] { display: none; }
    .culture-modal {
      position: fixed;
      inset: 0;
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem 1.25rem;
    }
    .culture-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(26, 15, 10, 0.62);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      animation: cmFade 0.25s ease both;
    }
    .culture-modal-panel {
      position: relative;
      display: flex;
      flex-direction: column;
      width: min(900px, 100%);
      max-height: 88vh;
      background: var(--bg);
      border: 1px solid var(--accent2);
      border-radius: 8px;
      box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.65);
      overflow: hidden;
      animation: cmUp 0.3s cubic-bezier(0.22, 0.8, 0.3, 1) both;
    }
    .culture-modal-panel::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--accent), var(--accent2));
      z-index: 2;
    }
    .culture-modal-close {
      position: absolute;
      top: 0.9rem;
      right: 0.9rem;
      z-index: 3;
      width: 2.3rem;
      height: 2.3rem;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--rule);
      border-radius: 50%;
      background: rgba(255, 251, 245, 0.95);
      color: var(--muted);
      font-size: 1.35rem;
      line-height: 1;
      cursor: pointer;
      transition: all 0.2s;
    }
    .culture-modal-close:hover {
      color: var(--accent);
      border-color: var(--accent);
      background: #fff;
    }
    .culture-modal-scroll {
      overflow-y: auto;
      overscroll-behavior: contain;
      padding: 2.8rem 3.2rem 3rem;
      -webkit-overflow-scrolling: touch;
    }
    body.cm-open { overflow: hidden; }

    .culture-article[hidden] { display: none; }
    .culture-article .ca-tag {
      font-size: 0.7rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--accent2);
      margin-bottom: 0.5rem;
    }
    .culture-article .ca-title {
      font-family: var(--font-serif);
      font-size: 2rem;
      font-weight: 700;
      color: var(--ink);
      line-height: 1.3;
      margin-bottom: 0.75rem;
    }
    .culture-article .ca-lead {
      font-size: 1rem;
      line-height: 1.95;
      color: #4a3629;
      padding-left: 1rem;
      border-left: 3px solid var(--accent2);
      margin-bottom: 0.5rem;
    }
    .ca-block h3 {
      font-family: var(--font-serif);
      font-size: 1.12rem;
      font-weight: 700;
      color: var(--ink);
      margin: 1.9rem 0 0.55rem;
      padding-left: 0.7rem;
      border-left: 3px solid var(--accent);
    }
    .ca-block p {
      font-size: 0.94rem;
      line-height: 1.95;
      color: #3a2b20;
      margin-bottom: 0.65rem;
    }
    .ca-list {
      list-style: none;
      margin: 0.35rem 0 0.9rem;
    }
    .ca-list li {
      position: relative;
      padding-left: 1.1rem;
      margin-bottom: 0.35rem;
      font-size: 0.92rem;
      line-height: 1.85;
      color: #3a2b20;
    }
    .ca-list li::before {
      content: '\25C6';
      position: absolute;
      left: 0;
      top: 0.02rem;
      font-size: 0.55rem;
      color: var(--accent2);
    }
    .ca-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin: 0.8rem 0 0.4rem;
    }
    .ca-chips span {
      font-size: 0.78rem;
      padding: 0.22rem 0.75rem;
      border: 1px solid rgba(196, 30, 58, 0.25);
      border-radius: 999px;
      color: var(--accent);
      background: rgba(196, 30, 58, 0.04);
    }
    .ca-figures {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 0.9rem;
      margin: 1.1rem 0 0.5rem;
    }
    .ca-figure {
      background: var(--bg2);
      border: 1px solid var(--rule);
      border-radius: 8px;
      padding: 0.8rem 0.9rem;
    }
    .ca-figure strong {
      font-family: var(--font-serif);
      font-size: 1rem;
      color: var(--accent);
    }
    .ca-figure em {
      display: block;
      font-style: normal;
      font-size: 0.72rem;
      color: var(--muted);
      margin: 0.15rem 0 0.4rem;
      letter-spacing: 0.02em;
    }
    .ca-figure p {
      font-size: 0.8rem;
      line-height: 1.65;
      color: var(--muted);
      margin: 0;
    }
    .ca-quote {
      margin: 1.9rem 0 0.4rem;
      padding: 1rem 1.2rem;
      background: linear-gradient(135deg, rgba(212, 160, 23, 0.08), rgba(196, 30, 58, 0.05));
      border-left: 3px solid var(--accent2);
      font-family: var(--font-serif);
      font-size: 1rem;
      line-height: 1.95;
      color: #4a3526;
    }
    .ca-quote cite {
      display: block;
      margin-top: 0.45rem;
      font-size: 0.75rem;
      font-style: normal;
      color: var(--muted);
      text-align: right;
    }
    @keyframes cmFade {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    @keyframes cmUp {
      from { opacity: 0; transform: translateY(26px) scale(0.985); }
      to { opacity: 1; transform: none; }
    }
    @media (max-width: 640px) {
      .culture-modal { padding: 0.75rem; }
      .culture-modal-panel { max-height: 92vh; }
      .culture-modal-scroll { padding: 2.2rem 1.3rem 2rem; }
      .culture-article .ca-title { font-size: 1.55rem; }
      .culture-article .ca-lead { font-size: 0.92rem; padding-left: 0.8rem; }
      .ca-figures { grid-template-columns: repeat(2, 1fr); }
    }
    @media (prefers-reduced-motion: reduce) {
      .culture-modal-backdrop, .culture-modal-panel { animation: none; }
    }

    /* === Tech Section === */
    .tech-section {
      background: var(--bg);
    }
    .tech-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }
    .tech-image {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 30px rgba(26, 15, 10, 0.12);
    }
    .tech-image img {
      width: 100%;
      height: auto;
      display: block;
    }
    .tech-content h3 {
      font-family: var(--font-serif);
      font-size: 1.5rem;
      color: var(--ink);
      margin-bottom: 1rem;
    }
    .tech-content p {
      color: var(--muted);
      margin-bottom: 1.5rem;
      line-height: 1.8;
    }
    .tech-list {
      list-style: none;
    }
    .tech-list li {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      padding: 0.75rem 0;
      border-bottom: 1px solid var(--rule);
      font-size: 0.95rem;
      color: var(--muted);
    }
    .tech-list li:last-child {
      border-bottom: none;
    }
    .tech-icon {
      width: 32px;
      height: 32px;
      min-width: 32px;
      background: linear-gradient(135deg, var(--accent3), #3D8B6A);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 0.9rem;
      font-weight: 700;
    }

    /* === Heritage Section === */
    .heritage-section {
      background: var(--bg2);
    }
    .heritage-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }
    .heritage-grid.reverse {
      direction: rtl;
    }
    .heritage-grid.reverse > * {
      direction: ltr;
    }
    .heritage-image {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 30px rgba(26, 15, 10, 0.12);
    }
    .heritage-image img {
      width: 100%;
      height: auto;
      display: block;
    }
    .heritage-content h3 {
      font-family: var(--font-serif);
      font-size: 1.5rem;
      color: var(--ink);
      margin-bottom: 1rem;
    }
    .heritage-content p {
      color: var(--muted);
      margin-bottom: 1.5rem;
      line-height: 1.8;
    }

    /* === Role Models Section === */
    .rolemodels-section {
      background: var(--bg);
    }
    .rolemodels-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }
    .rolemodels-image {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 30px rgba(26, 15, 10, 0.12);
    }
    .rolemodels-image img {
      width: 100%;
      height: auto;
      display: block;
    }
    .rolemodels-content h3 {
      font-family: var(--font-serif);
      font-size: 1.5rem;
      color: var(--ink);
      margin-bottom: 1rem;
    }
    .rolemodels-content p {
      color: var(--muted);
      margin-bottom: 1.5rem;
      line-height: 1.8;
    }

    /* === People Cards === */
    .people-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
      margin-top: 3rem;
    }
    .people-card {
      background: var(--bg);
      border: 1px solid var(--rule);
      border-radius: 12px;
      padding: 2rem 1.5rem;
      text-align: center;
      transition: all 0.3s;
    }
    .people-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(26, 15, 10, 0.1);
      border-color: var(--accent2);
    }
    .people-avatar {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      margin: 0 auto 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      font-weight: 700;
      color: #fff;
      overflow: hidden;
      flex-shrink: 0;
    }
    .people-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
      display: block;
      background: var(--bg2);
    }
    .people-name {
      font-family: var(--font-serif);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 0.25rem;
    }
    .people-title {
      font-size: 0.8rem;
      color: var(--accent);
      margin-bottom: 0.75rem;
    }
    .people-desc {
      font-size: 0.85rem;
      color: var(--muted);
      line-height: 1.6;
    }

    /* === Food Section === */
    .food-section {
      background: var(--bg);
    }
    .food-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }
    .food-image {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 30px rgba(26, 15, 10, 0.12);
    }
    .food-image img {
      width: 100%;
      height: auto;
      display: block;
    }
    .food-content h3 {
      font-family: var(--font-serif);
      font-size: 1.5rem;
      color: var(--ink);
      margin-bottom: 1rem;
    }
    .food-content p {
      color: var(--muted);
      margin-bottom: 1.5rem;
      line-height: 1.8;
    }
    .food-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1.5rem;
    }
    .food-tag {
      padding: 0.35rem 1rem;
      background: var(--bg2);
      border: 1px solid var(--rule);
      border-radius: 100px;
      font-size: 0.85rem;
      color: var(--muted);
      transition: all 0.2s;
    }
    .food-tag:hover {
      border-color: var(--accent);
      color: var(--accent);
    }
    .food-menu {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }
    .food-menu-item {
      background: var(--bg2);
      border: 1px solid var(--rule);
      border-radius: 10px;
      padding: 1.25rem;
      transition: all 0.25s;
    }
    .food-menu-item:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(26, 15, 10, 0.08);
      border-color: var(--accent2);
    }
    .food-menu-item h4 {
      font-family: var(--font-serif);
      font-size: 1rem;
      color: var(--ink);
      margin-bottom: 0.35rem;
    }
    .food-menu-item p {
      font-size: 0.8rem;
      color: var(--muted);
      margin: 0;
      line-height: 1.5;
    }

    /* === Merchant Section === */
    .merchant-section {
      background: var(--bg2);
    }
    .merchant-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }
    .merchant-grid.reverse {
      direction: rtl;
    }
    .merchant-grid.reverse > * {
      direction: ltr;
    }
    .merchant-image {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 30px rgba(26, 15, 10, 0.12);
    }
    .merchant-image img {
      width: 100%;
      height: auto;
      display: block;
    }
    .merchant-content h3 {
      font-family: var(--font-serif);
      font-size: 1.5rem;
      color: var(--ink);
      margin-bottom: 1rem;
    }
    .merchant-content p {
      color: var(--muted);
      margin-bottom: 1.5rem;
      line-height: 1.8;
    }
    .merchant-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 3rem;
    }
    .merchant-card {
      background: var(--bg);
      border: 1px solid var(--rule);
      border-radius: 12px;
      padding: 1.75rem 1.25rem;
      text-align: center;
      transition: all 0.3s;
    }
    .merchant-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(26, 15, 10, 0.1);
      border-color: var(--accent2);
    }
    .merchant-avatar {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      margin: 0 auto 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      font-weight: 700;
      color: #fff;
      overflow: hidden;
      flex-shrink: 0;
    }
    .merchant-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
      display: block;
      background: var(--bg2);
    }
    .merchant-name {
      font-family: var(--font-serif);
      font-size: 1rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 0.25rem;
    }
    .merchant-title {
      font-size: 0.78rem;
      color: var(--accent);
      margin-bottom: 0.6rem;
    }
    .merchant-desc {
      font-size: 0.82rem;
      color: var(--muted);
      line-height: 1.55;
    }

    /* === Roots Section === */
    .roots-section {
      background: var(--bg);
    }
    .roots-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }
    .roots-image {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 30px rgba(26, 15, 10, 0.12);
    }
    .roots-image img {
      width: 100%;
      height: auto;
      display: block;
    }
    .roots-content h3 {
      font-family: var(--font-serif);
      font-size: 1.5rem;
      color: var(--ink);
      margin-bottom: 1rem;
    }
    .roots-content p {
      color: var(--muted);
      margin-bottom: 1.5rem;
      line-height: 1.8;
    }
    .roots-stories {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
      margin-top: 3rem;
    }
    .root-card {
      background: var(--bg2);
      border: 1px solid var(--rule);
      border-radius: 12px;
      padding: 1.75rem;
      transition: all 0.3s;
      position: relative;
    }
    .root-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 40px rgba(26, 15, 10, 0.1);
    }
    .root-card::before {
      content: '\201C';
      position: absolute;
      top: 0.75rem;
      right: 1.25rem;
      font-family: var(--font-serif);
      font-size: 3.5rem;
      color: var(--accent2);
      opacity: 0.2;
      line-height: 1;
    }
    .root-category {
      display: inline-block;
      padding: 0.2rem 0.75rem;
      background: rgba(196, 30, 58, 0.08);
      color: var(--accent);
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 600;
      margin-bottom: 0.6rem;
    }
    .root-title {
      font-family: var(--font-serif);
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 0.6rem;
    }
    .root-text {
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.65;
      margin-bottom: 0.75rem;
    }
    .root-meta {
      font-size: 0.78rem;
      color: var(--rule);
    }

    /* === Heroes Section === */
    .heroes-section {
      background: var(--bg2);
    }
    .heroes-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }
    .heroes-grid.reverse {
      direction: rtl;
    }
    .heroes-grid.reverse > * {
      direction: ltr;
    }
    .heroes-image {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 30px rgba(26, 15, 10, 0.12);
    }
    .heroes-image img {
      width: 100%;
      height: auto;
      display: block;
    }
    .heroes-content h3 {
      font-family: var(--font-serif);
      font-size: 1.5rem;
      color: var(--ink);
      margin-bottom: 1rem;
    }
    .heroes-content p {
      color: var(--muted);
      margin-bottom: 1.5rem;
      line-height: 1.8;
    }
    .heroes-cards {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
      margin-top: 3rem;
    }
    .hero-card {
      background: var(--bg);
      border: 1px solid var(--rule);
      border-radius: 12px;
      padding: 1.75rem 1.25rem;
      text-align: center;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
    }
    .hero-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(26, 15, 10, 0.1);
      border-color: var(--accent);
    }
    .hero-card::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--accent), var(--accent2));
    }
    .hero-avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      margin: 0 auto 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      font-weight: 700;
      color: #fff;
      font-family: var(--font-serif);
      overflow: hidden;
      flex-shrink: 0;
    }
    .hero-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
      display: block;
      background: var(--bg2);
    }
    .hero-card-name {
      font-family: var(--font-serif);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 0.2rem;
    }
    .hero-card-era {
      font-size: 0.72rem;
      color: var(--accent);
      margin-bottom: 0.5rem;
      font-weight: 600;
    }
    .hero-card-desc {
      font-size: 0.8rem;
      color: var(--muted);
      line-height: 1.55;
    }

    /* === Stories Section === */
    .stories-section {
      background: var(--bg2);
    }
    .stories-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
      margin-top: 3rem;
    }
    .story-card {
      background: var(--bg);
      border: 1px solid var(--rule);
      border-radius: 12px;
      padding: 2rem;
      transition: all 0.3s;
      position: relative;
    }
    .story-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 40px rgba(26, 15, 10, 0.1);
    }
    .story-card::before {
      content: '\201C';
      position: absolute;
      top: 1rem;
      right: 1.5rem;
      font-family: var(--font-serif);
      font-size: 4rem;
      color: var(--accent2);
      opacity: 0.2;
      line-height: 1;
    }
    .story-category {
      display: inline-block;
      padding: 0.2rem 0.75rem;
      background: rgba(196, 30, 58, 0.08);
      color: var(--accent);
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
    }
    .story-title {
      font-family: var(--font-serif);
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 0.75rem;
    }
    .story-text {
      font-size: 0.9rem;
      color: var(--muted);
      line-height: 1.7;
      margin-bottom: 1rem;
    }
    .story-meta {
      font-size: 0.8rem;
      color: var(--rule);
    }

    /* === CTA Section === */
    .cta-section {
      background: linear-gradient(135deg, var(--ink) 0%, #2A1A12 100%);
      padding: 5rem 2rem;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .cta-section::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle at 30% 50%, rgba(196, 30, 58, 0.1) 0%, transparent 50%),
                  radial-gradient(circle at 70% 50%, rgba(212, 160, 23, 0.08) 0%, transparent 50%);
    }
    .cta-content {
      position: relative;
      z-index: 1;
      max-width: 700px;
      margin: 0 auto;
    }
    .cta-section h2 {
      font-family: var(--font-serif);
      font-size: clamp(1.8rem, 3.5vw, 2.5rem);
      color: #fff;
      margin-bottom: 1rem;
    }
    .cta-section p {
      color: rgba(255,255,255,0.7);
      font-size: 1.05rem;
      margin-bottom: 2rem;
      line-height: 1.8;
    }
    .cta-actions {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* === Footer === */
    .site-footer {
      background: var(--ink);
      padding: 4rem 2rem 2rem;
      color: rgba(255,255,255,0.6);
    }
    .footer-inner {
      max-width: var(--max);
      margin: 0 auto;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 3rem;
      margin-bottom: 3rem;
    }
    .footer-brand h3 {
      font-family: var(--font-serif);
      font-size: 1.3rem;
      color: #fff;
      margin-bottom: 0.75rem;
    }
    .footer-brand p {
      font-size: 0.9rem;
      line-height: 1.7;
      max-width: 300px;
    }
    .footer-col h4 {
      font-size: 0.9rem;
      color: #fff;
      margin-bottom: 1rem;
      font-weight: 600;
    }
    .footer-col ul {
      list-style: none;
    }
    .footer-col li {
      margin-bottom: 0.5rem;
    }
    .footer-col a {
      color: rgba(255,255,255,0.5);
      text-decoration: none;
      font-size: 0.85rem;
      transition: color 0.2s;
    }
    .footer-col a:hover {
      color: var(--accent2);
    }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      font-size: 0.8rem;
    }
    .footer-bottom a {
      color: rgba(255,255,255,0.4);
      text-decoration: none;
    }
    .footer-bottom a:hover {
      color: var(--accent2);
    }

    /* === Feature Icons (SVG inline) === */
    .feature-icon {
      width: 48px;
      height: 48px;
      margin-bottom: 1rem;
    }

    /* === Responsive === */
    @media (max-width: 1024px) {
      .cards-grid { grid-template-columns: repeat(2, 1fr); }
      .people-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 1120px) {
      .nav-links { display: none; }
      .nav-mobile-toggle { display: block; }
      .nav-links.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        background: rgba(26, 15, 10, 0.98);
        padding: 1rem;
        border-bottom: 1px solid rgba(196, 30, 58, 0.3);
        gap: 0;
      }
      .nav-links.open > li { width: 100%; }
      .nav-links.open > li > a {
        display: block;
        width: 100%;
        padding: .72rem 1rem;
        font-size: .95rem;
      }
      .nav-links.open > li > a::after { display: none; }
    }
    @media (max-width: 768px) {
      .history-grid,
      .culture-grid,
      .tech-grid,
      .heritage-grid,
      .rolemodels-grid,
      .food-grid,
      .merchant-grid,
      .roots-grid,
      .heroes-grid {
        grid-template-columns: 1fr;
      }
      .culture-grid.reverse,
      .heritage-grid.reverse,
      .merchant-grid.reverse,
      .heroes-grid.reverse {
        direction: ltr;
      }
      .food-menu,
      .roots-stories {
        grid-template-columns: 1fr;
      }
      .merchant-cards {
        grid-template-columns: repeat(2, 1fr);
      }
      .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
      }
      .cards-grid { grid-template-columns: 1fr; }
      .people-grid { grid-template-columns: repeat(2, 1fr); }
      .stories-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .section { padding: 3rem 1.5rem; }
      .hero h1 { font-size: 2.2rem; }
    }
    @media (max-width: 480px) {
      .stats-inner { grid-template-columns: 1fr 1fr; }
      .people-grid { grid-template-columns: 1fr; }
      .merchant-cards { grid-template-columns: 1fr; }
      .heroes-cards { grid-template-columns: repeat(2, 1fr); }
      .hero-actions { flex-direction: column; align-items: center; }
    }

:root {
      --gold-1: #8C6A0B;
      --gold-2: #B8860B;
      --gold-3: #D4A017;
      --gold-4: #F0CE72;
      --gold-5: #FBE9B0;
      --gold-line: linear-gradient(90deg, rgba(212,160,23,0), rgba(212,160,23,.75), rgba(212,160,23,0));
      --gold-fill: linear-gradient(135deg, #C49A2E 0%, #E8C158 28%, #F7E3A1 50%, #E0B449 72%, #A97C15 100%);
      --frame-bg: linear-gradient(150deg, #FFFDF8 0%, #F8EDDB 42%, #EFDFC4 100%);
      --shadow-deep: 0 26px 60px -24px rgba(26, 15, 10, .38);
      --lattice: repeating-linear-gradient(45deg, rgba(212,160,23,.055) 0 1px, transparent 1px 16px),
                 repeating-linear-gradient(-45deg, rgba(212,160,23,.055) 0 1px, transparent 1px 16px);
    }

    /* ---------- 全局质感 ---------- */
    body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
    ::selection { background: rgba(196,30,58,.88); color: #fff; }
    ::-webkit-scrollbar { width: 10px; }
    ::-webkit-scrollbar-track { background: #F1E6D6; }
    ::-webkit-scrollbar-thumb {
      background: linear-gradient(180deg, #C41E3A, #D4A017);
      border-radius: 10px; border: 2px solid #F1E6D6;
    }
    ::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #E0294A, #F0CE72); }

    /* 宣纸纤维纹理 */
    body::after {
      content: ''; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
      opacity: .55; mix-blend-mode: multiply;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
    }

    /* 顶部阅读进度 */
    .scroll-progress {
      position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1200;
      background: var(--gold-fill);
      box-shadow: 0 0 12px rgba(212,160,23,.75);
      transition: width .12s linear;
    }

    section[id] { scroll-margin-top: 74px; }

    /* ---------- 导航 ---------- */
    .site-nav {
      background: linear-gradient(180deg, rgba(26,15,10,.97), rgba(20,11,7,.9));
      transition: height .3s ease, box-shadow .3s ease, background .3s ease;
    }
    .site-nav::after {
      content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
      background: var(--gold-line);
    }
    .site-nav.scrolled {
      box-shadow: 0 14px 34px -14px rgba(0,0,0,.8);
      background: linear-gradient(180deg, rgba(20,11,7,.99), rgba(20,11,7,.95));
    }
    .nav-inner { transition: height .3s ease; }
    .site-nav.scrolled .nav-inner { height: 56px; }

    .nav-logo-icon {
      border-radius: 4px;
      background: transparent;
      box-shadow: 0 4px 12px rgba(0,0,0,.35);
      transition: transform .35s cubic-bezier(.2,.7,.2,1);
    }
    .nav-logo:hover .nav-logo-icon { transform: scale(1.06); }
    .nav-logo-text {
      background: linear-gradient(180deg, #FFFFFF 0%, #EAD8A9 100%);
      -webkit-background-clip: text; background-clip: text;
      color: transparent;
    }
    .nav-links a { position: relative; }
    .nav-links a::after {
      content: ''; position: absolute; left: 50%; bottom: 1px; width: 0; height: 2px;
      background: var(--gold-fill); border-radius: 2px;
      transform: translateX(-50%); transition: width .28s ease;
    }
    .nav-links a:hover::after, .nav-links a.active::after { width: 58%; }
    .nav-links a:hover, .nav-links a.active {
      background: transparent; color: var(--gold-4);
      text-shadow: 0 0 14px rgba(212,160,23,.45);
    }

    /* ---------- Hero ---------- */
    .hero-bg img {
      animation: heroKen 28s ease-in-out infinite alternate;
      will-change: transform;
    }
    @keyframes heroKen {
      from { transform: scale(1) translate3d(0, 0, 0); }
      to   { transform: scale(1.08) translate3d(1.2%, -1.6%, 0); }
    }
    .hero-overlay {
      background:
        radial-gradient(ellipse at 50% 44%, rgba(26,15,10,0) 0%, rgba(26,15,10,.32) 60%, rgba(26,15,10,.86) 100%),
        linear-gradient(to bottom,
          rgba(26,15,10,.55) 0%,
          rgba(26,15,10,.24) 40%,
          rgba(26,15,10,.55) 72%,
          rgba(26,15,10,.97) 100%);
    }
    /* 金色边角框 */
    .hero::before, .hero::after {
      content: ''; position: absolute; z-index: 2; pointer-events: none;
      width: clamp(90px, 12vw, 170px); height: clamp(90px, 12vw, 170px);
      border: 1px solid rgba(212,160,23,.38);
    }
    .hero::before {
      left: clamp(14px, 3vw, 44px); top: clamp(74px, 11vh, 124px);
      border-right: none; border-bottom: none;
    }
    .hero::after {
      right: clamp(14px, 3vw, 44px); bottom: clamp(26px, 6vh, 64px);
      border-left: none; border-top: none;
    }

    .hero-content > * { animation: heroIn .95s cubic-bezier(.2,.7,.2,1) both; }
    .hero-badge { animation-delay: .12s; }
    .hero h1 { animation-delay: .26s; }
    .hero-actions { animation-delay: .42s; }
    @keyframes heroIn {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: none; }
    }

    .hero-badge {
      background: rgba(26,15,10,.35);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      border-color: rgba(212,160,23,.62);
      color: var(--gold-4);
      letter-spacing: .34em;
      box-shadow: inset 0 0 26px rgba(212,160,23,.14);
    }
    .hero h1 {
      letter-spacing: .035em;
      text-shadow: 0 4px 42px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.08);
    }
    .hero h1 span {
      background-image: var(--gold-fill);
      background-size: 220% auto;
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent;
      filter: drop-shadow(0 6px 20px rgba(212,160,23,.35));
      animation: goldShimmer 7s linear infinite;
    }
    @keyframes goldShimmer {
      0%   { background-position: 0% 50%; }
      100% { background-position: 200% 50%; }
    }
    .hero h1::after {
      content: ''; display: block; width: 168px; height: 2px;
      margin: 1.5rem auto 0;
      background: var(--gold-line);
    }
    .hero-subtitle { color: rgba(255,255,255,.86); letter-spacing: .02em; }

    /* 侧边竖排题字 */
    .hero-vertical {
      position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
      writing-mode: vertical-rl;
      font-family: var(--font-serif);
      font-size: clamp(.72rem, 1vw, .92rem);
      letter-spacing: .55em;
      color: rgba(255,255,255,.34);
      text-shadow: 0 2px 14px rgba(0,0,0,.65);
      user-select: none; pointer-events: none;
    }
    .hero-vertical.left { left: clamp(22px, 3.6vw, 62px); }
    .hero-vertical.right { right: clamp(22px, 3.6vw, 62px); }

    /* 按钮质感 */
    .btn { border-radius: 4px; letter-spacing: .1em; }
    .btn-primary {
      background: linear-gradient(135deg, #C41E3A 0%, #9E1730 55%, #C41E3A 100%);
      box-shadow: 0 12px 28px -12px rgba(196,30,58,.8), inset 0 1px 0 rgba(255,255,255,.18);
      position: relative; overflow: hidden;
    }
    .btn-primary::after {
      content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
      background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
      transform: skewX(-18deg); transition: left .65s ease;
    }
    .btn-primary:hover::after { left: 125%; }
    .btn-secondary {
      background: rgba(26,15,10,.35);
      backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
      border-color: rgba(212,160,23,.6);
      color: var(--gold-4);
    }
    .btn-secondary:hover {
      background: rgba(212,160,23,.16);
      border-color: var(--gold-3);
      color: #fff;
    }

    /* ---------- 数据栏 ---------- */
    .stats-bar {
      position: relative;
      padding: 3.4rem 2rem;
      background: linear-gradient(180deg, #170C07, #25130A 50%, #170C07);
      border-top: 1px solid rgba(212,160,23,.32);
      border-bottom: 1px solid rgba(212,160,23,.32);
    }
    .stats-bar::before {
      content: ''; position: absolute; inset: 0;
      background-image: var(--lattice); opacity: .9; pointer-events: none;
    }
    .stats-inner { position: relative; }
    .stat-item { position: relative; padding: 0 1rem; }
    .stat-item + .stat-item::before {
      content: ''; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px;
      background: linear-gradient(180deg, transparent, rgba(212,160,23,.55), transparent);
    }
    .stat-number {
      font-size: 2.9rem;
      background: var(--gold-fill);
      -webkit-background-clip: text; background-clip: text;
      color: transparent;
      filter: drop-shadow(0 4px 16px rgba(212,160,23,.28));
      letter-spacing: .01em;
    }
    .stat-label { letter-spacing: .16em; font-size: .8rem; color: rgba(255,255,255,.6); }

    /* ---------- 区块 ---------- */
    .section { position: relative; overflow: hidden; }
    .section::before {
      content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
      width: min(92%, 1120px); height: 1px;
      background: var(--gold-line); opacity: .75;
    }
    .history-section, .tech-section, .food-section, .roots-section {
      background-image: var(--lattice);
    }
    .culture-section, .heritage-section, .heroes-section,
    .stories-section, .merchant-section, .rolemodels-section {
      background-image: radial-gradient(circle at 50% 0, rgba(212,160,23,.07), transparent 58%);
    }

    .section-tag {
      position: relative;
      display: inline-block;
      padding: 0 .95rem;
      font-size: .72rem;
      letter-spacing: .4em;
      color: var(--accent);
    }
    .section-tag::before, .section-tag::after {
      content: ''; position: absolute; top: 50%; width: 30px; height: 1px;
    }
    .section-tag::before {
      right: 100%;
      background: linear-gradient(90deg, transparent, rgba(196,30,58,.55));
    }
    .section-tag::after {
      left: 100%;
      background: linear-gradient(90deg, rgba(196,30,58,.55), transparent);
    }
    .section-title { letter-spacing: .045em; }
    .section-desc { font-size: 1.02rem; }

    /* 花饰分隔线 */
    .section-divider {
      position: relative;
      width: 190px; height: 12px;
      margin: 1.35rem auto 0;
      background: none; border-radius: 0;
    }
    .section-divider::before {
      content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
      background: var(--gold-line);
    }
    .section-divider::after {
      content: ''; position: absolute; left: 50%; top: 50%;
      width: 7px; height: 7px;
      transform: translate(-50%, -50%) rotate(45deg);
      background: var(--accent2);
      box-shadow: 0 0 0 3px rgba(212,160,23,.15);
    }

    /* ---------- 图片画框 ---------- */
    :is(.history-image, .heroes-image, .culture-image, .tech-image, .heritage-image,
        .rolemodels-image, .food-image, .merchant-image, .roots-image) {
      position: relative;
      padding: 11px;
      background: var(--frame-bg);
      border: 1px solid rgba(180,140,60,.48);
      border-radius: 3px;
      box-shadow: var(--shadow-deep), inset 0 0 0 1px rgba(255,255,255,.78);
      overflow: hidden;
      transition: box-shadow .5s ease, transform .5s ease;
    }
    :is(.history-image, .heroes-image, .culture-image, .tech-image, .heritage-image,
        .rolemodels-image, .food-image, .merchant-image, .roots-image)::before {
      content: ''; position: absolute; inset: 5px; z-index: 2;
      border: 1px solid rgba(212,160,23,.35);
      pointer-events: none;
    }
    :is(.history-image, .heroes-image, .culture-image, .tech-image, .heritage-image,
        .rolemodels-image, .food-image, .merchant-image, .roots-image) img {
      width: 100%; height: auto; display: block;
      border-radius: 1px;
      transition: transform .85s cubic-bezier(.2,.7,.2,1), filter .5s ease;
    }
    :is(.history-image, .heroes-image, .culture-image, .tech-image, .heritage-image,
        .rolemodels-image, .food-image, .merchant-image, .roots-image):hover img {
      transform: scale(1.035);
      filter: saturate(1.06) contrast(1.02);
    }

    /* ---------- 人物/内容卡片 ---------- */
    :is(.card, .people-card, .hero-card, .merchant-card, .story-card, .root-card, .food-menu-item) {
      background: linear-gradient(180deg, #FFFDF9 0%, #FBF2E4 100%);
      border: 1px solid rgba(212,160,23,.3);
      box-shadow: 0 14px 34px -24px rgba(26,15,10,.4);
      transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    }
    :is(.card, .people-card, .hero-card, .merchant-card, .story-card, .root-card, .food-menu-item):hover {
      transform: translateY(-6px);
      border-color: rgba(196,30,58,.4);
      box-shadow: 0 28px 54px -26px rgba(26,15,10,.45),
                  inset 0 0 0 1px rgba(212,160,23,.22);
    }
    :is(.people-avatar, .hero-avatar, .merchant-avatar) {
      box-shadow: 0 0 0 3px #FFFBF5,
                  0 0 0 4px rgba(212,160,23,.55),
                  0 10px 22px -10px rgba(26,15,10,.55);
    }
    :is(.people-name, .hero-card-name, .merchant-name, .story-title, .root-title, .food-menu-item h4) {
      letter-spacing: .02em;
    }
    :is(.people-title, .hero-card-era) { letter-spacing: .05em; }

    /* 标签 */
    :is(.culture-tag, .food-tag) {
      background: #FFFDF8;
      border-color: rgba(212,160,23,.35);
      letter-spacing: .03em;
      transition: all .25s ease;
    }
    :is(.culture-tag, .food-tag):hover {
      border-color: var(--accent);
      background: #fff;
      box-shadow: 0 8px 18px -10px rgba(196,30,58,.45);
      transform: translateY(-1px);
    }

    /* 时间轴 */
    .timeline::before {
      background: linear-gradient(to bottom, var(--accent), var(--accent2), var(--accent3));
    }
    .timeline-item::before {
      box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgba(212,160,23,.22);
    }
    .timeline-year { letter-spacing: .06em; }
    .tech-list li { border-bottom: 1px dashed rgba(212,160,23,.35); }
    .tech-icon {
      background: linear-gradient(135deg, #2E6B4F, #1E4A36);
      box-shadow: 0 7px 16px -8px rgba(46,107,79,.7);
    }

    /* ---------- CTA ---------- */
    .cta-section {
      background: linear-gradient(135deg, #1A0F0A 0%, #2B130B 48%, #170C07 100%);
      border-top: 1px solid rgba(212,160,23,.3);
    }
    .cta-section::after {
      content: '華';
      position: absolute; right: 5%; top: 50%;
      transform: translateY(-50%) rotate(-6deg);
      font-family: var(--font-serif);
      font-size: clamp(8rem, 18vw, 16rem);
      line-height: 1;
      color: rgba(196,30,58,.07);
      pointer-events: none;
    }
    html:not([lang="zh-CN"]):not([lang="zh-TW"]) .cta-section::after { content: 'H'; }
    .cta-section h2 { letter-spacing: .05em; }
    .cta-section h2::after {
      content: ''; display: block; width: 130px; height: 1px;
      margin: 1.25rem auto 0;
      background: var(--gold-line);
    }

    /* ---------- 页脚 ---------- */
    .site-footer {
      position: relative;
      background: linear-gradient(180deg, #170C07, #0E0705);
      border-top: 1px solid rgba(212,160,23,.26);
    }
    .site-footer::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: var(--gold-line);
    }
    .footer-brand h3 {
      background: var(--gold-fill);
      -webkit-background-clip: text; background-clip: text;
      color: transparent;
      letter-spacing: .06em;
    }
    .footer-seal {
      display: inline-flex; align-items: center; justify-content: center;
      width: 112px; height: 38px; margin-bottom: .9rem;
      background: transparent;
      border-radius: 4px;
      box-shadow: 0 7px 18px -7px rgba(0,0,0,.5);
    }
    .footer-seal svg { display: block; width: 100%; height: 100%; }
    .footer-col h4 {
      position: relative; padding-bottom: .55rem;
      letter-spacing: .08em;
    }
    .footer-col h4::after {
      content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 1px;
      background: linear-gradient(90deg, var(--accent2), transparent);
    }
    .footer-col a { transition: color .2s ease, padding-left .2s ease; }
    .footer-col a:hover { padding-left: 4px; color: var(--gold-4); }

    /* ---------- 入场动效 ---------- */
    .reveal {
      opacity: 0; transform: translateY(26px);
      transition: opacity .85s cubic-bezier(.2,.7,.2,1),
                  transform .85s cubic-bezier(.2,.7,.2,1);
      transition-delay: var(--d, 0ms);
    }
    .reveal.visible { opacity: 1; transform: none; }

    /* ============================================================
       美工增强 · 第二层：祥云光晕 / 章节数字 / 悬浮微粒 / 回顶印章
       ============================================================ */

    /* 区块远景光晕（月轮） */
    .section > .section-inner { position: relative; z-index: 1; }
    .section::after {
      content: ''; position: absolute; z-index: 0; pointer-events: none;
      right: -6%; bottom: -10%;
      width: clamp(260px, 32vw, 440px); height: clamp(260px, 32vw, 440px);
      border-radius: 50%;
      background: radial-gradient(circle at 50% 50%,
        rgba(212,160,23,.13), rgba(212,160,23,.04) 46%, transparent 70%);
      filter: blur(2px);
    }
    .section:nth-of-type(even)::after { right: auto; left: -6%; }

    /* 章节中文数字水印 */
    .section-header { position: relative; }
    .section-num {
      position: absolute; z-index: -1; top: -0.92em; left: 50%;
      transform: translateX(-50%);
      font-family: var(--font-serif);
      font-size: clamp(3rem, 6.6vw, 5rem);
      line-height: 1;
      letter-spacing: .04em;
      color: rgba(196,30,58,.14);
      user-select: none; pointer-events: none;
      white-space: nowrap;
    }

    /* Hero 金色浮尘 */
    .hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
    .hero-particles span {
      position: absolute; bottom: -12px;
      width: 3px; height: 3px; border-radius: 50%;
      background: radial-gradient(circle, #FBE9B0 0%, #D4A017 55%, rgba(212,160,23,0) 72%);
      opacity: 0;
      animation: moteUp linear infinite;
    }
    @keyframes moteUp {
      0%   { transform: translate3d(0, 0, 0) scale(.55); opacity: 0; }
      14%  { opacity: .9; }
      78%  { opacity: .45; }
      100% { transform: translate3d(var(--dx, 24px), -92vh, 0) scale(1.2); opacity: 0; }
    }

    /* Hero 滚动指示 */
    .hero-scroll span:first-child { letter-spacing: .28em; color: rgba(255,255,255,.55); }
    .hero-scroll-arrow {
      border-color: rgba(212,160,23,.75);
      filter: drop-shadow(0 0 8px rgba(212,160,23,.45));
    }

    /* 语言切换金箔化 */
    .lang-btn {
      background: rgba(212,160,23,.10);
      border-color: rgba(212,160,23,.42);
      color: #EAD8A9;
    }
    .lang-btn:hover { background: rgba(212,160,23,.2); border-color: var(--gold-3); color: #fff; }
    .lang-dropdown {
      border-color: rgba(212,160,23,.4);
      box-shadow: 0 20px 44px -16px rgba(0,0,0,.8),
                  inset 0 0 0 1px rgba(212,160,23,.12);
    }
    .lang-option:hover, .lang-option.active {
      background: linear-gradient(90deg, rgba(196,30,58,.34), rgba(212,160,23,.16));
      color: #fff;
    }

    /* 导航分组下拉（精简为两大主题） */
    .nav-group { position: relative; }
    .nav-group-btn {
      display: inline-flex; align-items: center; gap: .42rem;
      background: none; border: 0; cursor: pointer;
      font-family: inherit; font-size: .86rem; letter-spacing: .05em;
      color: rgba(255,255,255,.82);
      padding: .5rem .68rem; border-radius: 6px;
      white-space: nowrap;
      transition: color .2s, background .2s;
    }
    .nav-group-btn .caret {
      width: 0; height: 0;
      border-left: 4px solid transparent;
      border-right: 4px solid transparent;
      border-top: 5px solid currentColor;
      opacity: .6;
      transition: transform .25s, opacity .2s;
    }
    .nav-group-btn:hover,
    .nav-group.open > .nav-group-btn,
    .nav-group.has-active > .nav-group-btn {
      color: #fff; background: rgba(196,30,58,.3);
    }
    .nav-group-btn:hover .caret,
    .nav-group.open .caret { transform: rotate(180deg); opacity: .9; }

    .nav-sub {
      position: absolute; top: calc(100% + 8px); left: 50%;
      min-width: 172px; padding: .45rem; margin: 0;
      list-style: none;
      background: linear-gradient(165deg, rgba(28,17,12,.985), rgba(34,21,14,.975));
      border: 1px solid rgba(212,160,23,.35);
      border-radius: 8px;
      box-shadow: 0 22px 44px -18px rgba(0,0,0,.85),
                  inset 0 0 0 1px rgba(255,255,255,.04);
      opacity: 0; visibility: hidden; pointer-events: none;
      transform: translate(-50%, 6px);
      transition: opacity .22s ease, transform .22s ease, visibility .22s;
      z-index: 60;
    }
    .nav-sub::before {
      content: ''; position: absolute; top: -1px; left: 16%; right: 16%; height: 1px;
      background: var(--gold-line);
    }
    .nav-group:hover .nav-sub,
    .nav-group.open .nav-sub {
      opacity: 1; visibility: visible; pointer-events: auto;
      transform: translate(-50%, 0);
    }
    .nav-sub a {
      display: block; padding: .55rem .85rem; border-radius: 5px;
      font-size: .86rem; color: rgba(255,255,255,.72);
      white-space: nowrap;
    }
    .nav-sub a::after { display: none; }
    .nav-sub a:hover,
    .nav-sub a.active {
      color: #fff;
      background: linear-gradient(90deg, rgba(196,30,58,.4), rgba(212,160,23,.12));
    }

    .lang-switcher { flex: 0 0 auto; }
    .lang-btn { white-space: nowrap; flex-shrink: 0; }
    .lang-btn #langLabel { white-space: nowrap; }

    @media (max-width: 1240px) and (min-width: 1121px) {
      .nav-links { gap: 0; }
      .nav-links a,
      .nav-group-btn { padding: .5rem .5rem; font-size: .8rem; letter-spacing: .02em; }
    }

    @media (max-width: 1120px) {
      .nav-links.open .nav-group { width: 100%; }
      .nav-group-btn { width: 100%; justify-content: space-between; padding: .72rem 1rem; font-size: .95rem; }
      .nav-sub {
        position: static; transform: none; min-width: 0; width: 100%;
        display: none; opacity: 1; visibility: visible; pointer-events: auto;
        background: rgba(255,255,255,.035);
        border: 0; box-shadow: none;
        padding: .15rem 0 .3rem .7rem;
      }
      .nav-sub::before { display: none; }
      .nav-group.open .nav-sub { display: block; transform: none; }
    }

    /* 卡片：顶部金线 + 右下角饰 */
    :is(.card, .people-card, .merchant-card, .food-menu-item) { position: relative; overflow: hidden; }
    :is(.card, .people-card, .merchant-card, .food-menu-item)::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: var(--gold-fill);
      transform: scaleX(0); transform-origin: left;
      transition: transform .45s cubic-bezier(.2,.7,.2,1);
    }
    :is(.card, .people-card, .merchant-card, .food-menu-item):hover::before { transform: scaleX(1); }
    :is(.card, .people-card, .merchant-card, .food-menu-item)::after {
      content: ''; position: absolute; right: 9px; bottom: 9px;
      width: 16px; height: 16px;
      border-right: 1px solid rgba(212,160,23,.5);
      border-bottom: 1px solid rgba(212,160,23,.5);
      opacity: .55; transition: opacity .3s ease, transform .3s ease;
    }
    :is(.card, .people-card, .merchant-card, .food-menu-item):hover::after {
      opacity: 1; transform: translate(-2px, -2px);
    }

    /* 时间轴悬停 */
    .timeline-item {
      border-radius: 4px;
      padding-left: .35rem;
      transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
    }
    .timeline-item:hover {
      transform: translateX(5px);
      background: linear-gradient(90deg, rgba(212,160,23,.12), rgba(212,160,23,0));
    }
    .timeline-item:hover .timeline-year { color: var(--accent); }

    /* 画框悬停金光 */
    :is(.history-image, .heroes-image, .culture-image, .tech-image, .heritage-image,
        .rolemodels-image, .food-image, .merchant-image, .roots-image):hover {
      box-shadow: var(--shadow-deep),
                  0 0 0 1px rgba(212,160,23,.55),
                  0 0 34px -6px rgba(212,160,23,.35);
    }

    /* CTA 按钮呼吸光晕 */
    .cta-section .btn-primary { animation: ctaPulse 3.4s ease-in-out infinite; }
    @keyframes ctaPulse {
      0%, 100% { box-shadow: 0 12px 28px -12px rgba(196,30,58,.8), 0 0 0 0 rgba(196,30,58,.42); }
      62%      { box-shadow: 0 12px 28px -12px rgba(196,30,58,.8), 0 0 0 16px rgba(196,30,58,0); }
    }

    /* 页脚底栏描金 */
    .footer-bottom { position: relative; padding-top: 1.6rem; }
    .footer-bottom::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: var(--gold-line); opacity: .55;
    }

    /* ---------- 响应式 ---------- */
    @media (max-width: 1024px) {
      .hero-vertical { display: none; }
      .hero::before, .hero::after { width: 70px; height: 70px; }
    }
    @media (max-width: 768px) {
      .section::before { width: 88%; }
      .stats-bar { padding: 2.5rem 1.25rem; }
      .stat-number { font-size: 2.1rem; }
      .stat-item + .stat-item::before { display: none; }
      .stat-item { padding: 0 .5rem; }
      .cta-section::after { font-size: 7rem; right: 0; }
      .heroes-cards { grid-template-columns: repeat(2, 1fr); }
    }
    /* === 中華山河 / 专题资讯 / 关于中華堂 === */
    .landscape-section { background: var(--bg); background-image: var(--lattice); }
    .topics-section { background: var(--bg); background-image: var(--lattice); }
    .about-section {
      background: var(--bg2);
      background-image: radial-gradient(circle at 50% 0, rgba(212,160,23,.07), transparent 58%);
    }

    .topics-section .root-card::before { content: none; }
    .topics-section .root-card::after {
      content: '';
      position: absolute;
      top: 0; left: 1.75rem; right: 1.75rem;
      height: 1px;
      background: var(--gold-line);
    }

    .about-grid {
      display: grid;
      grid-template-columns: 0.92fr 1.08fr;
      gap: 2.5rem;
      align-items: start;
      margin-top: 3rem;
    }
    .about-manifesto {
      position: relative;
      padding: 2.75rem 2rem 2rem;
      border: 1px solid rgba(212,160,23,.3);
      border-radius: 14px;
      background: var(--frame-bg);
      box-shadow: var(--shadow-deep);
    }
    .about-manifesto::before {
      content: '';
      position: absolute;
      inset: 10px;
      border: 1px solid rgba(212,160,23,.22);
      border-radius: 8px;
      pointer-events: none;
    }
    .about-seal {
      position: absolute;
      top: -24px; right: 26px;
      width: 54px; height: 54px;
      display: grid;
      place-items: center;
      font-family: var(--font-serif);
      font-size: 1.55rem;
      color: #FFF6E8;
      background: linear-gradient(145deg, #C41E3A, #8C1226);
      border-radius: 8px;
      box-shadow: 0 10px 22px -8px rgba(196,30,58,.65);
    }
    .about-manifesto h3 {
      font-family: var(--font-serif);
      font-size: 1.35rem;
      color: var(--ink);
      margin-bottom: 1rem;
      letter-spacing: .04em;
    }
    .about-manifesto p {
      font-size: .94rem;
      line-height: 1.9;
      color: var(--muted);
      margin-bottom: .9rem;
    }
    .about-manifesto p:last-child { margin-bottom: 0; }
    .about-facts {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.25rem;
    }
    .about-fact {
      background: var(--bg);
      border: 1px solid var(--rule);
      border-radius: 10px;
      padding: 1.4rem 1.4rem 1.3rem;
      transition: transform .3s, box-shadow .3s, border-color .3s;
    }
    .about-fact:hover {
      transform: translateY(-3px);
      border-color: rgba(212,160,23,.55);
      box-shadow: 0 14px 34px -18px rgba(26,15,10,.3);
    }
    .about-fact h4 {
      font-family: var(--font-serif);
      font-size: 1rem;
      color: var(--ink);
      margin-bottom: .55rem;
      padding-bottom: .5rem;
      position: relative;
    }
    .about-fact h4::after {
      content: '';
      position: absolute;
      left: 0; bottom: 0;
      width: 26px; height: 2px;
      background: var(--gold-fill);
      border-radius: 2px;
    }
    .about-fact p {
      font-size: .88rem;
      line-height: 1.8;
      color: var(--muted);
    }
    .about-note {
      margin-top: 2.5rem;
      padding-top: 1.25rem;
      border-top: 1px solid var(--rule);
      font-size: .82rem;
      line-height: 1.9;
      color: var(--muted);
      text-align: center;
    }
    .about-note a { color: var(--accent); text-decoration: none; }
    .about-note a:hover { text-decoration: underline; }

    @media (max-width: 900px) {
      .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    }
    @media (max-width: 600px) {
      .about-facts { grid-template-columns: 1fr; }
      .about-manifesto { padding: 2.5rem 1.5rem 1.5rem; }
      .about-seal { right: 18px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-bg img { animation: none; }
      .hero-content > * { animation: none; }
      .hero h1 span, .cta-section .btn-primary, .hero-particles span { animation: none; }
      .reveal { opacity: 1; transform: none; transition: none; }
      html { scroll-behavior: auto; }
    }
/* ==== 无障碍与体验增强（P2/P3）==== */
.skip-link{position:absolute;left:1rem;top:-70px;z-index:1200;background:#C41E3A;color:#fff;padding:0.6rem 1.1rem;border-radius:6px;font-size:0.9rem;text-decoration:none;transition:top 0.2s ease}
.skip-link:focus{top:0.75rem}

a:focus-visible,button:focus-visible,[role="button"]:focus-visible{outline:3px solid #D4A017;outline-offset:3px;border-radius:4px}

.back-to-top{position:fixed;right:1.5rem;bottom:1.5rem;width:46px;height:46px;border-radius:50%;border:1px solid rgba(196,30,58,0.5);background:rgba(26,15,10,0.9);color:#D4A017;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s ease,transform .25s ease,background .2s;z-index:900;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.back-to-top.show{opacity:1;visibility:visible;transform:none}
.back-to-top:hover{background:#C41E3A;color:#fff}
.back-to-top svg{width:22px;height:22px}
@media(max-width:768px){.back-to-top{right:1rem;bottom:1rem;width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){.skip-link,.back-to-top{transition:none}}

    /* 中華节庆 / 中華文脉 卡片 */
    .card-cat {
      display: inline-block;
      margin-bottom: 0.6rem;
      padding: 0.18rem 0.6rem;
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      color: var(--accent);
      border: 1px solid rgba(196, 30, 58, 0.3);
      border-radius: 999px;
      background: rgba(196, 30, 58, 0.05);
    }
    .card-meta {
      margin-top: 0.75rem;
      font-size: 0.78rem;
      letter-spacing: 0.02em;
      color: var(--accent2);
    }

    /* 站内搜索 */
    .search-toggle {
      width: 38px; height: 38px;
      display: inline-flex; align-items: center; justify-content: center;
      border: 1px solid var(--rule); border-radius: 8px;
      background: var(--bg2); color: var(--ink); cursor: pointer;
      margin-right: 0.5rem; transition: all .25s;
    }
    .search-toggle:hover { border-color: var(--accent2); color: var(--accent); }
    .site-search[hidden] { display: none; }
    .site-search { position: fixed; inset: 0; z-index: 1200; }
    .site-search-backdrop { position: absolute; inset: 0; background: rgba(20, 12, 8, .55); backdrop-filter: blur(2px); }
    .site-search-panel {
      position: relative; max-width: 640px; margin: 12vh auto 0; padding: 1.25rem;
      background: var(--bg); border: 1px solid var(--rule); border-radius: 14px;
      box-shadow: 0 24px 60px rgba(20, 12, 8, .28);
    }
    .ss-input {
      width: 100%; padding: .85rem 1rem; font-size: 1rem; font-family: var(--font);
      color: var(--ink); background: var(--bg2); border: 1px solid var(--rule); border-radius: 10px;
    }
    .ss-input:focus { outline: 2px solid rgba(196, 30, 58, .35); border-color: var(--accent); }
    .ss-results { margin-top: .75rem; max-height: 52vh; overflow-y: auto; }
    .ss-item {
      display: flex; align-items: center; justify-content: space-between; gap: 1rem;
      width: 100%; padding: .65rem .35rem; border: 0; border-bottom: 1px solid var(--rule);
      background: none; text-align: left; cursor: pointer; font-family: var(--font); font-size: .95rem; color: var(--ink);
    }
    .ss-item:hover { background: var(--bg2); }
    .ss-type { flex: none; font-size: .72rem; color: var(--accent2); letter-spacing: .06em; }
    .ss-empty { padding: 1rem 0; color: var(--muted); font-size: .9rem; }
    .ss-hint { margin-top: .6rem; font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
    .ss-hit { outline: 2px solid var(--accent2); outline-offset: 4px; border-radius: 4px; transition: outline-color .4s; }

    /* 人物生平浮层 */
    .person-modal .person-panel { max-width: 620px; padding: 0; overflow: hidden; }
    .person-body { display: flex; gap: 1.6rem; padding: 2.4rem 2rem 2rem; align-items: flex-start; }
    .person-portrait {
      flex: none; width: 168px; height: 168px; border-radius: 12px; overflow: hidden;
      background: linear-gradient(135deg, #8B4513, #A0522D); color: #FFF6E8;
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font-serif, serif); font-size: 3.4rem; border: 3px solid var(--accent2);
    }
    .person-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .person-meta { min-width: 0; }
    .person-name { font-family: var(--font-serif, serif); font-size: 1.9rem; color: var(--ink); letter-spacing: .04em; }
    .person-title { margin: .35rem 0 .9rem; font-size: .9rem; color: var(--accent); letter-spacing: .08em; }
    .person-desc { font-size: .98rem; line-height: 1.9; color: var(--ink2, #4a3f36); }
    @media (max-width: 560px) {
      .person-body { flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.4rem 1.6rem; }
      .person-portrait { width: 132px; height: 132px; }
      .person-name { font-size: 1.6rem; }
    }
    /* 回到顶部 */
    .to-top {
      position: fixed; right: 1.4rem; bottom: 1.6rem; z-index: 900;
      width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
      border: 1px solid var(--accent2); border-radius: 50%;
      background: rgba(26, 15, 10, .88); color: #E8C87A; cursor: pointer;
      opacity: 0; visibility: hidden; transform: translateY(10px);
      transition: opacity .28s, transform .28s, visibility .28s;
      box-shadow: 0 6px 18px rgba(20, 12, 8, .25);
    }
    .to-top.is-on { opacity: 1; visibility: visible; transform: none; }
    .to-top:hover { background: var(--accent); color: #FFF6E8; border-color: var(--accent); }
