/* 见山 · Jianshan —— 自包含静态页。配色只有一个强调色：朱红 #E1603C */
:root {
  --f: 16.667ms; /* 1 帧 @60fps */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --enter: calc(36 * var(--f));

  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;

  --accent: #E1603C;
  --on-accent: #14231F;

  --bg: #F4EEE1;
  --ink: #1F3A33;
  --ink-2: #4B645B;
  --moss: #A9C2AE;
  --mist: #C9D6D3;
  --paper: #FBF7EC;
  --line: rgba(31, 58, 51, .16);
  --frame: #FBF7EC;

  --sky0: #F4EEE1;
  --sky1: #EADFC6;
  --cloud: #FBF7EC;
  --m1: #D5DED9;
  --m2: #C0D1C6;
  --m3: #A9C2AE;
  --m4: #86A793;
  --m5: var(--bg);
  --sun: #E1603C;
  --halo-o: .16;
  --star-o: 0;
  --bite-x: 96px;
  --bite-y: -14px;
  --moon-lift: 0px;
  --grass-a: #4E7766;
  --grass-b: #A9C2AE;
  --grass-glint: #F4EEE1;

  --band: #1F3A33;
  --band-ink: #F4EEE1;
  --H: clamp(230px, 30vw, 520px);
  --G: clamp(70px, 10vw, 150px);
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #0F1D1A;
  --ink: #EDE6D3;
  --ink-2: #A9B8AF;
  --moss: #4F7767;
  --mist: #1B302B;
  --paper: #172A25;
  --line: rgba(237, 230, 211, .16);
  --frame: #172A25;

  --sky0: #0F1D1A;
  --sky1: #1B342D;
  --cloud: #1E352E;
  --m1: #21392F;
  --m2: #1B3029;
  --m3: #162822;
  --m4: #12221E;
  --sun: #C85A3C;
  --halo-o: .12;
  --star-o: .85;
  --bite-x: 15px;
  --bite-y: -9px;
  --moon-lift: -12px;
  --grass-a: #2C4A40;
  --grass-b: #1D3731;
  --grass-glint: #7C9A8B;

  --band: #0A1613;
  --band-ink: #EDE6D3;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 8px 16px; background: var(--ink); color: var(--bg); border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.sec { padding: clamp(88px, 13vw, 180px) 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.copy.center { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); }
.copy p { color: var(--ink-2); max-width: 34em; }
.copy.center p { margin-inline: auto; }

h1, h2 { font-family: var(--serif); font-weight: 600; margin: 0; }
h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.25; letter-spacing: .06em; margin-bottom: .6em; text-wrap: balance; }
html[data-lang="en"] h2 { letter-spacing: -.01em; line-height: 1.12; }
.js .sec h2 { letter-spacing: calc(.06em + (1 - var(--hp, 1)) * .1em); }
.js[data-lang="en"] .sec h2 { letter-spacing: calc(-.01em + (1 - var(--hp, 1)) * .05em); }

