/* ======================================================================
   云梦 · 数字创意工作室 — 设计系统
   方向：编辑感 / 轻奢 · 天空云朵气质
   ====================================================================== */

:root {
  /* —— 色彩 —— */
  --sky-top: #5b93d6;
  --sky-mid: #9cc2e8;
  --sky-low: #d6e6f4;
  --horizon: #f6e0cf;
  --horizon-2: #f9d8c2;

  --ink: #20303f;          /* 主文字 深蓝灰 */
  --ink-soft: #4a5e70;
  --ink-faint: #7d8e9c;
  --line: rgba(32, 48, 63, 0.12);
  --line-soft: rgba(32, 48, 63, 0.07);

  --paper: #fbfcfe;        /* 浅色纸面 */
  --paper-warm: #fdf7f1;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.78);

  --gold: #c98a4b;         /* 暖霞金 强调色 */
  --gold-deep: #a96f33;
  --azure: #2f6fc0;        /* 深天蓝 链接/强调 */

  /* —— 字体 —— */
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  /* —— 字号（流式） —— */
  --fs-hero: clamp(4rem, 2rem + 10vw, 10.5rem);
  --fs-h2: clamp(2rem, 1.2rem + 3.4vw, 4rem);
  --fs-h3: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 0.95rem + 0.6vw, 1.4rem);
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  --fs-label: 0.78rem;

  /* —— 间距 / 布局 —— */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(5rem, 3rem + 8vw, 11rem);

  /* —— 动效 —— */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.6s;

  --shadow-soft: 0 24px 60px -32px rgba(40, 70, 110, 0.45);
  --shadow-card: 0 18px 50px -30px rgba(40, 70, 110, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* —— 滚动进度条 —— */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--azure), var(--gold));
  z-index: 100; transition: width 0.1s linear;
}

/* —— 天空背景（全局氛围层） —— */
.atmosphere {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg,
      var(--sky-top) 0%,
      var(--sky-mid) 22%,
      var(--sky-low) 44%,
      var(--paper) 62%,
      var(--paper) 100%);
}
.atmosphere::after {
  content: ""; position: absolute; bottom: 38%; left: 50%; transform: translateX(-50%);
  width: 80vmax; height: 60vmax;
  background: radial-gradient(circle at 50% 100%, rgba(255, 245, 232, 0.85), rgba(255, 230, 205, 0.25) 40%, transparent 66%);
}

