/* ═══════════════════════════════════════════════════════
   郸客松 · 主题 3《彩色几何 / 把不同拼在一起》
   钴蓝 × 珊瑚橙 × 黄 × 墨，暖白纸底；几何拼合海报语言。
   所有动画初始态仅挂在与 JS 注入的 [data-anim] 之下：
   无 JS 或 prefers-reduced-motion 时页面即完整静态画面。
   ═══════════════════════════════════════════════════════ */

:root {
  --paper: #fbfaf6;       /* 暖白底 */
  --paper-blue: #eef1fa;  /* 浅蓝白（章节底） */
  --paper-yellow: #faf3e2;/* 浅黄白 */
  --ink: #201d18;         /* 墨 */
  --ink-2: #4a453c;
  --ink-soft: #6f6a5e;
  --blue: #2451b8;        /* 钴蓝 */
  --blue-deep: #1a3a8c;
  --coral: #ee6242;       /* 珊瑚橙 */
  --yellow: #f2b830;      /* 黄 */
  --line: rgba(32, 29, 24, 0.16);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;
  --wrap: min(1120px, 90vw);
  --scroll-p: 0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--paper); overflow-x: hidden; overflow-x: clip; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: var(--sans);
  font-size: 16px; line-height: 1.95;
  color: var(--ink); background: var(--paper);
  overflow-x: hidden; overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px dashed var(--blue); outline-offset: 3px; }

.wrap { width: var(--wrap); margin-inline: auto; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 100;
  padding: 10px 18px; background: var(--ink); color: var(--paper);
  font-size: 14px; text-decoration: none; transition: top 0.2s ease;
}
.skip-link:focus { top: 14px; }

/* ---------- 顶部三色条带 + 滚动进度 ---------- */
.top-strip {
  position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 90;
  background: linear-gradient(90deg, var(--blue) 0 33.4%, var(--coral) 33.4% 66.7%, var(--yellow) 66.7% 100%);
}
.strip-progress {
  height: 100%; background: var(--ink);
  transform-origin: left; transform: scaleX(var(--scroll-p));
  mix-blend-mode: multiply; opacity: 0.9;
}

/* ---------- 顶栏 ---------- */
.topbar { position: sticky; top: 0; z-index: 80; background: rgba(251, 250, 246, 0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.topbar-inner {
  width: var(--wrap); margin-inline: auto; min-height: 62px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 8px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-dots { display: inline-flex; gap: 5px; }
.brand-dots i { width: 11px; height: 11px; border-radius: 50%; }
.d-b { background: var(--blue); } .d-c { background: var(--coral); } .d-y { background: var(--yellow); }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; font-size: 20px; font-weight: 800; letter-spacing: 0.1em; }
.brand-text small { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.3em; color: var(--ink-soft); font-weight: 500; }
.topnav { display: flex; align-items: center; gap: clamp(13px, 2.2vw, 26px); font-size: 13.5px; }
.topnav a { text-decoration: none; color: var(--ink-2); padding-block: 8px; transition: color 0.2s ease; }
.topnav a:hover { color: var(--blue); }
.topnav .nav-cta {
  background: var(--ink); color: var(--paper);
  padding: 8px 15px; border-radius: 999px; letter-spacing: 0.05em;
}
.topnav .nav-cta:hover { background: var(--blue); color: #fff; }

/* ---------- 首屏：几何拼合海报 ---------- */
.hero { position: relative; padding: clamp(48px, 8vh, 96px) 0 clamp(34px, 5vh, 60px); }
.hero-inner {
  width: var(--wrap); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr);
  gap: clamp(26px, 4vw, 64px); align-items: center;
}
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; color: var(--ink-2); }
.e-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); flex: none; }