/* ===== 顶栏 ===== */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px);
  border-bottom: 1px solid transparent;
  transition: background-color calc(24 * var(--f)) var(--ease-out), border-color calc(24 * var(--f)) var(--ease-out);
}
.top.scrolled { background: var(--bg); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 20px/1 var(--serif); letter-spacing: .12em; }
html[data-lang="en"] .brand { letter-spacing: .02em; }
.brand img { border-radius: 8px; }
.tools { display: flex; align-items: center; gap: 8px; }
.tool {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent;
  transition: border-color calc(18 * var(--f)) var(--ease-out), color calc(18 * var(--f)) var(--ease-out), transform calc(18 * var(--f)) var(--ease-out);
}
.tool:hover { border-color: var(--ink); }
.tool:active { transform: scale(.94); }
.tool[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.tool[data-state="pending"] { color: var(--accent); border-color: var(--line); animation: wait calc(90 * var(--f)) var(--ease-in-out) infinite alternate; }
@keyframes wait { from { opacity: .5; } to { opacity: 1; } }
.tool[aria-pressed="true"] svg { animation: nod calc(60 * var(--f)) var(--ease-in-out) infinite alternate; }
@keyframes nod { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
.ic-moon { display: none; }
html[data-theme="dark"] .ic-sun { display: none; }
html[data-theme="dark"] .ic-moon { display: block; }
.tool-lang { display: inline-flex; gap: 6px; align-items: center; font: 600 14px/1 var(--sans); letter-spacing: .04em; }
.tool-lang i { width: 1px; height: 14px; background: var(--line); }
.tool-lang span { opacity: .4; transition: opacity calc(18 * var(--f)) var(--ease-out); }
html[data-lang="zh"] .lz, html[data-lang="en"] .le { opacity: 1; }
html:not([data-lang]) .lz { opacity: 1; }

/* ===== 首屏 ===== */
.hero { position: relative; min-height: max(100svh, 640px); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; }
.scene { position: absolute; inset: 0; --sy: 0; --px: 0; }
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky0) 0%, var(--sky1) 100%); }
.stars { position: absolute; inset: 0 0 45% 0; width: 100%; height: 55%; color: var(--grass-glint); opacity: var(--star-o); transition: opacity calc(72 * var(--f)) var(--ease-in-out); }
.pl { position: absolute; inset: 0; transform: translate3d(calc(var(--px, 0) * (1 - var(--k)) * -18px), calc(var(--sy) * var(--k) * 1px), 0); will-change: transform; pointer-events: none; }
.sun-wrap { position: absolute; right: 17%; bottom: calc(var(--H) * .6); width: clamp(76px, 10vw, 136px); aspect-ratio: 1; }
.sun-wrap svg { width: 100%; height: 100%; overflow: visible; transform: translateY(var(--moon-lift)); transition: transform calc(72 * var(--f)) var(--ease-in-out); }
.sun-wrap .disc { fill: var(--sun); transition: fill calc(72 * var(--f)) var(--ease-in-out); }
.sun-wrap .halo { fill: var(--sun); opacity: var(--halo-o); transform-origin: 60px 60px; animation: halo calc(300 * var(--f)) var(--ease-in-out) infinite alternate; transition: fill calc(72 * var(--f)) var(--ease-in-out); }
@keyframes halo { from { transform: scale(.92); } to { transform: scale(1.12); } }
.bite { transform: translate(var(--bite-x), var(--bite-y)); transition: transform calc(72 * var(--f)) var(--ease-in-out); }

.cloud { position: absolute; left: 0; top: var(--t); width: var(--w); height: auto; aspect-ratio: 200 / 76; color: var(--cloud); opacity: var(--co, .9); animation: drift var(--dur) linear infinite; animation-delay: var(--dl); }
@keyframes drift { from { transform: translate3d(-35vw, 0, 0); } to { transform: translate3d(115vw, 0, 0); } }

.ridge { position: absolute; bottom: 0; left: 50%; width: max(calc(100vw + 90px), calc(var(--H) * 3.6)); height: var(--H); transform: translateX(-50%); }
.ridge path { fill: var(--c); transition: fill calc(72 * var(--f)) var(--ease-in-out); }
.grass { position: absolute; left: 0; bottom: 0; width: 100%; height: var(--G); pointer-events: none; }

.hero-copy { position: relative; z-index: 2; text-align: center; padding-top: clamp(112px, 19svh, 220px); }
.hero h1 { font-size: clamp(48px, 8vw, 112px); line-height: 1.1; letter-spacing: .08em; margin: 0 0 .22em; padding-left: .08em; }
html[data-lang="en"] .hero h1 { letter-spacing: .01em; padding-left: 0; }
.hero-tag { font: 500 clamp(20px, 2.4vw, 30px)/1.5 var(--serif); letter-spacing: .12em; margin: 0 0 .5em; }
html[data-lang="en"] .hero-tag { letter-spacing: .01em; }
.hero-sub { color: var(--ink-2); margin: 0 0 2em; }

.btn {
  display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.7em; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font: 600 17px/1 var(--sans); letter-spacing: .06em;
  text-decoration: none; border: 1px solid var(--accent);
  transition: transform calc(24 * var(--f)) var(--ease-out), background-color calc(18 * var(--f)) var(--ease-out), color calc(18 * var(--f)) var(--ease-out);
}
.btn svg { transition: transform calc(24 * var(--f)) var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.97); }
html .cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 0; }
.btn-off, .btn-off:hover { background: transparent; color: var(--ink-2); border: 1px dashed var(--ink-2); cursor: not-allowed; transform: none; opacity: .85; }
.btn-dl { padding: .7em 1.3em; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); letter-spacing: .04em; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ===== 入场 ===== */
.js .rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity var(--enter) var(--ease-out) calc(var(--d, 0) * var(--f)), transform var(--enter) var(--ease-out) calc(var(--d, 0) * var(--f)); }
.js .rv.in { opacity: 1; transform: none; }
.js .feeds-frame.rv { transform: translate3d(-64px, 0, 0); }
.js .feeds-frame.rv.in { transform: none; }

