/* finesse · register=brand · A=warm-paper+ink+marker-orange-lock · B=sora800-display+sans-cn-body+mono-annot
 * C=journey-route+board-detail-panels · D=svg-schematic-draw+intersection-reveal · E=drafting-desk-hand-annot
 * SOUL=8 SPECTACLE=5 DENSITY=4 */
/* ============================================================
   ZX04「小熊的毕设工坊」· 毕设一条龙 · 系列共享样式（品牌层）
   设计系统：暖纸 / 墨色 / 记号橙 · 制图桌手工标注 · 零依赖
   ============================================================ */

/* ---------- Token 层（全部颜色只在此处） ---------- */
:root {
  /* 纸面 · 暖白纸（非纯白） */
  --paper:      #F5EFE3;
  --paper-2:    #EFE7D5;
  --paper-3:    #E8DDC6;
  --panel:      #FCF9F2;

  /* 墨色 · 暖近黑 */
  --ink:        #241B12;
  --ink-2:      #564A3B;
  --ink-3:      #8E7E69;

  /* 记号 · 橙（唯一锁定主色） */
  --orange:     #E8650D;
  --orange-2:   #C9570B;
  --orange-deep:#A8470A;          /* 纸面上作正文色，保证 ≥4.5:1 */
  --orange-soft:rgba(232,101,13,.12);
  --orange-line:rgba(232,101,13,.34);
  --on-accent:  #2A1B0C;          /* 橙底上的近黑文字 */

  /* 纸线（hairline） */
  --line:       rgba(36,27,18,.10);
  --line-hi:    rgba(36,27,18,.20);

  /* 阴影 · 向墨色偏移，绝不用纯黑 */
  --shadow:     0 1px 2px rgba(40,28,14,.06);
  --shadow-md:  0 16px 40px -22px rgba(40,28,14,.28);
  --shadow-lg:  0 44px 90px -60px rgba(40,28,14,.34);

  --r:    18px;
  --r-sm: 12px;
  --r-lg: 32px;

  --font-display: "Sora", "Segoe UI Variable Display", system-ui, sans-serif;
  --font-cn:      "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;

  --z-nav:20; --z-grain:2; --z-content:5;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  overflow-x: clip;
  background:
    radial-gradient(90% 60% at 50% -8%, rgba(232,101,13,.05), transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-cn);
  font-weight: 400;
  line-height: 1.7;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--orange-soft); }

h1, h2, h3, h4 {
  line-height: 1.16; margin: 0 0 .35em; font-weight: 800; color: var(--ink);
  font-family: var(--font-display); letter-spacing: -.02em;
  text-wrap: balance; overflow-wrap: anywhere; min-width: 0;
}
p { color: var(--ink-2); text-wrap: pretty; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); line-height: 1.66; }

/* 纸面颗粒（静态噪声，压掉扁平感） */
.grain {
  position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 容器 */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 4.5vw, 48px); }
.wrap-narrow { max-width: 820px; }

/* ---------- 标注（eyebrow·制图标注，头部带一条短橙刻度） ---------- */
.annot {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--orange-deep); font-weight: 600;
  margin-bottom: 18px;
}
.annot::before {
  content: ''; width: 26px; height: 2px; flex: none;
  background: var(--orange);
  border-radius: 2px;
}
.annot--soft { color: var(--ink-3); }
.annot--soft::before { background: var(--ink-3); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; min-height: 48px; border-radius: var(--r-sm);
  border: 1px solid transparent; font-family: var(--font-cn);
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform .16s cubic-bezier(.16,1,.3,1), box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.btn .arr { transition: transform .16s cubic-bezier(.16,1,.3,1); }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: var(--on-accent); box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: 0 14px 30px -12px rgba(232,101,13,.6); transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-hi); }
.btn-line:hover { border-color: var(--orange); color: var(--orange-deep); background: var(--orange-soft); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); }
.btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.btn-lg { padding: 16px 30px; min-height: 54px; font-size: 16px; }

/* ---------- 状态徽标 ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em;
  color: var(--ink-3); padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; white-space: nowrap;
}
.chip b { font-weight: 600; color: var(--ink); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.chip-live { color: var(--orange-deep); border-color: var(--orange-line); background: var(--orange-soft); }
.chip-live .dot { background: var(--orange); animation: pulse 2.4s ease-in-out infinite; }
.chip-soon { color: var(--ink-3); background: transparent; }
.chip-soon .dot { background: var(--ink-3); }
@keyframes pulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }

/* 页面顶栏 */
.site-nav {
  position: fixed; z-index: var(--z-nav); top: 0; left: 0; right: 0; height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4.5vw, 48px);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--orange-deep); }
