/* ==========================================================================
   ADXMKT — 4A-grade agency site
   Design tokens / layout / components
   ========================================================================== */

:root {
  /* —— 心想事橙：橙 = 成。橙色为主色，暖黑与暖白作中性底 —— */
  --ink: #14130f;
  --ink-soft: #2b2a26;
  --paper: #fbfaf8;
  --paper-pure: #ffffff;
  --muted: #6e6d67;
  --muted-light: #a5a49d;
  --line: rgba(20, 19, 15, 0.12);
  --line-strong: rgba(20, 19, 15, 0.34);
  --accent: #ff6a00;
  --accent-deep: #e05a00;
  --accent-soft: #ffb27a;
  --on-accent: #17120e;

  --font-sans: "Inter", "Helvetica Neue", Helvetica, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, monospace;

  --shell: 1600px;
  --gutter: clamp(20px, 4.4vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--accent); color: var(--on-accent); }

/* ---------- primitives ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--line-strong);
}

.h-display {
  font-size: clamp(42px, 8.4vw, 132px);
  line-height: 1.02;
  letter-spacing: -0.042em;
  font-weight: 600;
  margin: 0;
  text-wrap: pretty;
}
.h-section {
  font-size: clamp(30px, 4.6vw, 72px);
  line-height: 1.07;
  letter-spacing: -0.034em;
  font-weight: 600;
  margin: 0;
  text-wrap: pretty;
}
.h-card {
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
}
.lede {
  font-size: clamp(17.5px, 1.42vw, 23px);
  line-height: 1.58;
  color: var(--ink-soft);
  max-width: 60ch;
}
.body-m { color: var(--muted); font-size: 15.5px; line-height: 1.78; }

.section { padding: clamp(104px, 16vh, 228px) 0; position: relative; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .eyebrow { color: rgba(255, 247, 240, 0.62); }
.section--dark .eyebrow::before { background: rgba(255, 247, 240, 0.4); }
.section--dark .lede { color: rgba(255, 247, 240, 0.78); }
.section--dark .body-m { color: rgba(255, 247, 240, 0.6); }
.section--dark .h-section, .section--dark .h-display { color: var(--paper); }

.rule { height: 1px; background: var(--line); width: 100%; margin: 0; border: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.btn svg { transition: transform 0.5s var(--ease); }
.btn:hover { transform: translateY(-2px); background: var(--accent); color: var(--on-accent); }
.btn:hover svg { transform: translateX(5px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:hover { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.section--dark .btn--ghost { color: var(--paper); box-shadow: inset 0 0 0 1px rgba(255,247,240,0.35); }
.section--dark .btn--ghost:hover { background: var(--accent); color: var(--on-accent); box-shadow: none; }

/* ---------- header ---------- */

.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.hdr__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand__mark {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.045em;
}
.brand__mark span { color: var(--accent); }
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 38px); }
.nav a {
  font-size: 14.5px;
  position: relative;
  padding: 4px 0;
  color: var(--ink);
  transition: color 0.35s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: currentColor;
  transition: width 0.45s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.hdr__cta { display: inline-flex; }
.hdr.is-stuck {
  background: rgba(255, 247, 240, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.hdr.is-stuck.is-on-dark {
  background: rgba(20, 19, 15, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 247, 240, 0.14);
}
.hdr.is-on-dark { color: var(--paper); }
.hdr.is-on-dark .nav a, .hdr.is-on-dark .brand__mark, .hdr.is-on-dark .brand__sub { color: var(--paper); }
.hdr.is-on-dark .brand__sub { color: rgba(255,247,240,0.6); }

.burger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; }
.burger i { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; }
.burger i::before, .burger i::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: currentColor;
  transition: transform 0.4s var(--ease);
}
.burger i::before { top: -7px; }
.burger i::after { top: 7px; }

.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--paper);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.7s var(--ease), visibility 0s linear 0.7s;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
}
.drawer.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.7s var(--ease), visibility 0s;
}
.drawer a { font-size: clamp(30px, 8vw, 54px); letter-spacing: -0.03em; font-weight: 600; padding: 8px 0; }
.drawer__close { position: absolute; top: 26px; right: var(--gutter); font-size: 14px; letter-spacing: 0.1em; }