.hero-title {
  margin-top: clamp(16px, 3vh, 30px);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 120px);   /* 按可用列宽(~648px)核算：最长行 5.2em，1440 下 115px→598px 有余量 */
  line-height: 1.18; letter-spacing: 0.01em;
}
.hero-title .t-line { display: block; width: fit-content; }
.hero-title .t-chunk { white-space: nowrap; }  /* 语意行不断行（行宽已按列宽核算，不顶出容器） */
/* 色块高亮：标题本身即「拼合」——不同颜色的字块拼成一句话 */
.hl { font-style: normal; color: #fff; padding: 0 0.08em; border-radius: 0.06em; }
.hl-blue { background: var(--blue); }
.hl-coral { background: var(--coral); }
.stop-y { color: var(--blue); }

.hero-lead {
  margin-top: clamp(16px, 3vh, 30px);
  font-size: clamp(16px, 1.4vw, 19px); line-height: 2; color: var(--ink-2); max-width: 30em;
}
.hero-status { margin-top: 13px; font-size: 14px; letter-spacing: 0.12em; color: var(--ink-soft); }
.hero-status .sep { margin-inline: 10px; color: var(--coral); }
.hero-actions { margin-top: clamp(18px, 3vh, 32px); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-size: 15px; letter-spacing: 0.08em; text-decoration: none;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary:hover { background: var(--blue-deep); transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 20px; border-radius: 999px;
  font-size: 15px; letter-spacing: 0.06em; color: var(--ink);
  text-decoration: none; border: 1.5px solid var(--ink);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.btn-ghost:hover { color: var(--coral); border-color: var(--coral); }
.hero-qr { margin-top: 12px; font-size: 14px; letter-spacing: 0.06em; color: var(--ink-soft); }
.hero-qr::before { content: "※ "; color: var(--coral); }

/* 几何主视觉：拱门 / 圆 / 阶梯 / 条带 / 点阵 / 三角 —— 原创拼合构图 */
.hero-geo { position: relative; }
.geo-svg { display: block; width: 100%; height: auto; }
.g-arch path { fill: var(--blue); }
.g-ring circle { fill: none; stroke: var(--coral); stroke-width: 26; }
.g-core circle { fill: var(--yellow); }
.g-stairs path { fill: none; stroke: var(--ink); stroke-width: 14; stroke-linejoin: miter; }
.g-bars rect { fill: var(--coral); }
.g-bars rect + rect { fill: var(--yellow); }
.g-dotgrid path { stroke: var(--ink); stroke-width: 7; stroke-linecap: butt; }
.g-tri path { fill: none; stroke: var(--blue); stroke-width: 12; stroke-linejoin: round; }

.hero-caption {
  width: var(--wrap); margin-inline: auto; margin-top: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-soft);
}

/* ---------- 章通用 ---------- */
.chapter { padding-top: clamp(72px, 10vh, 130px); }
.ch-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: clamp(24px, 4.4vh, 48px); }
.ch-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none; margin-top: 4px;
  font-family: var(--mono); font-size: 19px; font-weight: 700; color: #fff;
}
.no-blue { background: var(--blue); }
.no-coral { background: var(--coral); }
.no-yellow { background: var(--yellow); color: var(--ink); }
.no-paper { background: rgba(251, 250, 246, 0.16); border: 1.5px solid rgba(251, 250, 246, 0.7); }
.ch-meta h2 { font-weight: 900; font-size: clamp(28px, 4.2vw, 52px); line-height: 1.3; letter-spacing: 0.01em; }
.ch-meta em { font-style: normal; }
.em-blue { color: var(--blue); } .em-coral { color: var(--coral); }
.em-yellow { color: var(--yellow); }
.ch-sub { margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; color: var(--ink-soft); }

