/* 砖属系列企业积木相框 /zhuanshu-frame.html — own design, no shared case template */
:root {
  --ink: #0d1f18;
  --green: #143a2b;
  --green-2: #1d4a37;
  --cream: #f5efe4;
  --paper: #fbf8f2;
  --copper: #d38b52;
  --copper-2: #b9692f;
  --walnut: #5b3a26;
  --text: #1d2a24;
  --muted: #5d6a63;
  --line: rgba(29, 42, 36, .14);
  --sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
.zf-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 6px; }
.zf-skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

/* ---------- top bar ---------- */
.zf-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 20px; padding: 10px var(--gutter); background: rgba(13, 31, 24, .82); color: var(--cream); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(245, 239, 228, .08); }
.zf-brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.zf-brand strong { font-size: 19px; font-weight: 900; letter-spacing: .02em; }
.zf-brand span { font-size: 13px; color: rgba(245, 239, 228, .6); padding-left: 10px; border-left: 1px solid rgba(245, 239, 228, .25); }
.zf-nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.zf-nav a { text-decoration: none; color: rgba(245, 239, 228, .72); }
.zf-nav a:hover { color: #fff; }
.zf-bar-cta { text-decoration: none; font-size: 14px; font-weight: 700; padding: 7px 16px; border-radius: 999px; background: var(--copper); color: #1b120b; }
.kwc-in-mp .zf-bar { display: none; }

/* ---------- buttons, shared bits ---------- */
.zf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; }
.zf-btn:hover { transform: translateY(-2px); }
.zf-btn-copper { background: var(--copper); color: #1b120b; box-shadow: 0 10px 30px -10px rgba(211, 139, 82, .7); }
.zf-btn-ghost { border: 1px solid rgba(245, 239, 228, .35); color: var(--cream); }
.zf-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--copper-2); margin-bottom: 12px; }
.zf-sec-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; padding: 0 var(--gutter); }
.zf-sec-head h2 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; margin-bottom: 14px; }
.zf-sec-head > p:last-child:not(.zf-eyebrow) { color: var(--muted); font-size: clamp(15px, 1.6vw, 17px); }
.zf-note { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- the frame component (hero + exploded) ---------- */
.zf-frame, .zf-x { --t-bg: #e6d3ae; --t-bg2: #d8c39a; --t-ink: #3b2f1d; --t-plate: #f0e2c0; --pl: 27.68%; --pt: 86.42%; --pw: 54.08%; --ph: 8.62%; }
[data-theme="bubu"] { --t-bg: #1f354f; --t-bg2: #132338; --pl: 10%; --pt: 85.96%; --pw: 65.56%; --ph: 9.94%; }
[data-theme="niandu"] { --t-bg: #d9c8a1; --t-bg2: #c9b68b; --pl: 19.03%; --pt: 79.69%; --pw: 55.97%; --ph: 13.44%; }
[data-theme="gongwei"] { --t-bg: #eac5aa; --t-bg2: #dca88a; --pl: 19.95%; --pt: 85.53%; --pw: 58.7%; --ph: 9.65%; }
[data-theme="jiangtai"] { --t-bg: #6b201c; --t-bg2: #4a1512; --pl: 24.04%; --pt: 85.84%; --pw: 56.85%; --ph: 9.13%; }

.zf-frame { position: relative; margin: 0; width: 100%; aspect-ratio: 840 / 1190; padding: 7.2% 7.6%; border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .10), transparent 18%, transparent 82%, rgba(0, 0, 0, .25)),
    repeating-linear-gradient(92deg, rgba(0, 0, 0, .10) 0 1px, transparent 1px 5px, rgba(255, 255, 255, .03) 5px 6px, transparent 6px 11px),
    linear-gradient(135deg, #8a5a3b 0%, #6a4129 38%, #4b2c1a 70%, #3b2214 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 2px 0 rgba(255, 255, 255, .14), inset 0 -10px 18px rgba(0, 0, 0, .35), 0 50px 90px -30px rgba(0, 0, 0, .75), 0 18px 30px -18px rgba(0, 0, 0, .6); }
.zf-window { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 3px; background: var(--t-bg2); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25); transition: background .6s; }
.zf-window::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 14px 22px -6px rgba(0, 0, 0, .55), inset 10px 0 18px -10px rgba(0, 0, 0, .5), inset -10px 0 18px -10px rgba(0, 0, 0, .5); }
.zf-card { position: absolute; inset: 0; background: linear-gradient(180deg, var(--t-bg) 0%, var(--t-bg) 55%, var(--t-bg2) 100%); transition: background .6s; }
.zf-art { width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); transition: opacity .45s; }
.zf-scene { position: absolute; left: 50%; bottom: 3%; width: 92%; transform: translateX(-50%); container-type: inline-size; }
.zf-build { width: 100%; height: auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .35)); }
.zf-plate { position: absolute; left: var(--pl); top: var(--pt); width: var(--pw); height: var(--ph); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1em; color: var(--t-ink); text-align: center; line-height: 1; pointer-events: none; }
.zf-plate-name { font-weight: 800; font-size: clamp(11px, 6.4cqw, 30px); letter-spacing: .12em; text-shadow: 0 1px 0 rgba(255, 255, 255, .45); white-space: nowrap; }
.zf-plate-id { font-style: normal; font-size: clamp(7px, 2.6cqw, 12px); letter-spacing: .06em; opacity: .75; white-space: nowrap; }
.zf-glass { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, transparent 32%, rgba(255, 255, 255, .13) 40%, rgba(255, 255, 255, .02) 47%, transparent 52%), linear-gradient(118deg, transparent 58%, rgba(255, 255, 255, .06) 62%, transparent 66%); }
.zf-frame-tag { position: absolute; left: 50%; bottom: -46px; transform: translateX(-50%); display: flex; gap: 10px; align-items: baseline; white-space: nowrap; color: var(--cream); }
.zf-frame-no { font: 700 15px var(--serif); color: var(--copper); }
.zf-frame-name { font-size: 15px; letter-spacing: .3em; }