/* ---------- hero ---------- */

.hero {
  min-height: 84svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 120px;
  padding-bottom: clamp(28px, 4vh, 56px);
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(90% 60% at 78% 4%, rgba(255,106,0,0.07), transparent 60%);
}
.hero__grid-lines { display: none; }
.hero__in { position: relative; z-index: 1; }
/* 橙底 hero 上的文字对比度覆盖 */
.hero .eyebrow { color: var(--muted); }
.hero .eyebrow::before { background: var(--line-strong); }
.hero .lede { color: var(--ink-soft); }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__foot { border-top-color: var(--line); }
.hero__meta dt { color: var(--muted); }
.hero__meta dd { color: var(--ink-soft); }
.hero .scroll-cue { color: var(--muted); }
.hero .scroll-cue i { background: var(--line-strong); }
.hero .scroll-cue i::after { background: var(--accent); }

/* 通栏摄影图带：杂志封面感 */
.band { position: relative; overflow: hidden; height: clamp(240px, 42vh, 560px); background: var(--ink); }
.band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.band--slim { height: clamp(180px, 30vh, 380px); }
.band__cap {
  position: absolute; left: var(--gutter); bottom: 18px; z-index: 2; color: #fff;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0,0,0,.55);
}
.hero__title { margin: clamp(26px, 4vh, 48px) 0 clamp(26px, 4vh, 44px); }
.hero__title .ln { display: block; overflow: hidden; }
/* 逐行上浮的裁切盒：line-height 收到 1.02 后中文字形会超出行盒，
   顶端的笔画会被 overflow:hidden 切掉（小屏尤其明显）。
   padding 给字形留空间、负 margin 把位置拉回来，视觉行距不变。 */
.hero__title .ln { padding-top: 0.16em; margin-top: -0.16em; }
.hero__title .ln > span {
  display: block;
  transform: translateY(102%);
  animation: rise 1.15s var(--ease) forwards;
}
.hero__title .ln:nth-child(2) > span { animation-delay: 0.09s; }
.hero__title .ln:nth-child(3) > span { animation-delay: 0.18s; }
.hero__title em { font-style: normal; color: var(--accent); }
@keyframes rise { to { transform: translateY(0); } }

.hero__foot {
  display: flex; flex-wrap: wrap; gap: 28px 48px;
  align-items: flex-end; justify-content: space-between;
  padding-top: 26px; border-top: 1px solid var(--line);
  position: relative; z-index: 1;
}
.hero__meta { display: flex; flex-wrap: wrap; gap: 28px 44px; }
.hero__meta div { max-width: 30ch; }
.hero__meta dt {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.hero__meta dd { margin: 0; font-size: 14.5px; line-height: 1.5; }

.scroll-cue {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.scroll-cue i { display: block; width: 40px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  animation: sweep 2.4s var(--ease-io) infinite;
}
@keyframes sweep { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent);
  padding: 18px 0; background: var(--ink); color: var(--paper);
}
.marquee__track { display: flex; gap: 56px; width: max-content; animation: slide 38s linear infinite; }
.marquee span {
  font-size: clamp(15px, 1.6vw, 22px); letter-spacing: -0.01em; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 56px; color: var(--paper);
}
.marquee span::after { content: "◦"; color: var(--accent); font-size: 12px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- about / manifesto ---------- */

.split {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 90px); align-items: start;
}
.split__aside { position: sticky; top: 120px; }
.stack-list { display: grid; gap: 0; margin-top: 40px; }
.stack-list > div {
  padding: 26px 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 20px;
}
.stack-list > div:last-child { border-bottom: 1px solid var(--line); }
.stack-list .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.08em; }
.stack-list p { margin: 8px 0 0; }

/* ---------- services ---------- */