/* ===== 画框 ===== */
.frame { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--frame); box-shadow: 0 28px 48px -32px rgba(15, 29, 26, .5); }
.frame .bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.js .calm-frame img { transform: scale(1.1); transition: transform calc(90 * var(--f)) var(--ease-out) calc(10 * var(--f)); }
.js .calm-frame.in img { transform: none; }
.js .hang-frame img { clip-path: inset(0 100% 0 0); transition: clip-path calc(60 * var(--f)) var(--ease-in-out) calc(14 * var(--f)); }
.js .hang-frame.in img { clip-path: inset(0 0 0 0); }
.hang-frame { max-width: 1000px; margin: 0 auto; }

/* ===== 无打扰演示 ===== */
.demo { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #10201C; border: 1px solid var(--line); container-type: inline-size; }
.demo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo::after { content: ""; position: absolute; inset: 0; background: rgba(8, 18, 15, .2); pointer-events: none; }
.demo-time { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; color: #fff; text-shadow: 0 1px 18px rgba(0, 0, 0, .35); pointer-events: none; }
.demo-time b { font: 300 clamp(34px, 12cqw, 84px)/1 var(--sans); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.demo-bar { position: absolute; z-index: 5; top: 0; left: 50%; translate: -50% 0; width: clamp(56px, 14cqw, 92px); height: 30px; padding: 7px 0 0; border: 0; background: transparent; display: flex; justify-content: center; align-items: flex-start; --bs: 1; }
.demo-bar:focus-visible { outline-offset: -2px; }
.demo-bar i { display: block; width: clamp(24px, 6.6cqw, 40px); height: 3px; border-radius: 3px; background: #fff; opacity: .6; transform: scale(var(--bs)); transition: background-color calc(14 * var(--f)) var(--ease-in-out), opacity calc(14 * var(--f)) var(--ease-in-out); }
.demo:not([data-state="idle"]) .demo-bar i { background: #3B82F6; opacity: 1; }
.demo[data-state="open"] .demo-bar i { background: #fff; opacity: .6; }
.demo-entry { position: absolute; z-index: 4; right: 14px; bottom: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; }
.demo-entry::after { content: ""; position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: #3B82F6; }
.demo[data-state="idle"] .demo-entry { pointer-events: none; }
.js .demo-entry { opacity: 0; transform: translateY(18px) scale(.6); }
.rack { position: absolute; z-index: 2; left: 0; right: 0; top: 14px; height: 46%; pointer-events: none; }
.rack-line { position: absolute; left: 0; top: 0; width: 100%; height: 14%; }
.rc { position: absolute; left: var(--l); top: 3%; width: 27%; padding: 0 0 8px; border-radius: 7px; background: var(--paper); color: var(--ink); transform: rotate(var(--a)); transform-origin: 50% 0; }
.rc b { display: block; height: clamp(26px, 9cqw, 60px); border-radius: 7px 7px 0 0; background: var(--mist); }
.rc:nth-of-type(2) b { background: var(--moss); }
.rc span { display: block; padding: 6px 8px 0; font: 500 clamp(11px, 2.8cqw, 14px)/1.4 var(--sans); }
.js .rc { opacity: 0; }

/* ===== 壁纸画廊 ===== */
.wview { margin: 0 auto; max-width: 1000px; }
.wview-img { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--mist); box-shadow: 0 28px 48px -32px rgba(15, 29, 26, .5); }
.wview-img img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; translate: var(--px, 0px) var(--py, 0px); transition: scale calc(90 * var(--f)) var(--ease-out), opacity calc(24 * var(--f)) var(--ease-out); }
.wview:hover .wview-img img { scale: 1.14; }
.wview.sw .wview-img img { opacity: 0; scale: 1.2; }
.wview-cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 4px 0; }
.wview-credit { color: var(--ink-2); font-size: 15px; }
.wview-credit a { color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); max-width: 1000px; margin: clamp(16px, 2.4vw, 28px) auto 0; }
.wt { position: relative; display: block; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--mist); aspect-ratio: 3 / 2; transition: transform calc(30 * var(--f)) var(--ease-out), border-color calc(18 * var(--f)) var(--ease-out); }
.wt-img { position: absolute; inset: 0; overflow: hidden; }
.wt-img img { width: 100%; height: 100%; object-fit: cover; scale: 1.06; translate: var(--px, 0px) var(--py, 0px); transition: scale calc(90 * var(--f)) var(--ease-out); }
.wt:hover { transform: translateY(-6px); }
.wt:hover .wt-img img { scale: 1.2; }
.wt[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.wt-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; color: #fff; font: 500 12px/1.3 var(--sans); text-align: left; background: linear-gradient(transparent, rgba(8, 18, 15, .7)); opacity: 0; transform: translateY(6px); transition: opacity calc(20 * var(--f)) var(--ease-out), transform calc(20 * var(--f)) var(--ease-out); }
.wt:hover .wt-cap, .wt:focus-visible .wt-cap { opacity: 1; transform: none; }
@media (hover: none) { .wt-cap { opacity: 1; transform: none; } }

/* ===== 控件演示 ===== */
.stage { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #10201C; container-type: inline-size; touch-action: pan-y; }
.stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage::after { content: ""; position: absolute; inset: 0; background: rgba(8, 18, 15, .24); pointer-events: none; }
.w { position: absolute; z-index: 2; color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .4); padding: 8px 14px; border-radius: 12px; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; outline: 1px dashed transparent; transform-origin: 0 0; }
.w:hover, .w:focus-visible, .w.drag { outline-color: rgba(255, 255, 255, .7); }
.w.drag { cursor: grabbing; }
.w-clock { left: 28%; top: 20%; text-align: center; }
.w-weather { left: 66%; top: 62%; text-align: center; }
.clock-t { font: 300 clamp(36px, 11cqw, 76px)/1.05 var(--sans); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.clock-d { font: 400 clamp(12px, 2.6cqw, 16px)/1.5 var(--sans); opacity: .9; }
.wx-t { font: 300 clamp(28px, 8cqw, 56px)/1.05 var(--sans); }
.wx-d { font: 400 clamp(12px, 2.6cqw, 16px)/1.5 var(--sans); opacity: .9; }
.rs { position: absolute; right: -7px; bottom: -7px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); opacity: 0; cursor: nwse-resize; touch-action: none; transition: opacity calc(14 * var(--f)) var(--ease-out); }
.w:hover .rs, .w:focus-visible .rs, .w.drag .rs { opacity: 1; }
@media (hover: none) { .rs { opacity: 1; } }

/* ===== 同步 ===== */
.syncv { color: var(--ink); }
.syncv svg { width: 100%; height: auto; overflow: visible; }
.dev .scr { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.dev .base { fill: var(--paper); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.dev .mt { fill: var(--moss); }
.dev .ring { fill: none; stroke: var(--accent); stroke-width: 3; opacity: 0; animation: ping calc(540 * var(--f)) linear infinite; animation-delay: var(--dl); }
@keyframes ping { 0% { opacity: 0; } 3% { opacity: 1; } 16% { opacity: 0; } 100% { opacity: 0; } }
.orb { fill: var(--accent); offset-path: path("M145 130 C185 215 250 240 320 200 S420 130 470 120 C430 20 230 10 145 130"); offset-rotate: 0deg; animation: travel calc(540 * var(--f)) linear infinite; }
@keyframes travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* ===== 承诺 ===== */
.band { position: relative; background: var(--band); color: var(--band-ink); padding: clamp(80px, 11vw, 160px) 0 clamp(100px, 13vw, 180px); margin-top: clamp(100px, 14vw, 200px); transition: background-color calc(72 * var(--f)) var(--ease-in-out), color calc(72 * var(--f)) var(--ease-in-out); }
.band-edge { position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(90px, 13vw, 200px); }
.band-edge path { fill: var(--band); transition: fill calc(72 * var(--f)) var(--ease-in-out); }
.band-h { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .3em; margin: 0 0 clamp(36px, 6vw, 72px); color: var(--moss); }
html[data-lang="en"] .band-h { letter-spacing: .1em; }
.pln { font: 600 clamp(36px, 7vw, 96px)/1.2 var(--serif); letter-spacing: .08em; margin: 0 0 .32em; text-wrap: balance; }
html[data-lang="en"] .pln { letter-spacing: -.01em; }
.js .pln { opacity: .16; }
.zero { color: var(--accent); font-size: 1.35em; line-height: .8; }

/* ===== 其他作品 ===== */
.works-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: stretch; margin-top: clamp(32px, 5vw, 56px); }
.goose-wrap { perspective: 1000px; animation: breathe calc(420 * var(--f)) var(--ease-in-out) infinite alternate; }
@keyframes breathe { from { translate: 0 0; } to { translate: 0 -9px; } }
.goose {
  --s: 0px; --ho: 0; --sc: 1; --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: block; height: 100%; overflow: hidden; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 44px);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--sc));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s)), calc(100% - var(--s)) 100%, 0 100%);
  -webkit-tap-highlight-color: transparent;
}
.goose-glow { position: absolute; inset: 0; pointer-events: none; opacity: var(--ho); background: radial-gradient(280px circle at var(--mx) var(--my), rgba(225, 96, 60, .2), transparent 70%); }
.goose-edge { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 calc(44px * var(--ho)) rgba(225, 96, 60, calc(.2 * var(--ho))); }
.goose-curl { position: absolute; right: 0; bottom: 0; width: var(--s); height: var(--s); pointer-events: none; background: linear-gradient(135deg, var(--mist), var(--moss)); clip-path: polygon(0 0, 100% 0, 0 100%); }
.goose-in { position: relative; display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.goose-logo { width: clamp(84px, 11vw, 120px); height: auto; border-radius: 24px; flex: none; animation: floaty calc(300 * var(--f)) var(--ease-in-out) infinite alternate; scale: calc(1 + .09 * var(--ho)); rotate: calc(-5deg * var(--ho)); }
@keyframes floaty { from { translate: 0 -4px; } to { translate: 0 6px; } }
.goose-text { display: flex; flex-direction: column; gap: 6px; }
.goose-text b { font: 600 clamp(28px, 3.4vw, 40px)/1.15 var(--serif); letter-spacing: .02em; }
.goose-text > span { color: var(--ink-2); }
.goose-go { display: inline-flex; align-items: center; gap: 6px; color: var(--ink) !important; font-weight: 600; margin-top: 6px; }
.goose-go svg { color: var(--accent); transform: translateX(calc(5px * var(--ho))); }
.feather { position: absolute; right: clamp(16px, 4vw, 48px); top: -6px; width: clamp(34px, 5vw, 56px); height: auto; opacity: .85; transform-origin: 50% 0; transform: translateY(calc(-14px * var(--ho))) rotate(calc(18deg * var(--ho))); }
.feather path:first-child { fill: var(--moss); }
.goose-wrap .feather { animation: sway calc(360 * var(--f)) var(--ease-in-out) infinite alternate; }
@keyframes sway { from { rotate: -6deg; } to { rotate: 7deg; } }
.ripples { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.ripples b { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2px solid var(--accent); opacity: .7; animation: ripple calc(48 * var(--f)) var(--ease-out) forwards; }
@keyframes ripple { to { transform: scale(26); opacity: 0; } }
.soon { display: grid; place-items: center; text-align: center; min-height: 160px; padding: 24px; border: 1.5px dashed var(--ink-2); border-radius: 28px; color: var(--ink-2); font: 500 clamp(18px, 2vw, 22px)/1.5 var(--serif); letter-spacing: .1em; animation: breathe calc(540 * var(--f)) var(--ease-in-out) infinite alternate; }
html[data-lang="en"] .soon { letter-spacing: .01em; }

/* ===== 页脚 ===== */
.foot { padding: 36px 0 48px; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot p { margin: 0; letter-spacing: .08em; }
.foot-inst { display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.foot-install { font-weight: 600; }
.foot-off { color: var(--ink-2); font-size: 15px; }

/* ===== 主题切换：山景从日到月平滑过渡 ===== */
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition-property: background-color, color, border-color, fill, stroke, opacity, box-shadow !important;
  transition-duration: calc(72 * var(--f)) !important;
  transition-timing-function: var(--ease-in-out) !important;
}
html.theme-anim .rv, html.theme-anim .pln, html.theme-anim .rc, html.theme-anim .demo-entry { transition-property: background-color, color, border-color, fill, stroke, box-shadow !important; }

/* ===== 窄屏 ===== */
@media (max-width: 820px) {
  .split, .split.flip { grid-template-columns: minmax(0, 1fr); }
  .split.flip .frame, .split.flip .stage { order: 2; }
  .sun-wrap { right: 12%; }
  .works-grid { grid-template-columns: minmax(0, 1fr); }
  .goose-in { flex-direction: column; align-items: flex-start; }
  .js .feeds-frame.rv { transform: translate3d(0, 28px, 0); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .tool { min-width: 38px; height: 38px; }
  .brand span { font-size: 18px; }
}

/* ===== 减少动态效果 ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; }
  .cloud { animation: none !important; transform: translate3d(30vw, 0, 0); }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .js .calm-frame img, .js .hang-frame img { transform: none; clip-path: none; transition: none; }
  .js .pln { opacity: 1; }
  .orb { animation: none !important; offset-distance: 0%; }
  .dev .ring { animation: none !important; }
  .pl { transform: none !important; }
  .wview-img img, .wt-img img, .wt, .wt-cap { transition: none; }
  .wview-img img, .wt-img img { translate: none; }
}

/* 首屏短片 */
.film-stage { position: relative; height: 100svh; min-height: 480px; }
.film { position: absolute; inset: 0; background: var(--bg, #F4EEE1); }
