/* 企业官网区块库样式。主题变量（--bg/--text/--primary…、--radius、--pad、字体）由 base.html.j2 按 spec.theme 注入 */
*,*::before,*::after{box-sizing:border-box}
:root{--navh:76px;--hs:1;--hw:700}
body.nav-center{--navh:112px}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);font-size:18px;line-height:1.7;-webkit-font-smoothing:antialiased}
img,video{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
h1,h2,h3{font-family:var(--font-head);font-weight:var(--hw);line-height:1.15;margin:0;letter-spacing:-.01em;text-wrap:balance}
p{margin:0}
.wrap{width:min(1240px,100% - 48px);margin-inline:auto}
.sec{padding-block:var(--pad)}
.sec-title{font-size:calc(clamp(1.8rem,3.2vw,2.6rem) * var(--hs));margin-bottom:calc(var(--pad)*.45);max-width:18em}
.eyebrow{font-family:var(--font-accent);font-size:.95rem;letter-spacing:.18em;text-transform:uppercase;color:var(--primary);margin-bottom:1rem;display:block}
.muted{color:var(--muted)}
.btn{display:inline-flex;align-items:center;gap:.6em;padding:.95em 1.8em;border-radius:max(var(--radius),4px);background:var(--primary);color:var(--on-primary);font-weight:600;transition:transform .25s,box-shadow .25s}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 30px -10px var(--primary)}
.btn::after{content:"→";transition:transform .25s}
.btn:hover::after{transform:translateX(4px)}
.btn.ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.6)}