.svc-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  margin-top: clamp(38px, 5vw, 70px);
}
.svc {
  background: var(--paper); padding: clamp(24px, 2.4vw, 40px);
  min-height: clamp(240px, 26vh, 330px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  position: relative; overflow: hidden;
  transition: background 0.55s var(--ease), color 0.55s var(--ease);
}
.svc::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); z-index: 0;
}
.svc:hover::before { transform: scaleX(1); }
.svc > * { position: relative; z-index: 1; }
.svc:hover { background: #fff; }
.svc:hover .svc__idx { color: var(--accent); }
.svc:hover .h-card { color: var(--ink); }
.svc__ico { stroke: var(--muted-light); transition: stroke 0.5s var(--ease); }
.svc:hover .svc__ico { stroke: var(--accent); }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.svc__idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted-light); }
.svc__ico { width: 30px; height: 30px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.2; }
.svc__txt { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin: 12px 0 0; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.svc__tags span {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-light);
}
.svc__tags span + span::before { content: "/ "; color: var(--accent); margin-right: 6px; }

/* ---------- process ---------- */

.proc { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proc__item { background: var(--ink); padding: clamp(20px, 2vw, 32px) clamp(16px, 1.6vw, 26px); min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; }
.proc__item .num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.12em; }
.proc__item h4 { margin: 0; font-size: clamp(17px, 1.4vw, 22px); font-weight: 600; letter-spacing: -0.02em; }
.proc__item p { margin: 10px 0 0; font-size: 13.5px; color: rgba(255, 247, 240, 0.55); line-height: 1.65; }
.proc__item:nth-child(even) { background: #1b1a16; }

/* ---------- work / cases ---------- */

.case {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 4.6vw, 78px); align-items: center;
  padding: clamp(48px, 6.4vw, 104px) 0; border-top: 1px solid var(--line);
}
.case:last-child { border-bottom: 1px solid var(--line); }
.case:nth-child(even) .case__visual { order: 2; }
.case__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.case__meta span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted);
}
.case__kpi { display: flex; flex-wrap: wrap; gap: 30px 48px; margin-top: 30px; }
.case__kpi div strong {
  display: block; font-size: clamp(30px, 3.3vw, 54px); font-weight: 600; letter-spacing: -0.038em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.case__kpi div span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.case__kpi strong .up { color: var(--accent); font-size: 0.55em; vertical-align: super; margin-left: 2px; }

.visual {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--ink-soft); border-radius: 2px;
}
.visual svg { width: 100%; height: 100%; display: block; }
.visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.8s var(--ease); }
.case:hover .visual img, .work-card:hover .visual img { transform: scale(1.04); }
.visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,18,14,0.05), rgba(23,18,14,0.55));
}
.visual__tag {
  position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
}

/* ---------- stats ---------- */

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,247,240,0.16); margin-top: 56px; }
.stats > div { background: var(--ink); padding: clamp(22px, 2.6vw, 40px) clamp(16px, 1.8vw, 30px); }
/* 字号要按「列宽」而不是「视口」定：.stats 是 4 列等分，列宽在 1280→1920 之间只从 245px 涨到 303px，
   而 5.4vw 会从 69px 涨到 82px——最长的「8362.6 亿元」在 1280/1440 两档会被挤成两行。
   4.7vw + ≤76px 的上限给最宽的数值组合留了 ~25px 余量。 */
