/* ==========================================================
   法中文化、教育与可持续发展协会 · 首页原型
   设计基调：黄土高原 × 普罗旺斯地中海
   ========================================================== */

:root {
  /* 色彩 —— 取自黄土、陶土、薰衣草与地中海 */
--clay:        #C1653F;
--clay-deep:   #9E4C2C;
--ochre:       #D9A441;

/* —— 中国系：朱红 + 黄土 —— */
--cn-red:      #BE3A32;
--cn-red-deep: #96281B;
--loess:       #C2A46B;
--loess-soft:  #E6D7B8;

/* —— 法国系：普罗旺斯薰衣草 + 蔚蓝海岸 —— */
--lavender:      #9C86C0;
--lavender-deep: #7A66A0;
--sea:           #3D7E99;
--sun:           #E3B23C;

--olive:       #7A8B5C;
--ink:         #455648;
  --ink-soft:    #5A655C;
  --paper:       #FBF9F5;
  --paper-warm:  #F5F0E7;
  --line:        rgba(59, 74, 62, 0.14);

  /* 字体 */
  --font-serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", Georgia, serif;
  --font-sans:  "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  --font-fr:    Georgia, "Times New Roman", serif;

  /* 间距与圆角 */
  --wrap: 1120px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================
   导航
   ========================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251, 249, 245, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 249, 245, 0.96);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-mark {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text { line-height: 1.25; }
.brand-zh {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  display: block;
}
.brand-fr {
  font-size: 10.5px;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  display: block;
  font-family: var(--font-fr);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.32s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* 语言切换 */
.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 100px;
  overflow: hidden;
  background: rgba(255,255,255,0.5);
}
.lang-btn {
  border: 0;
  background: transparent;
  padding: 5px 13px;
  font-size: 12.5px;
  color: var(--ink-soft);
  transition: background 0.25s, color 0.25s;
  font-family: inherit;
}
.lang-btn.active {
  background: var(--ink);
  color: var(--paper);
}
.lang-btn:not(.active):hover { background: rgba(59, 74, 62,0.06); }

.btn-nav {
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 9px 19px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.25s, transform 0.25s;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--clay-deep); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

/* ==========================================================
   首屏
   ========================================================== */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 118px 0 68px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 620px at 78% 8%, rgba(217,164,65,0.20), transparent 62%),
    radial-gradient(ellipse 760px 560px at 6% 92%, rgba(139,123,168,0.16), transparent 62%),
    radial-gradient(ellipse 680px 520px at 42% 46%, rgba(193,101,63,0.11), transparent 66%),
    var(--paper);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(59, 74, 62,0.028) 0 1px, transparent 1px 88px);
  pointer-events: none;
  z-index: 1;
}

/* 首屏背景照片 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  filter: saturate(0.75);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(251,249,245,0.97) 0%, rgba(251,249,245,0.90) 42%, rgba(251,249,245,0.55) 100%),
    radial-gradient(ellipse 900px 620px at 78% 8%, rgba(217,164,65,0.20), transparent 62%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px 6px 11px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.62);
  margin-bottom: 30px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(35px, 6.4vw, 71px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin-bottom: 26px;
  max-width: 15em;
}
.hero h1 .accent {
  color: var(--clay);
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent svg {
  position: absolute;
  left: 0; right: 0;
  bottom: -0.1em;
  width: 100%;
  height: 0.13em;
  overflow: visible;
}
.hero h1 .accent path {
  stroke: var(--ochre);
  stroke-width: 5;
  fill: none;
  stroke-linecap: round;
}

.hero-lede {
  font-size: clamp(15.5px, 1.9vw, 18.5px);
  color: var(--ink-soft);
  max-width: 40em;
  margin-bottom: 38px;
  line-height: 1.85;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 58px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.28s var(--ease), box-shadow 0.28s, background 0.28s;
  border: 1px solid transparent;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--clay-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(158,76,44,0.26);
}
.btn-ghost {
  border-color: var(--line);
  background: rgba(255,255,255,0.55);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--clay);
  color: var(--clay-deep);
  transform: translateY(-2px);
}

/* 核心数据 */
.stat {
  background: rgba(255,255,255,0.66);
  padding: 22px 20px;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat:hover { background: rgba(255,255,255,0.94); }

/* 向下滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  opacity: 0.62;
}
.scroll-hint .mouse {
  width: 21px; height: 33px;
  border: 1.5px solid var(--ink-soft);
  border-radius: 12px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 2.5px; height: 6px;
  background: var(--ink-soft);
  border-radius: 2px;
  animation: wheel 1.9s ease-in-out infinite;
}
@keyframes wheel {
  0%, 100% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  70% { opacity: 0; transform: translate(-50%, 11px); }
}

/* ==========================================================
   通用区块
   ========================================================== */

section { position: relative; }
.section-pad { padding: 104px 0; }
.section-pad-sm { padding: 74px 0; }

.sec-head {
  max-width: 720px;
  margin-bottom: 54px;
}
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.sec-tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 500;
  margin-bottom: 15px;
}
.sec-tag::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--clay);
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 3px;
}
.sec-head.center .sec-tag::before { display: none; }

