:root {
    --bg: #fbfbfa;
    --ink: #1a1a1a;
    --ink-soft: #5c5c5c;
    --line: #dcdcd8;
    --accent: #a63d2f;
    --accent-soft: #f6ece9;
    --serif: "Songti SC", "STSong", "SimSun", Georgia, serif;
    --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }

  .wrap { width: min(1120px, 92vw); margin: 0 auto; }

  /* ---------- Header ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 251, 250, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; padding: 12px 0;
  }
  .brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
  .brand img { height: 34px; width: 34px; object-fit: cover; border-radius: 4px; }
  .brand-name { font-family: var(--serif); font-size: 20px; letter-spacing: 1px; }
  .nav-scroll {
    display: flex; gap: 4px; overflow-x: auto; flex: 1 1 auto;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .nav-scroll::-webkit-scrollbar { display: none; }
  .nav-scroll a {
    flex: 0 0 auto; font-size: 14px; color: var(--ink-soft);
    padding: 6px 10px; white-space: nowrap; border-radius: 3px;
    transition: color .2s, background .2s;
  }
  .nav-scroll a:hover { color: var(--accent); background: var(--accent-soft); }

  /* ---------- Hero ---------- */
  .hero { padding: 64px 0 48px; }
  .hero-grid {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 52px; align-items: center;
  }
  .kicker {
    font-size: 12px; letter-spacing: 3px; color: var(--accent);
    text-transform: uppercase; margin-bottom: 18px;
  }
  h1 {
    font-family: var(--serif); font-size: clamp(30px, 4.2vw, 48px);
    line-height: 1.28; font-weight: 600; letter-spacing: 1px;
  }
  .hero-lede {
    margin-top: 22px; color: var(--ink-soft); font-size: 16px; max-width: 34em;
  }
  .hero-rule {
    width: 64px; height: 1px; background: var(--accent); margin: 26px 0;
  }
  .download-row { display: flex; flex-wrap: wrap; gap: 12px; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; font-size: 14px; border-radius: 2px;
    border: 1px solid var(--ink); background: var(--ink); color: #fff;
    transition: transform .18s, background .2s;
    font-family: var(--sans);
  }
  .btn:hover { transform: translateY(-1px); background: #333; }
  .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
  .btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
  .hero-figure { position: relative; }
  .hero-figure img {
    width: 100%; height: 460px; object-fit: cover; border-radius: 3px;
  }
  .hero-caption {
    font-size: 12px; color: var(--ink-soft); margin-top: 10px; letter-spacing: .5px;
  }

  /* ---------- Section basics ---------- */
  section { padding: 56px 0; }
  .sec-head { margin-bottom: 34px; }
  .sec-index {
    font-family: var(--serif); font-size: 13px; color: var(--accent);
    letter-spacing: 2px; margin-bottom: 8px;
  }
  h2 {
    font-family: var(--serif); font-size: clamp(24px, 3vw, 34px);
    font-weight: 600; letter-spacing: .8px; line-height: 1.3;
  }
  .sec-sub { color: var(--ink-soft); font-size: 15px; margin-top: 12px; max-width: 50em; }
  .thin-line { height: 1px; background: var(--line); margin: 0; border: 0; }

  /* ---------- Editorial split ---------- */
  .editorial {
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  }
  .editorial.rev { direction: rtl; }
  .editorial.rev > * { direction: ltr; }
  .editorial h3 {
    font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 14px;
  }
  .editorial p { color: var(--ink-soft); font-size: 15px; margin-bottom: 12px; }
  .editorial img { width: 100%; height: 380px; object-fit: cover; border-radius: 3px; }

  /* ---------- Card grid ---------- */
  .card-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  }
  .card {
    background: #fff; border: 1px solid var(--line); border-radius: 3px;
    overflow: hidden; display: flex; flex-direction: column;
  }
  .card img { width: 100%; height: 220px; object-fit: cover; }
  .card-body { padding: 18px 18px 22px; }
  .card-body h3 {
    font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 8px;
  }
  .card-body p { font-size: 14px; color: var(--ink-soft); }

  /* ---------- Masonry-ish gallery ---------- */
  .gallery {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  }
  .gallery figure { overflow: hidden; border-radius: 3px; }
  .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
  .gallery figure:hover img { transform: scale(1.04); }
  .gallery .tall { grid-row: span 2; }

  /* ---------- Q&A ---------- */
  .qa-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
  .qa-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
  .qa-item h3 {
    font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 6px;
  }
  .qa-item p { font-size: 14.5px; color: var(--ink-soft); }

  /* ---------- Footer ---------- */
  .site-footer {
    border-top: 1px solid var(--line); padding: 34px 0 44px;
    font-size: 12.5px; color: #8a8a85; line-height: 1.9;
  }
  .site-footer a { color: #8a8a85; border-bottom: 1px dotted #bbb; }
  .footer-meta { margin-top: 6px; }
  .footer-search { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
  .footer-search span { color: #a5a5a0; }

  /* ---------- Baidu modal ---------- */
  .modal-mask {
    display: none; position: fixed; inset: 0; z-index: 100;
    background: rgba(20, 20, 20, .55); align-items: center; justify-content: center;
    padding: 20px;
  }
  .modal-mask.on { display: flex; }
  .modal-box {
    background: #fff; max-width: 360px; width: 100%; padding: 26px 24px;
    border-radius: 4px; text-align: center;
  }
  .modal-box p { font-size: 14px; color: var(--ink); margin-bottom: 14px; }
  .modal-link {
    display: block; padding: 12px; background: var(--accent-soft);
    border: 1px dashed var(--accent); color: var(--accent);
    font-size: 13px; word-break: break-all; margin-bottom: 16px; border-radius: 2px;
  }
  .modal-close {
    border: 1px solid var(--line); background: #fff; padding: 8px 22px;
    font-size: 13px; cursor: pointer; border-radius: 2px; color: var(--ink-soft);
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 1024px) {
    .hero-grid { gap: 36px; }
    .hero-figure img { height: 400px; }
    .editorial { gap: 36px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; padding: 10px 0; }
    .nav-scroll { order: 3; width: 100%; }
    .hero { padding: 40px 0 32px; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero-figure img { height: 300px; }
    .editorial, .editorial.rev { grid-template-columns: 1fr; direction: ltr; gap: 22px; }
    .editorial img { height: 260px; }
    .card-grid { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery .tall { grid-row: auto; }
    section { padding: 40px 0; }
  }