.stats strong {
  display: block; font-size: clamp(32px, 4.7vw, 76px); font-weight: 600; letter-spacing: -0.045em; line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.stats strong i { font-style: normal; font-size: 0.42em; letter-spacing: 0; margin-left: 3px; color: var(--accent); white-space: nowrap; }
/* 注意：后代选择器只到「说明文字」这一层。若写成 stats 与 span 的二级后代（中间不带 > div），
   会把 <strong> 里那个计数用的 <span> 一起命中，把 78px 的数字压成 13.5px、还变成 58% 透明灰。 */
.stats > div > span { display: block; margin-top: 12px; font-size: 13.5px; color: rgba(255,247,240,0.58); }

/* ---------- insights ---------- */

.post {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: clamp(16px, 2.4vw, 40px); align-items: center;
  padding: clamp(22px, 2.4vw, 34px) 0; border-top: 1px solid var(--line);
  transition: padding-left 0.5s var(--ease);
}
.post:hover { padding-left: 14px; }
.post:last-child { border-bottom: 1px solid var(--line); }
.post__date { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.post__cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 8px; }
.post h3 { margin: 0; font-size: clamp(19px, 1.9vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.post p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; max-width: 58ch; }
.post__src { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--muted-light); }
.post__src b { font-weight: 400; color: var(--accent); }

.post__go { width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 999px; display: grid; place-items: center; transition: background 0.45s var(--ease), color 0.45s var(--ease), transform 0.45s var(--ease); }
.post:hover .post__go { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: rotate(-45deg); }

/* ---------- market signal ---------- */

.signal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(34px, 4vw, 56px); }
.signal { background: var(--paper); padding: clamp(22px, 2.4vw, 38px); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 250px; }
.signal strong { display: block; font-size: clamp(34px, 3.8vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.signal strong i { font-style: normal; font-size: 0.42em; letter-spacing: 0; margin-left: 3px; color: var(--accent); }
.signal h4 { margin: 0; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.signal p { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.signal cite { display: block; font-family: var(--font-mono); font-style: normal; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); }

.note {
  font-size: 12.5px; color: var(--muted); line-height: 1.7;
  padding: 16px 20px; border-left: 3px solid var(--accent); background: rgba(255,106,0,.09); margin-top: 32px;
}

/* ---------- filters ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip {
  padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 14px; color: var(--ink-soft); transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip.is-on { background: var(--accent); color: var(--on-accent); box-shadow: none; }

/* ---------- work grid ---------- */

.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px); margin-top: clamp(34px, 4vw, 60px); }
.work-card { display: block; }
.work-card .visual { aspect-ratio: 3 / 2; }
.work-card .visual svg { transition: transform 1.1s var(--ease); }
.work-card:hover .visual svg { transform: scale(1.06); }
.work-card h3 { margin: 20px 0 0; font-size: clamp(21px, 1.9vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.work-card .body-m { margin: 12px 0 0; }
.work-card__foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.work-card__foot span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted);
}
.work-card__foot span:first-child { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.page-head { padding-top: clamp(140px, 18vh, 200px); }

/* ---------- clients wall ---------- */

.wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 44px; }
.wall > div {
  background: var(--paper); aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 18px;
  text-align: center; font-size: 13.5px; color: var(--muted); letter-spacing: -0.01em;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.wall > div:hover { background: var(--accent); color: var(--on-accent); }

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); margin-top: clamp(30px, 4vw, 54px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: clamp(18px, 2vw, 26px) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: clamp(16.5px, 1.5vw, 22px); font-weight: 600; letter-spacing: -0.02em;
  transition: color 0.35s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; font-weight: 400; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--accent-deep); }
.faq__a { padding: 0 0 clamp(18px, 2vw, 26px); max-width: 74ch; animation: fadeDown 0.5s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: 0.5; }

/* ---------- article ---------- */

.article { max-width: 780px; }
.article h2 { font-size: clamp(23px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; margin: clamp(38px, 4vw, 56px) 0 16px; }
.article h3 { font-size: clamp(18px, 1.6vw, 23px); font-weight: 600; letter-spacing: -0.02em; margin: 34px 0 12px; }
.article p { font-size: 16.5px; line-height: 1.85; color: var(--ink-soft); margin: 0 0 18px; }
.article ul { margin: 0 0 20px; padding-left: 20px; }
.article li { font-size: 16.5px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 10px; }
.article blockquote { margin: 28px 0; padding: 20px 24px; border-left: 3px solid var(--accent); background: rgba(255,106,0,.09); font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.article__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.pager { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; margin-top: clamp(48px, 6vw, 80px); padding-top: 26px; border-top: 1px solid var(--line); }
.pager a { font-size: 15px; font-weight: 500; }
.pager a:hover { color: var(--accent); }

/* ---------- contact ---------- */

.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); margin-top: 48px; }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 12px 0; font: inherit; font-size: 16px; color: var(--ink); outline: none;
  transition: border-color 0.4s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 96px; }