.nav__status { display: inline-flex; align-items: center; gap: 9px; }
@media (max-width: 600px) { .nav__status .chip span.txt { display: none; } }

/* ---------- 位置偏移（避开固定顶栏） ---------- */
.pt-nav { padding-top: 62px; }

/* ---------- 揭示动效 ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 卡片（板卡详情面板） ---------- */
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--panel), var(--paper-2));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow);
  transition: border-color .3s ease, transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
}
.card--link { display: block; }
.card--link:hover { border-color: var(--orange-line); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card--muted { opacity: .72; filter: saturate(.6); }

/* ---------- 页脚 ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--paper-2); padding: clamp(40px, 6vh, 56px) 0 clamp(36px, 5vh, 48px); }
.site-foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: flex-start; }
.site-foot__brand { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.site-foot__brand .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--orange-deep); margin-left: 8px; }
.site-foot__desc { margin-top: 10px; max-width: 46ch; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.site-foot__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-3); }
.site-foot__meta a { color: var(--orange-deep); font-weight: 600; }
.site-foot__meta a:hover { text-decoration: underline; }

/* ---------- 无 JS 兜底 ---------- */
.no-js .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- 焦点可见 ---------- */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  h1 { letter-spacing: -.015em; }
  .nav__status .chip-soon .txt { display: none; }
}

/* ---------- 线稿绘制关键帧（系列页共用） ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- 预告页（coming soon） ---------- */
.soon { padding: clamp(44px, 8vh, 80px) 0 clamp(24px, 4vh, 40px); }
.soon__head { max-width: 780px; }
.soon__status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
  color: var(--orange-deep); border: 1px solid var(--orange-line);
  background: var(--orange-soft); padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.soon__status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); animation: pulse 2.4s ease-in-out infinite; }
.soon h1 { font-size: clamp(34px, 6.5vw, 58px); line-height: 1.1; letter-spacing: -.035em; margin-bottom: 18px; }
.soon h1 .accent { color: var(--orange-2); position: relative; white-space: nowrap; }
.soon .lead { max-width: 54ch; margin-bottom: 26px; }
.soon .meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }

/* 预告页 Hero · 标题与实物图左右并排 */
.hero-split { display: grid; gap: clamp(20px, 3vw, 40px); align-items: center; }
@media (min-width: 900px) { .hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); } }
.hero-split .soon__head { max-width: none; }
.hero-fig { margin: 0; }
.hero-fig img { width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--panel); }
.hero-fig figcaption { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; color: var(--ink-3); }
.hero-fig figcaption::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--orange); flex: none; }

/* 预告页 · 三节点路线示意（当前板高亮，其余虚化） */
.route-svg { width: 100%; max-width: 640px; height: auto; margin: clamp(22px, 4vh, 40px) 0; opacity: 0; transition: opacity .8s ease; }
body.loaded .route-svg { opacity: 1; }
.route-svg .s-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.route-svg .s-acc { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.route-svg .s-ghost { fill: none; stroke: var(--ink-3); stroke-width: 1.4; stroke-dasharray: 4 5; stroke-linecap: round; }
.route-svg .s-fill { fill: var(--orange-soft); stroke: var(--orange); stroke-width: 1.6; }
.route-svg .s-solid { fill: var(--orange); }
.route-svg .s-cap { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; fill: var(--ink-3); text-transform: uppercase; }
.route-svg .s-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; fill: var(--ink-2); }
/* 节点与标签逐组淡入浮起（预告页不做线稿绘制，稳妥友好） */
.route-svg > * { opacity: 0; }
body.loaded .route-svg > * { animation: fadeUp .7s cubic-bezier(.16, 1, .3, 1) forwards; }
body.loaded .route-svg > *:nth-child(2) { animation-delay: .12s; }
body.loaded .route-svg > *:nth-child(3) { animation-delay: .24s; }
body.loaded .route-svg > *:nth-child(4) { animation-delay: .36s; }
body.loaded .route-svg > *:nth-child(5) { animation-delay: .48s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.no-js .route-svg, .no-js .route-svg > * { opacity: 1; }

/* 预告页 · 内容卡 */
.soon-grid { display: grid; gap: 14px; margin-top: clamp(16px, 3vh, 28px); }
@media (min-width: 760px) { .soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.soon-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.8vw, 30px); }
.soon-card .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-deep); display: block; margin-bottom: 12px; }
.soon-card h3 { font-size: 19px; letter-spacing: -.015em; margin: 0 0 12px; }
.soon-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.soon-card li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.soon-card li::before { content: ''; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.soon-card.full { grid-column: 1 / -1; }
.soon-note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.soon-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.soon-back:hover { color: var(--orange-deep); }

.soon-cta { text-align: center; margin-top: clamp(30px, 5vh, 48px); }
.soon-cta__acts { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 18px; }

/* ---------- 预告页 · 项目预览（板块② 拓展） ---------- */
.soon-block { margin-top: clamp(28px, 5vh, 48px); }
.soon-block__head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.soon-block__head h2 { font-size: clamp(20px, 2.6vw, 26px); letter-spacing: -.02em; margin: 0; }
.soon-block__head h2 small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-deep); display: block; margin-top: 6px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.tag { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }

.stack { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-top: 16px; }
.stack-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 15px 17px; }
.stack-item .s-role { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 6px; }
.stack-item .s-name { font-weight: 700; color: var(--ink); font-size: 15px; display: block; }
.stack-item .s-note { font-size: 13px; color: var(--ink-2); margin-top: 2px; }

.phases { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.phase { position: relative; padding: 18px 20px 18px 64px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); }
.phase::before { content: attr(data-no); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 9px; background: var(--orange); color: var(--on-accent); font-family: var(--font-mono); font-size: 14px; font-weight: 700; display: grid; place-items: center; }
.phase h3 { font-size: 17px; margin: 0 0 4px; }
.phase .p-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--orange-deep); display: block; margin-bottom: 6px; }
.phase p { font-size: 13.5px; color: var(--ink-2); margin: 0; }

.milestones { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 760px) { .milestones { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.milestone { background: var(--orange-soft); border: 1px solid var(--orange-line); border-radius: var(--r-sm); padding: 15px 17px; }
.milestone .m-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-deep); }
.milestone .m-t { font-weight: 700; color: var(--ink); font-size: 15px; margin-top: 6px; }

.figure { margin: clamp(20px, 3.5vh, 32px) auto 0; max-width: 840px; }
.figure img { width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--panel); }
.figure--narrow img { max-width: 640px; margin: 0 auto; }
.figure--portrait img { max-width: 460px; margin: 0 auto; }
.figure figcaption { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; color: var(--ink-3); }
.figure figcaption::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--orange); flex: none; }

.split2 { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 760px) { .split2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.6vw, 26px); }
.panel .p-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 10px; }
.panel h3 { font-size: 18px; margin: 0 0 8px; }
.panel p, .panel li { font-size: 14px; color: var(--ink-2); }
.big { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 40px); color: var(--orange-2); line-height: 1; letter-spacing: -.02em; }
.big small { font-size: .42em; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.deliver { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.deliver li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-2); }
.deliver li::before { content: '★'; position: absolute; left: 0; top: 0; color: var(--orange); font-size: 12px; }

/* 论文结构对照（板块③） */
.chapters { display: grid; gap: 10px; margin-top: 16px; }
.chapter { display: flex; gap: 14px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 18px; }
.chapter .ch-no { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--orange); color: var(--on-accent); font-family: var(--font-mono); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.chapter h3 { font-size: 16px; margin: 0 0 4px; }
.chapter p { font-size: 13.5px; color: var(--ink-2); margin: 0; }

/* ============================================================
   手机端专属排版（≤767px）· 单独规划，非缩放
   单列重排 / 全宽可点按钮 / 移动端字号与留白
   ============================================================ */
