/* 艺心 YIXIN 字体系统 · 方案A 宋体编辑感（思源宋体 × Newsreader，均为 OFL 免费商用） */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600&family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;1,6..72,400&family=Noto+Serif+SC:wght@300;400;500;600&display=swap');

/* ========== Reset & Base ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ===== 配色 · 暖白 + 克莱因蓝（单一 token 源，见 yixin-type-system.css）=====
     蓝要克制、留白为主。语义名沿用旧变量以复用组件样式。 */
  --blue:      #2436C7;   /* 克莱因蓝 · 主色点睛 */
  --blue-deep: #1f2ea3;   /* 蓝的加深（hover/深底蓝字） */
  --bg:        #FBFAF8;   /* 暖白页面底 */
  --ink:       #1A1A1A;   /* 正文近黑 */
  --faint:     #9A9A9A;   /* 点缀/占位 */
  --line:      #E6E3DD;   /* 分隔线 */

  --primary: var(--ink);        /* 标题/logo 文字 */
  --accent:  var(--blue);       /* 主色点睛（按钮/标签/图标/下划线） */
  --light:   #F4F1EA;           /* 交替区块的暖白 */
  --dark:    #101014;           /* 反白深底（如需） */
  --text:      var(--ink);
  --text-light:#6B6B6B;
  --white: #fff;                /* 卡片底 */
  --transition: 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);

  /* 字体系统（三角色）：英文写前、中文写后，各归其位。
     Display 指向京华老宋体，缺失时回退思源宋体（SVG 曲线方案待字体文件）。*/
  --font-display: 'Newsreader', 'KingHwa_OldSong', 'Noto Serif SC', "Source Han Serif SC", "Songti SC", serif;
  --font-body:    'Newsreader', 'Noto Serif SC', "Source Han Serif SC", "Songti SC", "STSong", serif;
  --font-latin:   'Newsreader', Georgia, "Times New Roman", serif;
  --font-accent:  'Archivo', -apple-system, "Helvetica Neue", sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
  font-feature-settings: "palt" 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img, video {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Header / Navbar ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(36,54,199,0.10);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 20px rgba(36,54,199,0.10);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: block;
  color: var(--blue);
}

.logo-word {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.logo-cn {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.10em;
}

.logo-en {
  font-family: var(--font-accent);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--accent);
  margin-top: 6px;
  padding-left: 2px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* 淡蓝晕染，避免与白色导航连成一片大白屏 */
  background:
    radial-gradient(120% 90% at 78% 50%, rgba(36,54,199,0.10) 0%, rgba(36,54,199,0) 58%),
    linear-gradient(180deg, #EDEFFA 0%, #F7F6FB 46%, var(--bg) 100%);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding-top: 112px;   /* 与固定导航拉开距离 */
  padding-bottom: 72px;
}

/* 视觉母题：生成式同心涟漪（克莱因蓝，跟随鼠标，克制留白） */
.hero-ripple {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;   /* 涟漪只做背景，按钮/链接照常可点 */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-tag {
  display: inline-block;
  padding: 8px 20px;
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(36,54,199,0.35);
  border-radius: 20px;
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.hero-subtitle {
  font-family: var(--font-latin);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--blue);
  margin-bottom: 28px;
}

.hero p {
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--text-light);
  max-width: 620px;
  margin-bottom: 34px;
  line-height: 1.95;
}

.hero p .en {
  font-family: var(--font-latin);
  font-weight: 400;
  font-size: 1.05em;
}

/* Hero 按钮：克莱因蓝实心 + 近黑描边 */
.hero .btn-primary {
  background: var(--blue);
  border: 1px solid var(--blue);
  color: #fff;
}
.hero .btn-primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 8px 24px rgba(36,54,199,0.28);
}
.hero .btn-outline {
  border: 1px solid var(--line);
  color: var(--ink);
}
.hero .btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(36,54,199,0.04);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: #1f2ea3;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(36,54,199,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  margin-left: 12px;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}

/* ========== Section Common ========== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 16px;
}

/* 标题下的克莱因蓝短线，给素净的版面一个色彩落点 */
.section-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ========== Portfolio / Works ========== */
.works-section { background: var(--white); }

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 22px;
  border: 2px solid #e0e0e0;
  border-radius: 24px;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(36,54,199,0.05);
}

/* 瀑布流：保持每张作品图的原始比例，不裁切 */
.works-grid {
  column-count: 3;
  column-gap: 24px;
}

.work-card {
  position: relative;
  display: block;
  break-inside: avoid;      /* 卡片不被分栏截断 */
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  border: 0.5px solid var(--line);
}

