/* ============================================================
   郸客松 · 主题四「创造者之城」
   温暖岛屿 × 软陶微缩世界：奶油底 / 薄荷 / 暖珊瑚 / 陶土
   零依赖静态样例。动效原则：anim-ready(JS)门控入场 + no-preference
   门控一次性装饰入场（入场后停自然终态，无常驻循环）；无 JS / reduce
   一律静态终态可读。
   ============================================================ */

/* ---------- 令牌 ---------- */
:root {
  --cream: #FBF2E2;        /* 奶油底 */
  --cream-2: #FFFDF6;      /* 卡面奶白 */
  --sand: #EAD9BC;         /* 沙色（边/地） */
  --sand-soft: #F6EBD9;    /* 沙洗章节底 */
  --mint: #8FBC9F;         /* 薄荷 */
  --mint-deep: #6FA383;
  --mint-wash: #EAF2EA;    /* 薄荷洗章节底 */
  --coral: #EF8E68;        /* 暖珊瑚 */
  --coral-deep: #E97B5A;
  --terra: #C2704B;        /* 陶土 */
  --terra-deep: #8F4B2E;   /* 深陶土（按钮/强调文字） */
  --terra-wash: #F3E3D2;   /* 陶土洗 */
  --ink: #40332B;          /* 暖墨正文 */
  --ink-2: #6E5D51;        /* 次级文字 */
  /* 深版彩底（白字对比≥4.5:1） */
--mint-label: #4E7A5E;
--coral-label: #B35532;
--ink-foot: #EDE4D4;      /* 深底上的浅字 */
  --shadow-soft: 0 12px 28px rgba(143, 75, 46, .12), 0 2px 0 rgba(255, 255, 255, .6) inset;
  --shadow-lift: 0 18px 36px rgba(143, 75, 46, .16);
  --radius: 24px;
  --sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --maxw: 1120px;
}

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

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background:
    radial-gradient(1150px 520px at 82% -8%, rgba(246, 169, 131, .22), transparent 62%),
    radial-gradient(900px 480px at -8% 12%, rgba(143, 188, 159, .16), transparent 58%),
    var(--cream);
  overflow-x: hidden;
}

/* 软陶纸纹（极淡，静态一层） */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.28 0 0 0 0 0.19 0 0 0 0 0.13 0 0 0 0.8 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: var(--terra-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-deep); }

:focus-visible { outline: 2px solid var(--terra-deep); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -48px;
  background: var(--terra-deep); color: #fff;
  padding: 8px 16px; border-radius: 10px; z-index: 99;
  transition: top .2s ease;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- 顶栏 ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 242, 226, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(234, 217, 188, .8);
  transition: box-shadow .3s ease;
}
html.scrolled .site-head { box-shadow: 0 8px 24px rgba(143, 75, 46, .1); }

.head-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  padding: 10px 24px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: .06em; }
.brand-sub { font-size: 11.5px; color: var(--ink-2); letter-spacing: .08em; }