@media (max-width: 767px) {
  .wrap { padding-inline: clamp(18px, 5.4vw, 26px); }
  .pt-nav { padding-top: 56px; }
  .site-nav { height: 56px; padding-inline: 14px; }
  .nav-brand { gap: 10px; }

  /* Hero */
  .soon { padding: clamp(34px, 6.6vh, 52px) 0 clamp(22px, 3vh, 30px); }
  .soon__head { max-width: 100%; }
  .soon__status { font-size: 11px; padding: 7px 13px; margin-bottom: 16px; }
  .annot { font-size: 11px; letter-spacing: .15em; margin-bottom: 14px; }
  .soon h1 { font-size: clamp(30px, 8.4vw, 40px); line-height: 1.12; letter-spacing: -.022em; }
  .soon h1 .accent { white-space: normal; }
  .soon .lead { font-size: 15.5px; line-height: 1.68; margin-bottom: 22px; }
  .soon .meta { margin-top: 22px; gap: 8px; }
  .chip { font-size: 11px; padding: 6px 11px; gap: 6px; }

  /* 区块 */
  .soon-block { margin-top: clamp(42px, 8vh, 58px); }
  .soon-block__head { margin-bottom: 16px; }
  .soon-block__head h2 { font-size: clamp(20px, 5.4vw, 24px); }
  .soon-block__head h2 small { font-size: 10px; margin-top: 5px; }

  .tag-row { gap: 7px; margin-top: 13px; }
  .tag { font-size: 12.5px; padding: 6px 12px; }

  .chapter { padding: 15px 16px; gap: 12px; }
  .chapter .ch-no { width: 30px; height: 30px; font-size: 12px; border-radius: 8px; }
  .chapter h3 { font-size: 15px; }
  .chapter p { font-size: 13px; }

  .phase { padding: 16px 16px 16px 58px; }
  .phase::before { left: 16px; top: 16px; width: 30px; height: 30px; font-size: 13px; border-radius: 8px; }
  .phase h3 { font-size: 16px; }

  .stack-item { padding: 14px 15px; }
  .panel { padding: 18px 18px; }
  .milestone { padding: 14px 15px; }
  .deliver li { font-size: 13.5px; }

  .figure figcaption, .hero-fig figcaption { font-size: 11px; gap: 8px; }

  /* 底部 CTA */
  .soon-cta { margin-top: clamp(36px, 7vh, 52px); }
  .soon-cta__acts { flex-direction: column; align-items: stretch; gap: 12px; }
  .soon-cta__acts .btn { width: 100%; justify-content: center; }
  .soon-back { margin-top: 22px; }

  /* 页脚 */
  .site-foot { padding: clamp(38px, 6vh, 46px) 0 clamp(30px, 5vh, 36px); }
  .site-foot__inner { flex-direction: column; gap: 20px; }
  .site-foot__brand { font-size: 19px; }
  .site-foot__desc { font-size: 13.5px; }
  .site-foot__meta { gap: 8px 16px; font-size: 11px; }
}

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .chip-live .dot { animation: none; }
  .soon__status .dot { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .card--link:hover { transform: none; }
  .route-svg { opacity: 1; transition: none; }
  .route-svg > * { opacity: 1; animation: none; }
}

/* ============================================================
   统一动作按钮（Uiverse · SendMessage · 适配站点橙色）
   ============================================================ */
.button {
  --primary: #e8650d;
  --neutral-1: #fbf8f1;
  --neutral-2: #ece3d2;
  --radius: 14px;

  cursor: pointer;
  border-radius: var(--radius);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  border: none;
  box-shadow: 0 0.5px 0.5px 1px rgba(255, 255, 255, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.2), 0 4px 5px 0px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  min-width: 200px;
  padding: 20px;
  height: 68px;
  font-family: "Galano Grotesque", Poppins, Montserrat, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
  color: #26201a;
  text-decoration: none;
  background: transparent;
}
.button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 15px 30px rgba(0, 0, 0, 0.3), 0 10px 3px -3px rgba(0, 0, 0, 0.04);
}
.button:active {
  transform: scale(1);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 10px 3px -3px rgba(0, 0, 0, 0.2);
}
.button::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  border: 2.5px solid transparent;
  background: linear-gradient(var(--neutral-1), var(--neutral-2)) padding-box,
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45)) border-box;
  z-index: 0; transition: all 0.4s ease;
}
.button:hover::after { transform: scale(1.05, 1.1); box-shadow: inset 0 -1px 3px 0 rgba(255, 255, 255, 1); }
.button::before {
  content: ""; inset: 7px 6px 6px 6px; position: absolute;
  background: linear-gradient(to top, var(--neutral-1), var(--neutral-2));
  border-radius: 30px; filter: blur(0.5px); z-index: 2;
}
.state { padding-left: 29px; z-index: 2; display: flex; position: relative; }
.state p { display: flex; align-items: center; justify-content: center; margin: 0; line-height: 1; }
.state .icon { position: absolute; left: 0; top: 0; bottom: 0; margin: auto; transform: scale(1.25); transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; }
.state .icon svg { overflow: visible; }

