/* ============================================================
   Creaconception Studio 创意工作室 · 全局样式
   ------------------------------------------------------------
   修改指南：
   1. 全站配色 → 改下面 :root 里的变量即可，全站自动生效
   2. 每个模块都有注释标题，可整段复制/删除
   3. 卡片、区块都是独立 class，增删互不影响
   ============================================================ */

/* ---------- 1. 设计变量（改这里换全站配色） ---------- */
:root {
  --cream:   #FFF3E2;   /* 米白底色 */
  --ink:     #1B1B1B;   /* 主文字/描边 */
  --blue:    #2B4BFF;   /* 电光蓝 */
  --orange:  #FF4D00;   /* 橙红 */
  --yellow:  #FFC800;   /* 明黄 */
  --purple:  #7B2FFF;   /* 紫色 */
  --white:   #FFFFFF;

  --font-display: 'Archivo Black', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body:    'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);          /* 硬阴影（潮流感来源） */
  --shadow-lg: 10px 10px 0 var(--ink);
  --radius: 20px;
  --radius-sm: 14px;

  --header-h: 84px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  /* 淡淡的圆点纹理底，增加质感 */
  background-image: radial-gradient(rgba(27,27,27,.055) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea { font-family: inherit; }

::selection { background: var(--yellow); color: var(--ink); }

/* ---------- 3. 通用工具类 ---------- */
.container { width: min(1200px, 92vw); margin: 0 auto; }

.section { padding: clamp(72px, 10vw, 130px) 0; }

/* 高亮词：黄色马克笔效果，可套在任何文字上 */
.hl {
  background: var(--yellow);
  padding: 0 .18em;
  border-radius: .2em;
  display: inline-block;
  transform: rotate(-1.5deg);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hl-blue   { background: var(--blue);   color: var(--white); }
.hl-orange { background: var(--orange); color: var(--white); }
.hl-purple { background: var(--purple); color: var(--white); }

/* 描边空心字（英文大标题装饰用） */
.text-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

/* 小标签 chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border: var(--border);
  border-radius: 999px;
  background: var(--white);
  font-size: .85rem;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
}

/* 按钮：硬阴影 + 按压动效 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border: var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background .18s;
}
.btn:hover  { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px);   box-shadow: 2px 2px 0 var(--ink); }

.btn-primary { background: var(--orange); color: var(--white); }
.btn-dark    { background: var(--ink);    color: var(--cream); }
.btn-blue    { background: var(--blue);   color: var(--white); }

/* ---------- 4. 自定义光标（仅桌面端显示） ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: opacity .2s var(--ease-out), width .25s var(--ease-out), height .25s var(--ease-out), background .25s;
}
.cursor-dot.is-hidden, .cursor-ring.is-hidden { opacity: 0; }
.cursor-dot  { width: 8px;  height: 8px;  background: var(--orange); }
.cursor-ring {
  width: 40px; height: 40px;
  border: 2.5px solid var(--ink);
  background: rgba(255, 200, 0, .18);
}
.cursor-ring.is-active { width: 64px; height: 64px; background: rgba(255, 77, 0, .22); }
@media (hover: none), (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- 5. 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 5vw;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 3px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 243, 226, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--ink);
}

.logo { position: relative; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .5px; }
/* header 里的 Logo 需要在菜单上方显示，单独提升层级 */
.site-header .logo { z-index: 110; }
/* 页脚里的 Logo 只包裹内容宽度，避免右侧留白误触 */
.footer-brand .logo { display: inline-flex; width: fit-content; }
.logo-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  background: var(--orange);
  border: var(--border);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .4s var(--ease-out);
}
.logo:hover .logo-mark { transform: rotate(180deg); }
.logo-dot { color: var(--orange); }

.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  padding: 8px 16px;
  font-weight: 700;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav-link:hover { background: var(--yellow); }
.nav-link.active { background: var(--ink); color: var(--cream); }
.btn-nav { padding: 11px 24px; margin-left: 12px; font-size: .95rem; }

/* 汉堡按钮（移动端） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 52px; height: 52px;
  border: var(--border);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 3px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- 6. 首页 Hero 全屏主视觉 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 1.8s var(--ease-out) both;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 5vw 80px;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 26px;
  animation: popIn .8s var(--ease-out) .2s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 6.8rem);
  line-height: 1.12;
  letter-spacing: .01em;
}
/* 标题逐行升起动画：包两层 span 即可复用
   （初始状态写在 from 关键帧里，动画被禁用时标题依然可见） */
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-inner {
  display: inline-block;
  animation: lineUp 1s var(--ease-out) both;
}
.hero-title .line:nth-child(1) .line-inner { animation-delay: .35s; }
.hero-title .line:nth-child(2) .line-inner { animation-delay: .5s; }
.hero-title .line:nth-child(3) .line-inner { animation-delay: .65s; }
@keyframes lineUp {
  from { transform: translateY(115%); }
  to   { transform: translateY(0); }
}

.hero-sub {
  max-width: 560px;
  margin: 28px auto 0;
  font-size: 1.1rem;
  font-weight: 500;
  animation: popIn .8s var(--ease-out) .9s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
  animation: popIn .8s var(--ease-out) 1.1s both;
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(24px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* 漂浮小装饰（星星/圆点），随处可复用 */
.deco {
  position: absolute;
  z-index: 1;
  animation: floaty 5s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(8deg); }
}

.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  animation: popIn 1s var(--ease-out) 1.4s both;
}
.scroll-hint::after {
  content: '';
  width: 2px; height: 42px;
  background: var(--ink);
  animation: scrollLine 1.6s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); }
  50%  { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- 7. 跑马灯 Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 18px 0;
  transform: rotate(-1.2deg) scale(1.02);
}
/* 跑马灯滚动由 JS 驱动（js/main.js 的 initMarquee）：
   自动按视口宽度克隆内容并逐像素无缝滚动，
   任何屏幕宽度、任何词条数量都不会留空 */
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px; /* 与内部间距一致，保证相邻两组无缝衔接 */
  font-family: var(--font-display);
  font-size: 1.35rem;
  white-space: nowrap;
}
.marquee-item .star { color: var(--yellow); }