.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 17px;
}
.sec-desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.85;
}

/* ==========================================================
   旗舰项目 —— 网站重心
   ========================================================== */

.flagship {
  background: var(--ink);
  color: var(--paper);
  padding: 104px 0;
  position: relative;
  overflow: hidden;
}
.flagship::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 88% 4%, rgba(193,101,63,0.22), transparent 60%),
    radial-gradient(ellipse 720px 520px at 6% 96%, rgba(122,139,92,0.24), transparent 62%),
    radial-gradient(ellipse 600px 420px at 96% 88%, rgba(74,124,140,0.14), transparent 64%);
  pointer-events: none;
}
.flagship .wrap { position: relative; z-index: 2; }
.flagship .sec-tag { color: var(--ochre); }
.flagship .sec-tag::before { background: var(--ochre); }
.flagship .sec-title { color: var(--paper); }
.flagship .sec-desc { color: rgba(251,249,245,0.72); }

.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

/* 主项目占两行，视觉上成为重心 */
.project.lead { grid-row: span 2; }

.project {
  background: rgba(251,249,245,0.062);
  border: 1px solid rgba(251,249,245,0.19);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.42s var(--ease), border-color 0.35s, background 0.35s;
}
.project:hover {
  transform: translateY(-5px);
  border-color: rgba(217,164,65,0.44);
  background: rgba(251,249,245,0.095);
}

.project-visual {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.project-visual.p1 {
  background:
    linear-gradient(148deg, #C1653F 0%, #A34E2E 48%, #7E3A24 100%);
}
.project-visual.p2 {
  background:
    linear-gradient(148deg, #4A7C8C 0%, #3A6270 52%, #2C4A56 100%);
}
.project-visual.p3 {
  background:
    linear-gradient(148deg, #6B8C5A 0%, #557046 52%, #3D5634 100%);
}
.project-visual.p4 {
  background:
    linear-gradient(148deg, #8B7BA8 0%, #6E6189 52%, #524966 100%);
}
.project-visual.p5 {
  background:
    linear-gradient(148deg, #C99A3E 0%, #A87C2C 52%, #805D1E 100%);
}
.project-visual.p6 {
  background:
    linear-gradient(148deg, #B85C7C 0%, #96455F 52%, #6F3049 100%);
}

/* 分组小标题 */
.group-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 4px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: rgba(251,249,245,0.5);
  text-transform: uppercase;
}
.group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(251,249,245,0.16);
}
.group-label.zh-label {
  letter-spacing: normal;
  font-size: 13.5px;
  font-family: var(--font-serif);
}
.project-visual .pattern {
  position: absolute;
  inset: 0;
  opacity: 0.19;
}
.project-visual .glyph {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(50px, 7vw, 82px);
  font-weight: 700;
  color: rgba(255,255,255,0.94);
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 24px rgba(0,0,0,0.22);
}

/* 主项目：更大的头图与标题 */
.project.lead .project-visual { aspect-ratio: 3 / 2; }
.project.lead .project-visual .glyph { font-size: clamp(46px, 5.6vw, 72px); }
.project.lead .project-body { padding: 34px 32px 30px; }
.project.lead .project-body h3 { font-size: 26px; }
.project.lead .project-body p { font-size: 15.5px; }
.project.lead .project-facts { gap: 11px; }
.project.lead .fact { font-size: 13.5px; }

/* 有实拍照片的项目：头图改为照片 */
.project.photo .project-visual {
  aspect-ratio: 4 / 3;
  background: var(--ink);
  overflow: hidden;
}
.project.photo .project-visual img.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.project.photo:hover .project-visual img.cover { transform: scale(1.04); }
.project.photo .project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0) 42%, rgba(0,0,0,0.38) 100%);
  pointer-events: none;
}
.project.compact.photo .project-visual { aspect-ratio: 4 / 3; }

/* 第 4 张卡（同一个星球…）：横跨两列，消除右侧空洞 */
.project.span2 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: stretch;
}
.project.compact.photo.span2 .project-visual {
  aspect-ratio: auto;
  height: 100%;
  min-height: 380px;
  position: relative;
}
.project.compact.photo.span2 .project-visual img.cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.project.compact.span2 .project-body { padding: 34px 36px; }

@media (max-width: 1024px) {
  .project.span2 { grid-template-columns: 1fr; }
  .project.compact.photo.span2 .project-visual { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .project.compact.span2 .project-body { padding: 24px 22px; }
}
.project.photo .project-badge,
.project.photo .project-year { z-index: 3; }

/* 图集条 */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 6px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(251,249,245,0.13);
}
.project:not(.lead) .gallery {
  border-top-color: var(--line);
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 5px;
  margin-top: 14px;
  padding-top: 13px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  cursor: zoom-in;
  transition: opacity 0.25s, transform 0.25s;
  opacity: 0.82;
}
.gallery img:hover { opacity: 1; transform: scale(1.06); }
.project:not(.lead) .gallery img { border-radius: 3px; }

/* 现场动画/视频条（公众号动图与视频号视频） */
.motion-strip {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(251,249,245,0.13);
}
.motion-strip .motion-frame {
  border-radius: 5px;
  overflow: hidden;
  line-height: 0;
  background: rgba(0,0,0,0.25);
}
.motion-strip img,
.motion-strip video {
  width: 100%;
  display: block;
}
.motion-strip figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(251,249,245,0.55);
}
.motion-strip figcaption .src { white-space: nowrap; opacity: 0.75; }
.motion-video {
  position: relative;
  cursor: pointer;
}
.motion-video .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.18);
}
.motion-video .play-btn span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(251,249,245,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  transition: transform 0.25s;
}
.motion-video:hover .play-btn span { transform: scale(1.08); }

