/* ==================================================================== *
 * 南暄記官网 · 视觉 v3
 * 设计语言：从 logo 的朱红印章出发。宣纸底、漆黑底、炉火色；宋体标题、黑体正文；
 * 用细线与大面积留白组织内容，红色只留给印章、按钮与关键数字。
 * ==================================================================== */

/* 标题字体拆成两份：a 是官网现有标题用到的字（首屏只下载这一份），b 是其余常用字（改文案用到新字时才按需下载）。a 里没有的字，依次落到 b、再落到系统宋体。 */
@font-face {
  font-family: "NS Serif More";
  src: url(/fonts/ns-serif-b.woff2?v=11) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+4E07, U+4E0A, U+4E1A, U+4E1C, U+4E3B, U+4E3D, U+4E49, U+4E4B, U+4E4E, U+4E5D, U+4E60-4E61, U+4E66, U+4E70-4E71, U+4E88, U+4E8E, U+4E92, U+4EA4, U+4EAE, U+4EC5, U+4ECB, U+4ECD, U+4ED6, U+4ED8, U+4EE3, U+4EF6-4EF7, U+4EFB, U+4EFD, U+4F01, U+4F18-4F1A, U+4F46, U+4F4E-4F4F, U+4F53, U+4F59, U+4F7F, U+4F8B, U+4F9D, U+4FA7, U+4FBF, U+4FC3, U+4FEE, U+503C, U+5047, U+504F, U+5065, U+50AC, U+50CF, U+5141, U+5145, U+5149, U+514B, U+514D, U+5168, U+516C, U+5173, U+5176-5177, U+517C, U+5185, U+5199, U+51AC, U+51B3, U+51B5, U+51C0, U+51C6, U+51CF, U+51E0, U+51FB, U+5206-5207, U+5212, U+5217, U+521B, U+5220, U+5224, U+5236-5237, U+523B, U+524D, U+529B, U+52A0-52A1, U+52A8-52A9, U+52E4, U+52FE, U+5316-5317, U+533A, U+533F, U+5341, U+5343, U+5347-5348, U+534A, U+5356, U+5361, U+536B, U+5370, U+5373-5374, U+5377, U+538B, U+539F, U+53BF, U+53C2, U+53CA, U+53CC-53CD, U+53D6-53D8, U+53E3, U+53E5, U+53F0, U+53F2-53F3, U+53F6-53F7, U+5403-5404, U+540D-540E, U+5411, U+5426, U+542B-542C, U+542F, U+5438, U+5448, U+544A, U+5468, U+547C-547D, U+548C, U+54A8, U+54CD, U+54E8, U+552E, U+5546, U+559C-559D, U+5668, U+56E2, U+56ED, U+56F4, U+56FD-56FE, U+5706, U+5708, U+571F, U+5730, U+573A, U+5740, U+574F, U+57CE, U+57DF, U+57F9-57FA, U+5806, U+586B, U+58EB, U+5904, U+590D, U+590F, U+5916, U+591C, U+592A, U+5931, U+5934, U+5938, U+594F, U+5973, U+5976, U+59A5, U+59D4, U+5A92, U+5B63, U+5B66, U+5B69, U+5B88-5B89, U+5B98, U+5B9A, U+5B9E, U+5BA2, U+5BB5-5BB6, U+5BB9, U+5BC6, U+5BF9, U+5BFB-5BFC, U+5C0A, U+5C11, U+5C3D, U+5C4F, U+5C55, U+5C5E, U+5C81, U+5CF0, U+5DE5-5DE6, U+5DEE, U+5DF1, U+5E02-5E03, U+5E0C, U+5E26, U+5E2E, U+5E55, U+5E72, U+5E76, U+5E7F, U+5E8F, U+5E93, U+5E95, U+5EA6, U+5EB7, U+5EFA, U+5F0F, U+5F39-5F3A, U+5F53, U+5F62, U+5F71, U+5F80, U+5F84, U+5F88, U+5F8B, U+5FAA, U+5FAE, U+5FC6, U+5FD9, U+5FEB, U+5FF5, U+5FFD, U+6001, U+600E, U+601D, U+6027, U+603B, U+6076, U+60A8, U+60F3, U+610F, U+6216, U+6237, U+6240, U+6253, U+6258, U+6267, U+6276, U+6280, U+6293, U+62A2, U+62A4, U+62B9, U+62C5, U+62CD, U+62E9, U+62EC, U+62FC, U+62FE-62FF, U+6307, U+6309, U+634C, U+6362, U+636E, U+6388, U+6392, U+63A5, U+63A7-63A8, U+63CF-63D0, U+63D2, U+642D, U+6444, U+64A4, U+64AD, U+64CD, U+6539, U+6548, U+6587, U+6591, U+6599, U+65AD, U+65BD, U+65E0, U+65E7, U+65E9, U+6606, U+6613, U+6625, U+6655, U+665A, U+666E-6670, U+6696, U+66F2, U+6700, U+6708, U+670D, U+671B, U+6728, U+672F, U+6734, U+673A, U+6742, U+674E, U+6750-6751, U+675F, U+6761, U+677F, U+6784, U+679C, U+67D2-67D3, U+6807, U+680F, U+6821, U+6837, U+6848, U+684C, U+68B3, U+697C, U+6B22, U+6B3E, U+6B62, U+6B65, U+6BD4, U+6BDB, U+6C42, U+6C5F, U+6C9F, U+6CE8, U+6CFD, U+6D01, U+6D41, U+6D45, U+6D4B, U+6D88, U+6DA6, U+6DE1, U+6DF1, U+6DF7, U+6DFB, U+6E29, U+6E32, U+6EDA, U+6EE1, U+6F14, U+706F, U+70AD, U+70D8, U+70E4, U+7126, U+7130, U+7136, U+7167, U+7247-7248, U+7269, U+72B6, U+72EC, U+7387, U+738B, U+7396, U+73AF-73B0, U+73ED, U+7406, U+751F, U+7531, U+7533, U+7535, U+753B, U+7545, U+7565, U+75D5, U+76D1, U+76D6, U+76D8, U+76DF, U+76EE, U+76F4, U+76F8, U+7701, U+773C, U+7763, U+77ED, U+786E, U+788C, U+7891, U+7897, U+78C1, U+78E8, U+793A, U+793E, U+79BB, U+79CB, U+79CD, U+79D2, U+79DF, U+79E9, U+79F0, U+79FB, U+7A0B, U+7A0D, U+7A33, U+7A7A, U+7A84, U+7A97, U+7ACB, U+7AD6, U+7AD9, U+7AE0, U+7AEF, U+7B26, U+7B3C, U+7B49, U+7B54, U+7BA1, U+7BB1, U+7C92, U+7CEF, U+7CFB, U+7D20, U+7EA7, U+7EAF, U+7EB3, U+7EBF, U+7EC4, U+7EC8, U+7ECD, U+7ED3, U+7ED8, U+7EDC, U+7EE7, U+7EF4, U+7F13, U+7F51, U+7F6E, U+7FA4, U+8001, U+8003, U+8005, U+800C, U+8010, U+804A, U+804C, U+8054, U+8058, U+80AF, U+80CC, U+8106, U+811A, U+8131, U+817B, U+817E, U+81F4, U+822A, U+822C, U+8272, U+827A, U+8282, U+82AD, U+82B1, U+8336, U+8363, U+83B7, U+83DC, U+843D, U+8457, U+8549, U+85CF, U+884C, U+8857, U+8865, U+88AB, U+88C5, U+897F, U+8986, U+89C4, U+89C6, U+89C8-89C9, U+89D2, U+89E6, U+8A89, U+8BA1-8BA2, U+8BAD, U+8BB2, U+8BB8, U+8BBA, U+8BBE-8BBF, U+8BC1, U+8BC9, U+8BCD, U+8BD5, U+8BDD, U+8BE2, U+8BE5-8BE6, U+8BEF, U+8BFA-8BFB, U+8C03, U+8C22, U+8C37, U+8D1F, U+8D23, U+8D25, U+8D28, U+8D2D, U+8D39, U+8D44, U+8D56, U+8D70, U+8D81, U+8D85, U+8DDF, U+8DF3, U+8E0F, U+8E2A, U+8F66, U+8F6C, U+8F6F, U+8F93, U+8FA8, U+8FB9, U+8FCE, U+8FD0, U+8FD4, U+8FD8, U+8FDB, U+8FDE, U+8FF0, U+8FFD, U+9001, U+9009, U+9010, U+9014, U+9017, U+901F, U+907F-9080, U+90AE, U+90E8, U+9171, U+91C7, U+91CC, U+91CE, U+91D1, U+9488-9489, U+94AE, U+94F6, U+94FA, U+94FE, U+9500-9501, U+9519-951A, U+9526, U+952E, U+9547, U+95ED, U+9605, U+961F, U+9632, U+9645, U+9648, U+964D, U+9664, U+968F, U+96F6, U+9756, U+975E, U+9760, U+9876, U+987A, U+987E-987F, U+9884, U+9886, U+9891, U+989D, U+98DF, U+9970-9971, U+997C, U+9988, U+9996, U+9AA4, U+9AD8, U+9C9C, U+9EC4, U+9ED8, U+9F20, U+FF5C;
}
@font-face {
  font-family: "NS Serif";
  src: url(/fonts/ns-serif-a.woff2?v=11) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+21-7E, U+A9, U+B7, U+D7, U+F7, U+2014, U+2018-2019, U+201C-201D, U+2026, U+2192, U+2197, U+3001-3002, U+3008-3011, U+33A1, U+4E00, U+4E03, U+4E09, U+4E0B, U+4E0D-4E0E, U+4E24, U+4E2A, U+4E2D, U+4E3A, U+4E45, U+4E48, U+4E5F, U+4E86, U+4E8B-4E8C, U+4E91, U+4E94, U+4E9B, U+4EA7, U+4EAB, U+4EBA, U+4EC0, U+4ECA, U+4ECE, U+4EE5, U+4EEC, U+4F20, U+4F30, U+4F34, U+4F4D, U+4F55, U+4F5C, U+4F60, U+4F9B, U+4FDD, U+4FE1, U+5019, U+505A, U+505C, U+5085, U+50A8, U+5148, U+5165, U+516B, U+516D, U+5171, U+518D, U+51FA, U+5229, U+5230, U+5305, U+5320, U+534F, U+5355, U+5357, U+5386, U+53BB, U+53D1, U+53EA, U+53EF, U+5408, U+540C, U+5417, U+5458, U+5473, U+54C1, U+54EA, U+56DB, U+56DE, U+5728, U+5757, U+578B, U+5907, U+591A, U+5927, U+5929, U+597D, U+5982, U+59CB, U+5B50, U+5B57-5B58, U+5B83, U+5B8C, U+5C06, U+5C0F, U+5C31, U+5C42, U+5C97, U+5DF2, U+5E08, U+5E38, U+5E74, U+5E94, U+5E97, U+5F00, U+5F55, U+5F7C, U+5F85, U+5F97, U+5FC3, U+5FC5, U+6025, U+606F, U+6089, U+60C5, U+611F, U+613F, U+6162, U+61C2, U+6210-6211, U+6247, U+624B, U+624D, U+626B, U+627E-627F, U+628A, U+6295, U+62A5, U+62DB, U+6301, U+652F, U+6536, U+653E, U+6545, U+656C, U+6570, U+6574, U+65B0, U+65B9, U+65E5, U+65F6, U+660E, U+662F, U+663E, U+6668, U+6682, U+6684, U+66F4, U+6709, U+671F, U+672A, U+672C, U+6743, U+6765, U+67E5, U+6838, U+695A, U+6A21, U+6B21, U+6B63-6B64, U+6BB5, U+6BCF, U+6C14, U+6CA1, U+6CD5, U+6D46, U+6E05, U+6EC7, U+706B, U+7089, U+70B9, U+70E7, U+70ED, U+719F, U+724C, U+7528, U+7559, U+767D-767E, U+7684, U+770B, U+771F, U+7740, U+77E5, U+7801, U+7834, U+79C1, U+79EF, U+7B2C, U+7B79, U+7B7E, U+7B80, U+7B97, U+7C73, U+7C7B, U+7CD5, U+7D2B, U+7EA6, U+7EC6, U+7ECF, U+7ED9, U+7EDF, U+7EED, U+80FD, U+81EA, U+8425, U+8868, U+8981, U+89C1, U+89E3, U+8A18, U+8BA4, U+8BA9, U+8BB0, U+8BC4, U+8BC6, U+8BF4, U+8BF7, U+8C01, U+8C08, U+8C46, U+8D77, U+8DEF, U+8EAB, U+8F7B, U+8FBE, U+8FC7, U+8FD1, U+8FD9, U+9002, U+9012, U+901A, U+9053, U+90FD, U+914D, U+9165, U+91CD, U+91CF, U+957F, U+95E8, U+95EE, U+95F4, U+9650, U+966A, U+9690, U+96C6, U+9700, U+9762, U+9875, U+9879, U+9898, U+9910, U+996E, U+9975, U+9999, U+9A8C, U+FF01, U+FF05, U+FF08-FF09, U+FF0B-FF0D, U+FF10-FF1B, U+FF1D, U+FF1F, U+FF5E, U+FFE5;
}

:root {
  --paper: #f1eadb;
  --paper-hi: #f8f3e8;
  --paper-lo: #e6ddcb;
  --lacquer: #1a1210;
  --lacquer-2: #231915;
  --text: #2a201b;
  --muted: #6b5e51;
  --tone: #7a6c5d;
  --on-dark: #f5eddf;
  --on-dark-2: rgba(245, 237, 223, .76);
  --on-dark-3: rgba(245, 237, 223, .58);
  --seal: #b3262b;
  --seal-deep: #8c1d22;
  --ember: #e2ac6b;
  --line: rgba(42, 32, 27, .16);
  --line-dark: rgba(245, 237, 223, .16);
  --serif: "NS Serif", "NS Serif More", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  --sans: Inter, "Segoe UI", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .33 0 0 0 0 .22 0 0 0 .5 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  --hui: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 14.5V1.5h13v11h-9v-7h5v3' fill='none' stroke='%23e2ac6b' stroke-opacity='.5' stroke-width='1.1' stroke-linecap='square'/%3E%3C/svg%3E");
}

/* 印章底板（委角方章，由 tools/icon_set.py 生成）：编号章、“記”章、“信”章共用同一套轮廓 */
:root {
  --seal-tile: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%22.13%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23000%22%20stop-opacity%3D%22.16%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M6.4%200H57.6A6.4%206.4%200%200%200%2064%206.4V57.6A6.4%206.4%200%200%200%2057.6%2064H6.4A6.4%206.4%200%200%200%200%2057.6V6.4A6.4%206.4%200%200%200%206.4%200Z%22%20fill%3D%22%23b3262b%22%2F%3E%3Cpath%20d%3D%22M6.4%200H57.6A6.4%206.4%200%200%200%2064%206.4V57.6A6.4%206.4%200%200%200%2057.6%2064H6.4A6.4%206.4%200%200%200%200%2057.6V6.4A6.4%206.4%200%200%200%206.4%200Z%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Cpath%20d%3D%22M8.96%205.44H55.04A3.52%203.52%200%200%200%2058.56%208.96V55.04A3.52%203.52%200%200%200%2055.04%2058.56H8.96A3.52%203.52%200%200%200%205.44%2055.04V8.96A3.52%203.52%200%200%200%208.96%205.44Z%22%20fill%3D%22none%22%20stroke%3D%22%23f5eddf%22%20stroke-opacity%3D%22.5%22%20stroke-width%3D%221.02%22%2F%3E%3C%2Fsvg%3E);
  --seal-ji: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%22.13%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23000%22%20stop-opacity%3D%22.16%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M6.4%200H57.6A6.4%206.4%200%200%200%2064%206.4V57.6A6.4%206.4%200%200%200%2057.6%2064H6.4A6.4%206.4%200%200%200%200%2057.6V6.4A6.4%206.4%200%200%200%206.4%200Z%22%20fill%3D%22%23b3262b%22%2F%3E%3Cpath%20d%3D%22M6.4%200H57.6A6.4%206.4%200%200%200%2064%206.4V57.6A6.4%206.4%200%200%200%2057.6%2064H6.4A6.4%206.4%200%200%200%200%2057.6V6.4A6.4%206.4%200%200%200%206.4%200Z%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Cpath%20d%3D%22M8.96%205.44H55.04A3.52%203.52%200%200%200%2058.56%208.96V55.04A3.52%203.52%200%200%200%2055.04%2058.56H8.96A3.52%203.52%200%200%200%205.44%2055.04V8.96A3.52%203.52%200%200%200%208.96%205.44Z%22%20fill%3D%22none%22%20stroke%3D%22%23f5eddf%22%20stroke-opacity%3D%22.5%22%20stroke-width%3D%221.02%22%2F%3E%3Cg%20transform%3D%22translate%2832%2032.4%29%20scale%280.03746%29%20translate%28-504.5%20379.5%29%22%20fill%3D%22%23f7efe0%22%3E%3Cpath%20d%3D%22M158%20-836%20149%20-830C181%20-796%20215%20-739%20222%20-690C311%20-629%20392%20-804%20158%20-836ZM408%20-721%20359%20-659H44L52%20-630H471C485%20-630%20495%20-635%20497%20-646C463%20-678%20408%20-721%20408%20-721ZM352%20-459%20306%20-400H79L87%20-372H411C425%20-372%20435%20-377%20437%20-388C404%20-418%20352%20-459%20352%20-459ZM355%20-588%20308%20-529H79L87%20-500H413C427%20-500%20437%20-505%20440%20-516C407%20-547%20355%20-588%20355%20-588ZM488%20-507V-43C488%2028%20513%2046%20613%2046H737C922%2046%20965%2031%20965%20-10C965%20-27%20957%20-38%20928%20-48L925%20-192H914C897%20-126%20882%20-71%20872%20-53C866%20-43%20860%20-40%20846%20-39C830%20-37%20791%20-37%20743%20-37H628C586%20-37%20579%20-43%20579%20-62V-438H805V-352H819C850%20-352%20896%20-370%20897%20-377V-714C920%20-719%20938%20-729%20945%20-737L842%20-817L794%20-764H465L474%20-735H805V-467H592L488%20-508ZM324%20-41H183V-234H324ZM183%2050V-12H324V44H339C368%2044%20410%2025%20411%2018V-221C430%20-225%20445%20-232%20451%20-240L358%20-311L314%20-263H187L97%20-301V77H110C146%2077%20183%2058%20183%2050Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E);
  --chip-red: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cpath%20d%3D%22M7.4%201.2H56.599999999999994A6.2%206.2%200%200%200%2062.8%207.4V56.599999999999994A6.2%206.2%200%200%200%2056.599999999999994%2062.8H7.4A6.2%206.2%200%200%200%201.2%2056.599999999999994V7.4A6.2%206.2%200%200%200%207.4%201.2Z%22%20fill%3D%22none%22%20stroke%3D%22%23b3262b%22%20stroke-width%3D%221.7%22%2F%3E%3Cpath%20d%3D%22M10.0%206.4H54.0A3.6%203.6%200%200%200%2057.6%2010.0V54.0A3.6%203.6%200%200%200%2054.0%2057.6H10.0A3.6%203.6%200%200%200%206.4%2054.0V10.0A3.6%203.6%200%200%200%2010.0%206.4Z%22%20fill%3D%22none%22%20stroke%3D%22%23b3262b%22%20stroke-opacity%3D%22.5%22%20stroke-width%3D%22.9%22%2F%3E%3C%2Fsvg%3E);
  --chip-gold: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cpath%20d%3D%22M7.4%201.2H56.599999999999994A6.2%206.2%200%200%200%2062.8%207.4V56.599999999999994A6.2%206.2%200%200%200%2056.599999999999994%2062.8H7.4A6.2%206.2%200%200%200%201.2%2056.599999999999994V7.4A6.2%206.2%200%200%200%207.4%201.2Z%22%20fill%3D%22none%22%20stroke%3D%22%23e2ac6b%22%20stroke-width%3D%221.7%22%2F%3E%3Cpath%20d%3D%22M10.0%206.4H54.0A3.6%203.6%200%200%200%2057.6%2010.0V54.0A3.6%203.6%200%200%200%2054.0%2057.6H10.0A3.6%203.6%200%200%200%206.4%2054.0V10.0A3.6%203.6%200%200%200%2010.0%206.4Z%22%20fill%3D%22none%22%20stroke%3D%22%23e2ac6b%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%22.9%22%2F%3E%3C%2Fsvg%3E);
  --seal-xin: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%22.13%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23000%22%20stop-opacity%3D%22.16%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M6.4%200H57.6A6.4%206.4%200%200%200%2064%206.4V57.6A6.4%206.4%200%200%200%2057.6%2064H6.4A6.4%206.4%200%200%200%200%2057.6V6.4A6.4%206.4%200%200%200%206.4%200Z%22%20fill%3D%22%238c1d22%22%2F%3E%3Cpath%20d%3D%22M6.4%200H57.6A6.4%206.4%200%200%200%2064%206.4V57.6A6.4%206.4%200%200%200%2057.6%2064H6.4A6.4%206.4%200%200%200%200%2057.6V6.4A6.4%206.4%200%200%200%206.4%200Z%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Cpath%20d%3D%22M8.96%205.44H55.04A3.52%203.52%200%200%200%2058.56%208.96V55.04A3.52%203.52%200%200%200%2055.04%2058.56H8.96A3.52%203.52%200%200%200%205.44%2055.04V8.96A3.52%203.52%200%200%200%208.96%205.44Z%22%20fill%3D%22none%22%20stroke%3D%22%23f6e3c4%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%221.02%22%2F%3E%3C%2Fsvg%3E);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; background: #140d0b; }
