/* 君非特 Junfit · 全站样式
   颜色一律引用 tokens.css 的变量（暗色套）。视觉母题 = 3D 打印：层纹、切片、喷头扫描线、平台网格。
   缓动：默认"快出慢停"无回弹（≈ Apple damping 1.0）。 */

:root {
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --font-ui: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-num: "Space Grotesk", var(--font-ui);
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --nav-h: 64px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--color-brand-lime); color: var(--color-brand-ink); }
:focus-visible { outline: 2px solid var(--color-brand-lime); outline-offset: 3px; border-radius: 4px; }

.latin { font-family: var(--font-num); font-feature-settings: "tnum" 1; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* 块主题会给 body 下的根容器加间距，首页要全宽贴边 */
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
main.home { max-width: none !important; padding: 0 !important; }

/* ───────── 按钮：按下即缩，不等松手 ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  border-radius: var(--radius-pill);
  background: var(--color-brand); color: var(--color-on-brand);
  font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none !important;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out);
}
.btn:hover { background: var(--color-brand-hover); }
.btn:active { transform: scale(.97); transition-duration: 80ms; background: var(--color-brand-pressed); }

/* ───────── 导航：毛玻璃浮层 ───────── */
.site-nav {
  position: fixed; inset: 12px 0 auto; z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
}
.site-nav__bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  width: min(var(--wrap), calc(100% - 24px));
  height: var(--nav-h); padding: 0 12px 0 18px; box-sizing: border-box;
  border-radius: 20px;
  background: rgba(20, 20, 22, .42);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .09),   /* 顶边亮线：光打在玻璃上 */
    inset 0 0 0 1px rgba(255, 255, 255, .05),
    0 10px 30px rgba(0, 0, 0, .25);
  transition: background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.site-nav.is-scrolled .site-nav__bar { background: rgba(20, 20, 22, .68); }
.site-nav__brand {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--color-text); text-decoration: none !important;
}
.brand-mark { width: 30px; height: 30px; }
.brand-word { font-weight: 700; font-size: 1.125rem; letter-spacing: .04em; }
.brand-rule { width: 2px; height: 16px; background: var(--color-brand-lime); border-radius: 1px; }
.brand-latin { font-family: var(--font-num); font-weight: 700; font-size: 1rem; letter-spacing: .02em; }
.site-nav__links { display: flex; gap: 4px; }
.site-nav__links a {
  padding: 10px 14px; border-radius: 12px;
  color: var(--color-text-2); font-size: .9375rem; text-decoration: none !important;
  transition: color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.site-nav__links a:hover { color: var(--color-text); background: rgba(255, 255, 255, .06); }
.site-nav__links a:active { transform: scale(.97); }

/* ───────── 首屏：打开网页时文字自动一层层打印出来（约 2.5 秒，不劫持滚动） ─────────
   motion.js 写入 --p（0~1，已按 240 层取整）。 */
.hero { position: relative; --p: 0; }
.hero__stage {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--nav-h) var(--gutter) 0; box-sizing: border-box;
  background:
    radial-gradient(60% 50% at 50% 62%, rgba(184, 230, 58, calc(.05 + var(--p) * .05)), transparent 70%),
    var(--color-bg);
}