/* 次要项目：紧凑排版 */
.project.compact .project-visual { aspect-ratio: 4 / 3; }
.project.compact .project-visual .glyph { font-size: clamp(26px, 3.4vw, 38px); }
.project.compact .project-body { padding: 22px 22px 20px; }
.project.compact .project-body h3 { font-size: 19px; }
.project.compact .project-body p { font-size: 13.8px; margin-bottom: 16px; }
.project.compact .project-facts { padding-top: 15px; gap: 7px; }
.project.compact .fact { font-size: 12.5px; }
.project.compact .project-meta { margin-bottom: 15px; }
.project-badge {
  position: absolute;
  top: 15px; left: 15px;
  background: rgba(251,249,245,0.94);
  color: var(--ink);
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 500;
  z-index: 2;
  letter-spacing: 0.02em;
}
.project-year {
  position: absolute;
  bottom: 14px; right: 16px;
  color: rgba(255,255,255,0.9);
  font-size: 12.5px;
  font-family: var(--font-fr);
  letter-spacing: 0.14em;
  z-index: 2;
}

.project-body {
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-body h3 {
  font-family: var(--font-serif);
  font-size: 22.5px;
  line-height: 1.42;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--paper);
}
.project-body .fr-title {
  font-family: var(--font-fr);
  font-size: 13.5px;
  font-style: italic;
  color: rgba(217,164,65,0.92);
  margin-bottom: 15px;
}
.project-body p {
  font-size: 14.5px;
  line-height: 1.82;
  color: rgba(251,249,245,0.72);
  margin-bottom: 20px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.chip {
  font-size: 11.5px;
  padding: 4px 11px;
  border-radius: 100px;
  background: rgba(251,249,245,0.09);
  border: 1px solid rgba(251,249,245,0.15);
  color: rgba(251,249,245,0.82);
}

.project-facts {
  margin-top: auto;
  padding-top: 19px;
  border-top: 1px solid rgba(251,249,245,0.13);
  display: grid;
  gap: 9px;
}
.fact {
  display: flex;
  gap: 9px;
  font-size: 13px;
  color: rgba(251,249,245,0.7);
  line-height: 1.6;
}
.fact .k {
  color: var(--ochre);
  flex-shrink: 0;
  font-size: 12px;
  min-width: 62px;
}

/* ==========================================================
   国际教育交流座谈会
   ========================================================== */

.forum-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 12px;
  align-items: stretch;
}
.forum-main {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper-warm);
  aspect-ratio: 16 / 10;
}
.forum-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  display: block;
}
.forum-thumbs {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
}
.forum-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  cursor: zoom-in;
  opacity: 0.86;
  transition: opacity 0.28s, transform 0.28s;
  display: block;
}
.forum-thumbs img:hover { opacity: 1; transform: scale(1.03); }

@media (max-width: 860px) {
  .forum-grid { grid-template-columns: 1fr; }
  .forum-thumbs { grid-template-rows: none; grid-template-columns: repeat(4, 1fr); }
  .forum-thumbs img { aspect-ratio: 1; }
}

/* ==========================================================
   媒体报道
   ========================================================== */


.press {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 20px;
  text-align: center;
  transition: transform 0.32s var(--ease), box-shadow 0.32s, border-color 0.32s;
}
.press:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(59, 74, 62,0.08);
  border-color: var(--clay);
}
.press-name {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--ink);
  line-height: 1.4;
}
.press-orig {
  font-family: var(--font-fr);
  font-size: 12px;
  color: var(--ink-soft);
  opacity: 0.75;
  margin-bottom: 11px;
  line-height: 1.45;
}
.press-type {
  font-size: 11px;
  color: var(--clay);
  letter-spacing: 0.03em;
}
.press-country {
  display: inline-block;
  margin-top: 9px;
  font-size: 10.5px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 2px 9px;
  opacity: 0.8;
}