html, body { width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { padding: 0; border: 0; background: none; cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, blockquote { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: 0; text-wrap: balance; }
p { text-wrap: pretty; }
/* 中文词不拆开断行（脚本把词包进 <cjk-w>，不会碰到页面里已有的 span 样式）；短段落、卡片文字平衡断行，末行不剩一两个字 */
cjk-w { white-space: nowrap; }
.section-copy, .product-meta p, .fact-text, .process-row p, .support-card p, .coop-card-text, .craft-step p, .model-copy > p, .faq-item > button span, .faq-answer p { text-wrap: balance; }
em { font-style: normal; }
[hidden] { display: none !important; }
.container { width: min(100% - 64px, 1440px); margin: 0 auto; }
.arrow { display: none; }

/* 页面在配置渲染完成前保持透明，避免默认文案闪烁；脚本异常时 1.6 秒后自动显示 */
body > :not(.intro) { opacity: 0; animation: boot-fallback 0s linear 1.6s forwards; }
html.is-ready body > :not(.intro) { opacity: 1; animation: none; transition: opacity .25s ease; }
@keyframes boot-fallback { to { opacity: 1; } }

:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.section-light :focus-visible, .dialog :focus-visible { outline-color: var(--seal); }
.dialog input:focus-visible, .dialog select:focus-visible, .dialog textarea:focus-visible, .quick-form input:focus-visible { outline: 0; }

/* ---------- 区块底色 ---------- */
.section-light { position: relative; color: var(--text); background: var(--grain), var(--paper); }
.section-dark { position: relative; color: var(--on-dark); background: var(--lacquer); }
.section-light h2 em, .section-light h3 em { color: var(--tone); }
.section-dark h1 em, .section-dark h2 em, .section-dark h3 em { color: var(--on-dark-3); }

/* ---------- 顶部 ---------- */
.page-progress { position: fixed; inset: 0 auto auto 0; z-index: 130; width: 100%; height: 2px; background: rgba(245,237,223,.06); }
.page-progress span { display: block; width: 0; height: 100%; background: var(--seal); transition: width .15s linear; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 90; width: 100%; border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease; }
.site-header.is-solid { background: rgba(26,18,16,.92); backdrop-filter: blur(14px); border-color: var(--line-dark); }
.header-inner { width: min(100% - 64px, 1440px); margin: 0 auto; min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: auto; height: 62px; object-fit: contain; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); color: var(--on-dark-2); font-size: 14px; letter-spacing: .1em; }
.nav > a { position: relative; padding: 8px 0; transition: color .2s ease; }
.nav > a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--ember); transition: width .28s ease; }
.nav > a:hover, .nav > a:focus-visible { color: var(--on-dark); }
.nav > a:hover::after, .nav > a:focus-visible::after { width: 100%; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 28px; border-radius: 2px;
  font-size: 14px; font-weight: 500; letter-spacing: .16em;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.button-primary { color: var(--on-dark); background: var(--seal); border: 1px solid var(--seal); }
.button-primary:hover { background: var(--seal-deep); border-color: var(--seal-deep); }
.button-ghost { color: var(--on-dark); border: 1px solid rgba(245,237,223,.42); background: transparent; }
.button-ghost:hover { border-color: var(--on-dark); background: rgba(245,237,223,.08); }
.button-large { min-width: 220px; min-height: 54px; }
.nav > a.nav-coop { padding: 9px 20px; border: 1px solid rgba(245,237,223,.4); border-radius: 2px; color: var(--on-dark); transition: background .2s ease, border-color .2s ease; }
.nav > a.nav-coop::after { display: none; }
.nav > a.nav-coop:hover, .nav > a.nav-coop:focus-visible { border-color: var(--on-dark); background: rgba(245,237,223,.08); }

.menu-button { display: none; width: 42px; height: 42px; color: var(--on-dark); }
.menu-button span { display: block; width: 22px; height: 1px; margin: 6px auto; background: currentColor; }

/* ---------- 首屏 ---------- */
.hero { width: 100vw; max-width: none; min-height: 100svh; padding: 136px 0 96px; overflow: hidden; background: var(--lacquer); }
.hero-media { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); overflow: hidden; }
.hero-media img, .hero-overlay { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transform: scale(1.035); }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20,12,10,.9) 0%, rgba(20,12,10,.74) 34%, rgba(20,12,10,.3) 58%, rgba(20,12,10,.6) 100%),
    linear-gradient(180deg, rgba(20,12,10,.14), rgba(20,12,10,.52));
}
.hero-grid {
  position: relative; z-index: 2; min-height: calc(100vh - 232px); display: grid;
  grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 84px); align-items: end;
}
.eyebrow { margin: 0 0 22px; color: var(--on-dark-2); font-size: 14px; letter-spacing: .24em; }
.hero h1 { font-size: clamp(48px, 6.2vw, 96px); line-height: 1.14; }
.hero h1 em { color: var(--ember); }
.hero-intro { max-width: 34em; margin: 30px 0 0; color: var(--on-dark-2); font-size: 17px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-codes { display: flex; flex-wrap: wrap; gap: 8px 30px; margin-top: 44px; font-family: var(--serif); font-size: 15px; letter-spacing: .32em; color: var(--on-dark-3); }

/* 竖排口号：两列书写，末尾一枚朱红“記”字印 */
.hero-slogan {
  position: relative; margin: 0 8px 0 0; padding-bottom: 76px; writing-mode: vertical-rl; text-orientation: upright;
  font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 2.7vw, 42px); line-height: 1.2; letter-spacing: .5em; color: var(--on-dark);
  text-shadow: 0 2px 22px rgba(0,0,0,.55);
}
.hero-slogan span { display: block; }
.hero-slogan span + span { margin-right: 1.15em; color: var(--ember); }
.hero-slogan::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 46px; height: 46px;
  background: var(--seal-ji) center / 100% 100% no-repeat; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35));
  transform: translateX(-50%) rotate(-3deg);
}

.quick-form { display: grid; gap: 8px; }
.quick-form label span, .dialog label > span { display: block; margin-bottom: 8px; color: var(--on-dark-2); font-size: 13px; }
.quick-form input, .dialog input, .dialog select, .dialog textarea {
  width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid rgba(245,237,223,.28); border-radius: 0; outline: 0; background: transparent; color: var(--on-dark);
}
.quick-form input::placeholder { color: var(--on-dark-3); }
.quick-form input:focus { border-color: var(--ember); }
.quick-form small { color: rgba(245,237,223,.66); font-size: 13px; line-height: 1.8; }

.concept-row { position: absolute; z-index: 2; left: 50%; bottom: 28px; width: min(100% - 64px, 1440px); transform: translateX(-50%); pointer-events: none; }
.concept-tag {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 2px;
  background: rgba(20,12,10,.55); backdrop-filter: blur(8px); color: var(--on-dark-2); font-size: 13px; letter-spacing: .12em;
}
.concept-tag::before { content: ""; width: 6px; height: 6px; background: var(--seal); }
.model-photo { position: relative; }
.model-photo .concept-tag { position: absolute; left: 18px; top: 18px; z-index: 3; }

/* 回纹分隔带：首屏与正文之间、正文与结尾之间 */
.hui-band, .finale::before { height: 30px; background: var(--hui) repeat-x center / 16px 16px, #140d0b; }
.hui-band { border-top: 1px solid var(--line-dark); }

/* ---------- 分区标题：朱红印章 + 宋体标题 ---------- */
.story-section, .craft-section, .products-section, .model-section { padding: clamp(96px, 11vw, 160px) 0; }
.story-head, .section-head, .finale-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: clamp(28px, 4vw, 72px); align-items: end; }
/* 章节标签：大写汉字序号印 + 题签 + 渐隐细线。序号按页面上实际显示的顺序自动编（壹、贰、叁……），隐藏的板块不占号 */
body { counter-reset: chapter; }
.section-index {
  position: relative; display: inline-flex; align-items: center; gap: 16px; margin: 0 0 26px; padding: 0;
  color: var(--text); font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: .42em; counter-increment: chapter;
}
.section-index::before {
  content: counter(chapter, simp-chinese-formal); display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0 0 1px;
  color: var(--seal); background: var(--chip-red) center / 100% 100% no-repeat;
  font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: 0;
}
.section-index::after { content: ""; flex: none; width: clamp(48px, 7vw, 96px); height: 1px; margin-left: -4px; background: linear-gradient(90deg, rgba(179, 38, 43, .75), rgba(179, 38, 43, 0)); transform-origin: left center; }
.section-index.light { color: var(--on-dark); }
.section-index.light::before { color: var(--ember); background-image: var(--chip-gold); }
.section-index.light::after { background: linear-gradient(90deg, rgba(226, 172, 107, .8), rgba(226, 172, 107, 0)); }
.section-index.no-num::before { content: ""; width: 8px; height: 8px; border: 0; outline: 0; background: var(--ember); transform: rotate(45deg); }
.story-head h2, .section-head h2, .finale h2 { font-size: clamp(34px, 4vw, 60px); line-height: 1.24; }
.story-copy, .section-copy { color: var(--muted); font-size: 16px; line-height: 2; }
.story-copy p { margin: 0 0 16px; }
.light-copy { color: var(--on-dark-2); }