.nav { margin-left: auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  flex-shrink: 0;
  padding: 7px 13px; border-radius: 999px;
  font-size: 14.5px; color: var(--ink); text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
.nav a:hover { background: var(--terra-wash); border-color: var(--sand); color: var(--terra-deep); }

.head-status {
  flex-shrink: 0;
  font-size: 14px; line-height: 1.4; color: var(--terra-deep);
  background: var(--cream-2);
  border: 1.5px dashed var(--terra);
  border-radius: 999px;
  padding: 5px 14px;
}

/* ---------- 通用章节 ---------- */
.sec { padding: clamp(72px, 9vw, 118px) 24px; }
.sec-inner { max-width: var(--maxw); margin: 0 auto; }
.sec-mint { background: linear-gradient(180deg, transparent, rgba(143, 188, 159, .14) 12%, rgba(143, 188, 159, .14) 88%, transparent); }
.sec-sand { background: linear-gradient(180deg, transparent, rgba(234, 217, 188, .5) 12%, rgba(234, 217, 188, .5) 88%, transparent); }

.sec-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; letter-spacing: .22em; color: var(--ink-2);
  margin-bottom: 14px;
}
.sec-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--terra-deep); color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 4px 10px rgba(143, 75, 46, .3), inset 0 2px 0 rgba(255, 255, 255, .35);
}
.sec-title { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.35; font-weight: 700; letter-spacing: .01em; }
.sec-lead { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 34em; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  border-radius: 999px; border: 2px solid transparent;
  font-size: 16px; font-weight: 600; font-family: var(--sans);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:active { transform: translateY(2px); }
.btn-primary {
  background: var(--terra-deep); color: #fff;
  box-shadow: 0 10px 22px rgba(143, 75, 46, .32), inset 0 2px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover { background: #7C3F26; color: #fff; box-shadow: 0 14px 26px rgba(143, 75, 46, .38), inset 0 2px 0 rgba(255, 255, 255, .18); }
.btn-ghost {
  background: var(--cream-2); color: var(--terra-deep);
  border-color: var(--terra);
  box-shadow: 0 6px 14px rgba(143, 75, 46, .1);
}
.btn-ghost:hover { background: var(--terra-wash); color: var(--terra-deep); border-color: var(--terra-deep); }

/* ============================================================
   首屏
   ============================================================ */
.hero { padding: clamp(30px, 4vw, 56px) 24px 0; }
.hero-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: clamp(24px, 4vw, 56px); align-items: center;
  min-height: calc(100vh - 150px);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; letter-spacing: .2em; color: var(--terra-deep);
  background: var(--cream-2);
  border: 1.5px solid var(--sand);
  border-radius: 999px; padding: 6px 16px;
  margin-bottom: 22px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(239, 142, 104, .25); }

.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.28; font-weight: 800; letter-spacing: .015em;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--terra); }

.hero-lead { font-size: 16.5px; color: var(--ink-2); max-width: 30em; margin-bottom: 16px; }

.hero-status {
  display: inline-block;
  font-size: 15px; color: var(--terra-deep);
  background: var(--terra-wash);
  border-left: 4px solid var(--terra);
  border-radius: 6px 14px 14px 6px;
  padding: 8px 16px; margin-bottom: 22px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }

.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; max-width: 30em; }
.hero-chips li {
  font-size: 14px; color: var(--ink);
  background: var(--cream-2);
  border: 1.5px solid var(--sand);
  border-radius: 999px; padding: 4px 13px;
}
.hero-chips li:first-child { background: var(--coral); border-color: var(--coral-deep); color: #5C2E1B; font-weight: 600; }

/* --- 城市插画 --- */
.hero-art { margin: 0; }
.city { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(143, 75, 46, .12)); }
.hero-art figcaption {
  margin-top: 10px; text-align: center;
  font-size: 14px; color: var(--ink-2); line-height: 1.6;
}

.hero-scroll {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 18px 24px 26px;
  font-size: 14px; letter-spacing: .18em; color: var(--ink-2);
}
.hint-bar { width: 44px; height: 3px; border-radius: 2px; background: var(--terra); }

/* ============================================================
   01 活动理解
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.about-copy p { max-width: 36em; margin-bottom: 18px; }
.about-copy h3 { font-size: 18px; margin: 26px 0 12px; color: var(--terra-deep); }

.about-list { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.about-list li {
  background: var(--cream-2);
  border: 1.5px solid var(--sand);
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: 0 6px 14px rgba(143, 75, 46, .07);
}
.about-list strong { color: var(--terra-deep); margin-right: 6px; }

.note-card {
  background: var(--cream-2);
  border: 2px dashed var(--terra);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
}
.note-card p { font-size: 15px; margin: 0; color: var(--ink-2); max-width: none; }
.note-card strong { color: var(--terra-deep); }

.about-side { position: sticky; top: 96px; }
.vignette { width: 100%; height: auto; }
.side-caption { margin-top: 12px; font-size: 14px; color: var(--ink-2); text-align: center; }

/* ============================================================
   02 共创方向：三家工坊
   ============================================================ */
.dir {
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 3vw, 40px);
  align-items: center;
  background: var(--cream-2);
  border: 1.5px solid var(--sand);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
  margin-bottom: 26px;
  box-shadow: var(--shadow-soft);
}
.dir:nth-of-type(even) { margin-left: clamp(0px, 4vw, 56px); }  /* 中间工坊缩进，打破均质 */
.dir-art { display: flex; justify-content: center; }
.dir-art svg { width: 100%; max-width: 210px; height: auto; }