/* 图片通用 */
.frame{position:relative;overflow:hidden;border-radius:var(--radius);background:var(--surface)}
.frame>img,.frame>video,.frame>.ph{width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
.frame:hover>img{transform:scale(1.04)}
/* 文档类素材（证书/扫描页/截图，见 build.DOC_KINDS）：整张放进框里、不裁切，衬一层底色当纸托 */
.frame.doc{background:var(--surface);padding:clamp(.75rem,2vw,1.5rem)}
.frame.doc>img{object-fit:contain}
.frame.doc:hover>img{transform:none}
.duotone .frame:not(.doc)::after,.duotone.cover::after{content:"";position:absolute;inset:0;background:var(--primary);mix-blend-mode:color;opacity:.55;pointer-events:none}
.ph{display:flex;align-items:flex-end;padding:1rem;background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;font-size:.75rem;opacity:.85;min-height:200px}
.ph span{background:rgba(0,0,0,.35);padding:.3em .6em;border-radius:4px;max-width:100%}

/* 顶栏 */
.nav{position:fixed;inset:0 0 auto;z-index:50;transition:background .35s,box-shadow .35s,color .35s;color:#fff}
.nav.solid,.nav.always{background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(14px);color:var(--text);box-shadow:0 1px 0 color-mix(in srgb,var(--text) 10%,transparent)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:var(--navh)}
.nav .wrap{gap:2rem}
.brand{display:flex;align-items:center;gap:.7rem;font-family:var(--font-head);font-weight:700;font-size:1.15rem;min-width:0}
.brand span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand img{height:36px;width:auto}
.menu{display:flex;gap:clamp(1rem,2.2vw,2.2rem);align-items:center;font-size:1rem;flex:none}
.menu a{opacity:.85;position:relative;white-space:nowrap}
.menu a:hover,.menu a.on{opacity:1}
.menu a.on::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:var(--primary)}
.lang{font-family:var(--font-accent);font-size:.85rem;border:1px solid currentColor;padding:.25em .7em;border-radius:99px;opacity:.75}
.burger{display:none;background:none;border:0;color:inherit;font-size:1.6rem;cursor:pointer}

/* 首屏（公共）：.hmedia 放轮播图，.inner 放文字；各版式只改两者的摆放 */
.hero{position:relative;overflow:hidden}
.hero .hmedia{position:absolute;inset:0;overflow:hidden;background:#111}
.hero .slide{position:absolute;inset:0;opacity:0;transition:opacity 1.4s ease}
.hero .slide.on{opacity:1}
.hero .slide>img,.hero .slide>video,.hero .slide>.ph{width:100%;height:100%;object-fit:cover}
.hero .slide.on>img{animation:kenburns 9s ease-out both}
@keyframes kenburns{from{transform:scale(1.12)}to{transform:scale(1)}}
.cover::before{content:"";position:absolute;inset:0;z-index:1;background:var(--overlay);pointer-events:none}
.hero .inner{position:relative;z-index:2}
.hero .panel{display:flex;flex-direction:column;align-items:flex-start}
.hero.center .panel{align-items:center;text-align:center;margin-inline:auto}
.hero h1{font-size:calc(clamp(2.6rem,7vw,6.2rem) * var(--hs));max-width:12em}
.hero .sub{font-size:clamp(1.05rem,1.6vw,1.35rem);max-width:26em;margin-top:1.4rem;opacity:.9;text-wrap:pretty}
.hero .actions{margin-top:2.4rem;display:flex;gap:1rem;flex-wrap:wrap}
/* 文字压在图上的版式（fullbleed/framed）才需要暗角；其余版式文字在底色上，图片原样 */
.hero:not(.v-fullbleed):not(.v-framed) .cover::before{display:none}
.v-fullbleed h1,.v-framed h1{text-shadow:0 2px 30px rgba(0,0,0,.25)}

/* fullbleed：全屏大图，文字左下 */
.v-fullbleed{height:100svh;min-height:600px;color:#fff}
.v-fullbleed .inner{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:14vh}
.v-fullbleed.center .inner{justify-content:center;padding-bottom:0}

/* framed：四周留边的圆角大图 */
.v-framed{height:100svh;min-height:640px;color:#fff}
.v-framed .hmedia,.v-framed .inner{position:absolute;inset:var(--navh) 20px 20px;border-radius:max(var(--radius),6px)}
.v-framed .inner{display:flex;flex-direction:column;justify-content:flex-end;padding:0 clamp(.5rem,3vw,3rem) 10vh}
.v-framed.center .inner{justify-content:center;padding-bottom:0}

/* split：左文右图，各占一半 */
.v-split{display:grid;grid-template-columns:1fr 1.1fr;min-height:100svh;color:var(--text);background:var(--bg)}
.v-split .hmedia{position:relative;order:2}
.v-split .inner{display:flex;align-items:center;padding:calc(var(--navh) + 3rem) clamp(1.5rem,5vw,6rem) 4rem}
.v-split .inner>.wrap{width:auto;margin:0}
.v-split h1{font-size:calc(clamp(2.3rem,4.4vw,4.4rem) * var(--hs))}
.v-split .sub{color:var(--muted);opacity:1}

/* type：超大字排版占首屏，图片作为下方宽幅图带 */
.v-type{display:flex;flex-direction:column;padding-top:calc(var(--navh) + clamp(4rem,12vh,9rem));color:var(--text);background:var(--bg)}
.v-type h1{font-size:calc(clamp(2.8rem,8.4vw,8rem) * var(--hs));max-width:14em;line-height:1.05}
.v-type .sub{color:var(--muted);opacity:1;font-size:clamp(1.1rem,1.8vw,1.5rem)}
.v-type .hmedia{position:relative;order:2;height:clamp(320px,62vh,720px);width:min(1240px,100% - 48px);margin:clamp(3rem,7vw,6rem) auto 0;border-radius:var(--radius)}

/* offset：图片偏右上，文字面板压住图片左下角（杂志感） */
.v-offset{min-height:100svh;color:var(--text);background:var(--bg)}
.v-offset .hmedia{left:auto;width:64%;bottom:14vh}
.v-offset .inner{min-height:100svh;display:flex;align-items:flex-end;padding-bottom:7vh}
.v-offset .panel{background:var(--bg);padding:clamp(2rem,4vw,3.5rem) clamp(2rem,4vw,3.5rem) 0 0;max-width:min(46rem,70%)}
.v-offset .sub{color:var(--muted);opacity:1}
.v-offset h1{font-size:calc(clamp(2.4rem,5vw,4.8rem) * var(--hs))}
.v-offset.center .panel{margin-inline:0;text-align:left;align-items:flex-start}

.hero .dots{position:absolute;z-index:3;right:24px;bottom:32px;display:flex;gap:10px}
.hero .dots button{width:34px;height:3px;border:0;background:rgba(255,255,255,.4);cursor:pointer;padding:0}
.hero .dots button.on{background:#fff}
.scroll-cue{position:absolute;z-index:3;left:50%;bottom:22px;width:1px;height:48px;background:linear-gradient(#fff,transparent);animation:cue 2s infinite}
@keyframes cue{0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}

/* 子页横幅 */
.phead{position:relative;height:62vh;min-height:420px;color:#fff;overflow:hidden;background:var(--surface)}
.phead.noimg{height:auto;min-height:0;padding-top:170px;padding-bottom:60px;color:var(--text)}
.phead>img,.phead>.ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.phead .inner{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:9vh}
.phead.noimg .inner{padding-bottom:0}
.phead h1{font-size:calc(clamp(2.4rem,5.5vw,4.6rem) * var(--hs))}
.phead .sub{margin-top:1rem;font-size:1.15rem;opacity:.85;max-width:28em}

/* 理念 */
.statement .big{font-family:var(--font-head);font-size:calc(clamp(1.7rem,3.8vw,3.4rem) * var(--hs));line-height:1.35;max-width:20em;text-wrap:balance;font-weight:var(--hw)}
.statement .frame{margin-top:calc(var(--pad)*.6);aspect-ratio:21/9}

/* 图文交错 */
.split .row{display:grid;grid-template-columns:1.25fr 1fr;gap:clamp(2rem,6vw,6rem);align-items:center}
.split .row+.row{margin-top:var(--pad)}
.split .row:nth-child(even) .frame{order:2}
.split .frame{aspect-ratio:4/3}
.split h3{font-size:clamp(1.5rem,2.6vw,2.3rem);margin-bottom:1.1rem}
.split .idx{font-family:var(--font-accent);color:var(--primary);font-size:clamp(1.6rem,2.4vw,2.1rem);font-weight:600;line-height:1;display:block;margin-bottom:1.1rem}

/* 特性网格 */
.features .grid{display:grid;gap:clamp(1.2rem,2.5vw,2rem)}
/* 文字卡片统一用 --card / --card-text / --card-muted：由 build.card_colors 按对比度算出，保证卡片与所在底色、文字与卡片都有区分 */
.features .item{padding:2rem;background:var(--card);color:var(--card-text);border-radius:var(--radius);transition:transform .3s}
.features .item .muted{color:var(--card-muted)}
.features .item:hover{transform:translateY(-4px)}
.features .item.has-media{padding:0;background:none;color:inherit}
.features .item.has-media .muted{color:var(--muted)}
.features .item.has-media .frame{aspect-ratio:3/2;margin-bottom:1.2rem}
.features .num{font-family:var(--font-accent);color:var(--primary);font-size:1.75rem;font-weight:600;line-height:1;display:block;margin-bottom:1.8rem}
.features h3{font-size:1.35rem;margin-bottom:.6rem}

/* 数字 */
.stats{position:relative;background:var(--surface);overflow:hidden;--card:var(--card-2)}
.stats.cover{color:#fff;background:#111}
.stats>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.stats .wrap{position:relative;z-index:2}
.stats .grid{display:grid;gap:2rem}
.stats .v{font-family:var(--font-head);font-size:clamp(2.6rem,4.2vw,4rem);white-space:nowrap;font-weight:var(--hw);line-height:1;color:var(--primary)}
.stats.cover .v{color:#fff}
.stats .l{margin-top:.8rem;font-size:1.1rem;opacity:.85}

/* 卡片 */
.cards .grid{display:grid;gap:clamp(1.2rem,2.5vw,2.2rem)}
.cards .frame{aspect-ratio:4/3;margin-bottom:1.3rem}
.cards h3{font-size:1.4rem;margin-bottom:.5rem}

/* 画廊：按行排（build.balanced_rows），每张图按原始宽高比（--r）等高铺满整行 → 整块是规整的长方形，图片一点不裁 */
.gallery{--gg:clamp(10px,1.2vw,16px)}
.gallery figure{margin:0;min-width:0}
/* 照片拼贴：每段一张大图占一侧整高，小图在另一侧堆到同样高度；各格都约 4:3，整段是个长方形 */
.gallery .band{display:grid;gap:var(--gg)}
.gallery .band+.band{margin-top:var(--gg)}
.gallery .b2{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr);aspect-ratio:8/3}
.gallery .b3{grid-template-columns:2fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));aspect-ratio:2}
.gallery .b4{grid-template-columns:3fr 1fr;grid-template-rows:repeat(3,minmax(0,1fr));aspect-ratio:16/9}
.gallery .b5{grid-template-columns:2fr 1fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));aspect-ratio:8/3}
.gallery .b3.flip{grid-template-columns:1fr 2fr}
.gallery .b4.flip{grid-template-columns:1fr 3fr}
.gallery .b5.flip{grid-template-columns:1fr 1fr 2fr}
.gallery .band>figure:first-child{grid-column:1;grid-row:1/-1}
.gallery .band.flip>figure:first-child{grid-column:-2}
.gallery .band figure{position:relative;min-height:0;border-radius:var(--radius);overflow:hidden}
.gallery .band .frame{height:100%;border-radius:0}
.gallery .band figcaption{position:absolute;inset:auto 0 0;z-index:2;padding:2.6rem 1.1rem .9rem;color:#fff;font-size:1rem;line-height:1.4;background:linear-gradient(transparent,rgba(0,0,0,.6));pointer-events:none}
/* 证书/二维码等不能裁的：按原始宽高比等高排行，每行铺满 */
.gallery .row{display:flex;gap:var(--gg)}
.gallery .row+.row{margin-top:clamp(1rem,2vw,1.6rem)}
.gallery .row figure{flex:var(--r) 1 0}
.gallery .row .frame{aspect-ratio:var(--r)}
.gallery .row.solo figure{max-width:calc(var(--r) * 480px)}  /* 只有一行且图少时（如两张方形二维码）行高封顶，不撑满整行；各图同时触顶，仍等高 */
.gallery .row .frame.doc{padding:0;background:#fff;box-shadow:0 0 0 1px color-mix(in srgb,var(--text) 10%,transparent),0 18px 40px -24px rgba(0,0,0,.35)}
.gallery .row figcaption{margin-top:.7rem;font-size:1rem;color:var(--muted)}

/* 历程 */
.timeline ol{list-style:none;margin:0;padding:0;border-left:1px solid color-mix(in srgb,var(--text) 20%,transparent)}
.timeline li{display:grid;grid-template-columns:160px 1fr;gap:2rem;padding:1.6rem 0 1.6rem 2rem;position:relative}
.timeline li::before{content:"";position:absolute;left:-5px;top:2.25rem;width:9px;height:9px;border-radius:50%;background:var(--primary)}
.timeline .t{font-family:var(--font-head);font-size:1.8rem;font-weight:700;color:var(--primary);line-height:1.2}

/* logo 墙 */
.logos .grid{display:grid;gap:1px;background:color-mix(in srgb,var(--text) 10%,transparent)}
.logos .cell{background:var(--bg);display:flex;align-items:center;justify-content:center;padding:2rem;aspect-ratio:3/2}
.logos img{max-height:56px;width:auto;filter:grayscale(1);opacity:.7;transition:.3s}
.logos img:hover{filter:none;opacity:1}

/* 行动号召 */
.cta{position:relative;overflow:hidden;background:var(--primary);color:var(--on-primary)}
.cta.cover{background:#111;color:#fff}
.cta>img,.cta>.ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cta .wrap{position:relative;z-index:2;text-align:center}
.cta h2{font-size:calc(clamp(2rem,4.5vw,3.8rem) * var(--hs));max-width:16em;margin-inline:auto}
.cta .sub{margin-top:1.2rem;opacity:.85}
.cta .btn{margin-top:2.2rem;background:var(--on-primary);color:var(--primary)}
.cta.cover .btn{background:var(--primary);color:var(--on-primary)}

/* 联系 */
.contact .head{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start}
/* 多个办公点：每个一张卡片，均衡分行 */
.contact .offices{display:grid;margin-top:clamp(3rem,6vw,5rem);gap:clamp(12px,1.6vw,24px)}
.contact .office{background:var(--card);color:var(--card-text);border-radius:var(--radius);padding:clamp(1.8rem,2.8vw,2.6rem)}
.contact .office::before{content:"";display:block;width:2.2rem;height:3px;background:var(--primary);margin-bottom:1.4rem}
.contact .office h3{font-size:clamp(1.45rem,2vw,1.7rem);margin-bottom:.9rem}
.contact .office p{color:var(--card-text);font-size:1.05rem;line-height:1.7}
.contact .office .tel{margin-top:.5rem;color:var(--card-text);font-weight:600}
.contact dl{margin:0;display:grid;gap:1.6rem}
.contact dt{font-family:var(--font-accent);font-size:.9rem;letter-spacing:.15em;text-transform:uppercase;color:var(--muted)}
.contact dd{margin:.3rem 0 0;font-size:1.3rem}

/* 长正文 / 数据表 / 问答：给读者和 AI 引用的实料，版式克制、行长受限 */
.prose .body{max-width:46em;font-size:1.08rem;line-height:1.9}
.prose .body p{margin:0 0 1.1em}
.prose .body ul{margin:0 0 1.3em;padding-left:1.3em}
.prose .body li{margin:.35em 0}
.prose .body li::marker{color:var(--primary)}
.table .tbl{overflow-x:auto;border-radius:var(--radius);background:var(--card);color:var(--card-text)}
.table table{width:100%;border-collapse:collapse;font-size:1rem;min-width:36em}
.table th,.table td{padding:.95rem 1.2rem;text-align:left;vertical-align:top;border-bottom:1px solid color-mix(in srgb,var(--card-text) 12%,transparent)}
.table th{font-family:var(--font-accent);font-size:.85rem;letter-spacing:.08em;color:var(--card-muted);white-space:nowrap}
.table tbody tr:last-child td{border-bottom:0}
.table .note{margin-top:1rem;font-size:.95rem;max-width:46em}
.faq .qas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,1.6vw,24px)}
.faq .qa{background:var(--card);color:var(--card-text);border-radius:var(--radius);padding:clamp(1.5rem,2.4vw,2.2rem)}
.faq .qa h3{font-size:1.2rem;line-height:1.45;margin-bottom:.8rem}
.faq .qa p{color:var(--card-muted);line-height:1.8;margin:0}
@media (max-width:760px){.faq .qas{grid-template-columns:1fr}}

/* 页脚 */
footer{background:var(--surface);padding:4.5rem 0 2rem;font-size:1rem}
footer .top{display:flex;justify-content:space-between;gap:3rem;flex-wrap:wrap}
footer .fname{font-family:var(--font-head);font-size:1.4rem;font-weight:700}
footer nav{display:flex;gap:1.6rem;flex-wrap:wrap}
footer .bottom{margin-top:3.5rem;padding-top:1.5rem;border-top:1px solid color-mix(in srgb,var(--text) 12%,transparent);display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;color:var(--muted)}

/* 网格均衡分行（cards / features-cards / stats / logos）：列数 --cols 与每项跨度 --span 由 build.grid_layout 按项数算好，
   每行项数相等或只差 1、每行都铺满，不会剩一两个孤在最后一行 */
.grid.bal{grid-template-columns:repeat(var(--cols),minmax(0,1fr))}
.grid.bal>*{grid-column:span var(--span,1)}

/* ===== 版式 DNA（body 类名来自 theme.layout，默认值即上面的基础样式）===== */
/* 顶栏：nav-center 品牌居中两行 */
.nav-center .nav .wrap{flex-direction:column;justify-content:center;gap:.55rem}
.nav-center .brand{font-size:1.3rem;letter-spacing:.04em}

/* 特性：cards 默认卡片（有图则隐藏编号）/ list 编号横排列表 / bento 大小格拼贴 */
.features .item.has-media .num{display:none}
.features-list .features .grid{grid-template-columns:1fr;gap:0}
.features-list .features .item,.features-list .features .item.has-media{display:grid;grid-template-columns:minmax(4rem,1fr) 3fr 2fr;gap:2rem;align-items:start;
  padding:2.2rem 0;background:none;border-radius:0;border-top:1px solid color-mix(in srgb,var(--text) 16%,transparent);box-shadow:none}
.features-list .features .item:last-child{border-bottom:1px solid color-mix(in srgb,var(--text) 16%,transparent)}
.features-list .features .item:hover{transform:none}
.features-list .features .item .num,.features-list .features .item.has-media .num{display:block;margin:0;font-size:clamp(1.6rem,2.4vw,2.1rem)}
.features-list .features .item .frame{grid-column:3;grid-row:1;aspect-ratio:3/2;margin:0}
.features-list .features .txt{grid-column:2;grid-row:1}
.features-list .features h3{font-size:clamp(1.3rem,2.2vw,1.9rem)}
.features-bento .features .grid{grid-template-columns:repeat(4,1fr);grid-auto-rows:minmax(230px,auto)}
.features-bento .features .item{grid-column:span 2;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end}
.features-bento .features .item:first-child{grid-row:span 2}
.features-bento .features .item:nth-child(n+4):last-child:nth-child(even){grid-column:span 4}
.features-bento .features .item:first-child:nth-last-child(2){grid-row:auto}  /* 只有 2 项：首项不跨两行，否则右下空一格 */
.features-bento .features .item:only-child{grid-column:1/-1;grid-row:auto}
.features-bento .features .item.has-media{padding:2rem;color:#fff;background:#111;border-radius:var(--radius)}
.features-bento .features .item.has-media .frame{position:absolute;inset:0;margin:0;aspect-ratio:auto;border-radius:0}
.features-bento .features .item.has-media .frame::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.65))}
.features-bento .features .item.has-media .txt{position:relative;z-index:2}
.features-bento .features .item.has-media .muted{color:rgba(255,255,255,.8)}
.features-bento .features .item:first-child h3{font-size:clamp(1.5rem,2.6vw,2.2rem)}

/* 卡片质感：flat 底色块（默认）/ outline 细线框 / shadow 浮起 */
.card_style-outline .features .item:not(.has-media),.card_style-outline .stats-boxes .stats:not(.cover) .grid>div{border:1px solid color-mix(in srgb,var(--text) 18%,transparent)}
.card_style-shadow .features .item:not(.has-media),.card_style-shadow .stats .grid>div{box-shadow:0 24px 50px -28px rgba(0,0,0,.4)}
.card_style-shadow .features .item.has-media .frame,.card_style-shadow .cards .frame{box-shadow:0 24px 50px -28px rgba(0,0,0,.45)}

/* 图文：overlap 文字卡片放在图片旁边、垂直居中，只压住图片边缘 1/12 列，不挡图片主体；
   半透明磨砂底（backdrop-filter 把压住的那条图片虚化）+ 亮边 + 投影，像一块浮在图片上方的玻璃 */
.split-overlap .split .row{grid-template-columns:repeat(12,1fr);gap:0;align-items:center}
.split-overlap .split .row>.frame{grid-column:1/9;grid-row:1;aspect-ratio:16/10;order:0}
.split-overlap .split .row>div:last-child{grid-column:8/13;grid-row:1;z-index:2;color:var(--card-text);padding:clamp(2rem,3.5vw,3rem);border-radius:var(--radius);
  background:color-mix(in srgb,var(--card) 72%,transparent);-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);
  border:1px solid color-mix(in srgb,#fff 45%,transparent);
  box-shadow:0 30px 60px -30px rgba(0,0,0,.35),0 12px 24px -16px rgba(0,0,0,.15)}
.split-overlap .split .row>div:last-child .muted{color:var(--card-muted)}
.split-overlap .split .row:nth-child(even)>.frame{grid-column:5/13}
.split-overlap .split .row:nth-child(even)>div:last-child{grid-column:1/6}
.split-overlap .split .row>div:only-child{grid-column:1/13}

/* 数字：band 底色横幅（默认）/ inline 无底色竖线分隔 / boxes 每项一块 */
.stats-inline .stats:not(.cover){background:none}
.stats-inline .stats:not(.cover) .grid>div{border-left:1px solid color-mix(in srgb,var(--text) 22%,transparent);padding-left:1.6rem}
.stats-inline .stats:not(.cover) .v{color:var(--text)}
.stats-boxes .stats:not(.cover){background:none}
.stats-boxes .stats .grid>div{background:var(--card);color:var(--card-text);border-radius:var(--radius);padding:2.2rem 2rem}
.stats-boxes .stats.cover .grid>div{background:rgba(255,255,255,.1);backdrop-filter:blur(8px)}

/* 按钮：solid（默认）/ pill 胶囊 / outline 描边 / line 下划线文字 */
.button-pill .btn{border-radius:99px}
.button-outline .btn,.button-outline .cta .btn,.button-outline .cta.cover .btn{background:transparent;color:inherit;border:1.5px solid currentColor;border-radius:max(var(--radius),4px)}
.button-outline .btn:hover{box-shadow:none;background:color-mix(in srgb,currentColor 10%,transparent)}
.button-line .btn,.button-line .cta .btn,.button-line .cta.cover .btn{background:none;color:inherit;padding:.5em 0;border-radius:0;border-bottom:2px solid var(--primary);box-shadow:none}
.button-line .btn:hover{box-shadow:none}

/* 节奏：uniform 统一底色（默认）/ alternate 区块交替底色 / blocks 关键区块整块品牌色 */
.rhythm-alternate main>.sec:nth-child(even):not(.cta):not(.cover){background:var(--surface);--card:var(--card-2)}  /* 区块底色变深，里面的卡片再深一档 */
.rhythm-blocks .statement{background:var(--primary);color:var(--on-primary)}
.rhythm-blocks .statement .eyebrow{color:inherit;opacity:.75}
.rhythm-blocks .stats:not(.cover){background:var(--text);color:var(--bg)}
.rhythm-blocks .stats:not(.cover) .v{color:var(--accent)}
.rhythm-blocks .stats:not(.cover) .grid>div{color:var(--bg);border-color:color-mix(in srgb,var(--bg) 25%,transparent)}
.rhythm-blocks.stats-boxes .stats:not(.cover) .grid>div{background:color-mix(in srgb,var(--bg) 14%,var(--text))}  /* 每项底色块只属于 boxes，band/inline 不加 */

/* 进场动画 */
.rv{opacity:0;transform:translateY(36px);transition:opacity 1s ease,transform 1s cubic-bezier(.2,.7,.2,1)}
.rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.rv{opacity:1;transform:none}.hero .slide.on>img{animation:none}}

/* 移动端 */
@media (max-width:860px){
  body{font-size:17px}
  .burger{display:block}
  .menu{position:fixed;inset:var(--navh) 0 auto;flex-direction:column;align-items:flex-start;gap:1.2rem;padding:1.5rem 24px 2rem;background:var(--bg);color:var(--text);display:none}
  .nav.open .menu{display:flex}
  .split .row,.contact .head{grid-template-columns:1fr}
  .split .row:nth-child(even) .frame{order:0}
  .gallery .row{flex-direction:column}
  .gallery .row figure{flex:none}
  /* 拼贴改两列：大图（及落单的最后一张）占整行，其余两两一行，仍是长方形 */
  .gallery .band,.gallery .band.flip{grid-template-columns:1fr 1fr;grid-template-rows:none;aspect-ratio:auto}
  .gallery .band>figure{aspect-ratio:4/3}
  .gallery .band>figure:first-child,.gallery .band.flip>figure:first-child,.gallery .band>figure:last-child:nth-child(even){grid-column:1/-1;grid-row:auto;aspect-ratio:3/2}
  .grid.bal{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid.bal>*{grid-column:auto}
  .grid.bal>:last-child:nth-child(odd){grid-column:1/-1}
  .timeline li{grid-template-columns:1fr;gap:.4rem}
  .v-fullbleed .inner{padding-bottom:12vh}
  body.nav-center{--navh:76px}
  .nav-center .nav .wrap{flex-direction:row;justify-content:space-between}
  .v-split{grid-template-columns:1fr}
  .v-split .hmedia{min-height:48vh}
  .v-framed .hmedia,.v-framed .inner{inset:var(--navh) 10px 10px}
  .v-offset .hmedia{width:100%;bottom:auto;height:58vh}
  .v-offset .inner{padding-bottom:3rem}
  .v-offset .panel{max-width:100%;padding:2rem 1.5rem 0 0}
  .features-list .features .item,.features-list .features .item.has-media{grid-template-columns:3rem 1fr;gap:1rem}
  .features-list .features .item .frame{display:none}
  .features-bento .features .grid{display:flex;flex-direction:column}  /* flex 下 span 失效，避免隐式多列 */
  .features-bento .features .item{min-height:200px}
  .split-overlap .split .row{grid-template-columns:1fr}
  .split-overlap .split .row>.frame,.split-overlap .split .row>div:last-child,
  .split-overlap .split .row:nth-child(even)>.frame,.split-overlap .split .row:nth-child(even)>div:last-child{grid-column:1;grid-row:auto}
  .split-overlap .split .row>div:last-child{margin:-2.5rem 1rem 0}
  .split-overlap .split .row>div:only-child{margin:0}
}
@media (max-width:560px){
  .cards .grid.bal,.features .grid.bal,.stats .grid.bal,.contact .grid.bal{grid-template-columns:1fr}
}