/* ---------- 品牌故事 ---------- */
.story-grid { margin-top: 76px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: stretch; }
.story-image { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--lacquer); }
.story-image img, .model-photo img, .product-photo img { width: 100%; height: 100%; object-fit: cover; }
/* 品牌信念：朱红底 + 深浅渐变，双层金线框，大号“信”做水印；金句分行、末句泛金，下面是细金线与说明，落款在底部 */
.quote-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; padding: 50px 56px 46px; color: var(--on-dark);
  background:
    radial-gradient(90% 70% at 8% 0%, rgba(255, 128, 112, .26), rgba(255, 128, 112, 0) 62%),
    radial-gradient(85% 80% at 100% 100%, rgba(58, 6, 10, .6), rgba(58, 6, 10, 0) 64%),
    var(--seal);
  box-shadow: inset 0 0 0 1px rgba(255, 224, 190, .08);
}
.quote-card::before, .quote-card::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.quote-card::before { inset: 14px; border: 1px solid rgba(241, 207, 158, .55); }
.quote-card::after { inset: 21px; border: 1px solid rgba(245, 237, 223, .13); }
.quote-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.quote-card .quote-top span { color: var(--on-dark); font-size: 14px; letter-spacing: .34em; }
.quote-seal {
  width: 40px; height: 40px; display: grid; place-items: center; transform: rotate(-4deg); font-family: var(--serif); font-size: 21px; font-style: normal; font-weight: 600; line-height: 1;
  color: #f6e3c4; background: var(--seal-xin) center / 100% 100% no-repeat; padding-bottom: 1px;
}
.quote-card blockquote { margin: auto 0 0; padding-top: 30px; font-size: clamp(27px, 3.5vw, 54px); line-height: 1.5; letter-spacing: .02em; }
.quote-card blockquote::before { content: "“"; display: block; height: .62em; margin-bottom: .1em; margin-left: -.04em; font-family: Georgia, "Times New Roman", "Noto Serif", serif; font-size: 2.6em; font-weight: 700; line-height: 1; color: #f1cf9e; opacity: .92; }
.q-mark { display: none; }
.q-line { display: block; }
.q-em { color: #f6d9a8; }
.quote-rule { display: flex; align-items: center; gap: 10px; margin: 32px 0 22px; }
.quote-rule::before { content: ""; width: 64px; height: 1px; background: linear-gradient(90deg, rgba(241, 207, 158, .95), rgba(241, 207, 158, .25)); }
.quote-rule i { width: 6px; height: 6px; transform: rotate(45deg); background: #f1cf9e; }
.quote-card > p { margin: 0 0 auto; max-width: 30em; text-wrap: pretty; color: rgba(245, 237, 223, .92); font-size: 16px; line-height: 2; }
.quote-sign { position: relative; margin-top: 30px; padding-top: 38px; display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 18px; letter-spacing: .3em; }
.quote-sign::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px; background: var(--hui) repeat-x left center / 16px 16px; opacity: .7; }
.quote-sign i { width: 38px; height: 1px; background: rgba(241, 207, 158, .85); }
.sign-mark { display: block; width: auto; height: 22px; opacity: .96; }
.quote-glyph { position: absolute; z-index: -1; right: -2%; bottom: -13%; font-family: var(--serif); font-size: clamp(230px, 27vw, 430px); font-weight: 600; line-height: 1; color: rgba(255, 236, 214, .075); pointer-events: none; user-select: none; }

/* ---------- 匠心工艺 ---------- */
.craft-section { background: radial-gradient(circle at 90% 6%, rgba(179,38,43,.22), transparent 28%), var(--lacquer); }
.craft-grid { margin-top: 84px; display: grid; grid-template-columns: repeat(var(--craft-cols, 4), minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.craft-step { padding: 38px 30px 8px; border-left: 1px solid var(--line-dark); }
.craft-step:first-child { padding-left: 0; border-left: 0; }
.craft-no {
  display: grid; place-items: center; flex: none; width: 54px; height: 54px; padding: 0 0 2px .08em; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1; color: #f8f0e1;
  background: var(--seal-tile) center / 100% 100% no-repeat;
}
.craft-step h3 { margin-top: 20px; font-size: clamp(26px, 2.3vw, 32px); color: var(--on-dark); }
.craft-step p { margin: 12px 0 0; color: var(--on-dark-2); font-size: 15px; line-height: 1.95; }
.craft-visual { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.craft-quote { margin: 22px 0 0; padding: 2px 0 2px 14px; border-left: 2px solid var(--seal); font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.75; color: var(--on-dark); }
.craft-quote small { display: block; margin: 0 0 4px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .3em; color: var(--ember); }
.craft-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.craft-tags li { padding: 3px 12px; border: 1px solid rgba(226, 172, 107, .32); border-radius: 999px; color: var(--on-dark-2); font-size: 13px; letter-spacing: .08em; }
.craft-art { display: block; flex: none; width: clamp(96px, 9vw, 128px); height: auto; overflow: visible; color: var(--ember); --art-sw: 2.4; }
.craft-art path {
  fill: none; stroke: currentColor; stroke-width: var(--art-sw); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; fill-opacity: 1;
  transition: stroke-dashoffset 1.4s var(--ease-out) calc(var(--i, 0) * .045s), fill-opacity .9s ease calc(.5s + var(--i, 0) * .03s);
}
.craft-art path.fill { fill: rgba(226, 172, 107, .12); }
.craft-art path.warm { fill: rgba(226, 172, 107, .26); }
.craft-art path.sauce { fill: rgba(196, 92, 40, .5); stroke: #f0b078; }
.craft-art path.flame { fill: rgba(236, 130, 52, .38); stroke: #f4b46c; }
.craft-art path.flame-in { fill: rgba(255, 224, 168, .55); stroke: #ffe6b8; }
.craft-art path.dim { stroke-opacity: .45; }
.craft-art path.fine { stroke-width: calc(var(--art-sw) * .6); stroke-opacity: .85; }
.craft-art path.dim.fine { stroke-opacity: .4; }
.craft-art path.speck { fill: currentColor; stroke: none; }
.craft-art path.cream { fill: rgba(255, 240, 205, .5); }
.craft-art path.toast { fill: rgba(214, 138, 58, .6); stroke: none; }
.craft-art path.leaf { fill: rgba(150, 166, 92, .18); }
.craft-step.reveal:not(.in-view) .craft-art path { stroke-dashoffset: 1; fill-opacity: 0; }


/* ---------- 门店 ---------- */
.model-section { background: radial-gradient(circle at 12% 12%, rgba(179,38,43,.22), transparent 26%), var(--lacquer); }
.model-grid { margin-top: 76px; display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.model-photo { overflow: hidden; aspect-ratio: 4 / 5; background: var(--lacquer-2); }
.model-copy { padding: 44px 44px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line-dark); background: rgba(245,237,223,.03); }
.model-kicker { margin: 0; color: var(--ember); font-size: 14px; letter-spacing: .2em; }
.model-copy h3 { margin-top: 16px; font-size: clamp(30px, 3vw, 46px); line-height: 1.28; }
.model-copy p { margin: 18px 0 0; max-width: 34em; color: var(--on-dark-2); font-size: 16px; line-height: 2; }
.model-copy p.model-kicker { margin: 0; color: var(--ember); font-size: 14px; line-height: 1.6; }
.model-copy ul { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; border-top: 1px solid var(--line-dark); }
.model-copy li { position: relative; padding: 15px 0 15px 22px; border-bottom: 1px solid var(--line-dark); color: var(--on-dark-2); font-size: 15px; }
.model-copy li::before { content: ""; position: absolute; left: 0; top: 1.55em; width: 7px; height: 7px; background: var(--seal); transform: translateY(-50%); }

/* 到店与点单：没有门店地址、没有二维码时整块不显示 */
.visit-row { margin-top: 20px; display: grid; gap: 20px; grid-template-columns: 1fr; }
.visit-row[data-cols="2"] { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.visit-card { padding: 34px 38px; border: 1px solid var(--line-dark); background: rgba(245,237,223,.03); }
.visit-card h3 { font-size: 26px; line-height: 1.3; }
.visit-stores ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 0 36px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.visit-stores li { padding: 16px 0; border-top: 1px solid var(--line-dark); }
.visit-stores li b { display: block; font-family: var(--serif); font-weight: 600; font-size: 20px; }
.visit-stores li span { display: block; margin-top: 6px; color: var(--on-dark-2); font-size: 14px; line-height: 1.8; }
.visit-qr { display: flex; align-items: center; gap: 28px; }
.visit-qr img { flex: none; width: 148px; height: 148px; padding: 8px; background: #fff; object-fit: contain; }
.visit-qr p { margin: 10px 0 0; color: var(--on-dark-2); font-size: 14px; line-height: 1.9; }
.image-note { margin-top: 28px; color: var(--on-dark-3); }

/* ---------- 品牌合作：支持、流程、问答、说明合并在同一章 ---------- */
.coop-section { padding: clamp(96px, 11vw, 160px) 0 clamp(88px, 9vw, 128px); }
.coop-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .6fr); gap: clamp(28px, 4vw, 72px); align-items: end; }
.coop-intro h2 { font-size: clamp(34px, 4vw, 60px); line-height: 1.24; }
.coop-intro .section-copy { max-width: 32em; margin: 20px 0 0; }
.coop-card { position: relative; padding: 30px 30px 26px; color: var(--on-dark); background: var(--lacquer); }
.coop-card::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 3px; background: var(--seal); }
.coop-card h3 { font-size: 30px; line-height: 1.28; }
.coop-card-text { margin: 12px 0 16px; color: var(--on-dark-2); font-size: 14px; line-height: 1.9; }
.coop-card-line { height: 1px; margin: 20px 0; background: var(--line-dark); }
.paused-card-button { width: 100%; }

.coop-block { margin-top: clamp(80px, 8.5vw, 124px); }
.coop-block > .section-head { padding-top: 40px; border-top: 1px solid var(--line); }
.coop-block .section-head h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.28; }
.coop-label { display: flex; align-items: center; margin: 0 0 14px; color: var(--seal); font-size: 14px; font-weight: 500; letter-spacing: .3em; }
.coop-label::after { content: ""; flex: none; width: 56px; height: 1px; margin-left: 10px; background: linear-gradient(90deg, currentColor, transparent); opacity: .55; }
.coop-label::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; background: var(--seal); vertical-align: middle; }


/* ---------- 结尾与页脚 ---------- */
.finale { position: relative; padding-top: clamp(120px, 13vw, 190px); padding-bottom: 38px; background: radial-gradient(circle at 14% 22%, rgba(179,38,43,.24), transparent 26%), var(--lacquer); }
.finale::before { content: ""; position: absolute; left: 0; right: 0; top: 0; }
.finale h2 { font-size: clamp(36px, 4.4vw, 68px); }
.finale p { max-width: 36em; margin-top: 22px; color: var(--on-dark-2); font-size: 16px; line-height: 2; }
.finale-actions { display: grid; gap: 28px; justify-items: start; }
.contact-note { padding: 2px 0 2px 22px; border-left: 2px solid var(--seal); }
.contact-note span { display: block; color: var(--ember); font-size: 14px; letter-spacing: .2em; }
.contact-note p { margin: 10px 0 0; color: var(--on-dark-2); font-size: 14px; line-height: 1.95; }
.site-footer { margin-top: 80px; padding: 26px 0 40px; display: grid; grid-template-columns: 1fr auto auto; gap: 22px 48px; align-items: start; border-top: 1px solid var(--line-dark); color: rgba(245,237,223,.66); font-size: 13px; }
.footer-logo { height: 44px; }
.site-footer p { margin: 0 0 6px; line-height: 1.8; }
.site-footer .footer-slogan { margin-bottom: 8px; font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: .3em; color: var(--ember); }
.footer-legal { text-align: right; }
.site-footer a:hover { color: var(--on-dark); }
.site-footer #footer-icp a, .site-footer #footer-police a { text-decoration: none; transition: color .3s ease; }
.site-footer p:empty, #footer-contact:empty { display: none; }
/* 页脚三列（≥1181px）：Logo、口号、备案信息第一行的中线对齐到同一水平线（以 44px 的 Logo 为基准） */
@media (min-width: 1181px) {
  .footer-meta .footer-slogan { margin-top: 5px; }
  .footer-legal { padding-top: 8px; }
}

/* ---------- 弹窗 ---------- */
.dialog-backdrop { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; background: rgba(14,8,6,.78); backdrop-filter: blur(12px); animation: fade-in .2s ease both; }
.dialog { position: relative; width: min(100%, 650px); max-height: calc(100vh - 40px); overflow: auto; padding: 46px 40px 34px; color: var(--text); background: var(--grain), var(--paper-hi); border-top: 3px solid var(--seal); box-shadow: 0 40px 120px rgba(0,0,0,.4); }
.paused-dialog { width: min(100%, 620px); }
.dialog-close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; color: #74685b; font-size: 28px; line-height: 1; }
.dialog h2 { font-size: 34px; line-height: 1.3; }
.dialog-copy { margin: 14px 0 24px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.paused-symbol, .success-state > span {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 2px;
  color: var(--on-dark); background: var(--seal); font-family: var(--serif); font-size: 24px;
  box-shadow: inset 0 0 0 2px var(--seal), inset 0 0 0 3px rgba(245,237,223,.5);
}
.paused-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 18px; }
.paused-grid article { padding: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.4); }
.paused-grid span { color: var(--seal); font-size: 13px; letter-spacing: .2em; }
.paused-grid p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.paused-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dialog label > span { color: #6a5f53; }
.dialog input, .dialog select, .dialog textarea { color: var(--text); border-bottom: 1px solid #c4b7a4; }
.dialog input:focus, .dialog select:focus, .dialog textarea:focus { border-color: var(--seal); }
.dialog input::placeholder, .dialog textarea::placeholder { color: #85796c; }
.dialog select { min-height: 45px; }
.dialog textarea { resize: vertical; }
.full { grid-column: 1 / -1; }
.form-submit { width: 100%; margin-top: 8px; }
.dialog small { display: block; margin-top: 12px; color: #75695d; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.waitlist-form { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.waitlist-title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 24px; }
.waitlist-intro { margin: 8px 0 16px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.dialog .consent { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 4px; }
.dialog .consent input { flex: none; width: 17px; height: 17px; margin: 3px 0 0; padding: 0; border: 0; accent-color: var(--seal); }
.dialog .consent > span { display: block; margin: 0; color: #6a5f53; font-size: 13px; line-height: 1.8; }
.consent a { color: var(--seal); text-decoration: underline; text-underline-offset: 3px; }
.form-error { margin: 10px 0 0; color: #a3151b; font-size: 14px; line-height: 1.6; }
.waitlist-form .form-submit { margin-top: 14px; }
.success-state { min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.success-state > p { max-width: 390px; margin: 12px 0 26px; color: var(--muted); font-size: 15px; line-height: 1.9; }

@keyframes fade-in { from { opacity: 0; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .story-head, .section-head, .finale-grid, .coop-head { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: minmax(0, 44%) minmax(0, 1fr); }
  .model-copy { padding: 34px 32px; }
  .model-copy ul { grid-template-columns: 1fr; }
  .craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .craft-step, .craft-step:first-child { padding: 34px 28px 20px; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .craft-step:nth-child(2n+1) { padding-left: 0; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; }
  .footer-legal { text-align: left; }
  .visit-row[data-cols="2"] { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .header-inner { width: calc(100% - 32px); min-height: 74px; }
  .brand-logo { height: 54px; }
  .menu-button { display: block; z-index: 3; }
  .nav { display: none; position: absolute; top: 100%; left: 16px; right: 16px; padding: 18px; flex-direction: column; align-items: stretch; gap: 10px; border: 1px solid var(--line-dark); background: rgba(20,12,10,.97); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
  .nav.nav-open { display: flex; }
  .nav > a.nav-coop { text-align: center; margin-top: 4px; }
  .hero { padding-top: 114px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media img { object-position: 66% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(20,12,10,.84) 0%, rgba(20,12,10,.7) 42%, rgba(20,12,10,.93) 100%); }
  /* 口号改为横排，放在关键词下面 */
  .hero-slogan { writing-mode: horizontal-tb; text-orientation: mixed; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--seal); font-size: 22px; letter-spacing: .3em; display: flex; flex-wrap: wrap; gap: 0 1em; }
  .hero-slogan span, .hero-slogan span + span { display: inline; margin: 0; }
  .hero-slogan::after { display: none; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .story-grid, .model-grid { grid-template-columns: 1fr; }
  .visit-qr { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container, .header-inner { width: calc(100% - 32px); }
  .story-section, .craft-section, .products-section, .model-section { padding-top: 92px; padding-bottom: 92px; }
  .coop-section { padding-top: 84px; padding-bottom: 72px; }
  .coop-block { margin-top: 64px; }
  .hero { padding-top: 116px; padding-bottom: 72px; min-height: auto; }
  .finale { padding-top: 112px; padding-bottom: 32px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 58px); }
  .hero-intro { font-size: 16px; }
  .hero-codes { margin-top: 32px; gap: 6px 22px; }
  .hero-slogan { margin-top: 28px; font-size: 19px; }
  .story-head h2, .section-head h2, .finale h2, .coop-intro h2 { font-size: clamp(25px, 7.3vw, 40px); }
  .coop-block .section-head h2 { font-size: clamp(24px, 6.6vw, 34px); }
  .section-index { margin-bottom: 20px; gap: 14px; font-size: 14px; }
  .section-index::before { width: 38px; height: 38px; font-size: 19px; }
  .story-grid, .model-grid, .craft-grid { margin-top: 44px; }
  .quote-card { padding: 40px 30px 34px; }
  .quote-card::before { inset: 10px; }
  .quote-card::after { inset: 16px; }
  .quote-card blockquote { font-size: clamp(22px, 5.9vw, 32px); padding-top: 22px; }
  .quote-glyph { font-size: 240px; bottom: -8%; }
  .quote-seal { width: 34px; height: 34px; font-size: 18px; }
  .coop-card, .model-copy, .dialog { padding: 26px 22px; }
  .dialog { padding: 40px 22px 26px; }
  .craft-grid { grid-template-columns: 1fr; }
  .craft-step, .craft-step:nth-child(n) { display: block; padding: 26px 0 24px; }
  .craft-visual { flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; }
  .craft-no { width: 46px; height: 46px; font-size: 25px; }
  .craft-art { width: min(46vw, 176px); --art-sw: 2.2; }
  .craft-step h3 { margin-top: 14px; font-size: 24px; }
  .craft-step p { margin-top: 8px; }
  .visit-card { padding: 26px 22px; }
  .paused-grid { display: none; }
  .concept-row { width: calc(100% - 32px); bottom: 22px; }
  .site-footer { padding-bottom: 36px; }
  .hui-band, .finale::before { height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 窄卡片标题：按分句换行，避免断在词中间 */
.clause { display: inline-block; }

/* ==================================================================== *
 * v1.4 · 动效与呼吸感
 * 原则：只动 transform / opacity；慢进慢出；悬浮有回应但不跳；
 * 内容永远不依赖动效——触屏与“减少动态效果”偏好会自动降级（见文件末尾）。
 * ==================================================================== */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-stamp: cubic-bezier(.2, 1.5, .4, 1);
}
::selection { background: var(--seal); color: var(--on-dark); }

/* 有背景大字与氛围光的区块：独立层叠，超出部分裁掉 */
.story-section, .craft-section, .products-section, .model-section, .recruit-section, .doors-section, .coop-cover, .coop-section, .finale { isolation: isolate; overflow: hidden; }
/* 用 clip 而不是 hidden：hidden 会让内部的 sticky（工艺钉住滚动）失效 */
@supports (overflow: clip) {
  body { overflow-x: clip; }
  .story-section, .craft-section, .products-section, .model-section, .recruit-section, .doors-section, .coop-cover, .coop-section, .finale { overflow: clip; }
}

/* ---------- 关键帧 ---------- */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 34px, 0); } to { opacity: 1; transform: none; } }
@keyframes ch-in { from { opacity: 0; transform: translate3d(0, .55em, 0); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes ink { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wipe-up { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes stamp-seal { 0% { opacity: 0; transform: translateX(-50%) rotate(-16deg) scale(2.1); } 55% { opacity: 1; transform: translateX(-50%) rotate(-2deg) scale(.92); } 100% { opacity: 1; transform: translateX(-50%) rotate(-3deg) scale(1); } }
@keyframes stamp-tag { 0% { opacity: 0; transform: rotate(-12deg) scale(1.8); } 60% { opacity: 1; transform: rotate(-3deg) scale(.94); } 100% { opacity: 1; transform: rotate(-2deg) scale(1); } }
@keyframes hero-settle { from { transform: scale(1.18); filter: brightness(.5); } to { transform: scale(1.035); filter: brightness(1); } }
@keyframes hero-breathe { from { transform: scale(1.035) translate3d(0, 0, 0); } to { transform: scale(1.085) translate3d(-1.2%, -1%, 0); } }
@keyframes drift { 0% { opacity: .65; transform: translate3d(0, 0, 0) scale(1); } 100% { opacity: 1; transform: translate3d(7vmax, 5vmax, 0) scale(1.16); } }
@keyframes sheen { from { transform: translateX(-140%) skewX(-18deg); } to { transform: translateX(560%) skewX(-18deg); } }
@keyframes hui-drift { to { background-position: 160px center, 0 0; } }
@keyframes dialog-in { from { opacity: 0; transform: translate3d(0, 24px, 0) scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- 页面进入 ---------- */
html.is-ready body > :not(.intro) { transition: opacity .8s ease; }

/* 首屏：背景缓缓落定后持续“呼吸”；文字逐层升起 */
.hero-media { top: -24px; bottom: -24px; transform: translateX(-50%) translate3d(var(--px, 0px), calc(var(--sy, 0px) + var(--py, 0px)), 0); will-change: transform; }
html.is-ready .hero-media img { animation: hero-settle 3.4s var(--ease-out) backwards, hero-breathe 30s ease-in-out 3.4s infinite alternate; }
html.is-ready .hero .eyebrow { animation: rise 1.2s var(--ease-out) .2s both; }
.hero h1 .ch { display: inline-block; }
html.is-ready .hero h1 .ch { animation: ch-in 1.3s var(--ease-out) calc(.3s + var(--i, 0) * 70ms) both; }
html.is-ready .hero h1:not(:has(.ch)) { animation: rise 1.3s var(--ease-out) .3s both; }
html.is-ready .hero-intro { animation: rise 1.3s var(--ease-out) .95s both; }
html.is-ready .hero-actions { animation: rise 1.3s var(--ease-out) 1.15s both; }
html.is-ready .hero-codes { animation: rise 1.3s var(--ease-out) 1.35s both; }
html.is-ready .hero-codes span { animation: rise 1.1s var(--ease-out) both; }
html.is-ready .hero-codes span:nth-child(1) { animation-delay: 1.4s; }
html.is-ready .hero-codes span:nth-child(2) { animation-delay: 1.5s; }
html.is-ready .hero-codes span:nth-child(3) { animation-delay: 1.6s; }
html.is-ready .hero-codes span:nth-child(4) { animation-delay: 1.7s; }
html.is-ready .hero-slogan span { animation: ink 1.5s var(--ease-out) both; }
html.is-ready .hero-slogan span:nth-child(1) { animation-delay: 1.3s; }
html.is-ready .hero-slogan span:nth-child(2) { animation-delay: 1.75s; }
html.is-ready .hero-slogan::after { animation: stamp-seal .8s var(--ease-stamp) 2.6s both; }
html.is-ready .concept-row { animation: rise 1.2s var(--ease-out) 1.8s both; }

/* 回纹带缓慢流动 */
.hui-band { animation: hui-drift 60s linear infinite; }

/* ---------- 滚动显示：慢一点、远一点 ---------- */
.reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay { --d: .14s; transition-delay: .14s; }
.reveal-delay-2 { --d: .28s; transition-delay: .28s; }

/* 分区印章：盖下去 */
.reveal:not(.in-view) .section-index, .reveal:not(.in-view) .coop-label { opacity: 0; }
.reveal.in-view .section-index { animation: chip-in .9s var(--ease-out) .15s backwards; }
.reveal.in-view .section-index::before { animation: chip-seal .8s var(--ease-stamp) .3s backwards; }
.reveal.in-view .section-index::after { animation: chip-line 1.2s var(--ease-out) .5s backwards; }
@keyframes chip-in { from { opacity: 0; transform: translate3d(-10px, 0, 0); } }
@keyframes chip-seal { from { opacity: 0; transform: scale(1.35); } }
@keyframes chip-line { from { transform: scaleX(0); } }
.reveal.in-view .coop-label { animation: rise 1s var(--ease-out) .1s backwards; }

/* 图片：幕布升起，内部从放大回到原尺寸；停稳后完整显示（不裁切） */
/* 注意：clip-path 放在内层 img，不放在被观察的外框上——否则 IntersectionObserver 看不到它，永远不会触发 */
.story-image.reveal, .model-photo.reveal { opacity: 1; transform: none; transition: none; background: transparent; }
.story-image.reveal img, .model-photo.reveal img { background: var(--lacquer); }
.story-image.reveal:not(.in-view) img, .model-photo.reveal:not(.in-view) img { clip-path: inset(100% 0 0 0); }
.story-image.reveal.in-view img, .model-photo.reveal.in-view img { animation: wipe-up 1.6s var(--ease-out) var(--d, 0s) backwards; }
.model-photo .concept-tag { transition: opacity 1s var(--ease-out) 1s; }
.model-photo.reveal:not(.in-view) .concept-tag { opacity: 0; }
.story-image img, .model-photo img { transform: scale(1); transition: transform 2s var(--ease-out); }
.story-image.reveal:not(.in-view) img, .model-photo.reveal:not(.in-view) img { transform: scale(1.22); }

/* ---------- 背景大字与氛围光：慢速、低对比的“呼吸” ---------- */
.glyph {
  position: absolute; z-index: -1; right: -3vw; top: 4%; font-family: var(--serif); font-weight: 600; line-height: 1;
  font-size: clamp(240px, 36vw, 600px); color: rgba(42, 32, 27, .033); pointer-events: none; user-select: none;
  transform: translate3d(0, var(--gy, 0px), 0); will-change: transform;
}
.glyph.glyph-l { left: -3vw; right: auto; }
.glyph.glyph-b { top: auto; bottom: -6%; }
.section-dark .glyph { color: rgba(245, 237, 223, .03); }
.ambient { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient i {
  position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%; will-change: transform, opacity;
  background: radial-gradient(circle, rgba(179, 38, 43, .30), rgba(179, 38, 43, 0) 62%); animation: drift 24s ease-in-out infinite alternate;
}
.ambient i:nth-child(1) { left: -22vmax; top: -22vmax; }
.ambient i:nth-child(2) { right: -26vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(226, 172, 107, .17), rgba(226, 172, 107, 0) 62%); animation-duration: 31s; animation-direction: alternate-reverse; }
.is-offscreen .ambient i, .ambient.is-offscreen i, .hero.is-offscreen .hero-glow, .hero.is-offscreen .hero-media img { animation-play-state: paused; }

/* ---------- 顶栏：向下滚动收起，向上滚动出现；吸顶后收紧 ---------- */
.site-header { transition: background .4s ease, border-color .4s ease, transform .7s var(--ease-out); }
.site-header.is-hidden { transform: translate3d(0, -100%, 0); }
.site-header:focus-within { transform: none; }
.header-inner { transition: min-height .5s var(--ease-out); }
.brand-logo { transition: height .5s var(--ease-out); }
.site-header.is-solid .header-inner { min-height: 70px; }
.site-header.is-solid .brand-logo { height: 52px; }
.nav > a { transition: color .3s ease; }
.nav > a::after { transition: width .6s var(--ease-out); }
.nav > a.is-current { color: var(--on-dark); }
.nav > a.is-current::after { width: 100%; }

/* ---------- 按钮：流光、填充、磁吸 ---------- */
.button { position: relative; overflow: hidden; isolation: isolate; transition: background .35s ease, border-color .35s ease, color .35s ease, box-shadow .6s var(--ease-out), transform .6s var(--ease-out); }
.button::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 34%; background: linear-gradient(100deg, transparent, rgba(255, 238, 210, .34), transparent); transform: translateX(-140%) skewX(-18deg); pointer-events: none; }
.button-primary:hover { box-shadow: 0 16px 36px -14px rgba(179, 38, 43, .75); }
.button-primary:hover::after { animation: sheen 1.2s var(--ease-out); }
.button-ghost, .nav > a.nav-coop {
  background: linear-gradient(var(--on-dark), var(--on-dark)) no-repeat left center / 0% 100%, transparent;
  transition: background-size .55s var(--ease-out), border-color .35s ease, color .35s ease, transform .6s var(--ease-out);
}
.button-ghost:hover, .nav > a.nav-coop:hover, .nav > a.nav-coop:focus-visible { background: linear-gradient(var(--on-dark), var(--on-dark)) no-repeat left center / 100% 100%, transparent; color: var(--lacquer); border-color: var(--on-dark); }
.nav > a.nav-coop.is-current { color: var(--on-dark); background-color: rgba(245, 237, 223, .1); }
.nav > a.nav-coop.is-current:hover { color: var(--lacquer); }

/* 按钮：和印章同一语言——面内多一圈细框（红底按钮是浅色细框，描边按钮是淡细框，悬浮填色后换成深色细框） */
.button::before, .nav > a.nav-coop::before { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(245, 237, 223, .3); border-radius: 1px; pointer-events: none; transition: border-color .35s ease; }
.button-ghost::before, .nav > a.nav-coop::before { border-color: rgba(245, 237, 223, .17); }
.button-primary:hover::before { border-color: rgba(245, 237, 223, .46); }
.button-ghost:hover::before, .nav > a.nav-coop:hover::before, .nav > a.nav-coop:focus-visible::before { border-color: rgba(26, 18, 16, .26); }

/* ---------- 卡片悬浮：纸面浮起 + 红线从左扫过 + 光晕跟随指针 ---------- */
.support-card, .process-row, .fact, .faq-item, .craft-step, .visit-card, .model-copy { position: relative; isolation: isolate; }
.support-card::before, .process-row::before, .fact::before, .faq-item::before, .craft-step::before, .visit-card::before, .model-copy::before {
  content: ""; position: absolute; z-index: -1; inset: -12px -20px; opacity: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(179, 38, 43, .1), rgba(179, 38, 43, 0) 70%), rgba(255, 253, 247, .66);
  box-shadow: 0 34px 54px -32px rgba(70, 38, 20, .42), 0 0 0 1px rgba(42, 32, 27, .05);
  transition: opacity .5s var(--ease-out), transform .8s var(--ease-out);
}
.craft-step::before, .visit-card::before, .model-copy::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(179, 38, 43, .34), rgba(179, 38, 43, 0) 70%), rgba(245, 237, 223, .04);
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(226, 172, 107, .16);
}
.visit-card::before, .model-copy::before { inset: 0; }
.support-card::after, .process-row::after, .fact::after, .faq-item::after, .craft-step::after, .visit-card::after, .model-copy::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--seal), var(--ember)); transform: scaleX(0); transform-origin: right center; transition: transform .9s var(--ease-out);
}
.craft-step::after { bottom: 0; }
.support-card span.support-icon { transition: transform .8s var(--ease-out); }
.process-no, .fact-value b, .craft-no, .faq-item > button span, .support-card h3, .process-row h3 { transition: transform .8s var(--ease-out), color .5s ease, -webkit-text-stroke-color .5s ease; }
.coop-card::before { transition: width 1s var(--ease-out); }
.fact-value b { display: inline-block; transition: opacity .5s ease, color .5s ease; }
.fact-value b.count-pending { opacity: 0; }

@media (hover: hover) and (pointer: fine) {
  .support-card:hover::before, .process-row:hover::before, .fact:hover::before, .faq-item:hover::before, .craft-step:hover::before, .visit-card:hover::before, .model-copy:hover::before { opacity: 1; transform: translate3d(0, -4px, 0); }
  .visit-card:hover::before, .model-copy:hover::before { transform: none; }
  .support-card:hover::after, .process-row:hover::after, .fact:hover::after, .faq-item:hover::after, .craft-step:hover::after, .visit-card:hover::after, .model-copy:hover::after { transform: scaleX(1); transform-origin: left center; }
  .support-card:hover span.support-icon { transform: translateY(-5px) rotate(-8deg) scale(1.1); }
  .process-row:hover .process-no { transform: translateX(10px); }
  .fact:hover .fact-value b { color: var(--seal); }
  .craft-step:hover .craft-no { transform: translateY(-6px); }
  .craft-step:hover h3 { transform: translateX(4px); }
  .faq-item:hover > button span { transform: translateX(10px); }
  .story-image:hover img, .model-photo:hover img { transform: scale(1.05); transition-duration: 1.6s; }
  .coop-card:hover::before { width: 100%; }
}

/* ==================================================================== *
 * v1.7.5 · 品牌合作板块：图文并茂
 * 首页其他板块都有暖金色的食物与门店图，合作板块之前只有文字和浅灰小卡片，所以显得素。现在：
 *   头部  左标题，右门店夜景大图，漆黑咨询卡叠在图的左下角
 *   事实  漆黑整幅横带，右侧淡入一张紫米糕（红色印章）的图，上下回纹封边
 *   支持  左边标题 + 大图固定，右边六条清单（大号汉字序号 + 红色印章图标）
 *   流程  漆黑底，金色虚线连起六枚红色印章编号，“一路到开门”
 *   问答  左边标题 + 漆黑咨询卡，右边折叠问答
 * 后台字段不变，只改呈现。图片复用站点图片（后台换图会一起换）。
 * ==================================================================== */
.facts-note { margin: 20px auto 0; color: var(--tone); font-size: 13px; line-height: 1.8; }
.facts-note::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; background: var(--seal); vertical-align: middle; }
.facts-note:empty { display: none; }

/* —— 头部：左标题 + 右大图叠卡 —— */
.coop-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(32px, 5vw, 88px); align-items: stretch; }
.coop-main { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.coop-intro h2 { font-size: clamp(46px, 5.6vw, 84px); line-height: 1.12; }
.coop-intro .section-copy { max-width: 25em; margin: 26px 0 0; color: #574a3f; font-size: 17px; }
.coop-photo { position: relative; margin: 0; min-height: 460px; overflow: hidden; background: var(--lacquer-2); }
.coop-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 88% 50%; }
.coop-photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(245, 237, 223, .34); pointer-events: none; }
.coop-photo .concept-tag { position: absolute; left: 28px; top: 28px; z-index: 2; }
.coop-card { width: 100%; max-width: 520px; margin: 40px 0 0; }

/* —— 事实：漆黑横带 + 右侧淡入的图 —— */
.facts-section {
  position: relative; isolation: isolate; color: var(--on-dark);
  background: radial-gradient(54% 80% at 6% 14%, rgba(179, 38, 43, .3), transparent 70%), radial-gradient(40% 60% at 100% 100%, rgba(226, 172, 107, .09), transparent 70%), var(--lacquer);
}
.facts-section::before, .facts-section::after { content: ""; display: block; height: 30px; background: var(--hui) repeat-x center / 16px 16px, #140d0b; }
.facts-section::before { margin-bottom: clamp(56px, 6vw, 88px); border-bottom: 1px solid var(--line-dark); }
.facts-section::after { margin-top: clamp(56px, 6vw, 88px); border-top: 1px solid var(--line-dark); }
.facts-photo { position: absolute; z-index: -1; top: 31px; right: 0; bottom: 31px; width: min(42%, 640px); opacity: .5; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .25) 38%, #000 78%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .25) 38%, #000 78%); }
.facts-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.facts-section > .section-head { padding-top: 0; border-top: 0; }
.facts-section .coop-label { color: var(--ember); }
.facts-section .coop-label::before { background: var(--ember); }
.facts-section h2 { color: var(--on-dark); }
.facts-section h2 em { color: var(--ember); }
.facts-section .section-copy { color: var(--on-dark-2); }
.facts-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(var(--facts-cols, 3), minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.fact { padding: 42px 36px 14px; border-left: 1px solid var(--line-dark); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact-value { margin: 0; display: flex; align-items: baseline; gap: 10px; color: var(--on-dark); font-family: var(--serif); font-weight: 600; }
.fact-value b { font-weight: 600; font-size: clamp(64px, 7.6vw, 116px); line-height: 1; }
.fact-value small { color: var(--ember); font-size: clamp(22px, 2vw, 30px); }
.fact h3 { margin: 22px 0 0; color: var(--on-dark); font-size: clamp(22px, 1.9vw, 26px); }
.fact .fact-text { margin: 10px 0 0; color: var(--on-dark-2); font-size: 16px; line-height: 1.9; }
.fact::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(179, 38, 43, .34), rgba(179, 38, 43, 0) 70%), rgba(245, 237, 223, .04);
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(226, 172, 107, .16);
}

/* —— 左右分栏（支持、问答）：左边在滚动时固定 —— */
.coop-split { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 112px); align-items: start; padding-top: 56px; border-top: 1px solid var(--line); }
.coop-split-head { position: sticky; top: 108px; }
.coop-split-head .section-head { display: block; }
.coop-split-head .section-copy { max-width: 24em; margin: 20px 0 0; color: #574a3f; font-size: 17px; }

/* —— 支持：左大图 + 右清单 —— */
.support-figure { position: relative; margin: 36px 0 0; height: clamp(240px, calc(100vh - 500px), 440px); overflow: hidden; background: var(--lacquer-2); }
.support-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.support-figure::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(245, 237, 223, .36); pointer-events: none; }
.support-figure .concept-tag { position: absolute; left: 24px; top: 24px; z-index: 2; }
.support-grid { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 0; }
.support-card { display: grid; grid-template-columns: 76px minmax(0, 1fr) 64px; column-gap: 24px; align-items: start; padding: 34px 0 36px; border: 0; border-bottom: 1px solid var(--line); background: none; }
.support-card:first-child { padding-top: 6px; }
.support-card .card-top { display: contents; }
.support-no { grid-column: 1; grid-row: 1 / span 2; margin: 0; color: var(--seal); font-family: var(--serif); font-weight: 600; font-size: 50px; line-height: 1; }
.support-card span.support-icon {
  --ic-a: #b98438; grid-column: 3; grid-row: 1 / span 2; justify-self: end; display: block; width: 64px; height: 64px; color: var(--seal);
  transition: color .5s ease, transform .8s var(--ease-out);
}
.support-icon svg { display: block; width: 100%; height: 100%; overflow: visible; }
.support-icon .fr1 { fill: #f8f3e8; stroke: currentColor; stroke-width: 1.15; transition: fill .5s ease, stroke .5s ease; }
.support-icon .fr2 { fill: none; stroke: var(--ic-a); stroke-width: .7; stroke-opacity: .85; transition: stroke .5s ease; }
.support-icon .ln, .support-icon .acs, .support-icon .ac { stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s ease, fill .5s ease; }
.support-icon .ln { fill: none; stroke: currentColor; stroke-width: 2; }
.support-icon .acs { fill: none; stroke: var(--ic-a); stroke-width: 2; }
.support-icon .ac { fill: var(--ic-a); stroke: var(--ic-a); stroke-width: 1.2; }
.support-card h3 { grid-column: 2; grid-row: 1; font-size: 28px; line-height: 1.3; }
.support-card p { grid-column: 2; grid-row: 2; margin: 12px 0 0; color: #574a3f; font-size: 16px; line-height: 1.95; }

/* —— 流程：漆黑底，金色虚线连起红色印章 —— */
.process-section {
  position: relative; isolation: isolate; padding: clamp(72px, 8vw, 120px) 0 clamp(80px, 9vw, 132px); color: var(--on-dark);
  background: radial-gradient(46% 70% at 96% 0%, rgba(179, 38, 43, .3), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(226, 172, 107, .08), transparent 70%), var(--lacquer);
}
.process-section > .section-head { padding-top: 0; border-top: 0; }
.process-section .coop-label { color: var(--ember); }
.process-section .coop-label::before { background: var(--ember); }
.process-section h2 { color: var(--on-dark); }
.process-section .section-copy { color: var(--on-dark-2); }
.process-list { margin: 64px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 0; }
.process-row { padding: 0 26px 6px 0; border-bottom: 0; }
.process-no {
  display: grid; place-items: center; width: 64px; height: 64px; padding: 0 0 2px .06em; color: #f8f0e1; background: var(--seal-tile) center / 100% 100% no-repeat; font-family: var(--serif); font-weight: 600; font-size: 29px; line-height: 1;
  letter-spacing: .02em;
}
.process-no::after {
  content: ""; position: absolute; left: 82px; right: 14px; top: 32px; height: 1px; transform-origin: left center;
  background: repeating-linear-gradient(90deg, rgba(226, 172, 107, .7) 0 6px, transparent 6px 12px);
  transition: transform 1.1s var(--ease-out) calc(.5s + var(--n, 0) * .14s);
}
.process-row:nth-child(1) { --n: 0; } .process-row:nth-child(2) { --n: 1; } .process-row:nth-child(3) { --n: 2; }
.process-row:nth-child(4) { --n: 3; } .process-row:nth-child(5) { --n: 4; } .process-row:nth-child(6) { --n: 5; }
.process-row:last-child .process-no::after { display: none; }
.process-row.reveal:not(.in-view) .process-no::after { transform: scaleX(0); }
.process-row.in-view .process-no { animation: stamp-down .8s var(--ease-stamp) calc(.2s + var(--n, 0) * .14s) backwards; }
@keyframes stamp-down { from { opacity: 0; transform: scale(1.4); } }
.process-row h3 { margin-top: 26px; color: var(--on-dark); font-size: clamp(22px, 1.8vw, 26px); line-height: 1.35; }
.process-row p { margin: 10px 0 0; color: var(--on-dark-2); font-size: 15.5px; line-height: 1.9; }
.process-row::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(179, 38, 43, .34), rgba(179, 38, 43, 0) 70%), rgba(245, 237, 223, .04);
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(226, 172, 107, .16);
}

/* —— 问答 —— */
.faq-list { margin: 0; border-top: 1px solid var(--line); counter-reset: faq; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > button { width: 100%; min-height: 96px; display: flex; align-items: center; justify-content: flex-start; gap: 18px; text-align: left; }
.faq-item > button::before { content: counter(faq, decimal-leading-zero); counter-increment: faq; flex: none; width: 38px; color: var(--seal); font-family: var(--serif); font-weight: 600; font-size: 20px; }
.faq-item > button span { flex: 1; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; }
.faq-item > button i {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding-bottom: 2px; border: 1px solid var(--line); border-radius: 50%; color: var(--seal); font-style: normal; font-size: 22px; line-height: 1;
  transition: transform .35s var(--ease-out), background .35s ease, color .35s ease, border-color .35s ease;
}
.faq-item.open > button i { transform: rotate(45deg); color: #f6f0e3; background: var(--seal); border-color: var(--seal); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-answer p { max-width: 46em; margin: 0; padding: 0 56px 32px 56px; color: #574a3f; font-size: 16.5px; line-height: 2; }

/* —— 重要说明 —— */
.coop-note { margin-top: clamp(64px, 7vw, 96px); padding: 22px 28px; display: flex; gap: 22px; align-items: baseline; border: 0; border-left: 3px solid var(--seal); background: rgba(255, 253, 247, .55); color: var(--text); }
.coop-note strong { flex: none; color: var(--seal); font-size: 14px; letter-spacing: .16em; font-weight: 500; }
.coop-note p { margin: 0; font-size: 15px; line-height: 1.9; }

/* —— 悬浮 —— */
@media (hover: hover) and (pointer: fine) {
  .support-card:hover span.support-icon { color: #f6f0e3; --ic-a: #f1cf9e; transform: none; }
  .support-card:hover .support-icon .fr1 { fill: var(--seal); stroke: var(--seal); }
  .process-row:hover .process-no { transform: translateY(-5px); }
  .fact:hover .fact-value b { color: var(--ember); }
}

@media (max-width: 1180px) {
  .coop-head { grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
  .coop-main { display: contents; }
  .coop-intro { order: 1; }
  .coop-photo { order: 2; min-height: 0; aspect-ratio: 16 / 9; max-height: 420px; margin-top: 36px; }
  .coop-card { order: 3; max-width: 560px; margin-top: 28px; }
  .coop-intro h2 { font-size: clamp(42px, 8vw, 68px); }
  .facts-photo { width: 62%; opacity: .34; }
  .coop-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .coop-split-head { position: static; }
  .coop-split-head .section-copy { max-width: 34em; }
  .support-figure { height: auto; aspect-ratio: 16 / 9; max-height: 380px; }
  .fact { padding: 36px 24px 8px; }
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 52px; }
  .process-row:nth-child(3n) .process-no::after { display: none; }
}
@media (max-width: 760px) {
  .process-list { grid-template-columns: 1fr; row-gap: 0; margin-top: 44px; }
  .process-row { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 18px; padding: 0 0 36px; }
  .process-no { grid-row: 1 / span 2; width: 54px; height: 54px; font-size: 27px; }
  .process-row:nth-child(3n) .process-no::after { display: block; }
  .process-row:last-child .process-no::after { display: none; }
  .process-no::after {
    left: 27px; right: auto; top: 62px; bottom: 6px; width: 1px; height: auto; transform-origin: top center;
    background: repeating-linear-gradient(180deg, rgba(226, 172, 107, .7) 0 6px, transparent 6px 12px);
  }
  .process-row.reveal:not(.in-view) .process-no::after { transform: scaleY(0); }
  .process-row h3 { margin-top: 4px; }
  .process-row p { margin-top: 6px; }
}
@media (max-width: 640px) {
  .coop-photo { aspect-ratio: 4 / 3; margin-top: 30px; }
  .coop-photo::after { inset: 10px; }
  .coop-photo .concept-tag { left: 20px; top: 20px; }
  .coop-card { max-width: none; margin-top: 22px; }
  .coop-intro .section-copy { font-size: 16px; }
  .facts-section::before { margin-bottom: 48px; }
  .facts-section::after { margin-top: 40px; }
  .facts-photo { display: none; }
  .facts-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .fact, .fact:first-child { padding: 28px 0 22px; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line-dark); }
  .fact-value b { font-size: 68px; }
  .coop-split { padding-top: 40px; gap: 28px; }
  .support-figure { aspect-ratio: 4 / 3; margin-top: 28px; }
  .support-card { grid-template-columns: 46px minmax(0, 1fr) 50px; column-gap: 14px; padding: 26px 0 28px; }
  .support-card:first-child { padding-top: 6px; }
  .support-no { font-size: 36px; }
  .support-card span.support-icon { width: 50px; height: 50px; }
  .support-card h3 { font-size: 24px; }
  .support-card p { font-size: 15.5px; }
  .process-section { padding-top: 60px; padding-bottom: 64px; }
  .faq-item > button { min-height: 78px; gap: 12px; }
  .faq-item > button::before { width: 30px; font-size: 17px; }
  .faq-item > button i { width: 34px; height: 34px; }
  .faq-answer p { padding: 0 6px 26px 42px; font-size: 15.5px; }
  .coop-note { flex-direction: column; gap: 8px; padding: 20px; }
}

/* ---------- 弹窗 ---------- */
.dialog { animation: dialog-in .6s var(--ease-out) both; }
.dialog-backdrop { animation-duration: .4s; }

/* ---------- 呼吸感：更大的留白 ---------- */

/* 触屏与“减少动态效果”：关掉装饰性动画，内容照常显示 */
@media (prefers-reduced-motion: reduce) {
  .glyph, .hero-glow { display: none; }
  .ambient i, .hui-band, .hero-media img { animation: none !important; }
  .site-header.is-hidden { transform: none; }
  .story-image.reveal:not(.in-view) img, .model-photo.reveal:not(.in-view) img { clip-path: none; }
}
@media (max-width: 760px) {
  .glyph { font-size: clamp(200px, 62vw, 320px); opacity: .9; }
  .ambient i { width: 90vmax; height: 90vmax; }
}

/* ==================================================================== *
 * v1.5 · 启幕 / 暖光 / 文字点亮 / 灯笼光 / 工艺钉住滚动 / 招聘
 * ==================================================================== */

/* ---------- 首屏暖光（替代光点）：像炉火的余光，缓慢明暗 ---------- */
.hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; will-change: opacity;
  background:
    radial-gradient(52% 62% at 74% 66%, rgba(226, 172, 107, .22), rgba(226, 172, 107, 0) 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(179, 38, 43, .24), rgba(179, 38, 43, 0) 70%);
  animation: glow-breathe 8s ease-in-out infinite alternate;
}
@keyframes glow-breathe { from { opacity: .4; } to { opacity: 1; } }

/* ---------- 启幕：两扇门，印章落下，店名显现，门向两侧打开 ---------- */
.intro {
  position: fixed; inset: 0; z-index: 400; overflow: hidden; cursor: pointer; color: var(--on-dark);
  animation: intro-failsafe 0s linear 4s forwards; /* 脚本异常时 4 秒后自动撤掉，绝不挡住页面 */
}
html.intro-done .intro { display: none; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }
.intro-door {
  position: absolute; top: 0; bottom: 0; width: 50.2%; will-change: transform;
  background:
    linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0) 14%, rgba(0,0,0,0) 86%, rgba(0,0,0,.28)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, rgba(0,0,0,0) 1px 86px),
    radial-gradient(70% 60% at 50% 50%, #2e1713 0%, #170e0c 78%);
}
.intro-door::before { /* 门板上的细框 */
  content: ""; position: absolute; inset: 7vh 5vw; border: 1px solid rgba(226, 172, 107, .16);
}
.intro-door::after { /* 门板上的内框 */
  content: ""; position: absolute; inset: calc(7vh + 10px) calc(5vw + 10px); border: 1px solid rgba(226, 172, 107, .07);
}
.intro-door-l { left: 0; box-shadow: 1px 0 0 rgba(226, 172, 107, 0); }
.intro-door-r { right: 0; box-shadow: -1px 0 0 rgba(226, 172, 107, 0); }
.intro-seam {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -.5px; opacity: 0; transform: scaleY(0);
  background: linear-gradient(180deg, rgba(226, 172, 107, 0), rgba(226, 172, 107, .95) 50%, rgba(226, 172, 107, 0));
}
.intro-center {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; text-align: center;
}
.intro-seal-wrap { position: relative; width: 112px; height: 112px; display: grid; place-items: center; }
.intro-seal-wrap::before { content: ""; position: absolute; inset: -110px; opacity: 0; background: radial-gradient(circle, rgba(226, 172, 107, .22), rgba(226, 172, 107, 0) 62%); }
.intro-seal { position: relative; display: block; width: 112px; height: 112px; opacity: 0; transform: scale(1.12); filter: blur(6px); }
.intro-ring {
  position: absolute; inset: 0; border: 1px solid rgba(226, 172, 107, .6); border-radius: 50%; opacity: 0; pointer-events: none;
}
.intro-name { display: flex; justify-content: center; margin: 32px 0 0; padding: 0; font-size: 0; line-height: 0; color: var(--on-dark); }
.intro-name span { display: block; opacity: 0; transform: translate3d(0, 16px, 0); filter: blur(5px); }
.intro-name svg { display: block; width: auto; height: clamp(54px, 7.4vw, 90px); overflow: visible; fill: currentColor; fill-rule: evenodd; }
.intro-en { margin: 14px 0 0; padding-left: .9em; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .9em; color: var(--ember); opacity: 0; }
.intro-slogan {
  display: flex; align-items: center; justify-content: center; gap: 16px; margin: 26px 0 0; font-family: var(--serif); font-size: clamp(15px, 2.2vw, 18px); letter-spacing: .3em; color: var(--on-dark-2); opacity: 0;
}
.intro-slogan span { padding-left: .3em; }
.intro-slogan i { width: 5px; height: 5px; border-radius: 50%; background: var(--seal); box-shadow: 0 0 0 3px rgba(179, 38, 43, .25); }
.intro-skip {
  position: absolute; left: 0; right: 0; bottom: 5.5vh; margin: 0; padding-left: .5em; text-align: center; font-size: 13px; letter-spacing: .5em; color: var(--on-dark-3); opacity: 0;
}

@keyframes intro-seam { 0% { opacity: 0; transform: scaleY(0); } 20% { opacity: 1; } 100% { opacity: 1; transform: scaleY(1); } }
@keyframes intro-seam-out { to { opacity: 0; } }
@keyframes intro-seal-in { 0% { opacity: 0; transform: scale(1.12); filter: blur(6px); } 100% { opacity: 1; transform: scale(1); filter: none; } }
@keyframes intro-ring { 0% { opacity: .7; transform: scale(.9); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes intro-char { to { opacity: 1; transform: none; filter: none; } }
@keyframes intro-track { 0% { opacity: 0; letter-spacing: 1.3em; } 40% { opacity: .9; } 100% { opacity: .9; letter-spacing: .5em; } }
@keyframes intro-rise { 0% { opacity: 0; transform: translate3d(0, 10px, 0); } 100% { opacity: 1; transform: none; } }
@keyframes intro-hint { 0% { opacity: 0; } 30% { opacity: .75; } 100% { opacity: .75; } }
@keyframes intro-center-out { to { opacity: 0; transform: translateY(-50%) scale(1.06); filter: blur(3px); } }
@keyframes intro-hint-out { to { opacity: 0; } }
@keyframes intro-door-l { to { transform: translate3d(-101%, 0, 0); } }
@keyframes intro-door-r { to { transform: translate3d(101%, 0, 0); } }
@keyframes intro-glow { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes intro-edge-l { to { box-shadow: 1px 0 0 rgba(226, 172, 107, .55); } }
@keyframes intro-edge-r { to { box-shadow: -1px 0 0 rgba(226, 172, 107, .55); } }
@keyframes intro-quick { to { opacity: 0; visibility: hidden; } }

html.intro-run .intro-seam { animation: intro-seam .6s cubic-bezier(.4, 0, .2, 1) .03s forwards, intro-seam-out .35s ease .75s forwards; }
html.intro-run .intro-seal { animation: intro-seal-in .6s var(--ease-out) .25s forwards; }
html.intro-run .intro-seal-wrap::before { animation: intro-glow 1.1s ease .3s forwards; }
html.intro-run .intro-ring { animation: intro-ring 1.1s cubic-bezier(.2, .7, .3, 1) .7s forwards; }
html.intro-run .intro-ring-2 { animation-delay: .9s; }
html.intro-run .intro-name span { animation: intro-char .6s var(--ease-out) forwards; }
html.intro-run .intro-name span:nth-child(1) { animation-delay: .65s; }
html.intro-run .intro-name span:nth-child(2) { animation-delay: .75s; }
html.intro-run .intro-name span:nth-child(3) { animation-delay: .85s; }
html.intro-run .intro-en { animation: intro-track 1s var(--ease-out) .95s forwards; }
html.intro-run .intro-slogan { animation: intro-rise .7s var(--ease-out) 1.2s forwards; }
html.intro-run .intro-skip { animation: intro-hint .7s ease .5s forwards, intro-hint-out .25s ease 1.5s forwards; }
html.intro-run .intro-center { animation: intro-center-out .4s ease 1.55s forwards; }
html.intro-run .intro-door-l { animation: intro-door-l 1.05s cubic-bezier(.77, 0, .18, 1) 1.6s forwards, intro-edge-l .25s ease 1.5s forwards; }
html.intro-run .intro-door-r { animation: intro-door-r 1.05s cubic-bezier(.77, 0, .18, 1) 1.6s forwards, intro-edge-r .25s ease 1.5s forwards; }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }
html.intro-quick .intro { animation: intro-quick .45s ease forwards; }

/* ---------- 文字点亮 ---------- */
.lit { opacity: .2; transition: opacity .7s ease; }
.lit.on { opacity: 1; }

/* ---------- 灯笼光：深色板块里跟随鼠标的暖色微光 ---------- */
.lantern { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 1s ease; }
.lantern.on { opacity: 1; }
.lantern i {
  position: absolute; left: 0; top: 0; width: 58vmax; height: 58vmax; margin: -29vmax 0 0 -29vmax; border-radius: 50%; will-change: transform;
  background: radial-gradient(circle, rgba(238, 190, 124, .17), rgba(226, 172, 107, .07) 36%, rgba(226, 172, 107, 0) 66%);
}

/* ---------- 工艺章节：钉住屏幕，随滚动切换步骤（仅桌面端、有鼠标、未开启“减少动态效果”） ---------- */
.craft-count, .craft-rail { display: none; }
.craft-section.is-pinned { padding-top: 0; }
.craft-section.is-pinned .craft-pin { height: calc(100vh + var(--steps, 4) * 58vh); }
.craft-section.is-pinned .craft-stage {
  position: sticky; top: 0; height: 100vh; min-height: 640px; padding: 96px 0 30px; isolation: isolate;
  display: flex; flex-direction: column;
}
.craft-section.is-pinned .craft-stage::before {
  content: ""; position: absolute; z-index: -1; inset: 0 -4vw; pointer-events: none; will-change: opacity;
  background:
    radial-gradient(46vmax 40vmax at 24% 56%, rgba(226, 172, 107, .2), rgba(226, 172, 107, 0) 64%),
    radial-gradient(40vmax 36vmax at 90% 108%, rgba(179, 38, 43, .4), rgba(179, 38, 43, 0) 66%);
  opacity: calc(.12 + var(--p, 0) * .88);
}
/* 标题收进舞台：整个工艺章节的画面始终是“标题 + 当前一步 + 进度” */
.craft-section.is-pinned .craft-head { align-items: end; }
.craft-section.is-pinned .craft-head .section-index { margin-bottom: 14px; }
.craft-section.is-pinned .craft-head h2 { font-size: clamp(30px, 3.2vw, 64px); line-height: 1.2; }
.craft-section.is-pinned .craft-head h2 br { display: none; }
.craft-section.is-pinned .craft-head .section-copy { margin: 0; font-size: 15px; line-height: 1.9; }
.craft-section.is-pinned .craft-grid { flex: 1; min-height: 0; margin-top: clamp(14px, 2.4vh, 30px); border-top: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; position: relative; }
.craft-section.is-pinned .craft-step {
  grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto auto auto 1fr; align-content: stretch;
  column-gap: clamp(40px, 7vw, 120px); padding: 0; border: 0; opacity: 0; pointer-events: none; transition: opacity .8s var(--ease-out);
}
.craft-section.is-pinned .craft-step.is-active { opacity: 1; pointer-events: auto; }
.craft-section.is-pinned .craft-step::before, .craft-section.is-pinned .craft-step::after { display: none; }

/* 左侧：拱形画框，里面是线描插画，角上是描边大数字 */
.craft-section.is-pinned .craft-visual {
  grid-column: 1; grid-row: 1 / span 7; align-self: center; justify-self: end; display: block;
  position: relative; height: min(56vh, 680px); width: min(100%, calc(min(56vh, 680px) * .94));
}
.craft-section.is-pinned .craft-visual::before, .craft-section.is-pinned .craft-visual::after {
  content: ""; position: absolute; border-radius: 999px 999px 6px 6px; pointer-events: none;
}
.craft-section.is-pinned .craft-visual::before {
  inset: 0; border: 1px solid rgba(226, 172, 107, .38);
  background: radial-gradient(64% 52% at 50% 48%, rgba(226, 172, 107, .16), rgba(226, 172, 107, 0) 72%);
}
.craft-section.is-pinned .craft-visual::after { inset: 12px; border: 1px solid rgba(226, 172, 107, .12); }
.craft-section.is-pinned .craft-art { position: absolute; left: 50%; top: 50%; width: 86%; max-width: 600px; margin: 0; transform: translate(-50%, -49%); --art-sw: 1.4; }
.craft-section.is-pinned .craft-no {
  position: absolute; z-index: 1; left: -26px; bottom: 64px; width: 60px; height: 60px; font-size: 32px;
  opacity: 0; transform: translate3d(0, 24px, 0); transition: transform 1.2s var(--ease-out), opacity .9s ease;
}
.craft-section.is-pinned .craft-step:hover .craft-no { transform: translate3d(0, 24px, 0); }
.craft-section.is-pinned .craft-step.is-active .craft-no,
.craft-section.is-pinned .craft-step.is-active:hover .craft-no { opacity: 1; transform: none; }
/* 切走时线条收回，切入时重新画出 */
.craft-section.is-pinned .craft-step:not(.is-active) .craft-art path { stroke-dashoffset: 1; fill-opacity: 0; transition: stroke-dashoffset 0s linear .9s, fill-opacity 0s linear .9s; }

/* 右侧：步骤序号 / 标题 / 说明 / 心得 / 关键词，依次浮现 */
.craft-section.is-pinned .craft-count { display: block; grid-column: 2; grid-row: 2; align-self: end; margin-bottom: 16px; color: var(--ember); font-size: 14px; letter-spacing: .32em; }
.craft-section.is-pinned .craft-step h3 { grid-column: 2; grid-row: 3; margin-top: 0; font-size: clamp(38px, 4.4vw, 88px); line-height: 1.1; }
.craft-section.is-pinned .craft-step p { grid-column: 2; grid-row: 4; margin-top: 20px; max-width: 28em; font-size: clamp(16px, 1.25vw, 24px); line-height: 1.95; }
.craft-section.is-pinned .craft-quote { grid-column: 2; grid-row: 5; margin-top: 26px; max-width: 24em; padding: 4px 0 4px 18px; font-size: clamp(18px, 1.5vw, 30px); }
.craft-section.is-pinned .craft-tags { grid-column: 2; grid-row: 6; margin-top: 22px; gap: 10px; }
.craft-section.is-pinned .craft-tags li { padding: 4px 14px; font-size: clamp(13px, .95vw, 18px); }
.craft-section.is-pinned .craft-quote small { font-size: clamp(13px, .85vw, 15px); }
.craft-section.is-pinned .craft-count,
.craft-section.is-pinned .craft-step h3,
.craft-section.is-pinned .craft-step:hover h3,
.craft-section.is-pinned .craft-step p,
.craft-section.is-pinned .craft-quote,
.craft-section.is-pinned .craft-tags { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .8s var(--ease-out), transform 1.1s var(--ease-out); }
.craft-section.is-pinned .craft-step.is-active .craft-count,
.craft-section.is-pinned .craft-step.is-active h3,
.craft-section.is-pinned .craft-step.is-active p,
.craft-section.is-pinned .craft-step.is-active .craft-quote,
.craft-section.is-pinned .craft-step.is-active .craft-tags { opacity: 1; transform: none; }
.craft-section.is-pinned .craft-step.is-active .craft-count { transition-delay: .15s; }
.craft-section.is-pinned .craft-step.is-active h3 { transition-delay: .25s; }
.craft-section.is-pinned .craft-step.is-active p { transition-delay: .38s; }
.craft-section.is-pinned .craft-step.is-active .craft-quote { transition-delay: .52s; }
.craft-section.is-pinned .craft-step.is-active .craft-tags { transition-delay: .66s; }

.craft-section.is-pinned .craft-rail {
  position: relative; display: flex; width: min(100% - 64px, 1440px); margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--line-dark);
}
.craft-section.is-pinned .craft-rail::after {
  content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: linear-gradient(90deg, var(--seal), var(--ember));
  transform: scaleX(var(--p, 0)); transform-origin: left center;
}
.craft-section.is-pinned .craft-rail li { flex: 1; padding: 16px 0 0; color: var(--on-dark-3); font-family: var(--serif); font-size: 18px; letter-spacing: .2em; transition: color .5s ease; }
.craft-section.is-pinned .craft-rail li.is-done { color: var(--ember); }
.craft-section.is-pinned .craft-rail li.is-active { color: var(--on-dark); }

/* ---------- 招聘 ---------- */
.recruit-section {
  position: relative; padding: clamp(96px, 11vw, 160px) 0; color: var(--on-dark);
  background:
    radial-gradient(circle at 6% 0%, rgba(226, 172, 107, .13), transparent 36%),
    linear-gradient(165deg, #561619 0%, #3a1111 52%, #241210 100%);
}
.recruit-section .ambient i:nth-child(1) { background: radial-gradient(circle, rgba(226, 172, 107, .16), rgba(226, 172, 107, 0) 62%); }
.recruit-grid { margin-top: clamp(56px, 6vw, 76px); display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.recruit-sub {
  display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark);
  color: var(--ember); font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: .3em;
}
.recruit-sub small { color: var(--on-dark-3); font-size: 13px; letter-spacing: .18em; }
.recruit-value-list { display: grid; gap: 34px; margin: 0; padding: 0; list-style: none; }
.recruit-value-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; }
.recruit-value-list b { font-family: var(--serif); font-size: 34px; letter-spacing: .02em; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--ember); }
.recruit-value-list h4 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--on-dark); }
.recruit-value-list p { margin: 8px 0 0; color: var(--on-dark-2); font-size: 15px; line-height: 1.95; }

.job-list { margin-top: -30px; }
.job-item { position: relative; isolation: isolate; border-bottom: 1px solid var(--line-dark); }
.job-item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--seal), var(--ember)); transform: scaleX(0); transform-origin: right center; transition: transform .9s var(--ease-out);
}
.job-item.open::after { transform: scaleX(1); transform-origin: left center; }
.job-item > button { width: 100%; min-height: 96px; display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; align-items: center; gap: 8px 24px; text-align: left; }
.job-title { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.35; color: var(--on-dark); transition: transform .8s var(--ease-out); }
.job-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; color: var(--on-dark-3); font-size: 13px; letter-spacing: .14em; }
.job-meta em { font-style: normal; }
.job-meta em + em::before { content: "·"; margin-right: 14px; color: var(--ember); }
.job-item > button i { color: var(--ember); font-size: 26px; font-style: normal; line-height: 1; text-align: center; transition: transform .4s var(--ease-out); }
.job-item.open > button i { transform: rotate(45deg); }
.job-panel { max-height: 0; overflow: hidden; transition: max-height .6s var(--ease-out); }
.job-body { padding: 2px 0 36px; }
.job-summary { max-width: 40em; margin: 0 0 24px; color: var(--on-dark-2); font-size: 16px; line-height: 2; }
.job-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 44px; }
.job-cols h5 { margin: 0 0 12px; color: var(--ember); font-size: 13px; font-weight: 500; letter-spacing: .3em; }
.job-cols ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.job-cols li { position: relative; padding-left: 18px; color: var(--on-dark-2); font-size: 15px; line-height: 1.85; }
.job-cols li::before { content: ""; position: absolute; left: 0; top: .82em; width: 5px; height: 5px; background: var(--ember); opacity: .8; }
.job-apply {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 12px 22px; border: 1px solid rgba(245, 237, 223, .42);
  color: var(--on-dark); font-size: 14px; letter-spacing: .16em; transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.job-apply i { font-style: normal; transition: transform .6s var(--ease-out); }
.job-empty { max-width: 34em; margin: 0; padding: 6px 0 0; color: var(--on-dark-2); font-size: 16px; line-height: 2; }

.recruit-apply {
  margin-top: clamp(64px, 7vw, 104px); padding: 34px 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center;
  border: 1px solid rgba(226, 172, 107, .28); background: rgba(20, 10, 8, .3);
}
.recruit-apply h3 { font-size: 26px; color: var(--on-dark); }
.recruit-apply p { max-width: 34em; margin: 8px 0 0; color: var(--on-dark-2); font-size: 14px; line-height: 1.9; }
.recruit-contacts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0; padding: 0; list-style: none; }
.recruit-contacts li { display: grid; gap: 4px; }
.recruit-contacts span { color: var(--ember); font-size: 13px; letter-spacing: .3em; }
.recruit-contacts b { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--on-dark); overflow-wrap: anywhere; }
.recruit-contacts a { transition: color .3s ease; }

@media (hover: hover) and (pointer: fine) {
  .job-item > button:hover .job-title { transform: translateX(10px); }
  .job-item:hover::after { transform: scaleX(1); transform-origin: left center; }
  .job-apply:hover { color: var(--lacquer); background: var(--on-dark); border-color: var(--on-dark); }
  .job-apply:hover i { transform: translateX(6px); }
  .recruit-contacts a:hover { color: var(--ember); }
}

@media (max-width: 960px) {
  .recruit-grid { grid-template-columns: 1fr; }
  .job-list { margin-top: 0; }
}
@media (max-width: 640px) {
  .recruit-section { padding: 92px 0; }
  .recruit-grid { margin-top: 44px; }
  .job-item > button { grid-template-columns: minmax(0, 1fr) 28px; min-height: 0; padding: 22px 0; }
  .job-meta { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  .job-item > button i { grid-column: 2; grid-row: 1 / span 2; }
  .job-cols { grid-template-columns: 1fr; }
  .recruit-apply { grid-template-columns: 1fr; padding: 26px 22px; }
  .recruit-contacts { gap: 18px 32px; }
}

/* ---------- 独立招聘页 /join ---------- */
.join-page { display: flex; flex-direction: column; min-height: 100vh; padding-top: clamp(124px, 13vw, 188px); padding-bottom: 0; }
.join-page > * { flex: none; }
.join-spacer { flex: 1 0 clamp(72px, 9vw, 130px) !important; }
.join-crumb { margin-bottom: clamp(28px, 4vw, 48px); }
.join-crumb a { display: inline-block; color: var(--ember); font-size: 14px; letter-spacing: .24em; transition: color .3s ease, transform .5s var(--ease-out); }
.join-crumb a:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .join-crumb a:hover { color: var(--on-dark); transform: translateX(-4px); } }
.section-head h1 { font-size: clamp(36px, 4.8vw, 72px); line-height: 1.2; }
.join-noscript { margin: 40px auto 0; color: var(--on-dark-2); font-size: 15px; line-height: 1.9; }
.join-page .site-footer { margin-top: 0; }
@media (max-width: 640px) { .section-head h1 { font-size: clamp(30px, 8.4vw, 44px); } }

/* ---------- v1.8 手机 / 平板首屏：照片在上、文字在下 ----------
   原来标题压在照片里的招牌上，两边都看不清。现在招牌完整露在上半屏，文字从照片底部的渐隐处开始。 */
@media (max-width: 900px) {
  .hero { --hero-photo: clamp(300px, 46svh, 520px); padding-top: calc(var(--hero-photo) - 30px); min-height: auto; }
  .hero-media { top: -24px; bottom: auto; height: calc(var(--hero-photo) + 24px); }
  .hero-media img { object-position: 100% 50%; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(20, 12, 10, .62) 0%, rgba(20, 12, 10, .12) 24%, rgba(20, 12, 10, 0) 46%, rgba(26, 18, 16, .78) 82%, var(--lacquer) 100%);
  }
  .hero-glow { display: none; }
  .hero-grid { min-height: 0; align-items: start; }
}

/* ---------- v1.8 小字对比度与点击区域 ---------- */
.facts-note.image-note { color: var(--on-dark-3); }            /* 深色板块里的图片说明：原来 3.6 : 1，现在 ≥ 5 : 1 */
.menu-button { width: 44px; height: 44px; }
/* 页脚链接、返回首页：文字大小不变，可点区域变大（电脑上向外扩约 5px；手机上整行 ≥ 44px） */
.site-footer a:not(.brand), .join-crumb a { position: relative; }
.site-footer a:not(.brand)::after, .join-crumb a::after { content: ""; position: absolute; inset: -5px -8px; }
@media (max-width: 900px) {
  .site-footer a:not(.brand), .join-crumb a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer a:not(.brand)::after, .join-crumb a::after { display: none; }
  .footer-legal p { margin-bottom: 0; }
}

/* ---------- 应聘投递弹窗（招聘页「投递这个岗位」） ---------- */
button.job-apply { background: transparent; font-family: inherit; cursor: pointer; }
.job-apply-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.job-apply-row .job-apply { margin-top: 0; }
.job-apply-mail { color: var(--on-dark-2); font-size: 14px; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(245, 237, 223, .35); }
.recruit-apply-button { margin-top: 20px; }
.apply-dialog { width: min(100%, 680px); }
.apply-kicker { margin: 0 0 8px; color: var(--seal); font-size: 13px; letter-spacing: .32em; }
.dialog .req { color: var(--seal); font-weight: 500; }
.resume-field { display: block; }
.resume-label { display: block; margin-bottom: 8px; color: #6a5f53; font-size: 13px; }
.dialog .resume-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; opacity: 0; }
.resume-drop {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; cursor: pointer;
  border: 1px dashed #b3a48d; background: rgba(255, 255, 255, .45); transition: border-color .25s ease, background .25s ease;
}
.resume-drop b { flex: none; width: 36px; height: 36px; display: grid; place-items: center; color: var(--seal); border: 1px solid var(--seal); font-size: 22px; font-weight: 400; line-height: 1; }
.dialog .resume-drop .resume-hint { margin: 0; color: #5d5246; font-size: 14px; line-height: 1.7; }
.resume-drop.is-over, .resume-input:focus-visible + .resume-drop { border-color: var(--seal); background: rgba(176, 28, 36, .06); }
.resume-input:focus-visible + .resume-drop { outline: 2px solid var(--seal); outline-offset: 2px; }
.resume-chosen { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 10px 0 0; padding: 10px 14px; border: 1px solid #cdbfa9; background: rgba(255, 255, 255, .6); color: var(--text); font-size: 14px; }
.resume-chosen[hidden] { display: none; }
.resume-chosen span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resume-chosen button { flex: none; min-height: 40px; padding: 0 8px; color: var(--seal); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.form-submit[disabled] { opacity: .7; cursor: progress; }
.apply-progress { height: 3px; margin-top: 12px; background: #e0d4c0; overflow: hidden; }
.apply-progress[hidden] { display: none; }
.apply-progress i { display: block; height: 100%; width: 0; background: var(--seal); transition: width .2s linear; }
@media (hover: hover) and (pointer: fine) {
  .resume-drop:hover { border-color: var(--seal); background: rgba(176, 28, 36, .05); }
  .job-apply-mail:hover { color: var(--ember); }
}
@media (max-width: 640px) {
  .resume-drop { padding: 12px 14px; }
  .job-apply-row { gap: 12px 20px; }
}

/* ---------- 右下角圆形胶片播放器（public/player.js） ---------- */
.reel {
  --reel: 84px; --strip: 80px; --gold: #f1cf9e;
  position: fixed; right: clamp(24px, 3.4vw, 56px); bottom: clamp(26px, 5vh, 52px); z-index: 80; height: var(--reel);
  display: flex; align-items: center; justify-content: flex-end; pointer-events: none;
  opacity: 0; animation: reel-in .9s var(--ease-out) .6s both;
}
.reel > * { pointer-events: auto; }
@keyframes reel-in { from { opacity: 0; transform: translateX(22px) scale(.92); } to { opacity: 1; transform: none; } }

.reel-disc {
  position: relative; z-index: 2; flex: none; width: var(--reel); height: var(--reel); padding: 0; border-radius: 50%; cursor: pointer; background: none;
  filter: drop-shadow(0 8px 14px rgba(24, 8, 6, .34)) drop-shadow(0 1px 2px rgba(24, 8, 6, .4)); transition: transform .5s var(--ease-out);
}
.reel-disc svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.reel-body { transform-origin: 50% 50%; animation: reel-spin 10s linear infinite; animation-play-state: paused; }
.reel[data-state="playing"] .reel-body, .reel[data-state="loading"] .reel-body { animation-play-state: running; }
.reel[data-state="loading"] .reel-body { animation-duration: 3s; }
@keyframes reel-spin { to { transform: rotate(360deg); } }
.reel[data-state="loading"] .reel-ring-fill { stroke-dasharray: 96 303; transform-origin: 66px 66px; animation: reel-spin 1.1s linear infinite; }
.reel[data-state="error"] .reel-ring-fill { stroke: #d6575c; stroke-dashoffset: 0; }
.reel-ring-fill { transition: stroke-dashoffset .6s linear; }
.reel-disc:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }

/* 第一次出现时轻轻提示三下：这里可以点 */
.reel[data-hint="1"] .reel-disc::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(226, 172, 107, .6); animation: reel-hint 2.6s ease-out 2s 3 both;
}
@keyframes reel-hint { 0% { box-shadow: 0 0 0 0 rgba(226, 172, 107, .6); } 70%, 100% { box-shadow: 0 0 0 18px rgba(226, 172, 107, 0); } }

/* 展开的“胶片”：暖黑底、上下两排片孔、金色细边，从圆盘中心向左展开 */
.reel-strip {
  --perf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='7'%3E%3Crect x='2.5' y='.5' width='9' height='6' rx='1.7' fill='%23f1e4c8'/%3E%3C/svg%3E");
  position: absolute; right: calc(var(--reel) / 2); top: 50%; z-index: 1; width: 0; height: var(--strip); margin-top: calc(var(--strip) / -2);
  overflow: hidden; opacity: 0; border-radius: calc(var(--strip) / 2) 0 0 calc(var(--strip) / 2);
  background: linear-gradient(180deg, #2a1915 0%, #190f0c 52%, #231411 100%);
  border: 1px solid rgba(241, 207, 158, .34); border-right: 0;
  box-shadow: 0 18px 40px rgba(24, 8, 6, .32), inset 0 1px 0 rgba(255, 236, 214, .08);
  transition: width .6s var(--ease-out), opacity .3s ease;
}
.reel-strip::before, .reel-strip::after {
  content: ""; position: absolute; left: 20px; right: calc(var(--reel) / 2 + 4px); height: 7px; opacity: .72; background: var(--perf) repeat-x left center / 14px 7px;
}
.reel-strip::before { top: 6px; }
.reel-strip::after { bottom: 6px; }
.reel.is-open .reel-strip { width: 580px; opacity: 1; }
@supports selector(:has(a)) { .reel:has(:focus-visible) .reel-strip { width: 580px; opacity: 1; } }

.reel-strip-inner { position: absolute; inset: 15px calc(var(--reel) / 2 + 14px) 15px 26px; display: flex; align-items: center; gap: 0; }
.reel-info { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; padding-right: 14px; }
.reel-eq { grid-row: 1 / span 2; display: flex; align-items: flex-end; gap: 2.5px; width: 16px; height: 18px; }
.reel-eq i { flex: 1; height: 30%; border-radius: 1px; background: var(--gold); opacity: .85; transform-origin: 50% 100%; animation: reel-eq 1s ease-in-out infinite; animation-play-state: paused; }
.reel-eq i:nth-child(2) { animation-duration: .8s; animation-delay: -.3s; }
.reel-eq i:nth-child(3) { animation-duration: 1.2s; animation-delay: -.6s; }
.reel[data-state="playing"] .reel-eq i { animation-play-state: running; }
@keyframes reel-eq { 0%, 100% { height: 24%; } 50% { height: 100%; } }
.reel-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--on-dark); font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: .04em; }
.reel-title.is-scroll { text-overflow: clip; }
.reel-title.is-scroll .reel-title-text { display: inline-block; animation: reel-marquee var(--dur, 8s) ease-in-out 1.2s infinite alternate; }
@keyframes reel-marquee { 0%, 10% { transform: translateX(0); } 90%, 100% { transform: translateX(var(--shift, 0)); } }
.reel-artist { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(245, 237, 223, .66); font-size: 12px; letter-spacing: .1em; }
.reel-controls { flex: none; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-left: 1px solid rgba(241, 207, 158, .16); border-right: 1px solid rgba(241, 207, 158, .16); }
.reel-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--on-dark); background: transparent; cursor: pointer;
  border: 1px solid rgba(241, 207, 158, .32); transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.reel-btn[hidden] { display: none; }
.reel-btn svg { width: 16px; height: 16px; }
.reel-main {
  width: 50px; height: 50px; border-color: rgba(246, 219, 168, .7);
  background: radial-gradient(circle at 34% 28%, #d9444b, #a3171d 72%); box-shadow: 0 6px 16px rgba(179, 38, 43, .42);
}
.reel-main svg { width: 19px; height: 19px; }
.reel-btn:focus-visible, .reel-volume:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.reel-vol { flex: none; display: flex; align-items: center; gap: 8px; padding-left: 14px; color: rgba(245, 237, 223, .7); }
.reel-vol svg { width: 17px; height: 17px; flex: none; }
.reel-volume {
  -webkit-appearance: none; appearance: none; width: 84px; height: 24px; margin: 0; cursor: pointer; background: transparent; --fill: 50%;
}
.reel-volume::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--fill), rgba(245, 237, 223, .24) var(--fill)); }
.reel-volume::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(245, 237, 223, .24); }
.reel-volume::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--gold); }
.reel-volume::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; margin-top: -5px; border-radius: 50%; background: #f6e3c4; box-shadow: 0 0 0 3px rgba(241, 207, 158, .25); }
.reel-volume::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: #f6e3c4; box-shadow: 0 0 0 3px rgba(241, 207, 158, .25); }