/* 彩色版跑马灯（用于页面中部的变化） */
.marquee-color { background: var(--yellow); color: var(--ink); }
.marquee-color .marquee-item .star { color: var(--orange); }

/* ---------- 8. 区块标题（每个 section 通用） ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.sec-tag {
  display: inline-block;
  padding: 7px 18px;
  margin-bottom: 18px;
  border: var(--border);
  border-radius: 999px;
  background: var(--purple);
  color: var(--white);
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .15em;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
}
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.9rem);
  line-height: 1.2;
}
.sec-desc { max-width: 460px; font-weight: 500; }

/* ---------- 9. 作品卡片（复制 .work-card 整段即可新增） ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  will-change: transform;
  cursor: pointer;
}
.work-card:hover { transform: translate(-5px, -5px); box-shadow: var(--shadow-lg); }
/* 键盘可达性：聚焦时给出清晰描边（整张卡片是链接） */
.work-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.work-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: var(--border); }
.work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.work-card:hover .work-thumb img { transform: scale(1.08) rotate(1deg); }

/* 分类角标 */
.work-cat {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 14px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-size: .78rem;
  font-weight: 900;
  transform: rotate(-3deg);
}

.work-info { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-title { font-family: var(--font-display); font-size: 1.3rem; }
.work-desc { font-size: .95rem; opacity: .85; flex: 1; }
.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 2px dashed rgba(27,27,27,.25);
  font-size: .85rem;
  font-weight: 700;
}
.work-year { color: var(--orange); }
/* “查看详情”提示：常驻可见，hover 时跳动，移动端也能看到可点击 */
.work-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 16px;
  padding: 8px 18px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-weight: 900;
  font-size: .88rem;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform .2s var(--ease-out), background .2s, color .2s;
}
.work-card:hover .work-go { background: var(--yellow); transform: translateX(4px); }
.work-card.hide { display: none; }