/* ---------- 1 · 活动理解 ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); gap: clamp(26px, 4vw, 60px); }
.about-lead { font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; line-height: 2.05; border-left: 5px solid var(--blue); padding-left: 20px; }
.about-body p { color: var(--ink-2); }
.about-body p + p { margin-top: 14px; }

/* ---------- 2 · 方向：三段异色条带（非均匀卡） ---------- */
.ch-directions { background: var(--paper-blue); padding-bottom: clamp(60px, 8vh, 96px); margin-top: clamp(64px, 9vh, 110px); }
.dir-rows { display: flex; flex-direction: column; gap: clamp(14px, 2.4vh, 24px); }
.dir-row {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: clamp(14px, 2.4vw, 34px); align-items: center;
  width: var(--wrap); margin-inline: auto;
  padding: clamp(18px, 3vh, 30px) clamp(18px, 3vw, 40px);
  border-left: 10px solid; background: #fff;
  box-shadow: 0 2px 0 var(--line);
}
.row-blue { border-left-color: var(--blue); margin-right: clamp(0px, 10vw, 150px); }
.row-coral { border-left-color: var(--coral); margin-left: clamp(0px, 10vw, 150px); }
.row-yellow { border-left-color: var(--yellow); margin-inline: clamp(0px, 3vw, 46px); }
.dir-idx { font-family: var(--mono); font-size: clamp(26px, 3vw, 38px); font-weight: 700; }
.row-blue .dir-idx { color: var(--blue); }
.row-coral .dir-idx { color: var(--coral); }
.row-yellow .dir-idx { color: #c08a12; }
.dir-row h3 { font-size: clamp(18px, 1.9vw, 23px); font-weight: 800; letter-spacing: 0.02em; }
.dir-row p { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); max-width: 30em; }
.dir-tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--ink-soft); white-space: nowrap; border-top: 2px solid currentColor; padding-top: 8px; }
.dir-note { margin-top: 24px; font-size: 14px; color: var(--ink-soft); }

/* ---------- 3 · 在地线索（钴蓝底对照章） ---------- */
.ch-local { background: var(--blue); color: #fff; padding-bottom: clamp(64px, 9vh, 104px); margin-top: clamp(64px, 9vh, 110px); }
.ch-local .ch-meta h2 { color: #fff; }
.ch-local .ch-sub { color: rgba(255, 255, 255, 0.65); }
.ch-local .em-yellow { color: var(--yellow); }
.local-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(26px, 4vw, 60px); align-items: center; }
.local-copy p { color: rgba(255, 255, 255, 0.88); max-width: 32em; }
.local-copy p + p { margin-top: 12px; }
.btn-onblue {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 24px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--yellow); color: var(--ink);
  font-size: 15px; letter-spacing: 0.06em; text-decoration: none; font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-onblue:hover { background: #ffd45e; transform: translateY(-2px); }
.local-geo svg { display: block; width: 100%; height: auto; }
.lg-arch { fill: rgba(255, 255, 255, 0.14); }
.lg-sun { fill: var(--yellow); }
.lg-wave { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 5; stroke-linecap: round; }

/* ---------- 4 · 合作：两块拼图 ---------- */
.tg-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 36px); }
.tg-piece { border: 2px solid var(--ink); padding: clamp(20px, 3.2vh, 34px) clamp(18px, 2.6vw, 34px); background: #fff; }
.piece-blue { border-top: 10px solid var(--blue); }
.piece-coral { border-top: 10px solid var(--coral); }
.tg-piece h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(18px, 2vw, 23px); font-weight: 800; }
.piece-tag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 18px;
}
.tag-coral { background: var(--coral); }
.piece-list { list-style: none; margin-top: 18px; border-top: 1px solid var(--line); }
.piece-list li { display: flex; align-items: baseline; gap: 16px; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 16px; }
.piece-list strong { min-width: 6.5em; font-weight: 600; }
.piece-list span { color: var(--ink-soft); font-size: 15px; }
.piece-note { margin-top: 14px; font-size: 14.5px; color: var(--ink-soft); }
.tg-piece .btn-ghost { margin-top: 18px; }