@media (hover: hover) and (pointer: fine) {
  .reel:hover .reel-strip { width: 580px; opacity: 1; }
  .reel-disc:hover { transform: scale(1.05); }
  .reel-btn:hover { background: rgba(245, 237, 223, .12); border-color: rgba(246, 219, 168, .7); }
  .reel-main:hover { background: radial-gradient(circle at 34% 28%, #e4545a, #b11d24 72%); }
}
@media (max-width: 900px) {
  .reel { --reel: 58px; --strip: 74px; right: 18px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .reel.is-open .reel-strip { width: min(calc(100vw - 72px), 350px); }
  @supports selector(:has(a)) { .reel:has(:focus-visible) .reel-strip { width: min(calc(100vw - 72px), 350px); } }
  .reel-vol { display: none; }
  .reel-controls { padding: 0 0 0 12px; border-right: 0; gap: 4px; }
  .reel-btn { width: 44px; height: 44px; }
  .reel-main { width: 48px; height: 48px; }
  .reel-strip-inner { inset: 13px calc(var(--reel) / 2 + 10px) 13px 22px; }
  .reel-title { font-size: 15px; }
  .reel-eq { display: none; }
  .reel-info { grid-template-columns: minmax(0, 1fr); padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel { animation-duration: .01s; animation-delay: 0s; }
  .reel-body, .reel-eq i { animation: none; }
  .reel-title.is-scroll { text-overflow: ellipsis; }
  .reel-title.is-scroll .reel-title-text { animation: none; display: inline; }
  .reel[data-hint="1"] .reel-disc::after { animation: none; }
  .reel-strip { transition: none; }
}
@media print { .reel { display: none; } }

/* 后台“预览官网”（未保存的改动）顶部提示条：只在预览页出现 */
.preview-bar { position: fixed; z-index: 200; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(92vw, 640px); box-sizing: border-box; padding: 10px 16px; border-radius: 10px; background: rgba(20, 12, 10, .92); color: var(--on-dark); border: 1px solid rgba(226, 172, 107, .5); font-size: 13px; line-height: 1.6; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); pointer-events: none; }

/* ==================================================================== *
 * v1.15 · 合作内容独立成 /cooperate · 首页“两扇门” · 版面收口
 *
 *  1. 首页只留一个入口：“两扇门”（加入我们 / 品牌合作）；合作的事实、支持、流程、问答都搬到 /cooperate
 *  2. 章节导语：章节标 → 大标题 → 导语（上方一小段细线），字号 17px，离标题更近
 *  3. 门店：去掉空盒子，右边改成“竖金线 + 编号金章 + 清单”
 *  4. 匠心舞台：编号由平面红块改为朱印（毛边、微旋、落印动画）；关键词由胶囊改为方签
 *  5. 首屏：口号收小一档，关键词加亮并加分隔，底部加“向下”提示，“效果示意”回到左下角
 *  6. 招牌产品：招牌一张大图，其余两张并排；手机上改成可左右滑动的大图
 *  7. 标题里的逗号、顿号向后收一点（.sq，由 script.js 包裹）
 * ==================================================================== */
:root {
  --door-frame: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22120%22%20height=%22120%22%20viewBox=%220%200%20120%20120%22%3E%3Cpath%20d=%22M23.5%201.5H96.5A22%2022%200%200%200%20118.5%2023.5V96.5A22%2022%200%200%200%2096.5%20118.5H23.5A22%2022%200%200%200%201.5%2096.5V23.5A22%2022%200%200%200%2023.5%201.5Z%22%20fill=%22%231b0e0d%22%20stroke=%22%23e2ac6b%22%20stroke-opacity=%22.62%22%20stroke-width=%222.6%22%20stroke-linejoin=%22round%22/%3E%3Cpath%20d=%22M27%2015H93A12%2012%200%200%200%20105%2027V93A12%2012%200%200%200%2093%20105H27A12%2012%200%200%200%2015%2093V27A12%2012%200%200%200%2027%2015Z%22%20fill=%22none%22%20stroke=%22%23e2ac6b%22%20stroke-opacity=%22.3%22%20stroke-width=%222.4%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E");
  --door-frame-hot: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22120%22%20height=%22120%22%20viewBox=%220%200%20120%20120%22%3E%3Cpath%20d=%22M23.5%201.5H96.5A22%2022%200%200%200%20118.5%2023.5V96.5A22%2022%200%200%200%2096.5%20118.5H23.5A22%2022%200%200%200%201.5%2096.5V23.5A22%2022%200%200%200%2023.5%201.5Z%22%20fill=%22%231b0e0d%22%20stroke=%22%23e2ac6b%22%20stroke-opacity=%221%22%20stroke-width=%222.6%22%20stroke-linejoin=%22round%22/%3E%3Cpath%20d=%22M27%2015H93A12%2012%200%200%200%20105%2027V93A12%2012%200%200%200%2093%20105H27A12%2012%200%200%200%2015%2093V27A12%2012%200%200%200%2027%2015Z%22%20fill=%22none%22%20stroke=%22%23e2ac6b%22%20stroke-opacity=%22.6%22%20stroke-width=%222.4%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E");
  --stamp-tile: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%2264%22%20height=%2264%22%20viewBox=%220%200%2064%2064%22%3E%3Cdefs%3E%3Cfilter%20id=%22r%22%20x=%22-6%25%22%20y=%22-6%25%22%20width=%22112%25%22%20height=%22112%25%22%3E%3CfeTurbulence%20type=%22fractalNoise%22%20baseFrequency=%22.85%22%20numOctaves=%222%22%20seed=%225%22%20result=%22n%22/%3E%3CfeDisplacementMap%20in=%22SourceGraphic%22%20in2=%22n%22%20scale=%222.4%22%20xChannelSelector=%22R%22%20yChannelSelector=%22G%22/%3E%3C/filter%3E%3CradialGradient%20id=%22g%22%20cx=%2238%25%22%20cy=%2230%25%22%20r=%2280%25%22%3E%3Cstop%20offset=%220%22%20stop-color=%22%23c63035%22/%3E%3Cstop%20offset=%221%22%20stop-color=%22%23a8211f%22/%3E%3C/radialGradient%3E%3Cfilter%20id=%22m%22%20x=%220%22%20y=%220%22%20width=%22100%25%22%20height=%22100%25%22%3E%3CfeTurbulence%20type=%22fractalNoise%22%20baseFrequency=%22.55%22%20numOctaves=%223%22%20seed=%2211%22%20result=%22t%22/%3E%3CfeColorMatrix%20in=%22t%22%20type=%22matrix%22%20values=%220%200%200%200%20.98%20%200%200%200%200%20.72%20%200%200%200%200%20.62%20%200%200%200%201.6%20-.82%22/%3E%3CfeComposite%20in2=%22SourceGraphic%22%20operator=%22in%22/%3E%3C/filter%3E%3C/defs%3E%3Cg%20filter=%22url(%23r)%22%3E%3Cpath%20d=%22M12%203H52A9%209%200%200%200%2061%2012V52A9%209%200%200%200%2052%2061H12A9%209%200%200%200%203%2052V12A9%209%200%200%200%2012%203Z%22%20fill=%22url(%23g)%22/%3E%3Cpath%20d=%22M13.5%208.5H50.5A5%205%200%200%200%2055.5%2013.5V50.5A5%205%200%200%200%2050.5%2055.5H13.5A5%205%200%200%200%208.5%2050.5V13.5A5%205%200%200%200%2013.5%208.5Z%22%20fill=%22none%22%20stroke=%22%23f3c7b8%22%20stroke-opacity=%22.5%22%20stroke-width=%221.3%22/%3E%3Cpath%20d=%22M12%203H52A9%209%200%200%200%2061%2012V52A9%209%200%200%200%2052%2061H12A9%209%200%200%200%203%2052V12A9%209%200%200%200%2012%203Z%22%20fill=%22%23fff%22%20filter=%22url(%23m)%22%20opacity=%22.34%22/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- 2 · 章节导语 ---------- */
.story-copy, .section-copy { font-size: 17px; line-height: 1.98; }
.story-head, .section-head, .finale-grid { gap: clamp(24px, 3.4vw, 56px); }
.section-copy::before, .story-copy::before {
  content: ""; display: block; width: 34px; height: 2px; margin: 0 0 20px; background: var(--seal);
}
.section-dark .section-copy::before, .light-copy::before, .facts-section .section-copy::before, .process-section .section-copy::before { background: var(--ember); }
.finale .section-copy::before { display: none; }
.craft-section.is-pinned .craft-head .section-copy::before { display: none; }

/* ---------- 7 · 标题标点收一收（空隙太大时的视觉修正；字体子集没有 halt 特性，所以用 CSS） ---------- */
.sq { letter-spacing: -.4em; }

/* ---------- 1 · 首页“两扇门” ---------- */
.doors-section {
  padding: 0 0 clamp(96px, 11vw, 160px);
  background: radial-gradient(62% 46% at 50% 100%, rgba(179, 38, 43, .07), rgba(179, 38, 43, 0) 72%), var(--grain), var(--paper);
}
.doors-section::before {
  content: ""; display: block; height: 30px; margin-bottom: clamp(88px, 10vw, 148px);
  background: var(--hui) repeat-x center / 16px 16px, #140d0b; border-bottom: 1px solid var(--line-dark);
}
.doors-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); column-gap: clamp(24px, 3.4vw, 56px); align-items: end; }
.doors-head .section-index { grid-column: 1; grid-row: 1; }
.doors-head h2 { grid-column: 1; grid-row: 2; font-size: clamp(34px, 4vw, 60px); line-height: 1.24; }
.doors-head .section-copy { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; }

.doors { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); margin-top: clamp(48px, 5.4vw, 80px); }
.doors.is-single { grid-template-columns: minmax(0, 700px); justify-content: center; }
/* 两扇门之间的门缝：一根细红线，中间一枚小红菱 */
.doors:not(.is-single)::before {
  content: ""; position: absolute; z-index: 0; left: 50%; top: 18px; bottom: 18px; width: 1px; transform: translateX(-.5px); pointer-events: none;
  background: linear-gradient(180deg, rgba(179, 38, 43, 0), rgba(179, 38, 43, .55) 22%, rgba(179, 38, 43, .55) 78%, rgba(179, 38, 43, 0));
}
.doors:not(.is-single)::after {
  content: ""; position: absolute; z-index: 0; left: 50%; top: 50%; width: 9px; height: 9px; background: var(--seal); transform: translate(-50%, -50%) rotate(45deg); pointer-events: none;
}

.door {
  --open: 0deg; --swing: 0deg; --bx: 100%;
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); min-height: clamp(500px, 43vw, 620px);
  color: var(--on-dark); perspective: 1500px;
}
.door[hidden] { display: none; }
.door-coop { --bx: 0%; }
.door:focus-visible { outline: 2px solid var(--seal); outline-offset: 8px; }
/* 门脚下一圈柔和的落影（静态，不跟着开合重绘） */
.door::before {
  content: ""; position: absolute; left: 7%; right: 7%; bottom: -18px; height: 34px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(58, 28, 14, .38), rgba(58, 28, 14, 0)); filter: blur(8px);
}
/* 门后：门扇打开一点时露出来的炉火暖光 */
.door-back {
  position: absolute; inset: 6px; border-radius: 5px;
  background:
    radial-gradient(76% 64% at var(--bx) 54%, rgba(247, 192, 116, .9), rgba(228, 150, 72, .4) 40%, rgba(228, 150, 72, 0) 74%),
    linear-gradient(180deg, #44190f, #26110d);
}
/* 门扇：漆黑底 + 委角双金线（九宫格边框），绕外侧的“合页”转动 */
.door-leaf {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0;
  padding: clamp(22px, 2.8vw, 44px); border: 16px solid transparent; border-image: var(--door-frame) 40 fill / 16px stretch;
  transform-origin: 0 50%; transform: rotateY(calc(var(--open) + var(--swing)));
  transition: transform 1.3s var(--ease-out); backface-visibility: hidden;
}
.door-coop .door-leaf { transform-origin: 100% 50%; }
/* 亮金线：悬浮 / 聚焦时叠上去 */
.door-leaf::after {
  content: ""; position: absolute; inset: -16px; border: 16px solid transparent; border-image: var(--door-frame-hot) 40 / 16px stretch;
  opacity: 0; transition: opacity .9s ease; pointer-events: none;
}
.door-light { position: absolute; z-index: 0; inset: 0; pointer-events: none; opacity: .55; transition: opacity 1s ease; }
.door-join .door-light {
  background: radial-gradient(64% 52% at 82% 18%, rgba(240, 176, 100, .2), rgba(240, 176, 100, 0) 72%), linear-gradient(270deg, rgba(240, 176, 100, .15), rgba(240, 176, 100, 0) 44%);
}
.door-coop .door-light {
  background: radial-gradient(64% 52% at 18% 18%, rgba(240, 176, 100, .2), rgba(240, 176, 100, 0) 72%), linear-gradient(90deg, rgba(240, 176, 100, .15), rgba(240, 176, 100, 0) 44%);
}
.door-glyph {
  position: absolute; z-index: 0; top: 2%; left: clamp(16px, 2.2vw, 34px); font-family: var(--serif); font-weight: 600; line-height: 1;
  font-size: clamp(190px, 21vw, 300px); color: rgba(226, 172, 107, .055); pointer-events: none; user-select: none;
}
.door-coop .door-glyph { left: auto; right: clamp(16px, 2.2vw, 34px); }

/* 线描：灯笼 / 小店，进场时一笔一笔描出来 */
.door-art {
  position: absolute; z-index: 1; top: clamp(22px, 2.6vw, 40px); right: clamp(24px, 3.2vw, 52px); width: clamp(130px, 14vw, 200px); height: auto; overflow: visible;
  color: var(--ember); filter: drop-shadow(0 0 12px rgba(226, 172, 107, .2)); transition: filter 1s ease;
}
.door-coop .door-art { right: auto; left: clamp(24px, 3.2vw, 52px); }
.door-art path {
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; fill-opacity: 1;
  transition: stroke-dashoffset 1.9s var(--ease-out) calc(.3s + var(--i, 0) * .1s), fill-opacity 1.3s ease calc(1s + var(--i, 0) * .06s), opacity .01s linear calc(.3s + var(--i, 0) * .1s);
}
.reveal:not(.in-view) .door-art path { stroke-dashoffset: 1; fill-opacity: 0; opacity: 0; }
.door-join .door-art path:nth-child(2), .door-join .door-art path:nth-child(9) { fill: rgba(226, 172, 107, .3); }
.door-join .door-art path:nth-child(3) { fill: rgba(236, 150, 70, .16); }
.door-coop .door-art path:nth-child(4) { fill: rgba(179, 38, 43, .66); stroke: #f1cf9e; }
.door-coop .door-art path:nth-child(8) { fill: rgba(236, 160, 80, .1); }
.door-coop .door-art path:nth-child(11) { fill: rgba(236, 130, 52, .55); stroke: #f4b46c; }
/* 灯笼在绳上轻轻晃（进场描完之后才开始） */
.door-join .door-art { transform-origin: 50% 0; }
.doors.in-view .door-join .door-art { animation: door-sway 7s ease-in-out 3s infinite alternate; }
@keyframes door-sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }

.door-body { position: relative; z-index: 2; max-width: 31em; }
.door-kicker { margin: 0 0 14px; color: var(--ember); font-size: 14px; letter-spacing: .34em; }
.door-kicker::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 14px 2px 0; vertical-align: middle; background: var(--ember); transform: rotate(45deg); }
.door h3 { margin: 0; color: var(--on-dark); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.2; }
.door-text { max-width: 27em; margin: 16px 0 0; color: var(--on-dark-2); font-size: 16px; line-height: 1.95; }
.door-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 24px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.door-meta { display: grid; gap: 8px; min-width: 0; }
.door-meta b { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.2vw, 46px); line-height: 1; color: var(--ember); }
.door-meta small { color: var(--on-dark-3); font-size: 13px; letter-spacing: .16em; }
.door-cta { position: relative; flex: none; display: inline-flex; align-items: center; gap: 12px; padding-bottom: 7px; font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: .12em; color: var(--on-dark); }
.door-cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ember); transform: scaleX(.28); transform-origin: left center; transition: transform .9s var(--ease-out); }
.door-cta i { font-style: normal; color: var(--ember); transition: transform .7s var(--ease-out); }