.dir-no {
  font-size: 14px; letter-spacing: .26em; color: var(--ink-2);
  margin-bottom: 6px;
}
.dir h3 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 700; margin-bottom: 10px; }
.dir-body > p { max-width: 38em; color: var(--ink-2); margin-bottom: 10px; }
.dir-body > p:last-child { margin-bottom: 0; }

.dir-may {
  font-size: 14.5px;
  background: var(--mint-wash);
  border-radius: 12px;
  padding: 9px 14px;
  color: var(--ink);
}
.dir-may strong { color: var(--mint-deep); }

.dir-b .dir-may { background: var(--terra-wash); }
.dir-b .dir-may strong { color: var(--terra-deep); }
.dir-c .dir-may { background: #FDEDE2; }
.dir-c .dir-may strong { color: var(--coral-deep); }

.dir-footnote { text-align: center; font-size: 14.5px; color: var(--ink-2); margin-top: 30px; }

/* ============================================================
   03 在地线索：一架陶器
   ============================================================ */
.shelf-scene { margin: 0 auto clamp(30px, 4vw, 44px); max-width: 980px; }
.shelf-svg { width: 100%; height: auto; display: block; }

.local-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.local-list li {
  background: var(--cream-2);
  border: 1.5px solid var(--sand);
  border-radius: 22px;
  padding: 20px 20px 22px;
  box-shadow: var(--shadow-soft);
}
.local-list li:nth-child(2) { margin-top: 22px; }
.local-list li:nth-child(4) { margin-top: 22px; }  /* 上下交错，如陶器错落 */
.local-list h3 {
  display: inline-block;
  font-size: 17px; color: #fff;
  background: var(--terra-deep);
  border-radius: 10px; padding: 2px 12px;
  margin-bottom: 10px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3);
}
.local-list li:nth-child(2) h3 { background: var(--mint-label); }
.local-list li:nth-child(3) h3 { background: var(--coral-label); }
.local-list li:nth-child(4) h3 { background: var(--terra-deep); }
.local-list p { font-size: 15px; color: var(--ink-2); }

.local-footnote { text-align: center; font-size: 14.5px; color: var(--ink-2); margin-top: 34px; }

/* ============================================================
   04 合作
   ============================================================ */
.coop-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.coop-sub { font-size: 18px; color: var(--terra-deep); margin-bottom: 16px; }

.coop-list { list-style: none; display: grid; gap: 14px; margin-bottom: 24px; }
.coop-list li {
  display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: baseline;
  background: var(--cream-2);
  border: 1.5px solid var(--sand);
  border-radius: 18px;
  padding: 14px 20px;
  box-shadow: 0 6px 14px rgba(143, 75, 46, .07);
}
.coop-list strong { color: var(--terra-deep); font-size: 16px; }
.coop-list span { font-size: 14.5px; color: var(--ink-2); }

.coop-cta { margin-top: 22px; }
.coop-side { position: sticky; top: 96px; }

/* ============================================================
   05 作品集
   ============================================================ */
.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 34px; }

.work-card {
  display: flex; flex-direction: column;
  background: var(--cream-2);
  border: 1.5px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .25s ease;
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); color: var(--ink); }