/* ==========================================================
   下线区块（内容保留，暂不展示）
   ========================================================== */

.is-hidden {
  display: none !important;
}

/* ==========================================================
   业务领域
   ========================================================== */


.field {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.field::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--clay), var(--ochre));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.field:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(59, 74, 62,0.09);
  background: #fff;
}
.field:hover::after { transform: scaleX(1); }

.field-idx {
  font-family: var(--font-fr);
  font-size: 12.5px;
  color: var(--clay);
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}
.field h3 {
  font-family: var(--font-serif);
  font-size: 20.5px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}
.field .fr {
  font-family: var(--font-fr);
  font-style: italic;
  font-size: 13px;
  color: var(--lavender);
  margin-bottom: 15px;
}
.field p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.82;
}

/* ==========================================================
   合作机构
   ========================================================== */

.partners {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.partner {
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.32s var(--ease), box-shadow 0.32s, background 0.3s;
}
.partner:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(59, 74, 62,0.08);
  background: #fff;
}
.partner-mark {
  width: 50px; height: 50px;
  margin: 0 auto 14px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--paper-warm), #E8DFCF);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink-soft);
}
.partner-name {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 4px;
}
.partner-orig {
  font-family: var(--font-fr);
  font-size: 11.5px;
  color: var(--ink-soft);
  opacity: 0.72;
  line-height: 1.45;
}
.partner-role {
  margin-top: 11px;
  font-size: 11px;
  color: var(--clay);
  letter-spacing: 0.04em;
}

/* ==========================================================
   新闻
   ========================================================== */

.news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.news-item {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 25px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding 0.3s var(--ease);
  cursor: pointer;
}
.news-item:hover {
  background: rgba(245,240,231,0.55);
  padding-left: 14px;
  padding-right: 14px;
}

/* 没有详情页的新闻：不是链接，不显示手型与箭头 */
.news-item:not(a) { cursor: default; }
.news-item:not(a) .news-arrow { display: none; }
.news-item:not(a):hover { background: transparent; padding-left: 4px; padding-right: 4px; }
.news-date {
  font-family: var(--font-fr);
  font-size: 13px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}
.news-source {
  font-size: 11px;
  color: var(--clay);
  letter-spacing: 0.03em;
  display: block;
  margin-top: 3px;
}
.news-title {
  font-family: var(--font-serif);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 5px;
}
.news-sum {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.news-arrow {
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  color: var(--ink-soft);
}
.news-item:hover .news-arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: translateX(3px);
}

/* ==========================================================
   行动号召
   ========================================================== */

.cta {
  background:
    radial-gradient(ellipse 700px 460px at 22% 12%, rgba(193,101,63,0.20), transparent 62%),
    var(--ink);
  color: var(--paper);
  padding: 104px 0;
}
.cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta .sec-title { color: var(--paper); margin-bottom: 17px; }
.cta p {
  color: rgba(251,249,245,0.74);
  font-size: 16.5px;
  line-height: 1.85;
  margin-bottom: 38px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
  margin-bottom: 30px;
}
.btn-invert {
  background: var(--paper);
  color: var(--ink);
}
.btn-invert:hover {
  background: var(--ochre);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(217,164,65,0.28);
}
.btn-outline-inv {
  border-color: rgba(251,249,245,0.32);
  color: var(--paper);
  background: transparent;
}
.btn-outline-inv:hover {
  border-color: var(--ochre);
  color: var(--ochre);
  transform: translateY(-2px);
}
.cta-note {
  font-size: 13px;
  color: rgba(251,249,245,0.5);
}

/* ==========================================================
   页脚
   ========================================================== */