/* 门扇进场：先“虚掩”着，慢慢合拢到位 */
.reveal:not(.in-view) .door-join { --swing: 22deg; }
.reveal:not(.in-view) .door-coop { --swing: -22deg; }
.doors.is-single .door { --swing: 0deg; }

.door:is(:focus-visible, :active) .door-leaf::after { opacity: 1; }
.door:is(:focus-visible, :active) .door-light { opacity: 1; }
.door:is(:focus-visible, :active) .door-cta::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .doors:not(.is-single) .door-join:is(:hover, :focus-visible) { --open: 8deg; }
  .doors:not(.is-single) .door-coop:is(:hover, :focus-visible) { --open: -8deg; }
  .door:hover .door-leaf::after { opacity: 1; }
  .door:hover .door-light { opacity: 1; }
  .door:hover .door-art { filter: drop-shadow(0 0 22px rgba(226, 172, 107, .5)); }
  .door:hover .door-cta::after { transform: scaleX(1); }
  .door:hover .door-cta i { transform: translateX(8px); }
}

/* ---------- 品牌合作页 /cooperate：深色封面 ---------- */
.coop-cover { position: relative; padding: clamp(124px, 13vw, 188px) 0 0; }
.coop-intro h1 { font-size: clamp(46px, 5.6vw, 84px); line-height: 1.12; }
.coop-cover .coop-intro .section-copy { color: var(--on-dark-2); }
.coop-cover .coop-card {
  max-width: 520px; padding: 20px 22px 22px; border: 16px solid transparent; border-image: var(--door-frame) 40 fill / 16px stretch; background: none;
}
.coop-cover .coop-card::before { left: 0; top: 0; }
.coop-cover > .facts-section { margin-top: clamp(80px, 8.5vw, 124px); }
.coop-rest > .coop-block:first-child { margin-top: 0; }
.coop-rest { padding-top: clamp(88px, 9.5vw, 140px); }