.info-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.info-row dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.info-row dd { margin: 0; font-size: 15.5px; }

/* ---------- footer ---------- */

.ftr { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 96px) 0 34px; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.ftr h5 { margin: 0 0 16px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,247,240,0.5); font-weight: 400; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr ul a, .ftr ul li { font-size: 14.5px; color: rgba(255,247,240,0.82); }
.ftr ul a:hover { color: var(--accent); }
.ftr__big { font-size: clamp(38px, 7vw, 104px); line-height: 0.92; letter-spacing: -0.04em; font-weight: 600; margin: clamp(48px, 7vw, 90px) 0 0; }
.ftr__bot { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid rgba(255,247,240,0.16); font-size: 12.5px; color: rgba(255,247,240,0.5); }
.ftr__bot a:hover { color: var(--paper); }

/* ==========================================================================
   CINEMATIC LAYER — 对标 Apple 官网的「一张图 + 一句话」结构
   作用：把零散的内容块压成大块的呼吸感，靠影像与字级落差建立气度。
   ========================================================================== */

/* ---- 1. 全屏 hero：暗调影像铺满视口，白字压底 ---- */

.hero--cine {
  min-height: 100svh;
  justify-content: flex-end;
  padding-top: 0;
  color: #fff7f0;
}
.hero--cine .hero__pic {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 三层遮罩：左侧压暗托住文字 / 上下压暗让导航与页脚可读 / 左下一点橙色辉光接品牌色 */
.hero--cine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(20, 19, 15, 0.8) 0%,
      rgba(20, 19, 15, 0.36) 44%,
      rgba(20, 19, 15, 0) 78%
    ),
    linear-gradient(
      180deg,
      rgba(20, 19, 15, 0.6) 0%,
      rgba(20, 19, 15, 0.06) 28%,
      rgba(20, 19, 15, 0.5) 64%,
      rgba(20, 19, 15, 0.95) 100%
    ),
    radial-gradient(74% 52% at 6% 104%, rgba(255, 106, 0, 0.16), transparent 58%);
}
.hero--cine .hero__in { position: relative; z-index: 2; }
.hero--cine .eyebrow { color: rgba(255, 247, 240, 0.84); }
.hero--cine .eyebrow::before { background: var(--accent); }
.hero--cine .lede { color: rgba(255, 247, 240, 0.88); }
.hero--cine .hero__title { color: #fff7f0; }
.hero--cine .hero__foot { border-top-color: rgba(255, 247, 240, 0.24); }
.hero--cine .hero__meta dt { color: rgba(255, 247, 240, 0.6); }
.hero--cine .hero__meta dd { color: rgba(255, 247, 240, 0.92); }
.hero--cine .scroll-cue { color: rgba(255, 247, 240, 0.72); }
.hero--cine .scroll-cue i { background: rgba(255, 247, 240, 0.34); }

/* ---- 2. stage：全幅影像区块（页面中的「呼吸口」） ---- */

.stage {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff7f0;
  min-height: clamp(520px, 82svh, 880px);
  display: flex;
  align-items: flex-end;
}
.stage--center { align-items: center; text-align: center; }
.stage--tall { min-height: clamp(620px, 96svh, 1020px); }
.stage__pic {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(20, 19, 15, 0.52) 0%,
    rgba(20, 19, 15, 0.2) 42%,
    rgba(20, 19, 15, 0.9) 100%
  );
}
.stage--soft::after {
  background: linear-gradient(
    180deg,
    rgba(20, 19, 15, 0.34) 0%,
    rgba(20, 19, 15, 0.16) 46%,
    rgba(20, 19, 15, 0.82) 100%
  );
}
.stage__in {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(48px, 9vh, 110px);
  padding-bottom: clamp(48px, 9vh, 110px);
}
.stage__title {
  font-size: clamp(34px, 5.8vw, 94px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 24px 0 0;
  /* 中文标题用 em 限宽会算错（ch/em 按拉丁字形算），
     22ch 会在「它只会涌向做得更好的那一条」这种 13 字句子上强行折行，
     把结尾的「条。」甩到第三行。直接放满容器，靠人工 <br> 断句。 */
  max-width: none;
  text-wrap: pretty;
}
.stage__title em { font-style: normal; color: var(--accent); }
.stage__txt {
  margin: 26px 0 0;
  font-size: clamp(16.5px, 1.38vw, 21px);
  line-height: 1.62;
  color: rgba(255, 247, 240, 0.8);
  max-width: 64ch;
}
.stage--center .stage__title,
.stage--center .stage__txt { margin-left: auto; margin-right: auto; }
.stage .eyebrow { color: rgba(255, 247, 240, 0.68); }
.stage .eyebrow::before { background: var(--accent); }
.stage .stage__cap {
  position: absolute;
  right: var(--gutter);
  bottom: 20px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 247, 240, 0.52);
}