/* ---------- 5 · 作品集 ---------- */
.ch-portfolio { background: var(--paper-yellow); padding-bottom: clamp(60px, 8vh, 96px); margin-top: clamp(64px, 9vh, 110px); }
.pf-lead { margin-top: -8px; font-size: 16px; color: var(--ink-soft); }
.pf-kind { margin-top: clamp(26px, 4.4vh, 44px); }
.kind-label {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.24em;
}
.label-yellow { background: var(--yellow); color: var(--ink); }
.pf-list { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.pf-item {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) 26px;
  gap: 16px; align-items: center;
  padding: 18px 22px; background: #fff; text-decoration: none;
  border: 1.5px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pf-item:hover { border-color: var(--ink); transform: translateX(6px); }
.pf-chip { width: 18px; height: 18px; border-radius: 4px; }
.chip-gold { background: linear-gradient(135deg, #c9a96a, #8a6a28); }
.chip-ink { background: var(--ink); }
.pf-main { display: flex; flex-direction: column; }
.pf-main strong { font-size: 17.5px; font-weight: 800; letter-spacing: 0.04em; }
.pf-main span { font-size: 14.5px; color: var(--ink-soft); margin-top: 2px; }
.pf-go { font-size: 20px; color: var(--blue); }
.pf-kind-2 { margin-top: clamp(26px, 4.4vh, 40px); }
.pf-note { margin-top: 14px; font-size: 16px; color: var(--ink-2); max-width: 40em; }
.pf-foot { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.pf-foot::before { content: "※ "; color: var(--coral); }

/* ---------- 6 · FAQ ---------- */
.faq-list { margin-top: -6px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; gap: 12px; padding: 17px 2px;
  cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .plus { margin-left: auto; font-size: 18px; color: var(--blue); transition: transform 0.18s ease; }
.faq-list details[open] .plus { transform: rotate(45deg); }
.faq-list details p { padding: 0 2px 18px; font-size: 15.5px; color: var(--ink-2); max-width: 40em; }

/* ---------- 7 · 联络 ---------- */
.ch-contact { padding-bottom: clamp(68px, 9vh, 108px); }
.ct-status { margin-top: -6px; font-size: 14px; line-height: 2; color: var(--ink-soft); max-width: 36em; }
.ct-channels { margin-top: clamp(30px, 5vh, 52px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 36px); }
.ct-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 160px; border-radius: 18px 18px 4px 4px; color: #fff;
}
.cell-blue { background: var(--blue); }
.cell-coral { background: var(--coral); }
.cell-yellow { background: var(--yellow); color: var(--ink); }
.cell-glyph { font-size: 30px; font-weight: 700; }
.cell-text { font-size: 14px; letter-spacing: 0.12em; text-align: center; line-height: 1.9; }
.ct-channel figcaption { margin-top: 12px; text-align: center; }
.ct-channel h3 { font-size: 18px; font-weight: 800; letter-spacing: 0.06em; }
.ct-channel figcaption p { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; }

/* ---------- 版尾 ---------- */
.site-foot { background: var(--ink); color: var(--paper); border-top: 6px solid var(--coral); padding-block: 30px 18px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-motto { font-size: 15px; letter-spacing: 0.16em; color: rgba(251, 250, 246, 0.72); font-weight: 600; }
.foot-links { display: flex; gap: 20px; font-size: 12.5px; }
.foot-links a { text-decoration: none; color: rgba(251, 250, 246, 0.75); }
.foot-links a:hover { color: var(--yellow); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(251, 250, 246, 0.18);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: rgba(251, 250, 246, 0.5);
}

/* ---------- 动画（仅 [data-anim] 生效） ---------- */
/* 几何块「拼合」入场：各块从偏移滑入拼合位（0.9s 内完成，关键信息 ≤1.1s 可读） */
[data-anim] .g-arch { animation: piece-in 0.7s cubic-bezier(0.2, 0.66, 0.2, 1) 0.10s both; }
[data-anim] .g-ring { animation: piece-in 0.7s cubic-bezier(0.2, 0.66, 0.2, 1) 0.22s both; }
[data-anim] .g-core { animation: piece-in 0.6s cubic-bezier(0.2, 0.66, 0.2, 1) 0.34s both; }
[data-anim] .g-stairs { animation: piece-in 0.7s cubic-bezier(0.2, 0.66, 0.2, 1) 0.30s both; }
[data-anim] .g-bars { animation: piece-in 0.7s cubic-bezier(0.2, 0.66, 0.2, 1) 0.42s both; }
[data-anim] .g-dotgrid { animation: piece-in 0.6s ease 0.50s both; }
[data-anim] .g-tri { animation: piece-in 0.6s ease 0.56s both; }
[data-anim] .eyebrow { animation: fade-in 0.45s ease 0s both; }
[data-anim] .t-chunk { animation: chunk-in 0.6s cubic-bezier(0.2, 0.66, 0.2, 1) 0.12s both; }
[data-anim] .t-line + .t-line .t-chunk { animation-delay: 0.24s; }
[data-anim] .hero-lead { animation: fade-up 0.5s ease 0.42s both; }
[data-anim] .hero-status,
[data-anim] .hero-actions,
[data-anim] .hero-qr { animation: fade-up 0.5s ease 0.56s both; }
[data-anim] .hero-caption { animation: fade-in 0.6s ease 0.8s both; }

@keyframes piece-in { from { opacity: 0; transform: translate(34px, -26px); } to { opacity: 1; transform: translate(0, 0); } }
@keyframes chunk-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

[data-anim] .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 0.61, 0.21, 1); }
[data-anim] .reveal.inview { opacity: 1; transform: none; }

/* ---------- 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .geo-svg g,
  .t-chunk,
  .eyebrow,
  .hero-lead,
  .hero-status,
  .hero-actions,
  .hero-qr,
  .hero-caption { animation: none !important; }   /* 停全部入场动画，回静态拼合终态 */
  [data-anim] .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn-primary, .btn-ghost, .btn-onblue, .pf-item, .faq-list .plus, .topnav a { transition: none !important; }
}

/* ---------- 手机（≤ 760px）单独规划 ---------- */
@media (max-width: 760px) {
  .topbar-inner { min-height: 56px; flex-wrap: wrap; row-gap: 4px; }
  .topnav { width: 100%; justify-content: space-between; gap: 8px; font-size: 12px; overflow-x: auto; }
  .topnav a { padding-block: 6px; white-space: nowrap; }

  .hero-inner { grid-template-columns: 1fr; gap: 22px; }
  /* 单列顺序：文字组（眉题/标题/主张/状态/动作/二维码）→ 几何海报图 → 图注 */
  .hero-geo { max-width: 420px; margin-inline: auto; width: 88%; }

  /* 标题宽度预算：最长行「拼在一起。」5 全角字 × 16vw ≈ 81vw，≥390px 均留真实余量 */
  .hero-title { font-size: 15vw; }   /* 500px: 5.2em×75px=390px ≤ 可用 ~420px */
  .hero-caption { max-width: 88%; margin-inline: auto; }

  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .dir-row { grid-template-columns: 40px minmax(0, 1fr); row-gap: 8px; padding: 16px 18px; border-left-width: 8px; }
  .row-blue, .row-coral, .row-yellow { margin-inline: 0; }
  .dir-tag { grid-column: 2; white-space: normal; }
  .local-grid { grid-template-columns: 1fr; gap: 28px; }
  .local-geo { max-width: 340px; }
  .tg-pair { grid-template-columns: 1fr; }
  .piece-list li { flex-direction: column; gap: 2px; }
  .piece-list strong { min-width: 0; }
  .pf-item { grid-template-columns: 16px minmax(0, 1fr) 22px; padding: 15px 16px; }
  .ct-channels { grid-template-columns: 1fr; }
  .ct-cell { min-height: 132px; flex-direction: row; gap: 16px; padding: 18px; }
  .cell-text { text-align: left; }
  .foot-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-bottom { flex-direction: column; gap: 4px; }
}

/* 极窄（≤ 390px） */
@media (max-width: 390px) {
  .hero-title { font-size: 14vw; }   /* 390px: 5.2em×54.6px≈284px ≤ 可用 350px */
  .btn-primary { padding: 12px 20px; }
  .hero-lead br { display: none; }
}

/* ---------- 站点入口条（共创图景归档） ---------- */
.portal-back {
  display: flex; align-items: center; gap: 10px;
  padding: 9px max(calc((100vw - var(--wrap, 1160px)) / 2), 18px);
  background: var(--paper, #fbfaf6);
  border-bottom: 1px solid var(--line, rgba(32, 29, 24, 0.16));
  font-size: 14px;
}
.portal-back a {
  color: var(--ink, #201d18); text-decoration: none;
  border: 1.5px solid var(--line, rgba(32, 29, 24, 0.16));
  border-radius: 999px; padding: 4px 14px;
}
.portal-back a:hover { background: var(--coral, #ee6242); border-color: var(--coral, #ee6242); color: #fbfaf6; }