/* ---------- 3 · 门店：去掉空盒子 ---------- */
.model-grid { gap: clamp(36px, 5vw, 88px); }
.model-copy {
  justify-content: center; padding: 8px 0 8px clamp(30px, 4.4vw, 72px); border: 0; background: linear-gradient(180deg, rgba(226, 172, 107, 0), rgba(226, 172, 107, .6) 14%, rgba(226, 172, 107, .6) 86%, rgba(226, 172, 107, 0)) left top / 1px 100% no-repeat;
}
.model-copy::before, .model-copy::after { display: none !important; }
.model-copy h3 { margin-top: 18px; font-size: clamp(32px, 3.2vw, 50px); }
.model-copy p { font-size: 17px; }
.model-copy ul { counter-reset: mc; grid-template-columns: minmax(0, 1fr); column-gap: 0; margin-top: 38px; }
.model-copy li {
  position: relative; counter-increment: mc; display: block; min-height: 80px; padding: 25px 0 25px 66px; color: var(--on-dark); font-size: 17px; line-height: 1.7; letter-spacing: .04em;
}
.model-copy li::before {
  content: counter(mc, decimal-leading-zero); position: absolute; left: 0; top: 18px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0 0 1px; transform: none;
  color: var(--ember); background: var(--chip-gold) center / 100% 100% no-repeat; font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: 0;
}

