/* 岱渊 · ANDSON DESIGN —— 滚动驱动的全屏场景（交互参考 sidewave.it），字体内嵌于 css/fonts.css */
:root {
  --void: #050506;
  --bone: #F2EFE8;
  --ash: rgba(242, 239, 232, .62);
  --line: rgba(242, 239, 232, .16);
  --red: #E5263B;
  --font: "AD Sans", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;   /* AD Sans = 内嵌的 Inter + Noto Sans SC 子集，见 css/fonts.css */
  --gut: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--void); color: var(--bone); font: 400 17px/1.7 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
p, h1, h2, h3, blockquote, figure, ol { margin: 0; }
ol { padding: 0; list-style: none; }
::selection { background: var(--bone); color: var(--void); }
:focus-visible { outline: 1px solid var(--bone); outline-offset: 5px; border-radius: 2px; }

.label { font-size: 11px; line-height: 1.6; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--ash); }
.chip { display: inline-block; color: var(--bone); margin-bottom: 20px; }
.headline { font-weight: 800; font-size: clamp(40px, 6.4vw, 104px); line-height: 1.02; letter-spacing: -.055em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.headline--sm { font-size: clamp(34px, 4.6vw, 72px); }
.headline, .quote p, .contact__big { text-wrap: balance; }
.lede, .exp__desc, .process__text, .hero__tag, .seal-note figcaption p { text-wrap: pretty; }
.nb { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }   /* 只给搜索引擎和读屏器 */   /* 句尾两个字+标点粘在一起，见 main.js glueTail */
.lede { color: rgba(242, 239, 232, .82); max-width: 28em; font-size: clamp(15px, 1.2vw, 18px); font-weight: 500; }

[data-logo] svg { display: block; width: 100%; height: 100%; overflow: visible; }
[data-logo] path { fill: none; stroke: currentColor; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }

[data-fade] { opacity: 0; transform: translateY(24px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
[data-fade].in { opacity: 1; transform: none; filter: none; }

/* ---------- 舞台 ---------- */
.stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; background: var(--void); }
main { position: relative; z-index: 1; }

/* ---------- 开场 ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; align-content: center; gap: 28px; transition: opacity 1s var(--ease), visibility 1s; }
.loader__seal { width: 84px; height: 53px; color: var(--bone); filter: drop-shadow(0 0 16px rgba(210, 180, 255, .45)); }
.loader__bar { position: absolute; bottom: 12vh; width: min(220px, 50vw); height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--bone); transform-origin: left; transform: scaleX(0); transition: transform .3s linear; }
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }

/* ---------- 固定界面 ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 20px var(--gut); display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav__brand { display: flex; align-items: center; gap: 14px; }
.nav__mark { width: 44px; height: 28px; color: var(--bone); }
.nav__mark path { stroke-width: 12; }
.nav__name { color: var(--bone); }
.nav__right { display: flex; align-items: center; gap: 10px; margin-right: 44px; position: relative; }
/* 声音开关：四根会跳动的音柱 */
.sound { display: flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 4px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s; }
.sound:hover { border-color: rgba(242, 239, 232, .5); }
.sound .label { color: var(--bone); }
.sound__bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound__bars i { width: 2px; height: 3px; background: var(--bone); border-radius: 1px; transition: height .3s; }
.sound.is-on .sound__bars i { animation: eq 1s ease-in-out infinite; }
.sound.is-on .sound__bars i:nth-child(2) { animation-delay: -.3s; animation-duration: .8s; }
.sound.is-on .sound__bars i:nth-child(3) { animation-delay: -.6s; animation-duration: 1.2s; }
.sound.is-on .sound__bars i:nth-child(4) { animation-delay: -.15s; animation-duration: .9s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.sound-hint { position: absolute; top: calc(100% + 10px); left: 0; white-space: nowrap; padding: 6px 10px; border-radius: 4px; background: var(--bone); color: #0a0a0a; animation: hint .6s var(--ease); }
.sound-hint::before { content: ""; position: absolute; top: -4px; left: 18px; width: 8px; height: 8px; background: inherit; transform: rotate(45deg); }
@keyframes hint { from { opacity: 0; transform: translateY(-6px); } }
.nav__now { display: flex; align-items: center; gap: 8px; cursor: pointer; transition: border-color .3s; }
.nav__now:hover { border-color: rgba(242, 239, 232, .5); }
.nav__burger { width: 12px; height: 8px; background: linear-gradient(currentColor 0 0) 0 0 / 100% 1.5px no-repeat, linear-gradient(currentColor 0 0) 0 100% / 70% 1.5px no-repeat; }
.topbar { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.topbar i { display: block; height: 100%; background: var(--bone); transform-origin: left; transform: scaleX(0); opacity: .8; }
.menu { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 80px var(--gut) 40px; border: 0; background: rgba(5, 5, 6, .94); color: var(--bone); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.menu::backdrop { background: transparent; }
.menu[open] { animation: fade .35s ease; }
.menu__close { position: absolute; top: 22px; right: var(--gut); color: var(--bone); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.menu__list { display: grid; gap: 4px; }
.menu__list a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: clamp(26px, 7vw, 44px); font-weight: 800; letter-spacing: -.03em; color: rgba(242, 239, 232, .55); transition: color .3s, padding .4s var(--ease); }
.menu__list a span { font-size: 12px; font-weight: 650; letter-spacing: .1em; color: var(--ash); }
.menu__list a:hover, .menu__list a.is-on { color: var(--bone); padding-left: 8px; }
.nav__now {  color: var(--bone); padding: 5px 10px; border: 1px solid var(--line); border-radius: 4px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.index { position: fixed; left: calc(var(--gut) - 12px); top: 50%; transform: translateY(-50%); z-index: 40; display: flex; gap: 14px; padding: 12px 14px 12px 12px; border-radius: 10px; background: rgba(8, 8, 12, .38); border: 1px solid rgba(242, 239, 232, .08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.index ol { display: grid; gap: 6px; }
.index a { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 650; letter-spacing: .09em; color: rgba(242, 239, 232, .62); transition: color .3s; }
.index a::before { content: ""; width: 10px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.index a:hover, .index a.is-on { color: var(--bone); }
.index a.is-on::before { width: 22px; }
.index__bar { width: 1px; background: var(--line); position: relative; }
.index__bar i { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--bone); transform-origin: top; transform: scaleY(0); }

/* 右侧竖向“联系我”：玻璃质感红色挂签，悬停外滑 + 光晕 */
.side-tab {
  position: fixed; right: 0; top: 50%; z-index: 45; transform: translate(0, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 16px 11px 14px 12px; border-radius: 14px 0 0 14px;
  background: linear-gradient(160deg, #FF4A5C 0%, #E5263B 55%, #B8142A 100%);
  border: 1px solid rgba(255, 255, 255, .22); border-right: 0;
  box-shadow: 0 12px 32px -8px rgba(229, 38, 59, .55), inset 0 1px 0 rgba(255, 255, 255, .35), inset 1px 0 0 rgba(255, 255, 255, .12);
  color: #fff; transition: transform .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.side-tab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(255, 255, 255, .18), transparent 60%); pointer-events: none; }
body.at-contact .side-tab { opacity: 0; pointer-events: none; transform: translate(100%, -50%); }
.side-tab:hover { transform: translate(-6px, -50%); padding-right: 16px; box-shadow: 0 16px 40px -6px rgba(229, 38, 59, .75), inset 0 1px 0 rgba(255, 255, 255, .4); }
.side-tab__text { writing-mode: vertical-rl; font-size: 13px; font-weight: 700; letter-spacing: .32em; line-height: 1; }
.side-tab__dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.side-tab__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.side-tab__arrow { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.side-tab:hover .side-tab__arrow { transform: translate(2px, -2px); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; border-radius: 999px; font-size: 14px; font-weight: 650; background: var(--bone); color: #0a0a0a; border: 1px solid var(--bone); transition: background .4s, color .4s, border-color .4s; }
.btn:not(.btn--ghost):hover { background: transparent; color: var(--bone); }
.btn--primary { background: linear-gradient(135deg, #ffffff, #e9e3d6); color: #0a0a0a; border-color: transparent; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 10px 34px -6px rgba(170, 225, 255, .55), 0 0 28px rgba(140, 210, 255, .25); }
.btn--primary:not(.btn--ghost):hover { background: linear-gradient(135deg, #ffffff, #f4efe4); color: #0a0a0a; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 14px 40px -6px rgba(170, 225, 255, .75), 0 0 40px rgba(140, 210, 255, .4); }
.btn--ghost { background: rgba(0, 0, 0, .15); color: var(--bone); border-color: rgba(242, 239, 232, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--bone); }
.magnet { will-change: transform; }
.magnet > span { display: inline-block; pointer-events: none; }
.link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--ease); }
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- 场景骨架 ---------- */
.scene { position: relative; height: calc(var(--len, 1.5) * 100svh); }
.scene__stick { position: sticky; top: 0; height: 100svh; padding: 96px var(--gut) 56px calc(var(--gut) + 120px); overflow: hidden; }

/* 首屏 */
.hero { display: block; padding-left: var(--gut); user-select: none; -webkit-user-select: none; }   /* 划琴弦时不选中文字 */
.hero__big { position: absolute; left: calc(var(--gut) + 120px); top: 17vh; font-weight: 850; font-size: clamp(38px, 5.4vw, 88px); line-height: .92; letter-spacing: -.06em; }
.hero__corner { position: absolute; top: 18vh; color: var(--bone); }
.hero__corner--l { display: none; }
.hero__corner--r { right: calc(var(--gut) + 36px); text-align: right; }
.strings-hint { position: absolute; right: calc(var(--gut) + 36px); top: calc(18vh + 52px); display: flex; align-items: center; gap: 10px; color: var(--bone); padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(242, 239, 232, .28); background: rgba(40, 10, 60, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .3s; }
.strings-hint:hover { border-color: var(--bone); }
.strings-hint i { width: 18px; height: 9px; background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 2px); opacity: .9; }
.strings-hint b { font-weight: 650; opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }
.hero__bottom { position: absolute; left: 0; right: 0; bottom: clamp(56px, 10vh, 110px); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; padding: 0 var(--gut); }
.hero__tag { font-weight: 650; font-size: clamp(16px, 1.5vw, 20px); letter-spacing: -.01em; text-shadow: 0 1px 18px rgba(40, 0, 60, .5); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.scroll-hint { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; color: var(--bone); }
.scroll-hint i { width: 14px; height: 22px; border: 1px solid currentColor; border-radius: 8px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 5px; margin-left: -1px; background: currentColor; border-radius: 1px; animation: wheel 1.6s infinite; }
@keyframes wheel { 60% { transform: translateY(6px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* 关于 */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 100px); align-content: center; }
.split .headline { text-shadow: 0 2px 40px rgba(120, 30, 0, .35); }
.split .lede { color: #3A1206; font-weight: 600; text-shadow: 0 1px 16px rgba(255, 214, 160, .55); }
.split__side { display: grid; gap: 40px; align-self: end; }
.seal-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; padding: 20px; border-radius: 12px; background: rgba(40, 10, 0, .28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .18); }
.seal-note__art { width: 96px; height: 61px; color: var(--bone); }
.seal-note figcaption { display: grid; gap: 8px; justify-items: start; font-size: 14px; color: rgba(242, 239, 232, .85); }
.seal-note__title { font-size: 20px; font-weight: 800; letter-spacing: .2em; color: var(--bone); }

/* 作品：横向轮播 */
.work { display: grid; grid-template-rows: auto 1fr; gap: 40px; }
.work__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 60px; align-items: end; }
.work__head .chip { grid-column: 1 / -1; }
.work { grid-template-rows: auto 1fr auto; }
.work__track { position: relative; align-self: stretch; min-height: 0; perspective: 1400px; transform-style: preserve-3d; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.work__track.is-dragging { cursor: grabbing; }
/* 3D 里侧边卡片往后退，会落到轨道平面“后面”被挡住点击：轨道本身不接收点击，卡片可点，
   另在最深处放一块透明拖拽面，保证点空白处也能拖动 */
.work__track { pointer-events: none; }
.work__track .card, .work__surface { pointer-events: auto; }
.work__surface { position: absolute; left: -100%; top: -60%; width: 300%; height: 220%; transform: translateZ(-600px); }
.work__track .card { position: absolute; left: 50%; top: 50%; width: min(clamp(260px, 36vw, 560px), calc((100svh - 380px) * 4 / 3)); will-change: transform; }
.work__track .card img { pointer-events: none; -webkit-user-drag: none; }
.work__hint { text-align: center; }
.card { --mx: 50%; --my: 50%; position: relative; aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 16px; overflow: hidden; isolation: isolate; background: rgba(20, 8, 36, .55); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(201, 168, 255, .22), transparent 60%); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .5s; pointer-events: none; background: radial-gradient(260px circle at var(--mx) var(--my), #fff, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover::before, .card:hover::after, .card:focus-visible::before, .card:focus-visible::after { opacity: 1; }
.card__media { position: absolute; inset: 0; z-index: -2; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 24px; display: grid; gap: 6px; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
/* 有封面图的卡片：底部加深，保证浅色截图上的白字可读 */
.card:not(.card--empty) .card__body { padding-top: 64px; background: linear-gradient(180deg, transparent, rgba(10, 5, 18, .78) 38%, rgba(10, 5, 18, .92)); }
.card__title { font-size: clamp(22px, 2vw, 30px); font-weight: 800; letter-spacing: -.04em; }
.card__desc { color: rgba(242, 239, 232, .75); font-size: 14px; }
.card__go { position: absolute; top: 16px; right: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--bone); color: #0a0a0a; font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none; }
.card.is-active .card__go, .card:hover .card__go { opacity: 1; transform: none; }
.card.is-active .card__media img { transform: scale(1.03); }
.card--more { justify-content: center; align-items: center; text-align: center; background: rgba(20, 8, 36, .4); border-style: dashed; }
.card--more .card__body { background: none; justify-items: center; }
.card--empty .card__num { position: absolute; top: 18px; left: 24px; font-size: clamp(80px, 10vw, 160px); font-weight: 850; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(242, 239, 232, .28); }

/* 流程 */
.process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 100px); align-content: center; }
.process .lede { margin-top: 24px; }
.process__step { display: grid; gap: 10px; align-self: center; padding: clamp(24px, 3vw, 40px); border-radius: 16px; background: rgba(10, 0, 2, .55); border: 1px solid rgba(229, 38, 59, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.process__num { font-size: clamp(56px, 6vw, 96px); font-weight: 850; line-height: 1; letter-spacing: -.06em; color: var(--red); }
.process__name { font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; letter-spacing: -.04em; }
.process__text { margin-top: 10px; font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; color: rgba(242, 239, 232, .85); min-height: 5.1em; }
.process__dots { display: flex; gap: 6px; margin-top: 14px; }
.process__dots li { flex: 1; position: relative; }
.process__dots button { display: block; width: 100%; padding: 10px 0; cursor: pointer; }
.process__dots button::before { content: ""; display: block; height: 2px; background: rgba(242, 239, 232, .15); transition: background .4s, height .3s; }
.process__dots li.on button::before { background: var(--red); }
.process__dots button:hover::before { height: 4px; background: rgba(242, 239, 232, .55); }
.process__dots li.on button:hover::before { background: #ff4a5c; }
.process__dots .label { position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translate(-50%, 4px); white-space: nowrap; padding: 4px 8px; border-radius: 4px; background: rgba(10, 0, 2, .85); color: var(--bone); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.process__dots button:hover .label, .process__dots button:focus-visible .label { opacity: 1; transform: translate(-50%, 0); }

/* 经历 */
.exp { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 40px clamp(32px, 5vw, 80px); align-content: center; }
.exp__list { display: grid; gap: 12px; }
.exp__row { --mx: 50%; --my: 50%; position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 4px 24px; padding: 20px 22px; border-radius: 14px; background: rgba(8, 2, 3, .72); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateX(40px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.exp__row.in { opacity: 1; transform: none; filter: none; }
.exp__row::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(229, 38, 59, .18), transparent 60%); }
.exp__row:hover::before { opacity: 1; }
.exp__years { color: var(--bone); grid-row: span 2; padding-top: 6px; }
.exp__role { font-size: clamp(20px, 1.8vw, 26px); font-weight: 800; letter-spacing: -.03em; }
.exp__more { display: none; }
.exp__desc { grid-column: 2; font-size: 14px; color: rgba(242, 239, 232, .75); margin-top: 6px; }

/* 文字隧道 */
.tunnel { padding: 0; perspective: 520px; perspective-origin: 50% 50%; }
.tunnel__box { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.wall { position: absolute; display: flex; flex-direction: column; justify-content: space-around; overflow: hidden; backface-visibility: hidden; color: var(--bone); font-weight: 900; text-transform: uppercase; letter-spacing: -.04em; line-height: .86; white-space: nowrap; }
.wall span { display: block; }
.wall--floor, .wall--ceil { align-items: center; }
.tunnel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(closest-side, #000 18%, transparent 60%); }
.tunnel__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; color: var(--bone); }

/* 理念 */
.values { display: grid; align-content: center; justify-items: start; gap: 28px; }
.quote p { font-size: clamp(30px, 4.4vw, 72px); font-weight: 800; line-height: 1.18; letter-spacing: -.05em; color: #06201f; }
.values .chip { color: #06201f; }
.values .lede { color: rgba(6, 32, 31, .8); }

/* 联系 */
.contact { display: grid; align-content: center; justify-items: start; gap: 20px; }
.contact__big { font-weight: 850; font-size: clamp(64px, 11vw, 190px); line-height: .88; letter-spacing: -.065em; white-space: nowrap; }
.contact__panel { display: grid; gap: 20px; justify-items: start; margin-top: 16px; }
.contact__mail { font-size: clamp(20px, 2.6vw, 36px); font-weight: 750; letter-spacing: -.03em; }
.contact__mail span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease); padding-bottom: 4px; }
.contact__mail:hover span { background-size: 100% 2px; }
.contact__actions { display: flex; gap: 12px; flex-wrap: wrap; }
/* 微信二维码弹窗 */
.qr-modal { padding: 0; border: 0; background: transparent; color: var(--bone); max-width: calc(100vw - 32px); overflow: visible; }
.qr-modal::backdrop { background: rgba(3, 3, 6, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.qr-modal[open] .qr-modal__card { animation: pop .55s var(--ease); }
.qr-modal[open]::backdrop { animation: fade .4s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.94); } }
@keyframes fade { from { opacity: 0; } }
.qr-modal__card {
  position: relative; width: min(340px, calc(100vw - 32px)); padding: 28px 28px 24px; border-radius: 22px; text-align: center;
  display: grid; gap: 10px; justify-items: center;
  background: linear-gradient(170deg, rgba(40, 40, 52, .92), rgba(14, 14, 20, .94));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.qr-modal__title { font-size: 20px; font-weight: 750; letter-spacing: -.02em; }
.qr-modal__card img { width: 100%; margin-top: 8px; border-radius: 14px; }
.qr-modal__hint { font-size: 13px; color: var(--ash); }
.qr-modal__copy { width: 100%; margin-top: 6px; }
/* 跨章节跳转的黑幕 */
.curtain { position: fixed; inset: 0; z-index: 95; background: #000; display: grid; place-items: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .38s ease, visibility 0s .38s; }
.curtain.is-on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .38s ease; }
.curtain.is-lift { transform: translateY(-100%); transition: transform .95s cubic-bezier(.76, 0, .24, 1); }
.curtain__seal { width: 72px; height: 46px; color: var(--bone); opacity: .9; }
.qr-modal__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .3s, transform .4s var(--ease); }
.qr-modal__close:hover { background: rgba(255, 255, 255, .16); transform: rotate(90deg); }
.qr-modal__close svg { width: 16px; height: 16px; fill: none; stroke: var(--bone); stroke-width: 1.8; stroke-linecap: round; }
.foot { position: absolute; left: calc(var(--gut) + 120px); right: calc(var(--gut) + 36px); bottom: 24px; display: flex; justify-content: space-between; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; background: var(--bone); color: #0a0a0a; padding: 10px 20px; border-radius: 999px; transition: .5s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast { text-transform: none; letter-spacing: .02em; font-size: 12.5px; }   /* 提示里有邮箱，保持原样大小写 */

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .index { display: none; }
  .scene__stick { padding-left: var(--gut); padding-right: calc(var(--gut) + 28px); }
  .hero__big { left: var(--gut); }
  .foot { left: var(--gut); }
  .split, .process, .exp, .work__head { grid-template-columns: 1fr; }
  .work__head .lede { margin-top: 12px; }
  .process__text { min-height: 0; }
  .exp__row { grid-template-columns: 1fr; }
  .exp__years { grid-row: auto; padding: 0; }
  .exp__desc { grid-column: 1; }
}
@media (max-width: 640px) {
  .nav__name { display: none; }
  .nav__right { margin-right: 0; }
  /* 4 手机：联系我改成右下角圆形按钮 */
  .side-tab { top: auto; right: 16px; bottom: 20px; transform: none; width: 52px; height: 52px; padding: 0; gap: 0; border-radius: 50%; border-right: 1px solid rgba(255, 255, 255, .22); justify-content: center; }
  .side-tab:hover { transform: none; padding: 0; }
  body.at-contact .side-tab { transform: scale(.6); }
  .side-tab__text, .side-tab__dot { display: none; }
  .side-tab__arrow { width: 18px; height: 18px; }
  .scene__stick { padding-right: var(--gut); }
  /* 6 手机作品卡：只留标题和分类，把画面让给样机 */
  .card:not(.card--more) .card__desc { display: none; }
  .card:not(.card--empty):not(.card--more) .card__body { padding: 40px 16px 14px; gap: 2px; }
  .card__title { font-size: 20px; }
  .hero__big { top: 14vh; }
  .hero__corner--r { display: none; }
  .strings-hint { top: 76px; right: var(--gut); font-size: 10px; }
  .scene__stick { padding-top: 80px; padding-bottom: 40px; }
  .split__side { gap: 24px; }
  .seal-note { grid-template-columns: 1fr; }
  .exp__row { padding: 14px 44px 14px 16px; cursor: pointer; }
  /* 9 手机：点一下展开描述 */
  .exp__desc { max-height: 0; margin-top: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), margin .5s var(--ease), opacity .35s; }
  .exp__row.open .exp__desc { max-height: 220px; margin-top: 8px; opacity: 1; }
  .exp__more { display: block; position: absolute; right: 16px; top: 18px; width: 14px; height: 14px; }
  .exp__more::before, .exp__more::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--bone); transition: transform .35s var(--ease); }
  .exp__more::after { transform: rotate(90deg); }
  .exp__row.open .exp__more::after { transform: rotate(0); }
  /* 13 手机联系页：文字压到下半屏，液滴在上半屏 */
  .contact { align-content: end; padding-bottom: 120px; }
  .foot { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-fade], .exp__row { opacity: 1; transform: none; filter: none; }
}