/* 作品页筛选按钮 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.filter-chip {
  padding: 10px 24px;
  border: var(--border);
  border-radius: 999px;
  background: var(--white);
  font-weight: 900;
  font-size: .95rem;
  box-shadow: 3px 3px 0 var(--ink);
  transition: all .2s var(--ease-out);
}
.filter-chip:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.filter-chip.active { background: var(--ink); color: var(--cream); }

/* ---------- 10. 图文并排（关于/首页简介通用） ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  display: block;
  width: 100%;
  height: auto; /* 显式 auto，覆盖 img 的 height 属性被某些浏览器反映为固定像素高度导致的拉伸 */
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
/* 图片角落的贴纸装饰 */
.sticker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 96px; height: 96px;
  border: var(--border);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: .8rem;
  text-align: center;
  line-height: 1.3;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(8deg);
  z-index: 2;
}
.sticker-tr { top: -30px; right: -20px; }
.sticker-bl { bottom: -30px; left: -20px; background: var(--blue); color: var(--white); transform: rotate(-8deg); }

.split-body p { margin-bottom: 1.1em; font-weight: 500; }
.split-body .btn { margin-top: 14px; }

/* ---------- 11. 服务/价值卡片（复制 .service-card 整段即可新增） ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
/* 三列变体：关于页使用，加 grid-3 即可 */
.service-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.service-card {
  padding: 32px 26px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.service-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.service-num {
  font-family: var(--font-display);
  font-size: .95rem;
  display: inline-block;
  padding: 4px 14px;
  margin-bottom: 20px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
}
.service-card:nth-child(2) .service-num { background: var(--orange); color: var(--white); }
.service-card:nth-child(3) .service-num { background: var(--blue);   color: var(--white); }
.service-card:nth-child(4) .service-num { background: var(--purple); color: var(--white); }
.service-title { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 10px; }
.service-desc { font-size: .92rem; opacity: .85; }

/* ---------- 12. 数据带（复制 .stat 整段即可新增） ---------- */
.stats-band { background: var(--ink); border-top: var(--border); border-bottom: var(--border); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: clamp(48px, 6vw, 80px) 0;
}
.stat { text-align: center; color: var(--cream); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: var(--yellow);
  line-height: 1.1;
}
.stat:nth-child(2) .stat-num { color: var(--orange); }
.stat:nth-child(3) .stat-num { color: #6C8CFF; }
.stat:nth-child(4) .stat-num { color: #B98AFF; }
.stat-label { font-weight: 700; margin-top: 6px; }

/* ---------- 13. 团队卡片（复制 .team-card 整段即可新增） ---------- */
.team-grid {
  display: grid;
  /* 团队目前固定 3 人：只保留 3 列或 1 列，避免 2 列时第二排空一位 */
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
.team-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.team-card:hover { transform: translate(-5px, -5px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.team-photo { aspect-ratio: 1 / 1; overflow: hidden; border-bottom: var(--border); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.team-card:hover .team-photo img { transform: scale(1.07); }
.team-info { padding: 20px 22px 26px; }
.team-name { font-family: var(--font-display); font-size: 1.2rem; }
.team-role {
  display: inline-block;
  margin: 8px 0 10px;
  padding: 3px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-size: .78rem;
  font-weight: 900;
}
.team-bio { font-size: .9rem; opacity: .85; }
/* 整张卡片为链接：可点击跳转个人网站 */
.team-card { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.team-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.team-card:hover .work-go { background: var(--yellow); transform: translateX(4px); }

/* ---------- 14. CTA 大横幅 ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--purple); border-top: var(--border); border-bottom: var(--border); }
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(72px, 9vw, 120px) 5vw;
  color: var(--white);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.2;
  margin-bottom: 20px;
}
.cta-title .hl { color: var(--ink); }
.cta-desc { font-size: 1.1rem; font-weight: 500; margin-bottom: 36px; opacity: .92; }
.cta-deco { position: absolute; font-size: 4rem; opacity: .35; animation: floaty 6s ease-in-out infinite; }

/* ---------- 15. 页脚 ---------- */
.site-footer { background: var(--ink); color: var(--cream); overflow: hidden; }
.footer-giant {
  font-family: var(--font-display);
  /* Archivo Black 全大写 14 字约 10.5em 宽：8.8vw × 10.5 ≈ 92vw，
     任何窗口尺寸都完整显示不溢出（若改文案字数需按比例重算 vw 值） */
  font-size: clamp(1.5rem, 8.8vw, 10rem);
  text-align: center;
  line-height: 1;
  padding: clamp(40px, 6vw, 80px) 0 0;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 243, 226, .5);
  white-space: nowrap;
  user-select: none;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: clamp(48px, 6vw, 72px) 0;
}
.footer-brand p { margin-top: 16px; opacity: .75; max-width: 340px; font-size: .95rem; }
.footer-title { font-family: var(--font-display); font-size: 1rem; color: var(--yellow); margin-bottom: 18px; letter-spacing: .1em; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { opacity: .8; transition: opacity .2s, padding-left .2s; }
.footer-links a:hover { opacity: 1; padding-left: 8px; color: var(--yellow); }
.footer-bar {
  border-top: 2px dashed rgba(255,243,226,.25);
  padding: 22px 0;
  text-align: center;
  font-size: .85rem;
  opacity: .7;
}
.social-row { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.social-chip {
  padding: 8px 18px;
  border: 2.5px solid var(--cream);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  transition: all .2s var(--ease-out);
}
.social-chip:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: translateY(-3px); }

/* ---------- 16. 子页面页头 ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(60px, 9vw, 110px)) 0 clamp(50px, 7vw, 90px);
  text-align: center;
  overflow: hidden;
}
.page-hero .sec-tag { transform: rotate(-2deg); }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  line-height: 1.15;
}
.page-sub { max-width: 520px; margin: 22px auto 0; font-size: 1.05rem; font-weight: 500; }
.page-hero .deco { font-size: 3rem; }

/* ---------- 17. 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.contact-info-card {
  padding: 30px;
  margin-bottom: 24px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.contact-info-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.contact-info-card p { opacity: .85; }

/* 可点击复制的大邮箱 */
.big-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  color: var(--blue);
  border-bottom: 4px solid var(--yellow);
  cursor: pointer;
  transition: color .2s;
}
.big-email:hover { color: var(--orange); }

/* 留言便签墙（复制 .note-card 整段即可新增一张便签） */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.note-card {
  position: relative;
  padding: 36px 24px 22px;
  border: var(--border);
  border-radius: 6px 6px 18px 6px;
  background: var(--yellow);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
/* 六张一循环：不同底色 + 不同倾斜角，看起来像随手贴上墙的 */
.note-card:nth-child(6n+1) { background: var(--yellow); transform: rotate(-2deg); }
.note-card:nth-child(6n+2) { background: var(--blue);   color: var(--white); transform: rotate(1.6deg); }
.note-card:nth-child(6n+3) { background: var(--white);  transform: rotate(-1deg); }
.note-card:nth-child(6n+4) { background: var(--orange); color: var(--white); transform: rotate(2deg); }
.note-card:nth-child(6n+5) { background: var(--purple); color: var(--white); transform: rotate(-1.6deg); }
.note-card:nth-child(6n+6) { background: var(--cream);  transform: rotate(1deg); }
.note-card:hover {
  transform: rotate(0) translateY(-6px) scale(1.03);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
/* 便签顶部的胶带 */
.note-tape {
  position: absolute;
  top: -13px; left: 50%;
  width: 92px; height: 26px;
  background: rgba(255, 255, 255, .62);
  border: 2px solid rgba(27, 27, 27, .12);
  border-radius: 3px;
  transform: translateX(-50%) rotate(-3deg);
  box-shadow: 1px 2px 3px rgba(27, 27, 27, .12);
}
.note-text { font-weight: 700; font-size: 1.02rem; line-height: 1.65; }
.note-from { margin-top: 14px; font-size: .85rem; font-weight: 900; opacity: .7; text-align: right; }

/* ---------- 18. 资源页卡片（复制 .resource-card 整段即可新增） ---------- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 38px);
}
.resource-card {
  padding: 34px 28px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.resource-card:hover { transform: translate(-5px, -5px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.resource-icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 22px;
  border: var(--border);
  border-radius: 16px;
  font-size: 1.6rem;
  box-shadow: 3px 3px 0 var(--ink);
}
.resource-title { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 10px; }
.resource-desc { font-size: .95rem; opacity: .85; margin-bottom: 22px; }
.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  border-bottom: 3px solid var(--yellow);
  transition: color .2s, border-color .2s;
}
.resource-link:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- 19. Toast 提示条 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  transform: translate(-50%, 120px);
  z-index: 200;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  border: 2.5px solid var(--cream);
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease-out);
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- 20. 滚动出现动画（给任意元素加 .reveal 即可） ----------
   渐进增强：默认“已出现”(opacity:1)，仅当 JS 可用(<html class="js">)时
   才在首屏绘制前隐藏初始态，再由 JS 滚动揭示。这样禁用 JS / 脚本失败时
   内容始终可见，且首屏无闪烁。 */
.reveal { opacity: 1; transform: none; }

.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.js .reveal-left  { transform: translateX(-48px); }
.js .reveal-right { transform: translateX(48px); }
.js .reveal-scale { transform: scale(.88); }
.js .reveal.in { opacity: 1; transform: none; }

/* 延迟档位：.d1 ~ .d5 */
.d1 { transition-delay: .1s; } .d2 { transition-delay: .22s; }
.d3 { transition-delay: .34s; } .d4 { transition-delay: .46s; }
.d5 { transition-delay: .58s; }

/* 用户系统开启了“减少动态效果”时，自动关闭动画（需覆盖 .js 隐藏态） */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   20. 响应式适配
   ============================================================ */

/* 平板 */
@media (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid,
  .service-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
  /* 团队保持 3 列，不在平板断点变成 2 列（3 张卡会出现空位） */
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* 顶部导航换行临界点（6 个导航项 + Logo + CTA）：
   在 900px 以下直接切汉堡菜单，避免顶栏折成两行 */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  /* 菜单打开时：头部保持最上层并转为透明 */
  .site-header { z-index: 106; }
  .site-header.nav-open {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
  }
  .site-header.nav-open .logo-text { color: var(--cream); }

  /* 移动端全屏菜单 */
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease-out), visibility .35s;
  }
  .site-nav.open { opacity: 1; visibility: visible; }
  .site-nav .nav-link {
    color: var(--cream);
    font-family: var(--font-display);
    font-size: 2rem;
    padding: 12px 32px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), background .2s;
  }
  .site-nav.open .nav-link { opacity: 1; transform: translateY(0); }
  .site-nav.open .nav-link:nth-child(1) { transition-delay: .08s; }
  .site-nav.open .nav-link:nth-child(2) { transition-delay: .14s; }
  .site-nav.open .nav-link:nth-child(3) { transition-delay: .2s; }
  .site-nav.open .nav-link:nth-child(4) { transition-delay: .26s; }
  .site-nav.open .nav-link:nth-child(5) { transition-delay: .32s; }
  .site-nav.open .nav-link:nth-child(6) { transition-delay: .38s; }
  .site-nav .nav-link.active { background: var(--orange); color: var(--white); }
  .btn-nav { margin: 18px 0 0; }
}

/* 手机 */
@media (max-width: 768px) {
  :root { --header-h: 72px; }

  .work-grid,
  .service-grid,
  .service-grid.grid-3,
  .team-grid,
  .resource-grid,
  .split,
  .contact-grid,
  .notes-grid { grid-template-columns: 1fr; }

  .split-media { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .sticker { width: 76px; height: 76px; font-size: .68rem; }
  .sticker-tr { right: -8px; }
  .sticker-bl { left: -8px; }
  .marquee { transform: rotate(0) scale(1); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .scroll-hint { display: none; }
}