/* swap animation: bricks drop in */
.zf-frame.is-swapping .zf-build { animation: zf-drop .7s cubic-bezier(.2, 1.4, .4, 1) both; }
.zf-frame.is-swapping .zf-plate { animation: zf-fade .5s .35s both; }
.zf-frame.is-swapping .zf-art { animation: zf-fade .5s both; }
@keyframes zf-drop { 0% { transform: translateY(-34%) scale(.96); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes zf-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- hero ---------- */
.zf-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 80px); align-items: center; min-height: calc(100svh - 56px); padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(72px, 8vw, 110px); color: var(--cream); overflow: hidden;
  background: radial-gradient(70% 60% at 72% 30%, rgba(211, 139, 82, .28), transparent 60%), radial-gradient(60% 50% at 10% 100%, rgba(29, 74, 55, .9), transparent 70%), linear-gradient(160deg, #0d1f18, #123427 55%, #0b1a14); }
.zf-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(rgba(245, 239, 228, .07) 1.5px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); mask-image: linear-gradient(90deg, #000, transparent 60%); }
.zf-hero-copy { position: relative; max-width: 620px; justify-self: end; }
.zf-kicker { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(245, 239, 228, .7); margin-bottom: 22px; }
.zf-kicker span { font-weight: 800; color: var(--cream); padding-right: 12px; border-right: 1px solid rgba(245, 239, 228, .3); }
.zf-hero h1 { display: flex; flex-direction: column; gap: .12em; font-weight: 900; margin-bottom: 26px; }
.zf-h1-series { font-size: clamp(54px, 8.4vw, 116px); line-height: 1; letter-spacing: .02em; background: linear-gradient(180deg, #fff6e8 20%, #e8b98d 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.zf-h1-main { font-size: clamp(30px, 4.4vw, 60px); color: var(--cream); letter-spacing: .08em; }
.zf-lede { font-size: clamp(16px, 1.7vw, 19px); color: rgba(245, 239, 228, .82); margin-bottom: 30px; }
.zf-lede em { font-style: normal; color: var(--copper); border-bottom: 1px dashed currentColor; }
.zf-stats { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 6px 30px; }
.zf-stats li { display: flex; flex-direction: column; }
.zf-stats b { font: 700 clamp(30px, 3.4vw, 44px)/1 var(--serif); color: var(--copper); }
.zf-stats b small { font-size: .5em; margin-right: 2px; }
.zf-stats span { font-size: 13px; color: rgba(245, 239, 228, .65); margin-top: 6px; }
.zf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.zf-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-self: start; width: 100%; max-width: 460px; }
.zf-spot { position: absolute; left: 50%; top: -20%; width: 160%; height: 120%; transform: translateX(-50%); background: radial-gradient(50% 45% at 50% 40%, rgba(255, 214, 160, .22), transparent 70%); pointer-events: none; }
.zf-stage .zf-frame { max-width: 340px; transform: perspective(1400px) rotateY(var(--ry, -6deg)) rotateX(var(--rx, 2deg)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.zf-controls { position: relative; width: 100%; margin-top: 62px; }
.zf-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.zf-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(245, 239, 228, .2); background: rgba(245, 239, 228, .04); color: rgba(245, 239, 228, .8); font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s; }
.zf-tabs button i, .zf-wall-themes button { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
.zf-tabs button[aria-selected="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); font-weight: 700; }
.zf-engrave { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; margin-bottom: 12px; }
.zf-engrave label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: rgba(245, 239, 228, .6); }
.zf-engrave input { width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(245, 239, 228, .22); background: rgba(0, 0, 0, .25); color: var(--cream); font-size: 17px; font-weight: 700; letter-spacing: .08em; }
.zf-engrave input:focus { border-color: var(--copper); outline: none; box-shadow: 0 0 0 3px rgba(211, 139, 82, .25); }
.zf-hero .zf-note { color: rgba(245, 239, 228, .5); text-align: center; }

/* ---------- stories ---------- */
.zf-stories { --bg: #f1ead9; --fg: #1d2a24; --acc: #2f6b3e; --sub: rgba(29, 42, 36, .68); position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); background: var(--bg); color: var(--fg); transition: background-color .8s ease, color .8s ease; }
.zf-stories .zf-sec-head > p:last-child { color: var(--sub); }
.zf-stories .zf-eyebrow { color: var(--acc); transition: color .8s; }
.zf-story { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 100px) var(--gutter); }
.zf-story:nth-of-type(even) .zf-story-pic { order: 2; }
.zf-story-pic { position: relative; }
.zf-story-pic img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); transform: translateY(var(--py, 0)) rotate(var(--rot, 0deg)); transition: transform .2s linear; }
.zf-story-text { position: relative; }
.zf-story-no { display: flex; align-items: baseline; gap: 14px; font-size: 14px; letter-spacing: .2em; color: var(--sub); margin-bottom: 10px; }
.zf-story-no b { font: 400 clamp(64px, 9vw, 128px)/.8 var(--serif); letter-spacing: 0; color: transparent; -webkit-text-stroke: 1.5px var(--acc); transition: -webkit-text-stroke-color .8s; }
.zf-story h3 { font-size: clamp(44px, 6.4vw, 88px); font-weight: 900; margin-bottom: 18px; letter-spacing: .04em; }
.zf-story-quote { font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; margin-bottom: 16px; color: var(--acc); transition: color .8s; }
.zf-story-text > p:not(.zf-story-no):not(.zf-story-quote) { color: var(--sub); max-width: 30em; }
.zf-story-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; padding: 18px 0; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; border-color: color-mix(in srgb, var(--fg) 18%, transparent); }
.zf-story-meta dt { font-size: 12px; letter-spacing: .14em; color: var(--sub); margin-bottom: 4px; }
.zf-story-meta dd { margin: 0; font-weight: 700; }
.zf-try { border: 0; background: none; padding: 0; font-weight: 700; color: var(--acc); cursor: pointer; border-bottom: 1.5px solid currentColor; transition: color .8s; }

/* ---------- exploded layers ---------- */
.zf-layers { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--ink); color: var(--cream); }
.zf-layers-sticky { position: sticky; top: 56px; height: calc(100vh - 56px); display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(60% 50% at 50% 45%, rgba(211, 139, 82, .16), transparent 70%); }
.zf-layers-viz { width: min(34vw, 380px); perspective: 1600px; }
.zf-x { --e: 0; --active: 0; position: relative; width: 100%; aspect-ratio: 840 / 1190; transform-style: preserve-3d; transform: translateX(calc(var(--e) * -8%)) rotateX(calc(var(--e) * 10deg)) rotateY(calc(var(--e) * -30deg)); }
.zf-x-layer { position: absolute; inset: 0; transform-style: preserve-3d; transition: filter .35s; }
.zf-x-card { inset: 7.2% 7.6%; transform: translateZ(calc(var(--e) * -70px)); border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(245, 239, 228, .12); }
.zf-x-card .zf-card { border-radius: 3px; }
.zf-x-build { inset: 7.2% 7.6%; transform: translateZ(calc(var(--e) * 10px)); }
.zf-x-plate { inset: 7.2% 7.6%; transform: translateZ(calc(var(--e) * 80px)); }
.zf-scene-ghost { aspect-ratio: var(--ghost, 466 / 464); }
.zf-x-plate .zf-plate { background: var(--t-plate); border-radius: 2px; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); opacity: var(--e); }
.zf-x-wood { transform: translateZ(calc(var(--e) * 150px)); border-radius: 10px; background:
    repeating-linear-gradient(92deg, rgba(0, 0, 0, .10) 0 1px, transparent 1px 5px, rgba(255, 255, 255, .03) 5px 6px, transparent 6px 11px),
    linear-gradient(135deg, #8a5a3b 0%, #6a4129 38%, #4b2c1a 70%, #3b2214 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); padding: 7.2% 7.6%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.zf-x-label { position: absolute; right: -8px; top: 10%; transform: translateX(100%); white-space: nowrap; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(245, 239, 228, .1); border: 1px solid rgba(245, 239, 228, .2); opacity: calc(var(--e) * .7); transition: background .3s, color .3s; }
.zf-x-card .zf-x-label { top: 4%; }
.zf-x-build .zf-x-label { top: 46%; }
.zf-x-plate .zf-x-label { top: 82%; }
.zf-x-wood .zf-x-label { top: -2%; }
.zf-x[data-active="1"] .zf-x-wood .zf-x-label, .zf-x[data-active="2"] .zf-x-card .zf-x-label, .zf-x[data-active="3"] .zf-x-build .zf-x-label, .zf-x[data-active="4"] .zf-x-plate .zf-x-label { background: var(--copper); color: #1b120b; opacity: 1; border-color: var(--copper); }
.zf-x[data-active="1"] .zf-x-layer:not(.zf-x-wood), .zf-x[data-active="2"] .zf-x-layer:not(.zf-x-card), .zf-x[data-active="3"] .zf-x-layer:not(.zf-x-build), .zf-x[data-active="4"] .zf-x-layer:not(.zf-x-plate) { filter: brightness(.42) saturate(.6); }
.zf-layers-copy { padding: clamp(80px, 10vw, 140px) var(--gutter) 30vh; }
.zf-layers-copy .zf-sec-head { text-align: left; margin-left: 0; padding: 0; }
.zf-layers-copy .zf-sec-head > p:last-child { color: rgba(245, 239, 228, .62); }
.zf-layers .zf-eyebrow { color: var(--copper); }
.zf-steps { list-style: none; margin: 0; padding: 0; }
.zf-steps li { min-height: 52vh; padding: 28px 0 0; border-top: 1px solid rgba(245, 239, 228, .14); opacity: .35; transition: opacity .4s; }
.zf-steps li.is-on { opacity: 1; }
.zf-steps b { display: block; font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 12px; }
.zf-steps p { color: rgba(245, 239, 228, .76); max-width: 26em; font-size: 17px; }

/* ---------- name wall ---------- */
.zf-wall { padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--cream), var(--paper)); }
.zf-wall-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; max-width: 980px; margin: 0 auto 36px; padding: 0 var(--gutter); }
.zf-wall-input { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.zf-wall-input textarea { width: 100%; resize: vertical; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 15px; line-height: 1.6; color: var(--text); }
.zf-wall-input textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(211, 139, 82, .2); }
.zf-wall-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.zf-wall-count { font-size: 14px; color: var(--muted); text-align: right; }
.zf-wall-count b { font: 700 46px/1 var(--serif); color: var(--copper-2); margin-right: 4px; }
.zf-wall-count span { display: block; font-size: 12px; }
.zf-wall-themes { display: flex; gap: 10px; }
.zf-wall-themes button { width: 26px; height: 26px; border: 0; cursor: pointer; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.zf-wall-themes button[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--copper); }
.zf-wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 22px 16px; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.zf-mini { margin: 0; animation: zf-pop .45s both; animation-delay: calc(var(--i, 0) * 18ms); }
.zf-mini .zf-frame { padding: 7%; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 14px 22px -12px rgba(0, 0, 0, .55); }
.zf-mini .zf-art { -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.zf-mini .zf-build { filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .3)); }
.zf-mini .zf-plate-name { letter-spacing: .04em; font-size: 7.4cqw; }
.zf-mini .zf-plate-id { display: none; }
.zf-mini .zf-glass { display: none; }
.zf-more { display: flex; align-items: center; justify-content: center; aspect-ratio: 840 / 1190; border-radius: 6px; border: 1.5px dashed var(--line); color: var(--muted); font-weight: 700; }
@keyframes zf-pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.zf-wall-foot { text-align: center; margin-top: 30px; padding: 0 var(--gutter); }