/* ---------- 4 · 匠心：朱印编号 + 方签关键词 ---------- */
@keyframes stamp-press {
  0% { opacity: 0; transform: rotate(-14deg) scale(1.8); }
  58% { opacity: 1; transform: rotate(-3deg) scale(.92); }
  100% { opacity: 1; transform: rotate(-5deg) scale(1); }
}
.craft-no {
  width: 58px; height: 58px; font-size: 30px; color: #fbf0e0; -webkit-text-stroke: .5px #fbf0e0; text-shadow: 0 0 1px rgba(255, 236, 220, .55);
  background: var(--stamp-tile) center / 100% 100% no-repeat; transform: rotate(-5deg); filter: drop-shadow(0 6px 9px rgba(0, 0, 0, .35));
}
.craft-step.reveal.in-view .craft-no { animation: stamp-press .9s var(--ease-stamp) .35s backwards; }
.craft-section.is-pinned .craft-no {
  left: -30px; bottom: 58px; width: 70px; height: 70px; font-size: 37px;
  opacity: 0; transform: translate3d(0, 24px, 0) rotate(-5deg) scale(1.25);
}
.craft-section.is-pinned .craft-step:hover .craft-no { transform: translate3d(0, 24px, 0) rotate(-5deg) scale(1.25); }
.craft-section.is-pinned .craft-step.is-active .craft-no,
.craft-section.is-pinned .craft-step.is-active:hover .craft-no { opacity: 1; transform: rotate(-5deg); }
.craft-section.is-pinned .craft-step.is-active .craft-no { animation: stamp-press .95s var(--ease-stamp) .5s backwards; }
.craft-section.is-pinned .craft-step.reveal.in-view:not(.is-active) .craft-no { animation: none; }
.craft-tags li { position: relative; padding: 3px 12px 3px 26px; border-radius: 0; }
.craft-tags li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 5px; height: 5px; background: var(--seal); transform: translateY(-50%); }
.craft-section.is-pinned .craft-tags li { padding: 4px 16px 4px 28px; }
.craft-section.is-pinned .craft-tags li::before { left: 13px; width: 6px; height: 6px; }