.work-card img,
.work-card video {
  width: 100%;
  height: auto;           /* 原始比例完整显示 */
  display: block;
  transition: transform 0.5s ease;
}

.work-card:hover img,
.work-card:hover video {
  transform: scale(1.05);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26,26,46,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.work-overlay h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.work-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

.work-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  background: rgba(36,54,199,0.92);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
  pointer-events: none;
}

.work-overlay .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(36,54,199,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-overlay .play-icon::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 18px solid var(--white);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}

/* ========== 详情页 · 设计师署名 ========== */
.detail-credit {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 0.5px solid var(--line);
}

.detail-credit img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  flex-shrink: 0;
}

.detail-credit .credit-label {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}

.detail-credit .credit-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.detail-credit .credit-role {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* 多位设计师时的头像组 */
.detail-credit .credit-people {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.detail-credit .credit-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 灯箱画廊左右切换箭头 */
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  z-index: 2;
}
.lb-arrow:hover { background: #fff; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* 多图作品卡底色 */
.work-card[data-gallery] { background: #fff; }

/* 文创产品：与其他作品同宽，参与同一个瀑布流 */
.duo-card {
  cursor: default;
  background: var(--white);
  padding: 14px 14px 4px;
}

.duo-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.duo-imgs img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #F4F1EA;
  border-radius: 8px;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

.duo-imgs img:hover { transform: translateY(-3px); }

.duo-cap {
  text-align: center;
  padding: 16px 6px 14px;
}

.duo-cap h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.duo-cap p {
  font-size: 0.82rem;
  color: var(--blue);
  margin-top: 5px;
  letter-spacing: 0.04em;
}

/* 卡内并排图不需要整卡 hover 遮罩 */
.duo-card .work-overlay { display: none; }

/* ========== 数据条（克莱因蓝） ========== */
.stats-band {
  background: var(--blue);
  color: #fff;
  padding: 54px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.stat-num i {
  font-style: normal;
  font-size: 1.1rem;
  margin-left: 3px;
  opacity: 0.75;
}

.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.04em;
}

/* ========== 合作流程 ========== */
/* 深蓝服务区之后回到纯白，形成 深→浅 的呼吸 */
.process-section { background: var(--white); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  background: var(--white);
  border: 0.5px solid var(--line);
  border-radius: 12px;
  padding: 30px 26px 28px;
  position: relative;
  transition: all var(--transition);
}

.process-step:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(36,54,199,0.10);
}

.step-num {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--blue);
  display: block;
  margin-bottom: 14px;
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.85;
}

/* ========== 联系（单邮箱，无表单） ========== */
/* 淡蓝底，承接白色流程区，再交给深蓝页脚收尾 */
.contact-section { background: #EEF0FA; }

.contact-card {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 0.5px solid var(--line);
  border-radius: 16px;
  padding: 54px 40px 46px;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.contact-card > p {
  color: var(--text-light);
  line-height: 1.9;
  max-width: 460px;
  margin: 0 auto;
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 6px;
  padding: 16px 30px;
  background: var(--blue);
  color: #fff;
  border-radius: 40px;
  font-family: var(--font-latin);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}

.contact-mail:hover {
  background: var(--blue-deep);
  box-shadow: 0 10px 28px rgba(36,54,199,0.28);
  color: #fff;
}

.contact-mail .icon-line { width: 20px; height: 20px; }

.contact-wechat {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 0.5px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-frame {
  width: 148px;
  height: 148px;
  padding: 10px;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 12px;
}

.qr-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }

.qr-label {
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

.contact-note {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--faint);
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 40px 24px 34px; }
  .contact-mail { font-size: 0.92rem; padding: 14px 22px; }
}

/* ========== About Section ========== */
/* 淡蓝底，与纯白的作品区拉开层次 */
.about-section { background: #E6E9F8; }

.about-section .feature-icon {
  background: rgba(36,54,199,0.12);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--accent);
  color: var(--white);
  padding: 16px 24px;
  border-radius: 12px;
  text-align: center;
}

.about-badge h4 {
  font-size: 1.8rem;
  font-weight: 700;
}

.about-badge p {
  font-size: 0.8rem;
  opacity: 0.9;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-text > p {
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
  margin-bottom: 30px;   /* 与下方段落拉开距离 */
}

/* 末段不再留底部外边距，避免整列底部多出一块空白 */
.about-text > p:last-child { margin-bottom: 0; }

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(36,54,199,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

/* 线性图标（Lucide 内联 SVG，单色描边，替代 emoji） */
.icon-line {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.feature-icon .icon-line { width: 22px; height: 22px; }
.service-icon .icon-line { width: 28px; height: 28px; }
.contact-item .icon .icon-line { width: 20px; height: 20px; }

.feature-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
}

.feature-item p {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ========== Services ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* 服务板块：品牌深蓝（克莱因蓝同色系加深）+ 半透明卡片，全站最强对比 */
.services-section {
  background: linear-gradient(165deg, #2436C7 0%, #1B25A0 55%, #161E86 100%);
}

.services-section .section-header h2 { color: #fff; }
.services-section .section-header p { color: rgba(255,255,255,0.66); }
.services-section .section-header h2::after { background: #8fa0ff; }

.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(143,160,255,0.6);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.service-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  text-wrap: pretty;   /* 避免末行只剩一两个字 */
}

.process-step p,
.section-header p { text-wrap: pretty; }

/* ========== Contact Section ========== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--light);
  border-radius: 20px;
  padding: 48px;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn {
  align-self: flex-start;
}

/* ========== Footer ========== */
.footer {
  background: #161E86;          /* 品牌深蓝，与服务区同色系，稳住收尾 */
  color: rgba(255,255,255,0.72);
  padding: 54px 0 26px;
  border-top: none;
}

.footer .logo,
.footer .logo-cn { color: #fff; }
.footer .logo-mark { color: #8fa0ff; }
.footer .logo-en { color: #8fa0ff; }
.footer-links a { color: rgba(255,255,255,0.72); }
.footer-links a:hover { color: #fff; }

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  margin-bottom: 24px;
}

.footer .logo {
  color: var(--primary);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  padding-top: 22px;
}

/* ========== Lightbox ========== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  overflow: hidden;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-content.flipbook {
  width: min(1200px, 92vw);
  height: 85vh;
  background: var(--white);
}

.lightbox-content.flipbook iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .lightbox-content.flipbook {
    width: 94vw;
    height: 82vh;
  }
}

/* ========== Work Detail Page (展览汇编模板) ========== */
a.work-card {
  display: block;
}

.detail-main {
  padding-top: 72px;
}

.detail-hero {
  padding: 64px 0 48px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.back-link:hover {
  color: var(--accent);
}

.detail-tag {
  display: inline-block;
  background: rgba(36,54,199,0.08);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.detail-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 24px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 28px;
}

.detail-meta div h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.detail-meta div p {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 500;
}

.detail-intro {
  max-width: 760px;
  color: #555;
  line-height: 1.9;
}

.detail-intro p + p {
  margin-top: 12px;
}

.detail-section {
  padding: 32px 0 64px;
}

.detail-section h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.detail-section .section-sub {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

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

.spread-grid .work-card {
  aspect-ratio: 518 / 628;
  box-shadow: var(--shadow);
}

/* 详情页：宽幅项目图纵向铺陈，整幅完整展示 */
.detail-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-stack .work-card {
  box-shadow: var(--shadow);
}

.poster-grid {
  columns: 3 300px;
  column-gap: 24px;
}

.poster-grid figure {
  break-inside: avoid;
  margin-bottom: 24px;
}

.poster-grid .work-card {
  aspect-ratio: auto;
  box-shadow: var(--shadow);
}

.poster-grid figcaption {
  padding: 10px 4px 0;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.page-embed-wrap {
  background: var(--light);
  border-radius: 16px;
  padding: 16px;
}

.page-embed {
  display: block;
  width: 100%;
  height: min(82vh, 900px);
  border: 0;
  border-radius: 10px;
  background: var(--white);
}

.embed-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 12px;
}

.embed-note a {
  color: var(--accent);
}

@media (max-width: 768px) {
  .spread-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .detail-meta {
    gap: 10px 24px;
  }
}

/* ========== Typography · 宋体编辑感 ========== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
}

/* 思源宋体最重仅 600，用 600 呈现标题份量（避免 900 假粗） */
h1 { font-weight: 600; line-height: 1.25; }
h2 { font-weight: 600; }
h3 { font-weight: 500; }

/* 英文点缀：Archivo 全大写 + 大字距，杂志刊头感 */
.hero-tag {
  font-family: var(--font-accent);
  letter-spacing: 0.30em;
}

.detail-tag,
.work-badge {
  letter-spacing: 0.08em;
}

/* 正文内嵌英文/数字用斜体人文衬线，带手写笔意 */
.detail-intro,
.hero-content > p {
  font-size: 1.02rem;
  line-height: 1.9;
}

/* ========== Scroll Animations ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 968px) {
  .works-grid {
    column-count: 2;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  .hero-stats {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-120%);
    transition: transform var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .works-grid {
    column-count: 1;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }
}