/* ---- 3. statement：整屏一句话（纯黑，无图，最省力的"大气"） ---- */

.statement {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(128px, 21vh, 300px) 0;
}
.statement__t {
  font-size: clamp(30px, 5.4vw, 92px);
  line-height: 1.09;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0;
  max-width: none;
  text-wrap: pretty;
}
.statement__t em { font-style: normal; color: var(--accent); }
.statement__sub {
  margin: clamp(28px, 3.4vw, 44px) 0 0;
  max-width: 56ch;
  font-size: clamp(16.5px, 1.38vw, 21px);
  line-height: 1.65;
  color: rgba(255, 247, 240, 0.66);
}
.statement--center { text-align: center; }
.statement--center .statement__t,
.statement--center .statement__sub { margin-left: auto; margin-right: auto; }

/* ---- 4. 大图带：比 band 更高，用作章节之间的分隔 ---- */

.band--tall { height: clamp(360px, 66vh, 820px); }

/* ---------- reveal ---------- */

.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
/* JS 未执行 / 加载失败时的兜底：noscript 里会给 html 加 .no-js，正文必须可见 */
html.no-js .rv { opacity: 1; transform: none; }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; } .rv-d2 { transition-delay: 0.16s; } .rv-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split__aside { position: static; }
  .case { grid-template-columns: 1fr; }
  .case:nth-child(even) .case__visual { order: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .signal-grid { grid-template-columns: 1fr; }
  .proc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post { grid-template-columns: 1fr; gap: 12px; }
  .post__go { display: none; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__top { grid-template-columns: 1fr; }
  .stack-list > div { grid-template-columns: 44px minmax(0, 1fr); }
}

/* ---------- cinematic layer · 小屏收敛 ---------- */

@media (max-width: 860px) {
  /* 手机上 100svh 会让首屏留白过多，收一点；同时把半屏图换成正片比例 */
  /* 内容靠底对齐，内容一高就会往上顶到固定导航；留出导航高度 */
  .hero--cine { min-height: 92svh; padding-top: 96px; }
  .hero--cine::after {
    background:
      linear-gradient(180deg, rgba(20, 19, 15, 0.66) 0%, rgba(20, 19, 15, 0.18) 26%, rgba(20, 19, 15, 0.7) 62%, rgba(20, 19, 15, 0.96) 100%),
      radial-gradient(80% 40% at 8% 104%, rgba(255, 106, 0, 0.14), transparent 60%);
  }
  .hero--cine .hero__meta { gap: 22px 30px; }
  .stage { min-height: clamp(460px, 76svh, 680px); }
  .stage--tall { min-height: clamp(520px, 86svh, 760px); }
  .stage__in { padding-top: 72px; padding-bottom: 72px; }
  .stage--center { text-align: left; }
  .stage--center .stage__title,
  .stage--center .stage__txt { margin-left: 0; margin-right: 0; }
  .statement { padding: clamp(96px, 16vh, 180px) 0; }
  .case { padding: clamp(40px, 8vw, 72px) 0; }
}