.work-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1.5px solid var(--sand); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* 主题二缩略：CSS 摹写的黑白朱红母题（无现成图片，不冒充截图） */
.work-thumb-manifesto {
  position: relative;
  background: #26221E;
  display: block;
}
.mf-line { position: absolute; left: 12%; height: 10px; border-radius: 5px; background: #F4EFE4; }
.mf-l1 { top: 30%; width: 52%; }
.mf-l2 { top: 48%; width: 34%; background: #C93B2B; }
.mf-block { position: absolute; right: 12%; bottom: 14%; width: 74px; height: 74px; border-radius: 12px; background: #C93B2B; }
.mf-seal {
  position: absolute; left: 12%; bottom: 14%;
  width: 74px; height: 74px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 40px; font-weight: 700; color: #26221E;
  background: #F4EFE4; border-radius: 12px;
}

.work-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 24px; }
.work-tag { font-size: 14px; letter-spacing: .12em; color: var(--ink-2); }
.work-name { font-size: 24px; font-weight: 700; color: var(--terra-deep); }
.work-desc { font-size: 15px; color: var(--ink-2); max-width: 30em; }
.work-link { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--terra-deep); }
.work-card:hover .work-link { color: var(--coral-deep); }

.works-topic {
  background: var(--cream-2);
  border: 2px dashed var(--sand);
  border-radius: var(--radius);
  padding: 24px 30px;
}
.works-topic h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.works-topic p { font-size: 15px; color: var(--ink-2); max-width: 44em; }

/* ============================================================
   06 问答
   ============================================================ */
.faq-list { max-width: 780px; display: grid; gap: 14px; }

.faq-item {
  background: var(--cream-2);
  border: 1.5px solid var(--sand);
  border-radius: 20px;
  box-shadow: 0 6px 14px rgba(143, 75, 46, .07);
  overflow: hidden;
}
.faq-item[open] { box-shadow: var(--shadow-soft); border-color: var(--terra); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 22px;
  font-size: 16.5px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--terra-deep); border-radius: 2px;
  transition: transform .25s ease;
}
.faq-icon::before { width: 14px; height: 3px; }
.faq-icon::after { width: 3px; height: 14px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }

.faq-body { padding: 0 22px 20px; }
.faq-body p { font-size: 15.5px; color: var(--ink-2); max-width: 40em; }