/* ---------- 5 · 首屏 ---------- */
.concept-row { left: 0; right: 0; width: min(100% - 64px, 1440px); margin: 0 auto; transform: none; }
.hero-slogan { padding-bottom: 66px; font-size: clamp(22px, 1.95vw, 30px); letter-spacing: .6em; color: rgba(245, 237, 223, .94); }
.hero-slogan::before {
  content: ""; position: absolute; left: 50%; top: -88px; width: 1px; height: 68px; transform: translateX(-50%); transform-origin: 50% 100%;
  background: linear-gradient(180deg, rgba(226, 172, 107, 0), rgba(226, 172, 107, .85));
}
html.is-ready .hero-slogan::before { animation: slogan-line 1.4s var(--ease-out) 2.1s backwards; }
@keyframes slogan-line { from { transform: translateX(-50%) scaleY(0); } }
.hero-slogan::after { width: 38px; height: 38px; }
.hero-codes { gap: 10px 0; margin-top: 40px; font-size: 16px; letter-spacing: .3em; color: var(--on-dark-2); }
.hero-codes span { display: inline-flex; align-items: center; }
.hero-codes span + span::before { content: ""; flex: none; width: 5px; height: 5px; margin: 0 24px 0 20px; background: var(--ember); opacity: .85; transform: rotate(45deg); }
.scroll-cue {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 14px; width: max-content; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--on-dark-3); font-size: 13px; letter-spacing: .5em; text-indent: .5em; opacity: 0; transition: color .3s ease;
}
.scroll-cue i { position: relative; display: block; width: 1px; height: 40px; overflow: hidden; background: rgba(245, 237, 223, .2); }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--ember); transform: scaleY(0); transform-origin: top; animation: cue-run 2.6s var(--ease-out) infinite; }
@keyframes cue-run {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
html.is-ready .scroll-cue { opacity: 1; transition: opacity 1.4s ease 3.2s, color .3s ease; }
.scroll-cue:hover, .scroll-cue:focus-visible { color: var(--on-dark); }
.scroll-cue:focus-visible { outline: 2px solid var(--ember); outline-offset: 6px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .model-copy { padding: 6px 0 6px 28px; }
  .coop-cover .coop-card { max-width: 560px; }
  .coop-intro h1 { font-size: clamp(42px, 8vw, 68px); }
}
@media (max-width: 900px) {
  .doors-head { grid-template-columns: 1fr; row-gap: 0; }
  .doors-head .section-copy { grid-column: 1; grid-row: 3; margin-top: 26px; }
  .doors { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doors.is-single { grid-template-columns: minmax(0, 1fr); }
  .doors:not(.is-single)::before, .doors:not(.is-single)::after { display: none; }
  .door { --open: 0deg !important; --swing: 0deg !important; min-height: 0; }
  /* 竖排时：线稿放进文档流（在文字上方），文字再长也不会和线稿叠在一起 */
  .door-leaf { justify-content: space-between; gap: 28px; min-height: 440px; padding: 24px 22px 24px; }
  .door-art, .door-coop .door-art { position: relative; top: auto; right: auto; left: auto; flex: none; align-self: flex-end; width: clamp(120px, 30vw, 168px); }
  .door-coop .door-art { align-self: flex-start; }
  .door-glyph { font-size: clamp(170px, 46vw, 260px); }
  .scroll-cue { display: none; }
  /* 平板 / 手机的首屏口号是横排的：回到原来的写法 */
  .hero-slogan { padding-bottom: 0; font-size: 22px; letter-spacing: .3em; }
  .hero-slogan::before { display: none; }
}
@media (max-width: 760px) {
  .model-copy { padding: 30px 0 0; background: linear-gradient(90deg, rgba(226, 172, 107, .6), rgba(226, 172, 107, 0)) left top / 100% 1px no-repeat; }
  .craft-no { width: 50px; height: 50px; font-size: 26px; }
}
@media (max-width: 640px) {
  .hero-slogan { font-size: 19px; }
  .concept-row { width: calc(100% - 32px); }
  .story-copy, .section-copy { font-size: 16.5px; }
  .section-copy::before, .story-copy::before { margin-bottom: 16px; }
  .coop-intro h1 { font-size: clamp(34px, 9.6vw, 48px); }
  .coop-cover { padding-top: 112px; }
  .coop-cover .coop-card { max-width: none; padding: 16px 14px 18px; }
  .doors-section::before { height: 24px; margin-bottom: 72px; }
  .door h3 { font-size: 30px; }
  .door-text { font-size: 15.5px; }
  .door-foot { flex-wrap: wrap; }
  .model-copy li { min-height: 72px; padding: 22px 0 22px 58px; font-size: 16px; }
  .model-copy li::before { top: 16px; width: 40px; height: 40px; font-size: 16px; }
  .hero-codes { margin-top: 32px; font-size: 15px; }
  .hero-codes span + span::before { margin: 0 16px 0 12px; }
}

/* 触屏与“减少动态效果”：不开合、不描线，内容直接显示 */
@media (prefers-reduced-motion: reduce) {
  .door-leaf { transform: none !important; transition: none; }
  .door-art path { transition: none !important; stroke-dashoffset: 0 !important; fill-opacity: 1 !important; opacity: 1 !important; }
  .doors.in-view .door-join .door-art { animation: none; }
  .scroll-cue i::after { animation: none; transform: scaleY(1); }
  .craft-step .craft-no { animation: none !important; }
}

/* ==================================================================== *
 * v1.15.1 · 顶栏重做
 * 顶栏：字放大放疏；选中态是“细线 + 小菱形”；品牌合作换成金色委角细框；吸顶后底边一条渐隐金线。
 * （招牌产品在 v1.16.0 重做，见 v116.css）
 * ==================================================================== */
:root {
  /* 委角细框（24px 一格，8px 一档九宫格）：边线 / 加亮边线 / 实心填色，三张共用同一条轮廓 */
  --btn-frame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4.6 .6H19.4A4 4 0 0 0 23.4 4.6V19.4A4 4 0 0 0 19.4 23.4H4.6A4 4 0 0 0 .6 19.4V4.6A4 4 0 0 0 4.6 .6Z' fill='none' stroke='%23e2ac6b' stroke-opacity='.78' stroke-width='1.1'/%3E%3C/svg%3E");
  --btn-frame-hot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4.6 .6H19.4A4 4 0 0 0 23.4 4.6V19.4A4 4 0 0 0 19.4 23.4H4.6A4 4 0 0 0 .6 19.4V4.6A4 4 0 0 0 4.6 .6Z' fill='none' stroke='%23e2ac6b' stroke-width='1.2'/%3E%3C/svg%3E");
  --btn-fill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4.6 .6H19.4A4 4 0 0 0 23.4 4.6V19.4A4 4 0 0 0 19.4 23.4H4.6A4 4 0 0 0 .6 19.4V4.6A4 4 0 0 0 4.6 .6Z' fill='%23e2ac6b' stroke='%23e2ac6b' stroke-width='1.1'/%3E%3C/svg%3E");
}

/* ---------- 顶栏 · 品牌合作（各种宽度共用）：金色委角细框，悬浮时金色从左向右铺满 ---------- */
.nav > a.nav-coop {
  isolation: isolate; border: 0; border-radius: 0; background: none; color: #f4dfb9; text-shadow: none;
  transition: color .45s var(--ease-out), transform .6s var(--ease-out);
}
.nav > a.nav-coop::before, .nav > a.nav-coop::after {
  content: ""; position: absolute; inset: 0; z-index: -1; display: block; width: auto; height: auto; border: 8px solid transparent; border-radius: 0; background: none; transform: none; pointer-events: none;
}
.nav > a.nav-coop::before { border-image: var(--btn-frame) 8 / 8px stretch; }
.nav > a.nav-coop::after { border-image: var(--btn-fill) 8 fill / 8px stretch; clip-path: inset(0 100% 0 0); transition: clip-path .75s var(--ease-out), opacity .5s ease; }
.nav > a.nav-coop:hover, .nav > a.nav-coop:focus-visible { color: var(--lacquer); background: none; border-color: transparent; }
.nav > a.nav-coop:hover::after, .nav > a.nav-coop:focus-visible::after { clip-path: inset(0 0 0 0); }
.nav > a.nav-coop.is-current { color: #f4dfb9; background: none; }
.nav > a.nav-coop.is-current::before { border-image-source: var(--btn-frame-hot); }
.nav > a.nav-coop.is-current::after { clip-path: inset(0 0 0 0); opacity: .16; }
.nav > a.nav-coop.is-current:hover, .nav > a.nav-coop.is-current:focus-visible { color: var(--lacquer); }
.nav > a.nav-coop.is-current:hover::after, .nav > a.nav-coop.is-current:focus-visible::after { opacity: 1; }

/* ---------- 顶栏 · 底（各种宽度共用）：顶部态是极淡的黑色渐隐，托住白字；吸顶后换成实底 + 底边渐隐金线 ---------- */
.site-header::before { content: ""; position: absolute; inset: 0 0 -48px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(12, 7, 6, .6), rgba(12, 7, 6, 0)); transition: opacity .5s ease; }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-solid { background: linear-gradient(180deg, rgba(30, 21, 18, .97), rgba(22, 15, 13, .92)); border-color: transparent; box-shadow: 0 24px 46px -32px rgba(0, 0, 0, .75); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: linear-gradient(90deg, rgba(226, 172, 107, 0), rgba(226, 172, 107, .46) 24%, rgba(226, 172, 107, .46) 76%, rgba(226, 172, 107, 0));
}
.site-header.is-solid::after { opacity: 1; }

/* ---------- 顶栏 · 桌面 ---------- */
@media (min-width: 901px) {
  .nav { gap: clamp(26px, 2.8vw, 46px); font-size: 15px; letter-spacing: .2em; color: rgba(245, 237, 223, .86); }
  .nav > a { padding: 12px 0; text-shadow: 0 1px 16px rgba(0, 0, 0, .4); }
  /* 悬浮：细线从中间向两边展开；当前所在：线 + 线上的小菱形 */
  .nav > a::after { left: 0; right: .2em; bottom: 5px; width: auto; height: 1px; background: var(--ember); transform: scaleX(0); transform-origin: 50% 50%; transition: transform .7s var(--ease-out); }
  .nav > a:hover::after, .nav > a:focus-visible::after, .nav > a.is-current::after { width: auto; transform: scaleX(1); }
  .nav > a.is-current:not(.nav-coop)::before { content: ""; position: absolute; left: calc(50% - .1em - 2.5px); bottom: 3px; width: 5px; height: 5px; background: var(--ember); transform: rotate(45deg); }
  .nav > a.nav-coop { display: inline-flex; align-items: center; min-height: 44px; margin-left: clamp(0px, .8vw, 12px); padding: 0 16px; }
}

/* ---------- 顶栏 · 手机：全宽面板，一行一项，当前项前有小菱形 ---------- */
@keyframes nav-drop { from { opacity: 0; transform: translate3d(0, -10px, 0); } }
@media (max-width: 900px) {
  .nav { top: 100%; left: 0; right: 0; max-height: calc(100svh - 74px); padding: 6px 28px 30px; gap: 0; overflow-y: auto; border: 0; border-top: 1px solid rgba(226, 172, 107, .3); background: linear-gradient(180deg, #1d1411, #170f0d); box-shadow: 0 44px 60px -24px rgba(0, 0, 0, .65); font-size: 17px; letter-spacing: .26em; color: var(--on-dark); }
  .nav.nav-open { display: flex; animation: nav-drop .45s var(--ease-out); }
  .nav > a { padding: 19px 2px; }
  .nav > a:not(.nav-coop) { border-bottom: 1px solid rgba(245, 237, 223, .09); }
  .nav > a:not(.nav-coop)::after { display: none; }
  .nav > a.is-current:not(.nav-coop)::before { content: ""; position: absolute; left: -16px; top: 50%; width: 5px; height: 5px; background: var(--ember); transform: translateY(-50%) rotate(45deg); }
  .nav > a.nav-coop { margin: 26px 0 0; padding: 14px 18px; text-align: center; font-size: 16px; }
  .menu-button span { transition: transform .45s var(--ease-out); }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
}

/* ---------- 首屏“走进门店”描边按钮：线色从灰白改为金色，与顶栏“品牌合作”同一家族 ---------- */
.button-ghost { border-color: rgba(226, 172, 107, .56); background-image: linear-gradient(var(--ember), var(--ember)); }
.button-ghost::before { border-color: rgba(226, 172, 107, .2); }
.button-ghost:hover, .button-ghost:focus-visible { border-color: var(--ember); background-image: linear-gradient(var(--ember), var(--ember)); color: var(--lacquer); }
.button-ghost:hover::before, .button-ghost:focus-visible::before { border-color: rgba(26, 18, 16, .24); }

/* ==================================================================== *
 * v1.16.0 · 招牌产品「三味展开屏」
 *  桌面 / 平板：一排竖幅，当前这一幅展开成大图 + 文字，其余收成窄条（竖排名称）。
 *               鼠标停一下、点一下、Tab 到它，都会展开；没人动它时每隔几秒自己换下一幅（带进度线）。
 *  手机：    竖向叠放的横条，点哪条展开哪条（五样以上的桌面也用这一套）。
 *  JS 给 .product-grid 加 .is-row 表示“放得下一排”；每张卡 .is-active 是当前展开的那张，--len 是名称字数。
 *  图本身不被拉伸：只是裁切窗口在变，所以展开 / 收起时是“幕布拉开”的感觉。
 * ==================================================================== */
.product-grid {
  --gap: clamp(8px, .9vw, 14px);
  --n: clamp(10px, 1.1vw, 16px);                  /* 委角半径 */
  --band: 84px;                                   /* 手机：收起的横条高度 */
  --band-open: clamp(430px, 122vw, 540px);        /* 手机：展开的高度 */
  --stage-h: clamp(500px, 47vw, 700px);           /* 桌面 / 平板：整排的高度 */
  --grow: 4.2;                                    /* 展开的那一幅比收起的宽几倍 */
  --meta-w: clamp(250px, 40vw, 520px);            /* 展开后文字栏的宽度（固定值，展开过程中文字不会重新折行） */
  --auto-ms: 6200ms;
  /* 四个角都是向内凹的小圆弧：与顶栏“品牌合作”、各处委角细框同一条轮廓 */
  --corners:
    radial-gradient(circle var(--n) at 0 0, #0000 calc(var(--n) - .6px), #000 var(--n)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle var(--n) at 100% 0, #0000 calc(var(--n) - .6px), #000 var(--n)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle var(--n) at 0 100%, #0000 calc(var(--n) - .6px), #000 var(--n)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle var(--n) at 100% 100%, #0000 calc(var(--n) - .6px), #000 var(--n)) 100% 100% / 51% 51% no-repeat;
  position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 10px;
  margin-top: clamp(44px, 5vw, 76px); counter-reset: prod;
}
/* 整排下面一团柔和的暗影（静态，不随展开重绘） */
.product-grid::before {
  content: ""; position: absolute; z-index: -1; inset: 14% 5% -3%; border-radius: 50%; background: rgba(46, 24, 12, .55); filter: blur(46px); opacity: .32; pointer-events: none;
}

.product-card {
  counter-increment: prod;
  position: relative; isolation: isolate; flex: none; height: var(--band); overflow: hidden; cursor: pointer; outline: 0;
  color: #f8f0e1; -webkit-tap-highlight-color: transparent;
  -webkit-mask: var(--corners); mask: var(--corners);
  transition: height 1s var(--ease-out), flex-grow 1.15s var(--ease-out);
}
.product-card.is-active { height: var(--band-open); cursor: default; }
.product-card:focus-visible { outline: 2px solid var(--ember); outline-offset: -8px; }

/* 入场：图从下往上展开（三张依次错开 0.14s），名称、序号、文字稍后浮现。
   裁切放在里面的 .product-photo 上，不放在卡片自己身上：浏览器算“是否进入视口”时会把卡片自己的 clip-path 算进去，裁光了就永远不触发 */
.product-card.reveal { opacity: 1; transform: none; }
.product-card.reveal:not(.in-view) .product-photo { clip-path: inset(100% 0 0 0); }
.product-card.reveal.in-view .product-photo { animation: wipe-up 1.5s var(--ease-out) var(--d, 0s) backwards; }
.product-card.reveal:not(.in-view)::before, .product-card.reveal:not(.in-view)::after,
.product-card.reveal:not(.in-view) .product-label, .product-card.reveal:not(.in-view) .product-meta, .product-card.reveal:not(.in-view) .product-mark, .product-card.reveal:not(.in-view) .product-frame { opacity: 0; }
.product-card.reveal.in-view::before, .product-card.reveal.in-view::after,
.product-card.reveal.in-view .product-label, .product-card.reveal.in-view .product-meta, .product-card.reveal.in-view .product-mark, .product-card.reveal.in-view .product-frame { animation: product-pop 1.1s var(--ease-out) calc(var(--d, 0s) + .85s) backwards; }
@keyframes product-pop { from { opacity: 0; } }

/* ---------- 图：底层，上面压两层暗色（收起时整体压暗；展开时只在文字那一侧压暗） ---------- */
.product-photo {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--lacquer);
}
.product-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.08); transition: transform 1.8s var(--ease-out); }
.product-card.is-active .product-photo img { transform: scale(1); }
.product-card.reveal:not(.in-view) .product-photo img { transform: scale(1.22); }
.product-photo::before, .product-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity 1s var(--ease-out); }
.product-photo::after { background: linear-gradient(180deg, rgba(12, 7, 6, .5), rgba(12, 7, 6, .36) 42%, rgba(12, 7, 6, .74)); }
.product-photo::before {
  z-index: 1; opacity: 0;
  background: linear-gradient(0deg, rgba(10, 6, 5, .9), rgba(10, 6, 5, .6) 28%, rgba(10, 6, 5, 0) 60%), linear-gradient(90deg, rgba(10, 6, 5, .46), rgba(10, 6, 5, 0) 62%), linear-gradient(180deg, rgba(10, 6, 5, .4), rgba(10, 6, 5, 0) 34%);
}
/* 展开后图里压一圈细框（单独一个元素：写在 .product-photo 上的 outline 会被里面的图盖住） */
.product-frame {
  position: absolute; z-index: 2; inset: clamp(8px, .9vw, 14px); border: 1px solid rgba(245, 237, 223, .3); pointer-events: none;
  opacity: 0; transition: opacity .4s ease;
}
.product-card.is-active .product-frame { opacity: 1; transition: opacity 1s ease .5s; }
.product-card.is-active .product-photo::after { opacity: 0; }
.product-card.is-active .product-photo::before { opacity: 1; }

/* ---------- 序号：收起时小号，展开后换成右上角一枚描边大号 ---------- */
.product-card::before {
  content: counter(prod, decimal-leading-zero); content: counter(prod, decimal-leading-zero) / "";
  position: absolute; z-index: 2; left: 18px; top: calc(var(--band) / 2); transform: translateY(-50%); padding-right: 14px; border-right: 1px solid rgba(226, 172, 107, .5);
  color: var(--ember); font-family: var(--serif); font-size: 14px; font-weight: 600; line-height: 22px; letter-spacing: .14em; transition: opacity .35s ease, color .5s ease;
}
.product-card.is-active::before { opacity: 0; }
.product-card::after {
  content: counter(prod, decimal-leading-zero); content: counter(prod, decimal-leading-zero) / "";
  position: absolute; z-index: 1; top: 10px; right: 16px; color: transparent; -webkit-text-stroke: 1px rgba(226, 172, 107, .6);
  font-family: var(--serif); font-size: clamp(64px, 20vw, 96px); font-weight: 600; line-height: 1; letter-spacing: .02em; pointer-events: none;
  opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .4s ease, transform .4s ease;
}
.product-card.is-active::after { opacity: 1; transform: none; transition: opacity 1s var(--ease-out) .45s, transform 1.2s var(--ease-out) .45s; }

/* ---------- 收起时的名称（装饰；展开后的标题在 .product-meta 里） ---------- */
.product-label {
  position: absolute; z-index: 2; left: 70px; right: 64px; top: calc(var(--band) / 2); transform: translateY(-50%);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #f8f0e1; font-family: var(--serif); font-size: clamp(19px, 5.4vw, 23px); font-weight: 600; line-height: 1.3; letter-spacing: .12em; text-shadow: 0 2px 16px rgba(0, 0, 0, .6);
  transition: opacity .35s ease, color .5s ease;
}
.product-card.is-active .product-label { opacity: 0; pointer-events: none; }

/* ---------- 手机：“＋”；桌面：自动轮播的进度线 ---------- */
.product-mark {
  position: absolute; z-index: 3; right: 18px; top: calc(var(--band) / 2); width: 28px; height: 28px; margin-top: -14px; border: 1px solid rgba(226, 172, 107, .6); border-radius: 50%; pointer-events: none;
  background: linear-gradient(var(--ember), var(--ember)) 50% 50% / 12px 1.5px no-repeat, linear-gradient(var(--ember), var(--ember)) 50% 50% / 1.5px 12px no-repeat;
  transition: opacity .35s ease, transform .7s var(--ease-out);
}
.product-card.is-active .product-mark { opacity: 0; transform: rotate(90deg); }

/* ---------- 展开后的文字：标签 · 标题 · 说明，压在图的左下 ---------- */
.product-meta {
  position: absolute; z-index: 3; left: 20px; right: 20px; bottom: 22px;
  opacity: 0; transform: translate3d(0, 16px, 0); pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.product-card.is-active .product-meta { opacity: 1; transform: none; pointer-events: auto; transition: opacity .9s var(--ease-out) .4s, transform 1.1s var(--ease-out) .4s; }
.product-meta span { display: flex; align-items: center; gap: 12px; color: var(--ember); font-size: 13px; line-height: 1; letter-spacing: .3em; }
.product-meta span::before { content: ""; flex: none; width: 7px; height: 7px; margin-right: 2px; background: var(--ember); transform: rotate(45deg); }
.product-meta span::after { content: ""; flex: 0 1 56px; height: 1px; background: linear-gradient(90deg, rgba(226, 172, 107, .7), rgba(226, 172, 107, 0)); }
.product-meta span:empty { display: none; }
.product-meta h3 { margin: 16px 0 0; color: #fbf4e6; font-size: clamp(26px, 7.4vw, 34px); line-height: 1.16; letter-spacing: .02em; }
.product-meta p { max-width: 30em; margin: 12px 0 0; color: rgba(248, 240, 225, .82); font-size: 15px; line-height: 1.9; }

/* 自动轮播的进度线（桌面才有，见下） */
.product-mark { z-index: 4; }

/* ---------- 鼠标悬浮（只有真有鼠标的设备）：收起的那几幅亮一点、图微微放大 ---------- */
@media (hover: hover) and (pointer: fine) {
  .product-card:not(.is-active):hover .product-photo::after { opacity: .62; }
  .product-card:not(.is-active):hover .product-photo img { transform: scale(1.03); }
  .product-card:not(.is-active):hover .product-label, .product-card:not(.is-active):hover::before { color: #fff; }
}

/* ==================================================================== *
 * 桌面 / 平板：一排竖幅
 * ==================================================================== */
@media (min-width: 761px) {
  .product-grid.is-row { flex-direction: row; gap: var(--gap); height: var(--stage-h); }
  .product-grid.is-row .product-card, .product-grid.is-row .product-card.is-active { flex: 1 1 0; height: auto; min-width: 0; transition: flex-grow 1.15s var(--ease-out); }
  .product-grid.is-row .product-card.is-active { flex-grow: var(--grow); }
  .product-grid[data-count="1"] .product-card { cursor: default; }
  .product-grid[data-count="2"] { --grow: 2.5; }
  .product-grid[data-count="4"] { --grow: 4.6; }
  .product-grid[data-count="5"] { --grow: 5; }
  .product-grid[data-count="6"] { --grow: 5.6; }

  /* 收起：序号在上、名称竖排居中、下方一颗小菱形 */
  .is-row .product-card::before { left: 50%; top: 22px; transform: translateX(-50%); padding: 0; border: 0; line-height: 1; font-size: 14px; }
  .is-row .product-label {
    left: 50%; right: auto; top: 62px; transform: translateX(-50%); overflow: visible; text-overflow: clip;
    writing-mode: vertical-rl; text-orientation: mixed; letter-spacing: .3em; line-height: 1;
    font-size: min(clamp(20px, 1.9vw, 28px), calc((var(--stage-h) - 150px) / (var(--len, 7) * 1.4)));
  }
  .is-row .product-label::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-inline-start: 22px; background: var(--ember); transform: rotate(45deg); }

  /* 展开：左下文字栏 + 右上描边大序号 */
  .is-row .product-card::after { top: auto; bottom: clamp(8px, 1vw, 18px); right: clamp(18px, 2.2vw, 36px); font-size: clamp(84px, 11vw, 168px); }
  .is-row .product-meta { left: clamp(22px, 3vw, 46px); right: auto; bottom: clamp(22px, 3vw, 44px); width: var(--meta-w); }
  .is-row .product-meta h3 { font-size: clamp(28px, 3.3vw, 52px); }
  .is-row .product-meta p { font-size: clamp(14.5px, 1.08vw, 16.5px); }

  /* 进度线：贴在展开那一幅的底边，6 秒走满 */
  .is-row .product-mark {
    left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 3px; margin: 0; border: 0; border-radius: 0; opacity: 0; transform: scaleX(0); transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--seal), var(--ember));
  }
  .product-grid.is-row .product-card.is-active .product-mark { opacity: 0; transform: scaleX(0); }   /* 盖掉手机“＋”展开时的 rotate(90deg) */
  .product-grid.is-row.is-auto .product-card.is-active .product-mark { opacity: 1; animation: product-fill var(--auto-ms) linear forwards; }
}
@keyframes product-fill { to { transform: scaleX(1); } }

/* 平板：整排矮一些，文字栏窄一些 */
@media (min-width: 761px) and (max-width: 1023px) {
  .product-grid { --stage-h: clamp(460px, 64vw, 560px); --meta-w: clamp(250px, 41vw, 360px); }
  .is-row .product-label { font-size: min(21px, calc((var(--stage-h) - 150px) / (var(--len, 7) * 1.4))); }
}

/* 手机 */
@media (max-width: 760px) {
  .product-grid { --band: 80px; --n: 11px; gap: 8px; }
}
@media (max-width: 380px) {
  .product-grid { --band: 76px; }
  .product-card::before { left: 14px; }
  .product-label { left: 62px; right: 56px; font-size: 18px; }
  .product-mark { right: 14px; }
  .product-meta { left: 16px; right: 16px; }
}

/* 减少动态效果：不做幕布入场、不自动轮播（脚本里同样判断） */
@media (prefers-reduced-motion: reduce) {
  .product-card.reveal:not(.in-view) .product-photo { clip-path: none; }
  .product-card.reveal.in-view .product-photo, .product-card.reveal.in-view::before, .product-card.reveal.in-view::after,
  .product-card.reveal.in-view .product-label, .product-card.reveal.in-view .product-meta, .product-card.reveal.in-view .product-mark, .product-card.reveal.in-view .product-frame { animation: none; }
}

/* ------------------------------------------------------------------ *
 * v1.16.0 站内换页（音乐播放时不刷新窗口，见 nav.js）：
 * 一层深漆色“幕布”先渐变盖住页面，换完内容再渐渐揭开——永远是“沉一下、再亮起”，
 * 不会像直接把内容变透明那样露出 body 的米黄底色而闪一下。
 * 幕布压在页面内容之上、页头和播放器之下（页头 90、播放器 80 不动），所以音乐控件始终可见。
 * 只用透明度，不用位移：页头是固定定位，位移动画会临时改变它的参照。
 * ------------------------------------------------------------------ */
/* 注意：站点自己的启幕规则 `html.is-ready body > :not(.intro)`（透明度 1、过渡 .8s）会命中 body 的所有直接子元素，包括这层幕布，所以这里必须用 !important 压过它 */
.ns-veil {
  position: fixed; inset: 0; z-index: 70; pointer-events: none;
  background: #140d0b; visibility: hidden;
  opacity: 0 !important;
  transition: opacity .55s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .55s !important;
}
html.ns-leaving .ns-veil { visibility: visible; opacity: 1 !important; transition: opacity .16s ease-out, visibility 0s !important; }
.ns-announce { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
main:focus { outline: 0; }
@media (prefers-reduced-motion: reduce) {
  .ns-veil { display: none; }
}

/* ------------------------------------------------------------------ *
 * v1.16.0 触屏平板（宽度 > 900px，如 iPad 横竖屏）：页脚备案号 / 隐私说明 / 面包屑的点击区
 * 也要整行 ≥ 44px。原来只在 ≤ 900px 给，iPad 上点起来太小（电脑鼠标不受影响）。
 * ------------------------------------------------------------------ */
@media (pointer: coarse) and (min-width: 901px) {
  .site-footer a:not(.brand), .join-crumb a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer a:not(.brand)::after, .join-crumb a::after { display: none; }
  .footer-legal p { margin-bottom: 0; }
}
@media (pointer: coarse) and (min-width: 1181px) {
  .footer-legal { padding-top: 0; }      /* 链接行已有 44px 高，首行中线本来就和 44px 的 Logo 对齐，不再额外下压 8px */
}

/* ------------------------------------------------------------------ *
 * v1.16.0 品牌故事 / 门店：照片被撑出自己那一列、压到文字卡片上的问题
 * 原因：照片是 4:5，又被网格拉伸到和文字卡片一样高，浏览器按高度反推宽度，宽度就超出了列
 *      （820 宽时列宽 333px，照片被撑到 491px，门店的标题和段落首字撞在招牌上；故事的红卡盖住照片右半）。
 * 做法：照片宽度永远等于自己的列、顶端对齐，高度由 4:5 决定（完整显示，不裁切）；文字卡片照常拉伸到同高。
 *      后台把文案写得很长也不会再压字。
 * ------------------------------------------------------------------ */
.story-image, .model-photo { width: 100%; align-self: start; }

/* 961–1180：仍是两栏，照片占比大一点，卡片尽量不比照片高 */
@media (min-width: 961px) and (max-width: 1180px) {
  .story-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
  .model-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); }
}

/* ≤ 960：两栏凑不出等高（卡片比 4:5 的照片高 130–290px），改成上下排；照片限宽居中，不再占满一整屏 */
@media (max-width: 960px) {
  .story-grid, .model-grid { grid-template-columns: minmax(0, 1fr); }
  .story-image, .model-photo { width: min(100%, 460px); justify-self: center; }
  .model-copy { padding: 34px 32px; }
}
@media (min-width: 600px) and (max-width: 960px) {
  .model-copy ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==================================================================== *
 * v1.16.2 · 招聘页：「招聘中」状态与更新时间
 *  页头：● 招聘中 | N 个岗位在招 | 更新于 日期（没有在招岗位时是圆点不呼吸的“长期欢迎投递”；v1.16.3 起配色为琥珀金）
 *  每个岗位：标题下一行小字 “● 招聘中 | 11月10日更新”。
 *  圆点用 span.live-dot，不用 <i>（岗位行里 `.job-item > button i` 是右侧的 ＋ 号）。
 * ==================================================================== */
/* v1.16.3：招聘页底色是酒红，原来的绿色和整页打架 → 改成琥珀金（炉火的火星），圆点带一圈缓缓扩散的暖光 */
.live-dot {
  position: relative; flex: none; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 0 0 rgba(226, 172, 107, .55), 0 0 8px rgba(226, 172, 107, .55);
}
@media (prefers-reduced-motion: no-preference) { .live-dot { animation: live-dot 2.8s ease-out infinite; } }
@keyframes live-dot {
  0% { box-shadow: 0 0 0 0 rgba(226, 172, 107, .55), 0 0 8px rgba(226, 172, 107, .55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(226, 172, 107, 0), 0 0 8px rgba(226, 172, 107, .55); }
}

.hiring-status {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  margin: clamp(22px, 2.6vw, 34px) 0 0; font-size: 14px; letter-spacing: .12em; line-height: 1.5; color: var(--on-dark-2);
}
.hiring-status[hidden] { display: none; }
.hs-live {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 13px;
  border: 1px solid rgba(226, 172, 107, .55); border-radius: 2px; background: rgba(226, 172, 107, .1);
  color: var(--ember); font-weight: 600; letter-spacing: .22em;
}
.hs-info { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.hs-info > * + *::before { content: ""; display: inline-block; width: 1px; height: 13px; margin: 0 16px; vertical-align: -2px; background: var(--line-dark); }
.hs-count, .hs-date { white-space: nowrap; }
.hs-date { color: var(--on-dark-3); }
.hiring-status.is-idle .hs-live { border-color: rgba(226, 172, 107, .5); background: rgba(226, 172, 107, .09); }
.hiring-status.is-idle .live-dot { animation: none; box-shadow: none; }   /* 没有在招岗位：圆点不呼吸（外观与 v1.16.2 相同） */

.job-head { display: grid; gap: 7px; min-width: 0; transition: transform .8s var(--ease-out); }
.job-state { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 0; font-size: 12.5px; letter-spacing: .14em; line-height: 1.5; color: var(--on-dark-3); }
.job-live { display: inline-flex; align-items: center; gap: 8px; color: var(--ember); font-weight: 600; letter-spacing: .2em; }
.job-live .live-dot { width: 6px; height: 6px; }
@media (prefers-reduced-motion: no-preference) { .job-live .live-dot { animation-name: live-dot-s; } }
@keyframes live-dot-s {
  0% { box-shadow: 0 0 0 0 rgba(226, 172, 107, .55), 0 0 6px rgba(226, 172, 107, .5); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(226, 172, 107, 0), 0 0 6px rgba(226, 172, 107, .5); }
}
.job-state time { display: inline-flex; align-items: center; white-space: nowrap; }
.job-state time::before { content: ""; width: 1px; height: 11px; margin: 0 12px; background: var(--line-dark); }
@media (hover: hover) and (pointer: fine) {
  .job-item > button:hover .job-title { transform: none; }
  .job-item > button:hover .job-head { transform: translateX(10px); }
}
@media (max-width: 640px) {
  .hiring-status { gap: 10px 14px; font-size: 13px; }
  .hs-live { padding: 7px 14px 7px 11px; }
  .hs-info > * + *::before { margin: 0 12px; }
  .hs-y:not(.keep) { display: none; }   /* 手机上同一年的日期不写年份：“更新于 11月10日” */
}
/* ==================================================================== *
 * v1.16.3
 *  1) 手机 / 平板首屏图的取景：照片带的高度不再只看屏幕高度。
 *     首屏图是一张 16:9 的横版夜景，招牌（连同左边的印章）在画面右半边。
 *     照片带是“整屏宽 × 带高”的框，图按 cover 铺满：带越高越窄，露出的原图就越少。
 *     原来带高 = 46% 屏高（最高 520px）——在又高又窄的屏上（例如 400×1067 的窗口、折叠屏外屏）
 *     带高/带宽 ≈ 1.3，只露出原图的 42%，招牌印章被切掉一半。
 *     现在再加一道“不超过带宽 × 1.09 − 24px”的上限：露出的原图始终 ≥ 51%（和常见手机 390×844 的取景几乎一样），
 *     印章、招牌外框、右侧灯箱在呼吸动画走到最大时也完整在画面里。
 *     常见手机（360×800、375×667/812、390×844、393×852、412×915、430×932 等，屏高 / 屏宽 ≤ 约 2.2）与平板、横屏：上限不起作用，和以前一模一样。
 *  2) 图片晚到时的柔和淡入（脚本在“等满了图还没到”时才会给图加 .img-late；图到了再淡入）。
 * ==================================================================== */
@media (max-width: 900px) {
  .hero { --hero-photo: clamp(300px, min(46svh, calc(109vw - 24px)), 520px); }
}

/* 图还没到、幕布已经升起：先只露出深色底；图到了由脚本摘掉 .img-late 并做 0.9 秒淡入 */
img.img-late { opacity: 0; }