/* 打印平台：透视网格，从画面下方铺向远处 */
.hero__plate {
  position: absolute; left: 50%; bottom: -8vh; width: 180vw; height: 62vh;
  transform: translateX(-50%) perspective(700px) rotateX(64deg);
  transform-origin: 50% 100%;
  background-image:
    linear-gradient(to right, rgba(241, 241, 238, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(241, 241, 238, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(50% 80% at 50% 100%, #000 30%, transparent 75%);
  mask-image: radial-gradient(50% 80% at 50% 100%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero__title {
  position: relative; display: grid; margin: 0;
  font-size: clamp(1.75rem, min(10.4vw, 15vh), 8.5rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.04em;
  white-space: nowrap;
  text-align: center;
}
.hero__layer { grid-area: 1 / 1; display: block; padding-block: .04em; }

/* 切片预览：还没打印的部分，只显示青柠细轮廓 */
.hero__ghost {
  color: transparent;
  -webkit-text-stroke: 1px rgba(184, 230, 58, .30);
}
/* 已打印部分：带层纹的实体，从下往上露出 */
.hero__print {
  color: transparent;
  background-image: repeating-linear-gradient(to bottom, #F1F1EE 0 3px, #C9CAC4 3px 4px);
  -webkit-background-clip: text; background-clip: text;
  -webkit-mask-image: linear-gradient(to top, #000 calc(var(--p) * 100%), transparent calc(var(--p) * 100%));
  mask-image: linear-gradient(to top, #000 calc(var(--p) * 100%), transparent calc(var(--p) * 100%));
}
/* 刚挤出的那几层还"热"：青柠色，往下逐渐冷却成白 */
.hero__hot {
  color: var(--color-brand-lime);
  -webkit-mask-image: linear-gradient(to top, transparent calc(var(--p) * 100% - 14%), #000 calc(var(--p) * 100%), transparent calc(var(--p) * 100%));
  mask-image: linear-gradient(to top, transparent calc(var(--p) * 100% - 14%), #000 calc(var(--p) * 100%), transparent calc(var(--p) * 100%));
  opacity: calc(1 - var(--done, 0));
  transition: opacity 900ms var(--ease-out);
}
/* 喷头扫描线 + 喷头光点（打印时左右走动） */
.hero__nozzle {
  position: absolute; left: -4%; right: -4%; height: 2px;
  bottom: calc(var(--p) * (100% - .08em) + .04em);
  background: linear-gradient(90deg, transparent, rgba(184, 230, 58, .85) 12%, rgba(184, 230, 58, .85) 88%, transparent);
  box-shadow: 0 0 18px 1px rgba(184, 230, 58, .45);
  opacity: calc(1 - var(--done, 0));
  transition: opacity 600ms var(--ease-out);
  pointer-events: none;
}
.hero__nozzle i {
  position: absolute; top: 50%; left: 10%;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px 3px rgba(184, 230, 58, .9), 0 0 36px 8px rgba(184, 230, 58, .35);
  animation: nozzle-sweep 1.1s var(--ease-io) infinite alternate;
  animation-play-state: paused;
}
.hero.is-printing .hero__nozzle i { animation-play-state: running; }
@keyframes nozzle-sweep { to { left: 90%; } }

.hero__status {
  margin: clamp(20px, 4vh, 40px) 0 0;
  color: var(--color-text-2); font-size: .9375rem; letter-spacing: .02em;
  min-height: 1.5em;
}
.hero__status b { color: var(--color-text); font-weight: 500; }
.hero__status [data-status-done] { display: none; color: var(--color-brand-lime); }
.hero.is-done .hero__status [data-status-printing] { display: none; }
.hero.is-done .hero__status [data-status-done] { display: inline; }

/* 打印完成后"实体化"出现：模糊变清晰 + 轻微放大 */
.hero__after {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  margin-top: clamp(16px, 3vh, 28px); text-align: center;
  opacity: 0; filter: blur(12px); transform: scale(.96) translateY(8px);
  transition: opacity 700ms var(--ease-out), filter 700ms var(--ease-out), transform 700ms var(--ease-out);
  pointer-events: none;
}
.hero.is-done .hero__after { opacity: 1; filter: blur(0); transform: none; pointer-events: auto; }
.hero__lead {
  max-width: 30em; margin: 0;
  color: var(--color-text-2); font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.7;
}

.hero__hint {
  position: absolute; bottom: max(24px, env(safe-area-inset-bottom)); left: 0; right: 0;
  margin: 0; text-align: center; color: var(--color-text-3); font-size: .875rem;
  opacity: 0; transition: opacity 600ms var(--ease-out) 400ms;
}
.hero__hint::after {
  content: ""; display: block; width: 1px; height: 28px; margin: 10px auto 0;
  background: linear-gradient(var(--color-brand-lime), transparent);
  animation: hint-drop 1.8s var(--ease-io) infinite;
}
.hero.is-done .hero__hint { opacity: 1; }
@keyframes hint-drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ───────── 通用区块标题 ───────── */
.section-title {
  margin: 0 0 clamp(40px, 7vw, 80px);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.035em;
}

/* 切片 SVG：进入视野时从下往上逐层"打印"出来 */
.sliced { width: 100%; height: auto; overflow: visible; }
.sliced line {
  stroke: var(--color-text-2); stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 120; stroke-dashoffset: 120;
  transition: stroke-dashoffset 420ms var(--ease-out), stroke 900ms var(--ease-out);
  transition-delay: calc(var(--i) * 32ms), calc(var(--i) * 32ms + 300ms);
}
.is-in .sliced line { stroke-dashoffset: 0; stroke: var(--color-text); }
.is-in .sliced line:nth-last-child(-n+3) { stroke: var(--color-brand-lime); }

/* ───────── 区块标题 + 一句说明 ───────── */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 7vw, 80px); }
.section-head .section-title { margin: 0; }
.section-sub { margin: 0; color: var(--color-text-2); font-size: clamp(1rem, 1.4vw, 1.1875rem); line-height: 1.7; max-width: 28em; }

/* ───────── AI 造物台：6 个工具轮流演示（像店里的大屏） ─────────
   每个工具一幕：照片出现 → AI 扫描 → 实物一层层长出来（灯会亮）。motion.js 负责轮换。 */
.tools { padding: clamp(72px, 10vw, 140px) 0 clamp(48px, 7vw, 96px); --cycle: 5200ms; }
.screen {
  position: relative; overflow: hidden;
  border-radius: clamp(20px, 2.4vw, 32px);
  background:
    radial-gradient(60% 70% at 50% 40%, rgba(184, 230, 58, .05), transparent 70%),
    linear-gradient(to right, rgba(241, 241, 238, .035) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(to bottom, rgba(241, 241, 238, .035) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--color-neutral-0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 80px rgba(0, 0, 0, .35);
  aspect-ratio: 16 / 7;
}
.scene {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center;
  padding: clamp(24px, 4vw, 56px) clamp(24px, 6vw, 88px) clamp(72px, 9vw, 112px);
  opacity: 0; visibility: hidden;
}
.scene.is-active { opacity: 1; visibility: visible; }

.scene__photo { position: relative; width: clamp(120px, 20vw, 250px); border-radius: 14px; overflow: hidden; box-shadow: 0 12px 40px rgba(0, 0, 0, .4); }
.scene__photo svg { display: block; width: 100%; height: auto; }
.scene__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--color-brand-lime); box-shadow: 0 0 16px 2px rgba(184, 230, 58, .7);
  opacity: 0;
}
.scene__photo::after { /* AI 扫过的地方留一层淡淡的青柠 */
  content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(184, 230, 58, .16), rgba(184, 230, 58, 0));
  opacity: 0;
}
.scene__ai {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 clamp(12px, 3vw, 40px);
}
.scene__ai b {
  font-family: var(--font-num); font-weight: 600; font-size: .875rem; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px; color: var(--color-text-2);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.scene__beam { width: clamp(40px, 8vw, 110px); height: 2px; overflow: visible; }
.scene__beam line { stroke: var(--color-brand-lime); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; opacity: 0; }
.scene__result { width: clamp(130px, 19vw, 240px); }
.scene__result .sliced line { stroke: #E8E8E3; stroke-width: 2.4; }
.scene__caption {
  position: absolute; left: 0; right: 0; bottom: clamp(20px, 3vw, 36px);
  text-align: center; padding: 0 24px;
}
.scene__caption h3 { margin: 0 0 4px; font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; }
.scene__caption p { margin: 0; color: var(--color-text-2); font-size: clamp(.875rem, 1.2vw, 1rem); }
.scene__caption em { font-style: normal; color: var(--color-brand-lime); }

/* 一幕的时间线 */
.scene.is-active .scene__photo { animation: materialize 600ms var(--ease-out) both; }
.scene.is-active .scene__scan { animation: scan 1000ms var(--ease-io) 600ms both; }
.scene.is-active .scene__photo::after { animation: scanned 1000ms var(--ease-io) 600ms both; }
.scene.is-active .scene__ai b { animation: ai-on 1400ms var(--ease-out) 600ms both; }
.scene.is-active .scene__beam line { animation: beam 900ms linear 1300ms both; }
.scene.is-active .scene__result .sliced line {
  animation: draw 360ms var(--ease-out) both;
  animation-delay: calc(1800ms + var(--i) * 50ms);
}
.scene.is-active.is-lamp .scene__result .sliced line { /* 灯：长完后亮起来 */
  animation: draw 360ms var(--ease-out) both, lamp-on 700ms var(--ease-out) 3500ms both;
  animation-delay: calc(1800ms + var(--i) * 50ms), 3500ms;
}
.scene.is-active .scene__caption { animation: materialize 600ms var(--ease-out) 200ms both; }

@keyframes materialize { from { opacity: 0; filter: blur(10px); transform: scale(.96); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes scan { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes scanned { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: .5; } }
@keyframes ai-on { 0% { color: var(--color-text-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); } 30%, 70% { color: var(--color-brand-ink); background: var(--color-brand-lime); box-shadow: 0 0 24px rgba(184, 230, 58, .5); } 100% { color: var(--color-text-2); } }
@keyframes beam { 0% { opacity: 0; stroke-dashoffset: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -40; } }
@keyframes draw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
@keyframes lamp-on { to { stroke: #FFD58A; filter: drop-shadow(0 0 4px rgba(245, 184, 61, .9)); } }

/* 6 个标签：点哪个演示哪个，当前的有进度条 */
.tabs {
  display: flex; gap: 8px; margin-top: 16px; padding: 0; list-style: none;
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto; position: relative; overflow: hidden;
  padding: 14px 18px 16px; border: 0; border-radius: 14px; cursor: pointer;
  background: rgba(255, 255, 255, .04); color: var(--color-text-2);
  font: inherit; font-size: .9375rem; text-align: left; white-space: nowrap;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 120ms var(--ease-out);
}
.tab:hover { color: var(--color-text); background: rgba(255, 255, 255, .07); }
.tab:active { transform: scale(.97); }
.tab.is-active { color: var(--color-text); background: rgba(255, 255, 255, .08); }
.tab i { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.tab i::after { content: ""; position: absolute; inset: 0; background: var(--color-brand-lime); transform: scaleX(0); transform-origin: left; }
.tab.is-active i::after { animation: progress var(--cycle) linear both; }
.tools.is-paused .tab.is-active i::after,
.tools.is-paused .scene * , .tools.is-paused .scene .sliced line { animation-play-state: paused !important; }
@keyframes progress { to { transform: scaleX(1); } }

/* ───────── 涂色：白模随滚动被涂上颜色 ─────────
   motion.js 写入 --paint（0~1）。 */
.paint { padding: clamp(64px, 9vw, 120px) 0; --paint: 0; }
.paint__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.paint__text p { margin: 0 0 1em; color: var(--color-text-2); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.75; max-width: 26em; }
.paint__text p:last-child { color: var(--color-text); }
.paint__figure { justify-self: center; width: min(100%, 380px); }
.paint__stack { position: relative; }
.paint__stack .sliced { display: block; width: 100%; }
.paint__stack .sliced line { stroke-width: 2.6; }
.paint__stack .sliced.paint__white line { stroke: #DDDDD8; }
.paint__color {
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(to top, #000 calc(var(--paint) * 100%), transparent calc(var(--paint) * 100% + 3%));
  mask-image: linear-gradient(to top, #000 calc(var(--paint) * 100%), transparent calc(var(--paint) * 100% + 3%));
  filter: drop-shadow(0 0 10px rgba(184, 230, 58, .12));
}

/* ───────── 会员：文字随滚动逐字亮起 ───────── */
.club { padding: clamp(48px, 8vw, 120px) 0 clamp(96px, 14vw, 160px); --read: 0; }
.club__read {
  margin: 0; max-width: 22em;
  font-size: clamp(1.5rem, 3.4vw, 3rem); font-weight: 600; line-height: 1.45; letter-spacing: -0.02em;
  color: var(--color-text);
}
.club__read .ch { color: var(--color-neutral-400); transition: color 240ms var(--ease-out); }
.club__read .ch.on { color: var(--color-text); }

/* ───────── 怎么做：一条走线连起四步，跟着滚动画出来 ───────── */
.how { padding: clamp(48px, 8vw, 120px) 0 clamp(96px, 14vw, 180px); --draw: 0; }
.how__track { position: relative; }
.how__path {
  position: absolute; left: 0; right: 0; top: 2px; width: 100%; height: 40px;
  transform: translateY(-50%); overflow: visible;
}
.how__path path {
  fill: none; stroke: var(--color-brand-lime); stroke-width: 2; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw));
  filter: drop-shadow(0 0 6px rgba(184, 230, 58, .5));
}
.how__path::before { content: none; }
.how__track::before { /* 底线：还没走到的部分 */
  content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 1px; background: var(--color-divider);
}
.how__steps {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px);
}
.how__steps li { position: relative; padding-top: 40px; }
.how__dot {
  position: absolute; top: 2px; left: 0; width: 13px; height: 13px; margin-top: -6.5px;
  border-radius: 50%; background: var(--color-bg); border: 1.5px solid var(--color-divider);
  transition: background-color 300ms var(--ease-out), border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.how__steps li.is-lit .how__dot {
  background: var(--color-brand-lime); border-color: var(--color-brand-lime);
  box-shadow: 0 0 0 5px rgba(184, 230, 58, .15), 0 0 16px rgba(184, 230, 58, .6);
}
.how__num { display: block; color: var(--color-text-3); font-size: .9375rem; font-weight: 500; margin-bottom: 8px; transition: color 300ms var(--ease-out); }
.how__steps li.is-lit .how__num { color: var(--color-brand-lime); }
.how__steps h3 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.how__steps p { margin: 0; color: var(--color-text-2); line-height: 1.7; max-width: 15em; }

/* ───────── 到店 ───────── */
.visit {
  padding: clamp(120px, 18vw, 240px) 0;
  background:
    linear-gradient(to bottom, var(--color-bg), transparent 30%),
    repeating-linear-gradient(to bottom, rgba(241, 241, 238, .035) 0 1px, transparent 1px 6px),
    var(--color-bg);
}
.visit__title {
  margin: 0; font-size: clamp(2.5rem, 7.5vw, 7rem); font-weight: 700;
  line-height: 1.06; letter-spacing: -0.04em;
}
.visit__note { margin: 32px 0 0; color: var(--color-text-2); font-size: clamp(1rem, 1.4vw, 1.1875rem); }

/* 出现：实体化（模糊变清晰），只用在少数元素上 */
[data-reveal] {
  opacity: 0; filter: blur(10px); transform: translateY(16px);
  transition: opacity 800ms var(--ease-out), filter 800ms var(--ease-out), transform 800ms var(--ease-out);
}
[data-reveal].is-in { opacity: 1; filter: blur(0); transform: none; }
.visit__note[data-reveal] { transition-delay: 120ms; }

/* ───────── 页脚 ───────── */
.site-footer { border-top: 1px solid var(--color-divider); background: var(--color-neutral-0); }
.site-footer__inner {
  max-width: var(--wrap); margin-inline: auto; padding: 48px var(--gutter) 56px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 40px;
}
.site-footer__logo { height: 40px; width: auto; border-radius: 6px; }
.site-footer__slogan { margin: 0; color: var(--color-text-2); }
.site-footer__meta { margin: 0; color: var(--color-text-3); font-size: .875rem; }

/* ───────── 普通页面 / 文章 ───────── */
.page-main { padding-top: calc(var(--nav-h) + 80px) !important; padding-bottom: 120px !important; }
.page-main .wp-block-post-title { margin-bottom: 32px; }
.page-main .wp-block-post-content > * + * { margin-top: 1.25em; }
.page-404 h1 { font-size: clamp(2.5rem, 7vw, 5rem); }

/* ───────── 平板 ───────── */
@media (max-width: 1024px) {
  .screen { aspect-ratio: 16 / 10; }
}
/* ───────── 矮屏（手机横屏）：首屏留出空间，去掉底部提示 ───────── */
@media (max-height: 560px) {
  .hero__stage { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 32px; }
  .hero__hint { display: none; }
  .hero__status { margin-top: 12px; }
  .screen { aspect-ratio: auto; height: calc(100svh - var(--nav-h) - 40px); min-height: 280px; }
  .scene { padding: 20px 32px 76px; }
  .scene__photo { width: 24vh; }
  .scene__result { width: 26vh; }
  .scene__caption { bottom: 14px; }
}

/* ───────── 手机 ───────── */
@media (max-width: 760px) {
  .site-nav__links a { padding: 10px 9px; font-size: .875rem; }
  .brand-latin, .brand-rule { display: none; }
  .how__track::before, .how__path { display: none; }
  .how__steps { grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--color-divider); margin-left: 6px; }
  .how__steps li { padding: 0 0 40px 28px; }
  .how__dot { top: 10px; left: -7px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .section-head, .paint__inner { grid-template-columns: 1fr; }
  .screen { aspect-ratio: auto; height: 460px; }
  .scene { grid-template-columns: 1fr auto 1fr; padding: 32px 16px 120px; }
  .scene__ai { padding: 0 6px; }
  .scene__ai b { font-size: .75rem; padding: 4px 8px; }
  .scene__beam { width: 28px; }
  .scene__photo { width: 34vw; }
  .scene__result { width: 36vw; }
  .tab { flex: 0 0 auto; padding: 12px 14px 14px; }
  .paint__figure { width: min(70%, 280px); }
  .site-nav__bar { gap: 8px; }
}

/* ───────── 无障碍：减少动态 / 减少透明 / 高对比 ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { --p: 1 !important; --done: 1; }
  .hero__after { opacity: 1; filter: none; transform: none; pointer-events: auto; transition: none; }
  .hero__status { display: none; }
  .hero__hint { opacity: 1; }
  .sliced line { stroke-dashoffset: 0; stroke: var(--color-text); transition: none; }
  .how { --draw: 1 !important; }
  .paint { --paint: 1 !important; }
  .scene *, .scene .sliced line, .tab i::after { animation: none !important; }
  .scene.is-active .scene__result .sliced line { stroke-dashoffset: 0; }
  .tab.is-active i::after { transform: scaleX(1); }
  .club__read .ch { color: var(--color-text); }
  .how__steps li .how__dot { background: var(--color-brand-lime); border-color: var(--color-brand-lime); }
  [data-reveal] { opacity: 1; filter: none; transform: none; transition: opacity 200ms; }
  .hero__nozzle i, .hero__hint::after { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-nav__bar { background: var(--color-surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .site-nav__bar { background: var(--color-neutral-0); box-shadow: inset 0 0 0 1px var(--color-text-2); }
  .hero__ghost { -webkit-text-stroke-color: rgba(184, 230, 58, .7); }
}