.footer {
  background: #2F3A33;
  color: rgba(251,249,245,0.62);
  padding: 58px 0 30px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(251,249,245,0.11);
  margin-bottom: 26px;
}
.footer-brand .brand-zh { color: var(--paper); font-size: 16px; }
.footer-brand .brand-fr { color: rgba(251,249,245,0.5); font-size: 11px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.footer-brand p {
  margin-top: 16px;
  line-height: 1.85;
  max-width: 34em;
  font-size: 13px;
}
.footer h4 {
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 15px;
  font-family: var(--font-sans);
}
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer ul a { transition: color 0.25s; }
.footer ul a:hover { color: var(--ochre); }
.footer address {
  font-style: normal;
  line-height: 1.9;
  display: grid;
  gap: 5px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(251,249,245,0.4);
}

/* ==========================================================
   滚动揭示动画
   ========================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.09s; }
.reveal.d2 { transition-delay: 0.18s; }
.reveal.d3 { transition-delay: 0.27s; }

/* 法语态：隐藏中文，反之 */
html[data-lang="fr"] [data-lang-only="zh"] { display: none !important; }
html[data-lang="zh"] [data-lang-only="fr"] { display: none !important; }
html[data-lang="fr"] body { font-family: var(--font-fr), var(--font-sans); }
html[data-lang="fr"] .hero h1 .accent { white-space: normal; }
@media (max-width: 640px) {
  html[data-lang="fr"] .hero h1 { font-size: clamp(27px, 7.6vw, 34px); }
}

/* ==========================================================
   灯箱
   ========================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 17, 15, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-cap {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(251,249,245,0.72);
  font-size: 13px;
  text-align: center;
  max-width: 80vw;
  line-height: 1.6;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px; height: 40px;
  border: 1px solid rgba(251,249,245,0.25);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  font-size: 20px;
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s;
}
.lightbox-close:hover { background: rgba(251,249,245,0.12); border-color: rgba(251,249,245,0.5); }

/* ==========================================================
   响应式
   ========================================================== */

@media (max-width: 1024px) {
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .projects { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .btn-nav { display: none; }
  .menu-toggle { display: flex; }
  .nav-inner { height: 60px; }

  .nav.open .nav-links {
    display: flex;
    position: fixed;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 28px 20px;
    box-shadow: 0 14px 32px rgba(59, 74, 62,0.09);
  }
  .nav.open .nav-links a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15.5px;
  }
  .nav.open .nav-links li:last-child a { border-bottom: 0; }
  .nav.open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .section-pad, .flagship, .cta { padding: 74px 0; }
  .hero { padding: 96px 0 60px; min-height: auto; }
  .hero-cta { margin-bottom: 42px; }
  .scroll-hint { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .news-item {
    grid-template-columns: 1fr auto;
    gap: 6px 16px;
  }
  .news-date { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 20px; }
  .section-pad, .flagship, .cta { padding: 60px 0; }
  .sec-head { margin-bottom: 38px; }

  .stat { padding: 15px 10px; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .btn { padding: 13px 22px; font-size: 14.5px; }

  .brand-fr { display: none; }
  .hero h1 { font-size: clamp(29px, 8.4vw, 40px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============ 法语态细节 ============ */
/* 标题已是法文时，不再重复显示法文副标题 / 原名 */
html[data-lang="fr"] .project-body .fr-title,
html[data-lang="fr"] .field .fr,
html[data-lang="fr"] .partner-orig,
html[data-lang="fr"] .press-orig { display: none !important; }

/* 法文标签更长，留出宽度 */
html[data-lang="fr"] .fact .k { min-width: 92px; }

/* 法文标题略小，避免项目卡标题挤成 3 行 */
html[data-lang="fr"] .project-body h3 { font-size: 20px; }
html[data-lang="fr"] .project.lead .project-body h3 { font-size: 24px; }

/* ==========================================================
   V4 · 文化线路版图
   ========================================================== */


/* ==========================================================
   V4 · 媒体报道（深色重点区块）
   ========================================================== */

.press-feature {
  background:
    radial-gradient(ellipse 760px 480px at 18% 8%, rgba(193, 101, 63, 0.20), transparent 62%),
    radial-gradient(ellipse 620px 420px at 84% 92%, rgba(122, 139, 92, 0.26), transparent 64%),
    var(--ink);
  color: var(--paper);
}
.press-feature .sec-tag { color: var(--ochre); }
.press-feature .sec-title { color: var(--paper); }
.press-feature .sec-desc { color: rgba(251, 249, 245, 0.74); }


.press-feature .press {
  background: rgba(251, 249, 245, 0.06);
  border-color: rgba(251, 249, 245, 0.16);
  padding: 26px 20px;
}
.press-feature .press:hover {
  background: rgba(251, 249, 245, 0.11);
  border-color: var(--ochre);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}
.press-feature .press-name { color: var(--paper); font-size: 18px; }
.press-feature .press-orig { color: rgba(251, 249, 245, 0.66); }
.press-feature .press-type { color: var(--ochre); font-size: 11.5px; }
.press-feature .press-country {
  color: rgba(251, 249, 245, 0.72);
  border-color: rgba(251, 249, 245, 0.22);
}

@media (max-width: 860px) {
}

/* ==========================================================
   V5 · 中法双色系（中国红·黄土 / 薰衣草·蔚蓝）
   仅用于带地域语义的元素，全局强调色仍为 clay 陶土橙
   ========================================================== */

/* 顶部色谱线：朱红 → 黄土 → 赭黄 → 薰衣草 → 蔚蓝 */
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2.5px;
  background: linear-gradient(90deg,
    var(--cn-red) 0%, var(--cn-red) 16%,
    var(--loess) 30%,
    var(--ochre) 48%,
    var(--lavender) 68%,
    var(--sea) 88%, var(--sea) 100%);
  opacity: 0.85;
}

/* —— 文化线路：两侧各自的地方色 —— */


/* —— 媒体报道：统计数字与国别标签分色 —— */

.press-feature .press-country.cn {
  color: #F0B6AE;
  border-color: rgba(190, 58, 50, 0.55);
  background: rgba(190, 58, 50, 0.14);
}
.press-feature .press-country.fr {
  color: #CFC2EA;
  border-color: rgba(156, 134, 192, 0.50);
  background: rgba(156, 134, 192, 0.14);
}
.press-feature .press-country.eu {
  color: #A9CFD8;
  border-color: rgba(61, 126, 153, 0.50);
  background: rgba(61, 126, 153, 0.14);
}

/* —— 首屏数字：中国红作极克制的一次强调（合作机构数） —— */

@media (max-width: 860px) {
}


/* ============================================================
   V8：项目区改为浅暖纸底，降低全页深色占比
   （深橄榄绿仅保留：媒体报道区 / CTA / 页脚）
   ============================================================ */
.flagship {
  background: var(--paper-warm);
  color: var(--ink);
}
.flagship::before {
  background:
    radial-gradient(ellipse 900px 520px at 88% 4%, rgba(193,101,63,0.10), transparent 60%),
    radial-gradient(ellipse 760px 520px at 6% 96%, rgba(122,139,92,0.16), transparent 62%),
    radial-gradient(ellipse 620px 420px at 96% 88%, rgba(217,164,65,0.10), transparent 64%);
}
.flagship .sec-title { color: var(--ink); }
.flagship .sec-desc  { color: var(--ink-soft); }
.flagship .sec-tag   { color: var(--clay); }

.flagship .group-label { color: rgba(69,86,72,0.58); }
.flagship .group-label::after { background: rgba(69,86,72,0.16); }

.flagship .project {
  background: #FFFFFF;
  border: 1px solid rgba(69,86,72,0.13);
  box-shadow: 0 1px 2px rgba(69,86,72,0.04), 0 12px 28px -20px rgba(69,86,72,0.28);
}
.flagship .project:hover {
  background: #FFFFFF;
  border-color: rgba(193,101,63,0.48);
  box-shadow: 0 2px 5px rgba(69,86,72,0.07), 0 20px 42px -22px rgba(69,86,72,0.38);
}
.flagship .project-body h3 { color: var(--ink); }
.flagship .project-body p  { color: var(--ink-soft); }
.flagship .fr-title        { color: rgba(69,86,72,0.55); }

.flagship .project-facts { border-top-color: rgba(69,86,72,0.13); }
.flagship .fact          { color: rgba(69,86,72,0.78); }
.flagship .fact .k       { color: var(--clay); }

.flagship .chip {
  background: rgba(69,86,72,0.055);
  border-color: rgba(69,86,72,0.16);
  color: rgba(69,86,72,0.8);
}
.flagship .project-badge {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(69,86,72,0.14);
  color: var(--ink);
}
.flagship .gallery { border-top-color: rgba(69,86,72,0.13); }
.flagship .motion-strip { border-top-color: rgba(69,86,72,0.13); }
.flagship .motion-strip figcaption { color: rgba(69,86,72,0.62); }
.flagship .motion-strip .motion-frame { background: rgba(69,86,72,0.06); }


/* ==========================================================
   V9 · 巡展卡片路线信息图（无照片项目的视觉方案）
   ========================================================== */
.project-visual .tour-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.tour-map .tm-grid { stroke: rgba(255,255,255,0.10); stroke-width: 0.8; fill: none; }
.tour-map .tm-coast { fill: none; stroke-linecap: round; }
.tour-map .tm-route {
  fill: none;
  stroke: rgba(255,255,255,0.62);
  stroke-width: 1.7;
  stroke-dasharray: 6 7;
  stroke-linecap: round;
}
.tour-map .tm-ring {
  fill: none;
  stroke: rgba(255,255,255,0.32);
  stroke-width: 1;
  stroke-dasharray: 3 4.5;
}
.tour-map .tm-dot { fill: rgba(255,255,255,0.94); }
.tour-map .tm-core { fill: #2C4A56; }
.tour-map .tm-num {
  font-family: var(--font-fr);
  font-size: 11px;
  letter-spacing: 0.22em;
  fill: rgba(255,255,255,0.62);
  text-anchor: middle;
}
.tour-map .tm-name {
  font-family: var(--font-serif);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.015em;
  fill: rgba(255,255,255,0.96);
  text-anchor: middle;
}
/* 站点顺序 chip */
.chip.stop { display: inline-flex; align-items: center; gap: 7px; }
.chip.stop > i {
  font-style: normal;
  font-family: var(--font-fr);
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.62;
}

/* ==========================================================
   代表项目 · 图集（定稿：横向走马灯 + 双列并排两种形态）
   --------------------------------------------------------
   形态 A（≥3 张）：一条可左右滑动的图片带
     · 高度固定 190px（手机 152px），宽度 = 高度 × 原图比例
     · 比例由脚本写入 --ar（读 img 的 width/height 属性），
       所以图片没加载时也能占对宽度，滚动不跳动
     · clamp 兜住极端比例：竖图 ≥168px（不会变成窄缝）、
       全景图 ≤520px（不会把画面裁掉一大半）
     · 拖拽 / 触控板横滑 / 箭头 / 自动轮播 / 进度条 / n-N 计数
   形态 B（1~2 张）：双列并排，不启用走马灯（.gallery.g2）
   ========================================================== */

/* ---------- 1. 容器（形态 A） ---------- */
.gallery:not(.g2),
.project:not(.lead) .gallery:not(.g2) {
  display: block;
  position: relative;
  flex: 0 0 auto;
  margin-top: 18px;
  padding-top: 17px;
}
.project:not(.lead) .gallery:not(.g2) {
  margin-top: 15px;
  padding-top: 14px;
}

/* ---------- 2. 容器（形态 B：1~2 张，双列并排） ---------- */
.gallery.g2,
.project:not(.lead) .gallery.g2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 15px;
}
.gallery.g2 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
  cursor: zoom-in;
  opacity: 0.9;
  transition: opacity 0.25s, transform 0.25s;
}
.gallery.g2 img:hover { opacity: 1; transform: scale(1.04); }

/* ---------- 3. 滑动轨道 ---------- */
.gallery-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding-bottom: 2px;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.gallery-track.dragging img { pointer-events: none; }

/* ---------- 4. 图集内的图片 ---------- */
.gallery-track img,
.project:not(.lead) .gallery-track img {
  flex: 0 0 auto;
  height: 190px;
  width: clamp(168px, calc(190px * var(--ar, 1.5)), 520px);
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  scroll-snap-align: start;
  opacity: 1;
  cursor: zoom-in;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-track img:hover {
  box-shadow: 0 8px 24px rgba(20,17,15,0.28);
}

/* ---------- 5. 左右箭头（触屏设备隐藏，靠滑动） ---------- */
.gallery-nav {
  position: absolute;
  top: calc(50% - 16px);
  transform: translateY(-50%);
  z-index: 4;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(251,249,245,0.42);
  border-radius: 50%;
  background: rgba(26,30,27,0.86);
  backdrop-filter: blur(4px);
  color: var(--paper);
  font-size: 17px;
  line-height: 1;
  display: none;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(20,17,15,0.35);
  transition: background 0.22s, border-color 0.22s, opacity 0.22s, transform 0.22s;
}
.gallery-nav.on { display: grid; opacity: 0.78; }
.gallery:hover .gallery-nav.on,
.gallery-nav.on:hover { opacity: 1; }
.gallery-nav:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: #241F1B;
  transform: translateY(-50%) scale(1.06);
}
.gallery-nav.prev { left: -2px; }
.gallery-nav.next { right: -2px; }

/* ---------- 6. 底部：进度条 + 张数 + 暂停/播放 ---------- */
.gallery-foot {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 11px;
}
.gallery-bar {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: rgba(251,249,245,0.16);
  overflow: hidden;
}
.gallery-bar i {
  display: block;
  height: 100%;
  width: 30%;
  border-radius: 2px;
  background: var(--ochre);
  transition: margin-left 0.16s ease-out, width 0.16s ease-out;
}
.gallery-count {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.07em;
  color: rgba(251,249,245,0.55);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.gallery-auto {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-left: -3px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(251,249,245,0.62);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0.9;
  transition: color 0.2s, opacity 0.2s;
}
.gallery-auto:hover { color: var(--ochre); opacity: 1; }
.gallery-auto.off { color: rgba(251,249,245,0.32); }
/* 播放中 → 两条竖线（纯 CSS 画，避免 ⏸ 字符在不同系统错位） */
.gallery-auto::before {
  content: "";
  display: block;
  width: 3px;
  height: 10px;
  background: currentColor;
  box-shadow: 5px 0 0 currentColor;
}
/* 已暂停 → 三角形 */
.gallery-auto.off::before {
  width: 0;
  height: 0;
  background: transparent;
  box-shadow: none;
  border-left: 8px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}

/* 浅色卡片（flagship）下的配色适配 */
.flagship .gallery-bar { background: rgba(69,86,72,0.16); }
.flagship .gallery-count { color: rgba(69,86,72,0.6); }
.flagship .gallery-nav {
  background: rgba(251,249,245,0.88);
  border-color: rgba(69,86,72,0.2);
  color: var(--ink);
}
.flagship .gallery-auto { color: rgba(69,86,72,0.55); }
.flagship .gallery-auto:hover { color: #A87A2A; }
.flagship .gallery-auto.off { color: rgba(69,86,72,0.32); }

/* ---------- 7. 主项目卡片的信息栏均分剩余高度 ----------
   lead 卡跨两行、被右侧两张卡撑高，facts 上方会空出 ~120px；
   让信息栏行距均分这段高度，比留一块死白自然。 */
.project.lead .project-facts {
  flex: 1 1 auto;
  align-content: space-between;
}

/* ---------- 8. 灯箱左右翻页 ---------- */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(251,249,245,0.22);
  border-radius: 50%;
  background: rgba(20,17,15,0.45);
  color: var(--paper);
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.lightbox-nav:hover {
  background: rgba(251,249,245,0.14);
  border-color: rgba(251,249,245,0.5);
  transform: translateY(-50%) scale(1.06);
}
.lightbox-nav.prev { left: 26px; }
.lightbox-nav.next { right: 26px; }
.lightbox-count {
  position: absolute;
  bottom: 58px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(251,249,245,0.55);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

/* ---------- 9. 响应式 ---------- */
@media (hover: none) {
  .gallery-nav { display: none !important; }
}
@media (max-width: 640px) {
  .gallery-track img,
  .project:not(.lead) .gallery-track img {
    height: 152px;
    width: clamp(126px, calc(152px * var(--ar, 1.5)), 400px);
  }
  .gallery-count { font-size: 10.5px; }
  .gallery.g2,
  .project:not(.lead) .gallery.g2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .lightbox-nav { width: 42px; height: 42px; font-size: 24px; }
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
  .lightbox-count { bottom: 50px; }
}

/* ==========================================================
   V16 · 官方贺函（媒体报道区内的浅色高亮卡：左图右文）
   ========================================================== */
.letter-feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 36px;
  align-items: center;
  max-width: 980px;
  margin: 54px auto 0;
  padding: 30px 32px;
  background: var(--paper-warm);
  color: #2F3A33;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.30);
}
.letter-fig {
  margin: 0;
  position: relative;
}
.letter-fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(47, 58, 51, 0.22);
  cursor: zoom-in;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.letter-fig img:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(47, 58, 51, 0.30);
}
.letter-fig figcaption {
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(69, 86, 72, 0.62);
  text-align: center;
}
.letter-body {
  align-self: center;
}
.letter-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #A87A2A;
}
.letter-title {
  margin: 0 0 10px;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.3;
  color: #241F1B;
}
.letter-text p {
  margin: 0 0 7px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #455648;
}
.letter-link {
  display: inline-block;
  margin-top: 4px;
  padding: 8px 18px;
  border: 1px solid rgba(168, 122, 42, 0.55);
  border-radius: 999px;
  color: #A87A2A;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.letter-link:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: #241F1B;
  transform: translateY(-2px);
}
@media (max-width: 860px) {
  .letter-feature {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
    margin-top: 40px;
  }
  .letter-fig { max-width: 420px; margin: 0 auto; }
}

/* ==========================================================
   V17 · 用词体例统一所需的样式
   ========================================================== */

/* 首屏「系列」—— 不再显示数字，字号按文字调整 */

/* 媒体报道：媒体组 / 机构组 分组标题 */
@media (max-width: 640px) {
}

/* ==========================================================
   V17b · 首屏统计区响应式收紧
   —— 桌面端三项已统一（同字体/同字号/同色/同底）
      窄屏下「系列 / Séries」字宽过大，需单独收小
   ========================================================== */
@media (max-width: 640px) {
  .stat {
    padding: 15px 8px;
  }
}

/* ==========================================================
   V19 · 贺函卡移入首屏后的样式适配
   —— 首屏为浅色纸底，原深色媒体区内的深墨文字需反色
   ========================================================== */
/* 官方贺函 · 独立板块（位于首屏之后） */
.letter-section {
  padding: 72px 0 12px;
  background: var(--paper);
}
.letter-section .letter-feature {
  max-width: 880px;
  margin: 0 auto;
  padding: 26px 30px;
  gap: 32px;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--paper-warm);
  border: 1px solid rgba(69, 86, 72, 0.10);
  box-shadow: 0 20px 48px rgba(20, 17, 15, 0.14);
}
.letter-section .letter-fig img {
  max-height: 330px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 8px 22px rgba(47, 58, 51, 0.18);
}
.letter-section .letter-fig {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.letter-section .letter-fig img:hover {
  box-shadow: 0 14px 32px rgba(47, 58, 51, 0.26);
}
@media (max-width: 860px) {
  .letter-section {
    padding: 44px 0 8px;
  }
  .letter-section .letter-feature {
    padding: 20px 18px;
    gap: 18px;
  }
  .letter-section .letter-fig img {
    max-height: 260px;
  }
  .letter-text p {
    font-size: 13px;
    line-height: 1.7;
  }
}