/* ---------- price stairs ---------- */
.zf-price { padding: clamp(80px, 10vw, 140px) 0; background: var(--green); color: var(--cream); }
.zf-price .zf-eyebrow { color: var(--copper); }
.zf-price .zf-sec-head > p:last-child { color: rgba(245, 239, 228, .7); }
.zf-price-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.zf-stairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; height: 380px; }
.zf-stairs li { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.zf-brick { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #2b5c46, #214a38); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .12), inset 0 -6px 0 rgba(0, 0, 0, .2); transition: background .35s, transform .35s, box-shadow .35s; }
.zf-stairs li:nth-child(1) .zf-brick { height: 40%; }
.zf-stairs li:nth-child(2) .zf-brick { height: 58%; }
.zf-stairs li:nth-child(3) .zf-brick { height: 76%; }
.zf-stairs li:nth-child(4) .zf-brick { height: 94%; }
.zf-studs { position: absolute; left: 14%; right: 14%; top: -10px; height: 10px; background: radial-gradient(circle at 50% 100%, currentColor 0 9px, transparent 9.5px) 0 0 / 50% 20px repeat-x; color: #2b5c46; transition: color .35s; }
.zf-brick b { font: 700 clamp(30px, 3.4vw, 46px)/1 var(--serif); color: var(--cream); }
.zf-brick b small { font-size: .5em; }
.zf-brick i { font-style: normal; font-size: 13px; color: rgba(245, 239, 228, .6); }
.zf-stairs p { text-align: center; margin-top: 10px; font-size: 14px; color: rgba(245, 239, 228, .7); }
.zf-stairs p strong { font: 700 20px var(--serif); color: var(--cream); margin-right: 2px; }
.zf-stairs li.is-on .zf-brick { background: linear-gradient(180deg, #e39a5f, var(--copper-2)); transform: translateY(-6px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), inset 0 -6px 0 rgba(0, 0, 0, .18), 0 20px 40px -14px rgba(211, 139, 82, .7); }
.zf-stairs li.is-on .zf-studs { color: #e39a5f; }
.zf-stairs li.is-on .zf-brick b, .zf-stairs li.is-on .zf-brick i { color: #1b120b; }
.zf-calc { padding: 26px; border-radius: 20px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(245, 239, 228, .12); }
.zf-calc-qty { display: block; margin-bottom: 18px; }
.zf-calc-qty > span:first-child { display: block; font-size: 14px; color: rgba(245, 239, 228, .7); margin-bottom: 6px; }
.zf-qty-row { display: flex; align-items: baseline; gap: 8px; }
.zf-qty-row input { width: 140px; border: 0; border-bottom: 2px solid rgba(245, 239, 228, .3); background: none; font: 700 44px/1.1 var(--serif); color: var(--cream); padding: 0; }
.zf-qty-row input:focus { outline: none; border-color: var(--copper); }
.zf-qty-row em { font-style: normal; color: rgba(245, 239, 228, .7); }
input[type="range"] { width: 100%; margin-top: 14px; accent-color: var(--copper); }
.zf-calc fieldset { border: 0; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.zf-calc legend { font-size: 14px; color: rgba(245, 239, 228, .7); margin-bottom: 8px; padding: 0; }
.zf-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.zf-check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--copper); flex: none; }
.zf-check b { color: var(--copper); }
.zf-check small { display: block; font-size: 12px; color: rgba(245, 239, 228, .55); }
.zf-calc-out { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; align-items: baseline; padding: 16px 0; margin-bottom: 12px; border-top: 1px solid rgba(245, 239, 228, .15); }
.zf-calc-out b { font: 700 30px var(--serif); color: var(--cream); }
.zf-out-total b { color: var(--copper); }
.zf-out-unit, .zf-out-total { font-size: 14px; color: rgba(245, 239, 228, .7); }
.zf-out-note { grid-column: 1 / -1; font-size: 13px; color: #e8c39f; }
.zf-price .zf-note { color: rgba(245, 239, 228, .5); }

/* ---------- process ---------- */
.zf-process { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); }
.zf-track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); counter-reset: s; }
.zf-track li { position: relative; padding: 46px 24px 0 0; }
.zf-track li::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--copper) 0 18px, transparent 18px 24px); opacity: .45; }
.zf-track li::after { content: ""; position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 6px; background: var(--copper); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2), 0 0 0 5px var(--paper); }
.zf-track-no { font: 700 15px var(--serif); color: var(--copper-2); }
.zf-track h3 { font-size: 22px; font-weight: 800; margin: 4px 0 10px; }
.zf-track p { color: var(--muted); font-size: 15px; }
.zf-track-time { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(211, 139, 82, .14); color: var(--copper-2); }