/* Outline */
.outline { position: absolute; border-radius: inherit; overflow: hidden; z-index: 1; opacity: 0; transition: opacity 0.4s ease; inset: -2px -3.5px; }
.outline::before { content: ""; position: absolute; inset: -100%; background: conic-gradient(from 180deg, transparent 60%, #fff 80%, transparent 100%); animation: spin 2s linear infinite; animation-play-state: paused; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.button:hover .outline { opacity: 1; }
.button:hover .outline::before { animation-play-state: running; }

/* Letters */
.state p span { display: block; opacity: 0; animation: slideDown 0.8s ease forwards calc(var(--i) * 0.03s); }
.button:hover p span { opacity: 1; animation: wave 0.5s ease forwards calc(var(--i) * 0.02s); }
.button:focus p span { opacity: 1; animation: disappear 0.6s ease forwards calc(var(--i) * 0.03s); }
@keyframes wave {
  30% { opacity: 1; transform: translateY(4px) translateX(0) rotate(0); }
  50% { opacity: 1; transform: translateY(-3px) translateX(0) rotate(0); color: var(--primary); }
  100% { opacity: 1; transform: translateY(0) translateX(0) rotate(0); }
}
@keyframes slideDown {
  0% { opacity: 0; transform: translateY(-20px) translateX(5px) rotate(-90deg); color: var(--primary); filter: blur(5px); }
  30% { opacity: 1; transform: translateY(4px) translateX(0) rotate(0); filter: blur(0); }
  50% { opacity: 1; transform: translateY(-3px) translateX(0) rotate(0); }
  100% { opacity: 1; transform: translateY(0) translateX(0) rotate(0); }
}
@keyframes disappear {
  from { opacity: 1; }
  to { opacity: 0; transform: translateX(5px) translateY(20px); color: var(--primary); filter: blur(5px); }
}

/* Plane */
.state--default .icon svg { animation: land 0.6s ease forwards; }
.button:hover .state--default .icon { transform: rotate(45deg) scale(1.25); }
.button:focus .state--default svg { animation: takeOff 0.8s linear forwards; }
.button:focus .state--default .icon { transform: rotate(0) scale(1.25); }
@keyframes takeOff {
  0% { opacity: 1; }
  60% { opacity: 1; transform: translateX(70px) rotate(45deg) scale(2); }
  100% { opacity: 0; transform: translateX(160px) rotate(45deg) scale(0); }
}
@keyframes land {
  0% { transform: translateX(-60px) translateY(30px) rotate(-50deg) scale(2); opacity: 0; filter: blur(3px); }
  100% { transform: translateX(0) translateY(0) rotate(0); opacity: 1; filter: blur(0); }
}

/* Contrail */
.state--default .icon::before { content: ""; position: absolute; top: 50%; height: 2px; width: 0; left: -5px; background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.5)); }
.button:focus .state--default .icon::before { animation: contrail 0.8s linear forwards; }
@keyframes contrail {
  0% { width: 0; opacity: 1; }
  8% { width: 15px; }
  60% { opacity: 0.7; width: 80px; }
  100% { opacity: 0; width: 160px; }
}

/* States */
.state--sent { display: none; }
.state--sent svg { transform: scale(1.25); margin-right: 8px; }
.button:focus .state--default { position: absolute; }
.button:focus .state--sent { display: flex; }
.button:focus .state--sent span { opacity: 0; animation: slideDown 0.8s ease forwards calc(var(--i) * 0.2s); }
.button:focus .state--sent .icon svg { opacity: 0; animation: appear 1.2s ease forwards 0.8s; }
@keyframes appear {
  0% { opacity: 0; transform: scale(4) rotate(-40deg); color: var(--primary); filter: blur(4px); }
  30% { opacity: 1; transform: scale(0.6); filter: blur(1px); }
  50% { opacity: 1; transform: scale(1.2); filter: blur(0); }
  100% { opacity: 1; transform: scale(1); }
}

/* 内容区随动（保持文字字号） */
@media (max-width: 520px) {
  .button { min-width: 178px; padding: 16px 18px; height: 60px; font-size: 16px; }
  .state { padding-left: 26px; }
}

/* 减弱动效 · 静态兜底 */
@media (prefers-reduced-motion: reduce) {
  .button, .button::before, .button::after, .button .outline, .button .outline::before,
  .button .state, .button .state p span, .button .state .icon, .button .state .icon svg,
  .button .state--default .icon::before { animation: none !important; transition: none !important; }
  .button .state p span { opacity: 1; }
  .button .outline, .button:hover .outline { opacity: 0; }
  .button .state--sent { display: none; }
  .button:focus .state--default { position: static; }
  .button .state--default .icon { transform: scale(1.25); }
}

/* 页头紧凑版 · 用于「小熊的毕设工坊」品牌/返回按钮 */
.button--nav { min-width: auto; height: 46px; padding: 9px 18px; font-size: 15px; --radius: 12px; }
.button--nav .state { padding-left: 26px; }
.button--nav .state .icon { transform: scale(1.1); }
@media (max-width: 520px) {
  .button--nav { height: 41px; padding: 7px 14px; font-size: 14px; }
  .button--nav .state { padding-left: 24px; }
}
.nav-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