/* ============================================================
   07 联络
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 30px; }

.qr-slot {
  background: var(--cream-2);
  border: 1.5px solid var(--sand);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.qr-icon { width: 56px; height: 56px; margin: 0 auto 14px; }
.qr-slot h3 { font-size: 18px; margin-bottom: 14px; }
.qr-note {
  display: inline-block;
  font-size: 14px; letter-spacing: .14em; color: var(--terra-deep);
  border: 2px dashed var(--terra);
  border-radius: 12px;
  padding: 10px 18px;
  transform: rotate(-2.5deg);
  background: var(--terra-wash);
}

.contact-footnote { text-align: center; font-size: 14.5px; color: var(--ink-2); }

/* ---------- 页脚 ---------- */
.site-foot { background: #3A2E26; color: var(--ink-foot); padding: 54px 24px 44px; margin-top: clamp(48px, 6vw, 80px); }
.foot-inner { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 18px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-mark { width: 34px; height: 34px; }
.foot-name { font-family: var(--serif); font-size: 17px; letter-spacing: .05em; color: #FFF6E6; }
.foot-note { font-size: 14px; color: #C9BBA9; max-width: 52em; }
.foot-links { font-size: 14px; color: #C9BBA9; }
.foot-links a { color: #F0C9A8; }
.foot-links a:hover { color: #EF8E68; }
.foot-links [aria-current="page"] { color: #FFF6E6; }
.foot-top { justify-self: start; background: transparent; color: #F0C9A8; border-color: #8F4B2E; }
.foot-top:hover { background: rgba(240, 201, 168, .1); color: #FFF6E6; }

/* ============================================================
   动效系统（三层门控）
   ① 入场动画：仅 html.anim-ready（JS 确认无 reduce 后添加）
   ② 循环装饰：仅 prefers-reduced-motion: no-preference
   ③ 无 JS / reduce：无任何隐藏或位移，直接静态终态
   ============================================================ */

/* --- 首屏入场（stagger） --- */
@media (prefers-reduced-motion: no-preference) {
  html.anim-ready .hero-rise { opacity: 0; transform: translateY(18px); animation: heroRise .7s cubic-bezier(.22, .8, .36, 1) forwards; }
  html.anim-ready .hero-rise:nth-child(1) { animation-delay: .05s; }
  html.anim-ready .hero-rise:nth-child(2) { animation-delay: .13s; }
  html.anim-ready .hero-rise:nth-child(3) { animation-delay: .21s; }
  html.anim-ready .hero-rise:nth-child(4) { animation-delay: .29s; }
  html.anim-ready .hero-rise:nth-child(5) { animation-delay: .37s; }
  html.anim-ready .hero-rise:nth-child(6) { animation-delay: .45s; }

  @keyframes heroRise {
    to { opacity: 1; transform: translateY(0); }
  }

  /* --- 城市一次性入场（收尾裁决：短入场后停自然终态，无常驻循环） --- */
  html.anim-ready .island, html.anim-ready .island-b, html.anim-ready .bridge { animation: settleDown 1.8s cubic-bezier(.22, .8, .36, 1) .9s 1 both; }
  @keyframes settleDown { from { transform: translateY(14px); } to { transform: translateY(0); } }

  html.anim-ready .cloud-a { animation: cloudIn 1.4s ease-out .5s 1 both; }
  html.anim-ready .cloud-b { animation: cloudIn 1.4s ease-out .7s 1 both; }
  html.anim-ready .cloud-c { animation: cloudIn 1.4s ease-out .9s 1 both; }
  @keyframes cloudIn { from { transform: translateX(-16px); } to { transform: translateX(0); } }

  html.anim-ready .birds { animation: birdIn 1.5s ease-out 1.1s 1 both; }
  @keyframes birdIn { from { transform: translate(28px, -10px); } to { transform: translate(0, 0); } }
}

/* --- 章节揭示（IO 添加 in-view；未触发前仅在 anim-ready 下隐藏） --- */
@media (prefers-reduced-motion: no-preference) {
  html.anim-ready .reveal { opacity: 0; transform: translateY(20px); }
  html.anim-ready .reveal.in-view {
    opacity: 1; transform: translateY(0);
    transition: opacity .65s cubic-bezier(.22, .8, .36, 1), transform .65s cubic-bezier(.22, .8, .36, 1);
  }
}

/* --- reduce 总复位：本页一切动画/位移归零，仅保留静态视觉 --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.anim-ready .hero-rise, html.anim-ready .reveal { opacity: 1 !important; transform: none !important; }
  .btn:active { transform: none; }
  .work-card:hover { transform: none; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .local-list { grid-template-columns: repeat(2, 1fr); }
  .local-list li:nth-child(n) { margin-top: 0; }
  .local-list li:nth-child(even) { margin-top: 22px; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 30px; }
  .hero-copy { max-width: 620px; }
  .hero-art { max-width: 560px; margin: 0 auto; }
  .about-grid, .coop-grid { grid-template-columns: 1fr; }
  .about-side, .coop-side { position: static; max-width: 420px; margin: 0 auto; }
  .dir { grid-template-columns: 1fr; gap: 18px; }
  .dir:nth-of-type(even) { margin-left: 0; }
  .dir-art svg { max-width: 180px; }
  .works-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 760px) {
  .head-inner { flex-wrap: wrap; gap: 8px 14px; padding: 10px 18px; }
  .nav { order: 3; width: 100%; margin-left: -6px; padding-bottom: 2px; }
  .head-status { margin-left: auto; font-size: 14px; padding: 4px 12px; }
  .sec { padding: clamp(56px, 12vw, 84px) 18px; }
}

@media (max-width: 430px) {
  /* 覆盖 375–390：正常流单列，主动核算行宽 */
  .hero { padding-top: 18px; }
  .hero h1 { font-size: 34px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { gap: 10px; }
  .btn { flex: 1 1 auto; padding: 12px 18px; }
  .hero-chips li { font-size: 14px; }
  .hero-art { max-width: none; }
  .hero-scroll { display: none; }
  .sec-title { font-size: 25px; }
  .sec-lead { font-size: 16px; }
  .coop-list li { grid-template-columns: 1fr; gap: 4px; }
  .work-name { font-size: 21px; }
  .faq-item summary { font-size: 15.5px; }
  .foot-top { justify-self: stretch; }
}

/* ---------- 站点入口条（共创图景归档） ---------- */
.portal-back {
  display: flex; align-items: center; gap: 10px;
  padding: 9px max(calc((100vw - 1120px) / 2), 20px);
  background: var(--cream-2, #FFFDF6);
  border-bottom: 1.5px solid var(--sand, #EAD9BC);
  font-size: 14px;
}
.portal-back a {
  color: var(--terra-deep, #8F4B2E); text-decoration: none;
  border: 1.5px solid var(--terra, #C2704B);
  border-radius: 999px; padding: 4px 14px;
}
.portal-back a:hover { background: var(--terra-deep, #8F4B2E); border-color: var(--terra-deep, #8F4B2E); color: #FFFDF6; }
