/* 手机第一屏改版（官网体检第二批，11-23 样稿）
   只挂在马来西亚、纹发、王雷私人工作室中英六页；只管 640px 以下的手机宽度，电脑上不变。
   目标：第一屏就看到「这页讲什么」——大标题、一句话、一张图。
   1. 页头压成一行（小标志 + LEI · SHI + 雷势文化），收掉 EST. MMVI、12 operating studios、页名两行
   2. 八个导航收成一行，左右滑
   3. 预约入口块挪到大标题区后面（屏幕底部那排预约按钮一直都在）
   4. 王雷私人工作室页：大标题、一句话、作品图排到最前，价格卡片等挪到图后面
   5. 纹发页：大标题下面加一张纹发案例图（只在手机上显示）
   6. 大标题下面那行小字离花体字远一点（芥末 11-23 提：Gallery 的 y 下钩贴着小字） */
@media (max-width: 640px) {
  .masthead { padding: 10px 0 9px; }
  .masthead__inner { display: flex; align-items: center; justify-content: center; gap: 0; }
  .masthead__meta, .masthead__edition { display: none; }
  .masthead__brand { display: flex; align-items: center; justify-content: center; gap: 10px; }
  .masthead__brand .masthead__logo { width: 28px !important; height: 28px !important; margin: 0 !important; }
  .masthead__brand .latin { font-size: 22px; }
  .masthead__brand .han { font-size: 12px; margin-top: 0; letter-spacing: 0.22em; }

  .primary-nav__inner {
    display: flex; gap: 20px; padding: 0 16px; overflow-x: auto;
    justify-content: flex-start; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .primary-nav__inner::-webkit-scrollbar { display: none; }
  .primary-nav a { flex: 0 0 auto; padding: 12px 0; font-size: 10px; letter-spacing: 0.12em; }
  .primary-nav a.is-current::after { left: 0; right: 0; bottom: 6px; }

  #main-content { display: flex; flex-direction: column; }
  #main-content > .hero { order: -1; padding-top: 22px; }
  .hero__intro .kicker { margin-bottom: 14px; }
  .hero__lede { margin-top: 16px; }
  .hero__title .han { margin-top: 0.75em; line-height: 1.5; }

  .x5-fc .hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .x5-fc .hero__intro { display: contents; }
  .x5-fc .hero__intro > * { order: 3; }
  .x5-fc .hero__intro > .kicker, .x5-fc .hero__intro > .hero__title { order: 0; }
  .x5-fc .hero__intro > .hero__lede { order: 1; margin-bottom: 18px; }
  .x5-fc .hero__plate { order: 2; margin-bottom: 28px; }

  .x5-mfirst-fig { display: block; margin: 18px 0 0; }
  .x5-mfirst-fig img { display: block; width: 100%; height: auto; }
  .x5-mfirst-fig figcaption { margin-top: 8px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-3); }
}
@media (min-width: 641px) {
  .x5-mfirst-fig { display: none; }
}