/* ---------- order ---------- */
.zf-order { position: relative; padding: clamp(80px, 10vw, 130px) var(--gutter); color: var(--cream); overflow: hidden; background: radial-gradient(55% 70% at 78% 50%, rgba(211, 139, 82, .25), transparent 70%), linear-gradient(150deg, #0d1f18, #15392a); }
.zf-order-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1080px; margin: 0 auto; }
.zf-order .zf-eyebrow { color: var(--copper); }
.zf-order h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 900; margin-bottom: 30px; }
.zf-mp-steps { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.zf-mp-steps li { display: flex; align-items: center; gap: 14px; font-size: 17px; padding: 12px 16px; border-radius: 12px; background: rgba(245, 239, 228, .06); border: 1px solid rgba(245, 239, 228, .1); }
.zf-mp-steps b { font: 700 15px var(--serif); color: var(--copper); }
.zf-order-alt { font-size: 15px; color: rgba(245, 239, 228, .7); }
.zf-order-alt a { color: var(--copper); font-weight: 700; text-decoration: none; white-space: nowrap; }
.zf-qr { margin: 0; justify-self: center; text-align: center; }
.zf-qr-frame { width: min(340px, 74vw); padding: 26px; border-radius: 14px; background:
    repeating-linear-gradient(92deg, rgba(0, 0, 0, .10) 0 1px, transparent 1px 5px, rgba(255, 255, 255, .03) 5px 6px, transparent 6px 11px),
    linear-gradient(135deg, #8a5a3b 0%, #6a4129 38%, #4b2c1a 70%, #3b2214 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .14), 0 40px 80px -30px rgba(0, 0, 0, .8); transform: rotate(-2deg); }
.zf-qr-frame img { width: 100%; height: auto; border-radius: 6px; background: #fff; padding: 14px; box-shadow: inset 0 6px 14px rgba(0, 0, 0, .15); -webkit-touch-callout: default; }
.zf-qr figcaption { margin-top: 22px; font-size: 16px; font-weight: 700; }
.zf-qr-phone { display: none; }

/* ---------- facts, faq ---------- */
.zf-facts { padding: clamp(80px, 10vw, 130px) var(--gutter) 40px; background: var(--paper); }
.zf-facts-list { max-width: 900px; margin: 0 auto 20px; border-top: 2px solid var(--text); }
.zf-facts-list div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.zf-facts-list dt { font-weight: 800; }
.zf-facts-list dd { margin: 0; color: #34433c; }
.zf-facts > .zf-note { max-width: 900px; margin: 0 auto; }
.zf-faq { padding: 60px var(--gutter) clamp(90px, 10vw, 140px); background: var(--paper); }
.zf-faq-list { max-width: 900px; margin: 0 auto; }
.zf-faq details { border-bottom: 1px solid var(--line); }
.zf-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 18px; font-weight: 700; }
.zf-faq summary::-webkit-details-marker { display: none; }
.zf-faq summary::after { content: "+"; font: 400 26px/1 var(--serif); color: var(--copper-2); transition: transform .25s; }
.zf-faq details[open] summary::after { transform: rotate(45deg); }
.zf-faq details p { padding: 0 0 22px; color: var(--muted); max-width: 46em; }
.zf-faq a { color: var(--copper-2); }

/* ---------- footer, dock ---------- */
.zf-foot { background: var(--ink); color: rgba(245, 239, 228, .7); padding: 44px var(--gutter) 110px; }
.zf-foot-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; }
.zf-foot-brand { display: flex; flex-direction: column; }
.zf-foot-brand strong { color: var(--cream); font-size: 20px; }
.zf-foot nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.zf-foot nav a { text-decoration: none; }
.zf-foot-small { width: 100%; font-size: 12px; color: rgba(245, 239, 228, .4); }
.zf-dock { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(13, 31, 24, .92); color: var(--cream); text-decoration: none; font-size: 13px; white-space: nowrap; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); border: 1px solid rgba(245, 239, 228, .12); transform: translate(-50%, 140%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.zf-dock b { padding: 9px 16px; border-radius: 999px; background: var(--copper); color: #1b120b; font-size: 14px; }
.zf-dock.is-shown { transform: translate(-50%, 0); }

/* ---------- tablet & phone ---------- */
@media (max-width: 960px) {
  .zf-hero { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .zf-hero-copy { justify-self: stretch; }
  .zf-stage { justify-self: center; max-width: 420px; }
  .zf-story, .zf-layers, .zf-price-body, .zf-order-inner { grid-template-columns: 1fr; }
  .zf-story:nth-of-type(even) .zf-story-pic { order: 0; }
  .zf-story-pic { max-width: 520px; }
  .zf-layers-sticky { top: 50px; height: 46vh; z-index: 2; background: var(--ink) radial-gradient(60% 50% at 50% 45%, rgba(211, 139, 82, .16), transparent 70%); box-shadow: 0 14px 20px -10px var(--ink); }
  .zf-layers-viz { width: min(40vw, 180px); }
  .zf-layers-copy { position: relative; z-index: 1; padding-top: 24px; padding-bottom: 24vh; }
  .zf-layers-copy .zf-sec-head { margin-bottom: 20px; }
  .zf-steps li { min-height: 34vh; }
  .zf-stairs { height: 300px; }
  .zf-track { grid-template-columns: 1fr 1fr; gap: 34px 0; }
}
@media (max-width: 640px) {
  .zf-nav { display: none; }
  .zf-bar { gap: 12px; }
  .zf-bar-cta { margin-left: auto; }
  .zf-hero { padding-top: 30px; }
  .zf-stats { grid-template-columns: repeat(2, auto); gap: 14px 34px; }
  .zf-hero-actions .zf-btn { flex: 1 1 100%; }
  .zf-stage { max-width: 320px; }
  .zf-controls { margin-top: 64px; }
  .zf-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -16px 14px; padding: 0 16px 4px; scrollbar-width: none; }
  .zf-tabs::-webkit-scrollbar { display: none; }
  .zf-tabs button { flex: none; }
  .zf-engrave { grid-template-columns: 1fr; }
  .zf-story { padding-top: 28px; padding-bottom: 56px; }
  .zf-story-meta { grid-template-columns: 1fr; gap: 10px; }
  .zf-x-label { font-size: 11px; padding: 3px 8px; right: -4px; }
  .zf-wall-tools { grid-template-columns: 1fr; }
  .zf-wall-side { flex-direction: row; justify-content: space-between; align-items: center; }
  .zf-wall-count { text-align: left; }
  .zf-wall-grid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 16px 10px; }
  .zf-stairs { height: 250px; gap: 6px; }
  .zf-brick b { font-size: 26px; }
  .zf-stairs p { font-size: 12px; }
  .zf-stairs p strong { font-size: 16px; }
  .zf-calc { padding: 20px; }
  .zf-track { grid-template-columns: 1fr; gap: 30px; }
  .zf-qr-desk { display: none; }
  .zf-qr-phone { display: inline; }
  .zf-facts-list div { grid-template-columns: 1fr; gap: 2px; }
  .zf-faq summary { font-size: 16px; }
}
@media (hover: none) and (pointer: coarse) { .zf-qr-desk { display: none; } .zf-qr-phone { display: inline; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}
.zf-nw { white-space: nowrap; }
