/* ==========================================================
   法中文化、教育与可持续发展协会 · 首页原型
   设计基调：黄土高原 × 普罗旺斯地中海
   ========================================================== */

:root {
  /* 色彩 —— 取自黄土、陶土、薰衣草与地中海 */
  --clay:        #C1653F;
  --clay-deep:   #9E4C2C;
  --ochre:       #D9A441;
  --lavender:    #8B7BA8;
  --sea:         #4A7C8C;
  --ink:         #2E2A26;
  --ink-soft:    #5C554C;
  --paper:       #FBF9F5;
  --paper-warm:  #F5F0E7;
  --line:        rgba(46, 42, 38, 0.12);

  /* 字体 */
  --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(46,42,38,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(46,42,38,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);
}

/* 核心数据 */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  max-width: 760px;
}
.stat {
  background: rgba(255,255,255,0.66);
  padding: 22px 20px;
  transition: background 0.3s;
}
.stat:hover { background: rgba(255,255,255,0.94); }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(27px, 3.6vw, 38px);
  font-weight: 700;
  line-height: 1;
  color: var(--clay);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-num .unit { font-size: 0.44em; margin-left: 3px; }
.stat-label {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* 向下滚动提示 */
.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(26px, 3.9vw, 42px);
  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.24), transparent 60%),
    radial-gradient(ellipse 700px 520px at 4% 96%, rgba(74,124,140,0.18), transparent 62%);
  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: 1.35fr 1fr;
  gap: 22px;
  margin-top: 8px;
}

/* 主项目占两行，视觉上成为重心 */
.project.lead { grid-row: span 2; }

.project {
  background: rgba(251,249,245,0.045);
  border: 1px solid rgba(251,249,245,0.14);
  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.075);
}

.project-visual {
  aspect-ratio: 16 / 11;
  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: 16 / 10; }
.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: 16 / 10;
  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: 16 / 9; }

/* 第 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: 16 / 9; 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; }

/* 次要项目：紧凑排版 */
.project.compact .project-visual { aspect-ratio: 16 / 8; }
.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-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.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(46,42,38,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;
}

/* ==========================================================
   业务领域
   ========================================================== */

.fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.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(46,42,38,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(46,42,38,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: #241F1B;
  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); }
  .fields { grid-template-columns: 1fr 1fr; }
  .projects { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 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(46,42,38,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; }

  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 15px 10px; }
  .stat-label { font-size: 11.5px; }
  .fields { grid-template-columns: 1fr; }
  .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; }