/* 飘动云层 */
.clouds { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.cloud {
  position: absolute; border-radius: 50%;
  background: radial-gradient(closest-side, #fff 0%, rgba(255,255,255,0.9) 55%, rgba(255,255,255,0) 100%);
  filter: blur(4px); opacity: 0.9; will-change: transform;
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: inherit; }
.cloud::before { width: 62%; height: 90%; left: -20%; top: 16%; }
.cloud::after { width: 72%; height: 100%; right: -26%; top: 6%; }
.cloud.a { width: 44vmin; height: 16vmin; top: 9%;  left: -50vmin; animation: drift 80s linear infinite; }
.cloud.b { width: 30vmin; height: 12vmin; top: 22%; left: -40vmin; opacity: .75; animation: drift 110s linear infinite 8s; }
.cloud.c { width: 56vmin; height: 20vmin; top: 34%; left: -64vmin; opacity: .8; animation: drift 130s linear infinite 16s; }
@keyframes drift { to { transform: translateX(180vw); } }

/* ======================================================================
   导航
   ====================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), backdrop-filter var(--dur);
}
.nav.scrolled {
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav .inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: baseline; gap: 0.5rem; }
.brand .logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.12em; color: var(--ink); }
.brand .en { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.22em; color: var(--ink-faint); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a { font-size: 0.92rem; color: var(--ink-soft); position: relative; transition: color var(--dur) var(--ease); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--ink);
  transition: width var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 0.86rem; color: var(--ink) !important; border: 1px solid var(--ink); border-radius: 100px;
  padding: 0.5rem 1.2rem; transition: all var(--dur) var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--ink); color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; align-items: stretch;
    background: var(--glass-strong); backdrop-filter: blur(18px); padding: 1rem var(--gutter) 2rem;
    box-shadow: var(--shadow-soft); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav-cta { text-align: center; margin-top: 1rem; }
}

/* ======================================================================
   Hero
   ====================================================================== */
.hero { position: relative; padding-top: clamp(2rem, 5vw, 5rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.hero .eyebrow {
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink-soft); display: inline-flex; align-items: center; gap: 0.7rem;
}
.hero .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-title {
  font-family: var(--serif); font-weight: 600; font-size: var(--fs-hero); line-height: 0.95;
  letter-spacing: 0.08em; margin: 1rem 0 0; text-indent: 0.08em;
  background: linear-gradient(118deg, #20303f 0%, #2f6fc0 52%, #c98a4b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 36px rgba(60, 95, 140, 0.22));
}
.hero-tagline {
  font-family: var(--serif); font-size: var(--fs-h3); color: var(--ink); margin-top: 1.5rem; letter-spacing: 0.04em;
  max-width: 22ch;
}
.hero-sub { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 46ch; margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.scroll-cue { margin-top: 3.5rem; display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink-faint); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.2em; }
.scroll-cue .bar { width: 1px; height: 36px; background: var(--ink-faint); position: relative; overflow: hidden; }
.scroll-cue .bar::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--ink); animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; border-radius: 100px;
  padding: 0.9rem 1.8rem; transition: all var(--dur) var(--ease); cursor: pointer; border: 1px solid transparent;
}
.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-solid { background: var(--ink); color: #fff; box-shadow: var(--shadow-soft); }
.btn-solid:hover { background: var(--azure); transform: translateY(-2px); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--glass); backdrop-filter: blur(8px); }
.btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ======================================================================
   数据 strip
   ====================================================================== */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(1.6rem, 3vw, 2.6rem) 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(1rem, 3vw, 2.4rem); }
.stat .num { font-family: var(--serif); font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.stat .num .u { font-size: 0.5em; color: var(--gold-deep); margin-left: 0.1em; }
.stat .cap { font-size: 0.86rem; color: var(--ink-faint); margin-top: 0.6rem; letter-spacing: 0.02em; }
@media (max-width: 720px) {
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ======================================================================
   通用区块
   ====================================================================== */
section { position: relative; }
.block { padding-block: var(--section-y); }
.block.paper { background: var(--paper); }
.block.warm { background: linear-gradient(180deg, var(--paper), var(--paper-warm)); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head .kicker { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: 1rem; }
.sec-head .kicker .idx { color: var(--ink-faint); margin-right: 0.8rem; }
.sec-head h2 { font-family: var(--serif); font-size: var(--fs-h2); font-weight: 600; line-height: 1.06; letter-spacing: 0.01em; max-width: 16ch; }
.sec-head .aside { max-width: 38ch; color: var(--ink-soft); font-size: var(--fs-body); }

/* —— 关于 —— */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-grid .manifesto { font-family: var(--serif); font-size: clamp(1.5rem, 1rem + 2vw, 2.6rem); line-height: 1.35; letter-spacing: 0.01em; }
.about-grid .manifesto em { font-style: normal; color: var(--gold-deep); }
.about-grid .body p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.about-grid .body p:last-child { margin-bottom: 0; }
.about-visual {
  aspect-ratio: 4 / 5; border-radius: 18px; position: relative; overflow: hidden; box-shadow: var(--shadow-card);
  background:
    radial-gradient(120% 80% at 70% 10%, rgba(255,255,255,0.9), transparent 50%),
    linear-gradient(160deg, var(--sky-mid), var(--sky-low) 45%, var(--horizon));
  border: 1px solid var(--line-soft);
}
.about-visual .seal {
  position: absolute; inset: auto 1.4rem 1.4rem auto; font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.2em; color: var(--ink-soft); writing-mode: vertical-rl;
}
.about-visual .glyph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 12vmin; color: rgba(255,255,255,0.85); letter-spacing: 0.1em; text-shadow: 0 4px 30px rgba(60,95,140,0.3); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-visual { max-width: 420px; } }

/* —— 服务 bento —— */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.svc {
  background: var(--glass-strong); border: 1px solid var(--line-soft); border-radius: 18px; padding: 1.8rem;
  backdrop-filter: blur(10px); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
  position: relative; overflow: hidden;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--line); }
.svc .no { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.18em; color: var(--gold-deep); }
.svc h3 { font-family: var(--serif); font-size: var(--fs-h3); margin: 1rem 0 0.6rem; font-weight: 600; }
.svc p { color: var(--ink-soft); font-size: 0.95rem; }
.svc .tags { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.svc .tags span { font-size: 0.72rem; color: var(--ink-faint); border: 1px solid var(--line); border-radius: 100px; padding: 0.2rem 0.7rem; }
.svc.lg { grid-column: span 3; }
.svc.md { grid-column: span 2; }
.svc.sm { grid-column: span 2; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } .svc.lg, .svc.md, .svc.sm { grid-column: span 1; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* —— 作品 —— */
.works { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
.work {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 22px; border: 1px solid var(--line-soft);
  background: var(--glass-strong); backdrop-filter: blur(10px); transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.work:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.work:nth-child(even) { grid-template-columns: 1.1fr 0.9fr; }
.work:nth-child(even) .work-cover { order: 2; }
.work-cover { aspect-ratio: 16 / 11; border-radius: 16px; position: relative; overflow: hidden; border: 1px solid var(--line-soft); }
.work-cover .label { position: absolute; left: 1rem; bottom: 0.9rem; font-family: var(--serif); font-size: 2.4rem; color: rgba(255,255,255,0.92); letter-spacing: 0.08em; text-shadow: 0 4px 24px rgba(40,70,110,0.35); }
.work-cover.k1 { background: linear-gradient(150deg, #7fb0e6, #cfe2f3 55%, #f6e0cf); }
.work-cover.k2 { background: linear-gradient(150deg, #b9a7d8, #e7dcf2 50%, #f9e2d2); }
.work-cover.k3 { background: linear-gradient(150deg, #8fd0c2, #d7efe6 50%, #f3ead7); }
.work-cover.k4 { background: linear-gradient(150deg, #e6b6a0, #f5dfd0 55%, #eef1f5); }
.work-meta .row { display: flex; gap: 1rem; align-items: center; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; color: var(--ink-faint); text-transform: uppercase; }
.work-meta h3 { font-family: var(--serif); font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem); font-weight: 600; margin: 0.8rem 0 0.7rem; }
.work-meta p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.work-meta .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.work-meta .tags span { font-size: 0.74rem; color: var(--ink-soft); background: rgba(32,48,63,0.05); border-radius: 100px; padding: 0.25rem 0.8rem; }
@media (max-width: 760px) {
  .work, .work:nth-child(even) { grid-template-columns: 1fr; }
  .work:nth-child(even) .work-cover { order: 0; }
}

/* —— 手记 / 文章 —— */
.notes { display: grid; gap: 0; }
.note {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem, 3vw, 2.5rem); align-items: baseline;
  padding: clamp(1.4rem, 3vw, 2rem) 0; border-top: 1px solid var(--line); transition: padding var(--dur) var(--ease);
}
.note:last-child { border-bottom: 1px solid var(--line); }
.note:hover { padding-left: 0.6rem; }
.note .date { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-faint); letter-spacing: 0.08em; white-space: nowrap; }
.note .main h3 { font-family: var(--serif); font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); font-weight: 600; transition: color var(--dur); }
.note:hover .main h3 { color: var(--azure); }
.note .main p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.4rem; max-width: 60ch; }
.note .tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--gold-deep); white-space: nowrap; }
.note .arrow { display: inline-block; transition: transform var(--dur) var(--ease); }
.note:hover .arrow { transform: translate(4px, -4px); }
@media (max-width: 680px) { .note { grid-template-columns: 1fr; gap: 0.4rem; } .note .tag { display: none; } }

/* —— 流程 —— */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.step .n { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.2em; color: var(--gold-deep); }
.step h3 { font-family: var(--serif); font-size: var(--fs-h3); font-weight: 600; margin: 0.8rem 0 0.5rem; }
.step p { color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 720px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .process { grid-template-columns: 1fr; } }

/* —— 联系 —— */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-info .big { font-family: var(--serif); font-size: clamp(1.8rem, 1rem + 2.6vw, 3rem); line-height: 1.25; }
.contact-info .big a { color: var(--azure); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.contact-list { margin-top: 2.2rem; display: grid; gap: 1.2rem; }
.contact-list .item { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.contact-list .k { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; color: var(--ink-faint); text-transform: uppercase; }
.contact-list .v { color: var(--ink); }

.form { display: grid; gap: 1.2rem; background: var(--glass-strong); border: 1px solid var(--line-soft); border-radius: 20px; padding: clamp(1.6rem, 4vw, 2.4rem); backdrop-filter: blur(10px); box-shadow: var(--shadow-card); }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.04em; }
.field input, .field textarea {
  font: inherit; font-size: 0.95rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; padding: 0.85rem 1rem; transition: border-color var(--dur), box-shadow var(--dur); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 4px rgba(47,111,192,0.12); }
.form .btn-solid { justify-content: center; }
.form .hint { font-size: 0.8rem; color: var(--ink-faint); text-align: center; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ======================================================================
   页脚 + 备案号
   ====================================================================== */
footer { background: var(--ink); color: #d7e2ec; padding-top: clamp(3.5rem, 6vw, 6rem); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.foot-brand .logo { font-family: var(--serif); font-size: 2rem; color: #fff; letter-spacing: 0.12em; }
.foot-brand p { color: #9fb2c2; margin-top: 1rem; max-width: 34ch; font-size: 0.95rem; }
.foot-col h4 { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: #8aa0b2; margin-bottom: 1.2rem; }
.foot-col a { display: block; color: #c8d6e2; padding: 0.4rem 0; font-size: 0.95rem; transition: color var(--dur); }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; align-items: center; justify-content: space-between; padding: 1.8rem 0 2.6rem; font-size: 0.84rem; color: #8aa0b2; }
.foot-bottom .beian { display: inline-flex; align-items: center; gap: 0.5rem; }
.foot-bottom a { color: #9fb2c2; transition: color var(--dur); }
.foot-bottom a:hover { color: #fff; }
.foot-bottom .sep { opacity: 0.4; }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ======================================================================
   滚动揭示动效
   ====================================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal-stagger].in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cloud.a { left: 6%; } .cloud.b { left: 60%; } .cloud.c { left: 32%; }
}

/* ======================================================================
   作品卡 / 手记条目 —— 可点击态
   ====================================================================== */
.work { cursor: pointer; color: inherit; }
.work .view { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; font-size: 0.9rem; color: var(--azure); font-weight: 500; }
.work .view .arrow { transition: transform var(--dur) var(--ease); }
.work:hover .view .arrow { transform: translateX(5px); }
.svc { cursor: pointer; color: inherit; display: block; }
.svc .view { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.1rem; font-size: 0.82rem; color: var(--azure); }
.svc:hover .view .arrow { transform: translateX(4px); display: inline-block; }

/* ======================================================================
   子页面通用（详情 / 文章）
   ====================================================================== */
.subpage main { padding-top: clamp(2rem, 4vw, 3.5rem); }
.wrap.narrow { max-width: 760px; }
.back {
  display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.8rem;
  letter-spacing: 0.1em; color: var(--ink-soft); margin-bottom: 2rem; transition: color var(--dur) var(--ease);
}
.back:hover { color: var(--ink); }
.row.mono { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* 案例详情 */
.case-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.case-head h1 { font-family: var(--serif); font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); font-weight: 600; line-height: 1.04; letter-spacing: 0.01em; margin: 1rem 0 0.8rem; }
.case-head .case-sub { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 50ch; }
.case-cover {
  height: clamp(220px, 38vw, 460px); border-radius: 22px; position: relative; overflow: hidden;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-card); margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.case-cover .label { position: absolute; left: clamp(1.2rem,3vw,2.4rem); bottom: clamp(1rem,2.5vw,1.8rem); font-family: var(--serif); font-size: clamp(3rem, 8vw, 6rem); color: rgba(255,255,255,0.95); letter-spacing: 0.08em; text-shadow: 0 6px 30px rgba(40,70,110,0.35); }
.case-cover.k1 { background: linear-gradient(150deg, #7fb0e6, #cfe2f3 55%, #f6e0cf); }
.case-cover.k2 { background: linear-gradient(150deg, #b9a7d8, #e7dcf2 50%, #f9e2d2); }
.case-cover.k3 { background: linear-gradient(150deg, #8fd0c2, #d7efe6 50%, #f3ead7); }
.case-cover.k4 { background: linear-gradient(150deg, #e6b6a0, #f5dfd0 55%, #eef1f5); }

.case-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.case-facts { position: sticky; top: 100px; display: grid; gap: 1.3rem; }
.case-facts > div { border-top: 1px solid var(--line); padding-top: 0.8rem; }
.case-facts h4 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.4rem; }
.case-facts p { font-size: 0.95rem; color: var(--ink); }
.case-body section { margin-bottom: clamp(2rem, 4vw, 3rem); }
.case-body h2 { font-family: var(--serif); font-size: var(--fs-h3); font-weight: 600; margin-bottom: 1rem; letter-spacing: 0.01em; }
.case-body p { color: var(--ink-soft); margin-bottom: 1rem; }
.case-body p:last-child { margin-bottom: 0; }
.approach-step { border-left: 2px solid var(--gold); padding: 0.2rem 0 0.2rem 1.4rem; margin-bottom: 1.6rem; }
.approach-step h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.4rem; }
.approach-step p { margin-bottom: 0; }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 2.2rem 0; }
.case-metrics .m { background: var(--paper); padding: 1.6rem 1.3rem; }
.case-metrics .v { font-family: var(--serif); font-size: clamp(1.8rem, 1rem + 2vw, 2.6rem); font-weight: 600; color: var(--azure); line-height: 1; }
.case-metrics .l { font-size: 0.82rem; color: var(--ink-faint); margin-top: 0.5rem; }
.case-quote { border: 0; margin: 2.5rem 0 0; padding: 1.8rem 2rem; background: var(--paper-warm); border-radius: 16px; border-left: 3px solid var(--gold); }
.case-quote p { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem); line-height: 1.5; color: var(--ink); }
.case-quote cite { display: block; margin-top: 1rem; font-style: normal; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ink-faint); }
@media (max-width: 820px) { .case-grid { grid-template-columns: 1fr; } .case-facts { position: static; grid-template-columns: repeat(2,1fr); } .case-metrics { grid-template-columns: 1fr; } }

.next-strip { border-top: 1px solid var(--line); margin-top: clamp(3rem,6vw,5rem); }
.next-strip a { display: flex; align-items: center; justify-content: space-between; padding: clamp(1.6rem,4vw,2.6rem) var(--gutter); max-width: var(--maxw); margin-inline: auto; font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem); transition: color var(--dur); }
.next-strip a:hover { color: var(--azure); }
.next-strip .k { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; color: var(--ink-faint); text-transform: uppercase; }

/* 文章 */
.post-head { margin-bottom: clamp(2rem, 4vw, 3rem); padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.post-head h1 { font-family: var(--serif); font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); font-weight: 600; line-height: 1.12; margin: 1rem 0; }
.post-head .dek { font-size: var(--fs-lead); color: var(--ink-soft); line-height: 1.6; }
.post-body { font-size: 1.08rem; }
.post-body h2 { font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1.4vw, 1.9rem); font-weight: 600; margin: 2.4rem 0 1rem; letter-spacing: 0.01em; }
.post-body p { color: var(--ink-soft); margin-bottom: 1.3rem; line-height: 1.85; }
.post-body .pullquote { font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); line-height: 1.45; color: var(--ink); margin: 2.6rem 0; padding-left: 1.6rem; border-left: 3px solid var(--gold); }
.post-foot { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
