/* Homepage styles (mach design). Images via inline/ACF — no techeng paths. */

:root{
  --black:#0b0c0e; --black2:#141518; --white:#ffffff; --off:#f7f7f8;
  --blue:#1f6feb; --blue-deep:#0d2f66; --blue-light:#5a97ff;
  --gray:#6b7280; --line:rgba(0,0,0,.09); --line-d:rgba(255,255,255,.14);
  --tilt:-7deg; --maxw:1400px;
  padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px);
  box-sizing:border-box;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth; scroll-padding-top:88px}
body{margin:0;background:var(--white);color:var(--black);font-family:'Inter',sans-serif;
  -webkit-font-smoothing:antialiased; overflow-x:hidden}
h1,h2,h3,.disp{font-family:'Archivo',sans-serif; margin:0; letter-spacing:-.01em}
p{margin:0; line-height:1.65; color:var(--gray)}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 40px}
@media(max-width:1000px){.wrap{padding:0 24px}}

/* ---- nav ---- */
#nav{position:fixed; top:0; left:0; right:0; z-index:100; color:#fff;
  transition:background .35s ease, color .35s ease}
#nav .nav-inner{display:flex; align-items:center; justify-content:space-between; gap:40px;
  height:96px; padding:0 48px; transition:height .35s ease}
#nav .nav-rule{position:absolute; left:0; right:0; bottom:0; height:1px;
  background:rgba(255,255,255,.22); transition:background .35s ease}
#nav.scrolled, #nav.menu-open{background:rgba(255,255,255,.96); backdrop-filter:blur(12px); color:var(--black)}
#nav.scrolled .nav-inner, #nav.menu-open .nav-inner{height:70px}
#nav.scrolled .nav-rule, #nav.menu-open .nav-rule{background:var(--line)}
.logo{display:inline-flex; align-items:center; flex:none; color:inherit}
.logo img{display:block; width:auto; height:34px; transition:opacity .25s ease}
.logo .lg-dark{display:none}
.logo:hover img{opacity:.85}
#nav.scrolled .logo .lg-light, #nav.menu-open .logo .lg-light{display:none}
#nav.scrolled .logo .lg-dark, #nav.menu-open .logo .lg-dark{display:block}
@media(max-width:900px){.logo img{height:28px}}
.navlinks{display:flex; gap:52px; font-size:18px; font-weight:500; letter-spacing:.01em}
.navlinks > li > a{position:relative; padding:5px 0; opacity:.85; transition:opacity .25s}
.navlinks > li > a::after{content:''; position:absolute; left:0; bottom:0; width:0; height:1px;
  background:currentColor; transition:width .28s}
.navlinks > li > a:hover{opacity:1}
.navlinks > li > a:hover::after{width:100%}
.navright{display:flex; align-items:center; gap:26px; flex:none}
.langsw{position:relative}
.lang-trigger{display:flex; align-items:center; gap:7px; background:none; border:none; cursor:pointer;
  font-family:inherit; font-size:13.5px; font-weight:600; letter-spacing:.07em; color:inherit;
  padding:7px 2px; opacity:.85; transition:opacity .25s}
.lang-trigger:hover{opacity:1}
.lang-trigger .caret{width:11px; height:11px; transition:transform .28s ease}
.langsw.open .lang-trigger .caret{transform:rotate(180deg)}
.lang-menu{position:absolute; top:calc(100% + 10px); right:0; min-width:134px; z-index:120;
  background:rgba(255,255,255,.98); border:1px solid var(--line);
  box-shadow:0 16px 44px rgba(0,0,0,.15); padding:6px;
  opacity:0; visibility:hidden; transform:translateY(-6px);
  transition:opacity .22s ease, transform .22s ease, visibility .22s}
.langsw.open .lang-menu{opacity:1; visibility:visible; transform:translateY(0)}
.lang-menu button{display:block; width:100%; text-align:left; background:none; border:none;
  cursor:pointer; font-family:inherit; font-size:14px; color:var(--black);
  padding:9px 12px; transition:background .2s ease, color .2s ease}
.lang-menu button:hover{background:var(--off); color:var(--blue)}
.lang-menu button.active{color:var(--blue); font-weight:600}
.navcta{font-size:14.5px; font-weight:500; opacity:.85; padding-bottom:2px;
  border-bottom:1px solid transparent; transition:opacity .25s, border-color .25s}
.navcta:hover{opacity:1; border-color:currentColor}
.iconbtn{width:42px; height:42px; border-radius:50%; flex:none; cursor:pointer; padding:0;
  display:none; align-items:center; justify-content:center; color:#fff;
  background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.3);
  transition:background .25s ease, border-color .25s ease, color .25s ease}
.iconbtn svg{width:15px; height:15px; display:block}
.iconbtn:hover{background:var(--blue); border-color:var(--blue); color:#fff}
#nav.scrolled .iconbtn, #nav.menu-open .iconbtn{background:transparent; border-color:rgba(0,0,0,.16); color:var(--black)}
#nav.scrolled .iconbtn:hover, #nav.menu-open .iconbtn:hover{background:var(--blue); border-color:var(--blue); color:#fff}
/* nav search button (icon image: sousuo.png) */
.searchbtn{width:42px; height:42px; border-radius:50%; flex:none; cursor:pointer; padding:0;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.3);
  transition:background .25s ease, border-color .25s ease}
.searchbtn img{width:16px; height:16px; display:block; transition:filter .25s ease}
#nav.scrolled .searchbtn, #nav.menu-open .searchbtn{background:transparent; border-color:rgba(0,0,0,.16)}
#nav.scrolled .searchbtn img, #nav.menu-open .searchbtn img{filter:brightness(0)}
.searchbtn:hover, #nav.scrolled .searchbtn:hover, #nav.menu-open .searchbtn:hover{background:var(--blue); border-color:var(--blue)}
.searchbtn:hover img, #nav.scrolled .searchbtn:hover img, #nav.menu-open .searchbtn:hover img{filter:brightness(0) invert(1)}
@media(max-width:900px){.searchbtn{width:38px; height:38px}.searchbtn img{width:15px; height:15px}}
@media(max-width:1240px){.navlinks{gap:32px; font-size:16px}.navright{gap:18px}}
@media(max-width:1040px){.navlinks{gap:20px; font-size:14.5px}}
@media(max-width:900px){
  #nav .nav-inner{height:76px; padding:0 22px; gap:16px}
  .navlinks{display:none}
  .navcta{display:none}
  .iconbtn{display:flex}
}
#mobmenu{position:fixed; top:0; left:0; right:0; z-index:99; background:#fff; color:var(--black);
  padding:96px 24px 34px; transform:translateY(-100%); opacity:0; visibility:hidden;
  transition:transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease, visibility .3s;
  box-shadow:0 22px 60px rgba(0,0,0,.18)}
#mobmenu.open{transform:translateY(0); opacity:1; visibility:visible}
#mobmenu a{display:block; font-family:'Archivo',sans-serif; font-weight:500; font-size:19px;
  padding:15px 0; border-bottom:1px solid var(--line);
  transition:padding-left .25s ease, color .25s ease}
#mobmenu a:hover{padding-left:12px; color:var(--blue)}

/* ---- hero ---- */
#hero{position:relative; min-height:100svh; background:var(--black); color:#fff; overflow:hidden}
.hero-slides{position:absolute; inset:0; z-index:0}
/* hero backgrounds now load from files on disk - see .hero-slide below.
   two ~1.4 MB base64 copies used to live here (--img1 = banner-1.jpg,
   --img2 = banner-2.jpg, byte-identical); because they were baked into
   this file, swapping the image file changed nothing. */
.hero-slide{position:absolute; inset:0; opacity:0; transform:scale(1);
  background-position:50% 55%; background-size:cover; background-repeat:no-repeat;
  will-change:transform,opacity; transition:opacity 1.05s ease, transform 7s linear}
.hero-slide.on{opacity:1; transform:scale(1.06)}
.hero-slide.s1{background-image:none}
.hero-slide.s2{background-image:none}
.hero-slide.s3{background-image:none}
.hero-slide.s4{background-image:none}
.hero-slide.s5{background-image:none}
.hero-scrim{position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(to bottom, rgba(5,7,10,.58) 0%, rgba(5,7,10,.16) 30%, rgba(5,7,10,0) 52%),
    linear-gradient(to top, rgba(5,7,10,.88) 0%, rgba(5,7,10,.42) 30%, rgba(5,7,10,0) 62%),
    linear-gradient(to right, rgba(5,7,10,.5) 0%, rgba(5,7,10,0) 50%)}

.hero-foot{position:absolute; left:0; right:0; bottom:92px; z-index:3;
  display:flex; align-items:flex-end; justify-content:space-between; gap:48px; padding:0 48px}
.hero-copy{display:grid; max-width:680px; min-width:0; margin-left:150px; margin-bottom:100px}
.copy-item{grid-area:1/1; opacity:0; transform:translateY(20px); pointer-events:none;
  transition:opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1)}
.copy-item.on{opacity:1; transform:none; pointer-events:auto}
.hero-mark{display:flex; flex-direction:column; gap:4px; margin-bottom:24px}
.hero-mark i{display:block; height:1px; background:rgba(255,255,255,.7)}
.hero-mark i:nth-child(1){width:26px}
.hero-mark i:nth-child(2){width:26px}
.hero-mark i:nth-child(3){width:16px}
.hero-eyebrow{font-size:11.5px; letter-spacing:.24em; font-weight:600;
  color:var(--blue-light); margin-bottom:22px}
#hero h1{font-family:'Archivo',sans-serif; font-weight:800; font-size:56px;
  line-height:1.06; letter-spacing:-.02em; margin:0 0 24px}
#hero h1 em{font-style:normal; color:var(--blue-light)}
.accentsq{display:inline-block; width:.14em; height:.14em; background:var(--blue);
  margin-left:.12em; vertical-align:.06em}
#hero .copy-item p{font-size:20px; line-height:1.45; letter-spacing:-.01em;
  color:rgba(255,255,255,.92); max-width:640px; margin:0 0 34px}
/* the hero CTA is a plain boxed outline button - see "ghost on dark photo" further down */

.hero-ctrl{flex:none; min-width:250px}
.hero-count{display:flex; align-items:baseline; gap:9px;
  font-family:'Archivo',sans-serif; font-weight:500; line-height:1}
.hero-count .cur{font-size:clamp(30px,3.2vw,46px); color:#fff}
.hero-count .sl{font-size:20px; color:rgba(255,255,255,.4); margin:0 2px}
.hero-count .tot{font-size:17px; color:rgba(255,255,255,.6)}
.ctrl-row{display:flex; align-items:center; gap:16px; margin-top:16px}
.hero-rule{flex:1; height:1px; background:rgba(255,255,255,.26); position:relative; overflow:hidden}
.hero-rule span{position:absolute; left:0; top:0; height:1px; width:0; background:rgba(255,255,255,.85)}
.hero-btns{display:flex; align-items:center; flex:none}
.hero-btns button{background:none; border:none; cursor:pointer; padding:6px;
  color:rgba(255,255,255,.62); display:flex; align-items:center; justify-content:center;
  transition:color .25s}
.hero-btns button:hover{color:#fff}
.hero-btns svg{width:15px; height:15px; display:block}
.hero-next{font-size:11px; letter-spacing:.18em; color:rgba(255,255,255,.55); margin-top:12px}

.hero-meta{position:absolute; left:0; right:0; bottom:0; z-index:3; height:64px;
  display:flex; align-items:center; justify-content:space-between; gap:34px; padding:0 48px;
  font-size:11.5px; letter-spacing:.05em; color:rgba(255,255,255,.48)}
.mline{flex:1; max-width:300px; height:1px; background:rgba(255,255,255,.2)}
.mline span{display:block; height:1px; width:0; background:rgba(255,255,255,.9);
  transition:width .9s cubic-bezier(.3,.9,.3,1)}

@media(max-width:900px){
  .hero-foot{flex-direction:column; align-items:flex-start; gap:30px; bottom:84px; padding:0 22px}
  .hero-ctrl{min-width:0; width:100%; max-width:320px}
  .hero-copy{max-width:100%; margin-left:0; margin-bottom:0}
  .hero-meta{padding:0 22px; height:56px}
  .hero-meta .mright{display:none}
  .mline{max-width:none}
}
@media(max-width:600px){
  .hero-mark{margin-bottom:16px}
  #hero h1{font-size:clamp(30px,8.4vw,44px)}
  .hero-eyebrow{letter-spacing:.18em; margin-bottom:14px}
}

.reveal{opacity:0; transform:translateY(24px); transition:opacity .8s ease, transform .8s ease}
.reveal.in{opacity:1; transform:translateY(0)}


/* ---- keywords ---- */
#keywords{padding:76px 0; border-bottom:1px solid var(--line)}
/* the four advantages sit on a wider measure than the rest of the page */
#keywords .wrap{max-width:1600px}
.kwrow{display:flex}
.kwitem{flex:1; padding:0 30px; position:relative; transition:transform .35s ease}
.kwitem:hover{transform:translateY(-6px)}
.kwitem+.kwitem::before{content:'';position:absolute;left:0;top:6px;bottom:6px;width:1px;background:var(--line)}
.kwitem .num{font-family:'Archivo',sans-serif; font-size:15px; font-weight:700; color:var(--blue); margin-bottom:14px; transition:transform .3s}
.kwitem:hover .num{transform:translateX(4px)}
.kwitem h3{font-size:19px; font-weight:700; margin-bottom:8px; position:relative}
.kwitem p{font-size:14px}
.kwitem::after{content:'';position:absolute; left:30px; bottom:-2px; width:0; height:2px; background:var(--blue); transition:width .35s ease}
.kwitem:hover::after{width:30px}
.kwtri{position:absolute; left:-16px; top:2px; width:0; height:0; border-top:5px solid transparent; border-bottom:5px solid transparent;
  border-left:8px solid var(--blue); transform:scale(0); transition:transform .3s cubic-bezier(.3,1.3,.5,1); transform-origin:left center}
.kwitem:hover .kwtri{transform:scale(1)}
@media(max-width:900px){.kwrow{flex-wrap:wrap; gap:32px}.kwitem{flex:0 0 42%}.kwitem+.kwitem::before{display:none}}

/* ---- section shell ---- */
.section{padding:120px 0}
.sechead{display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:64px; gap:40px}
.sechead .tag{font-size:13px; font-weight:600; color:var(--blue); letter-spacing:.06em; margin-bottom:14px; display:block}
.sechead h2{font-size:clamp(30px,3.6vw,46px); font-weight:800; line-height:1.12; max-width:600px}
.sechead .desc{max-width:340px; font-size:15px}
@media(max-width:800px){.sechead{flex-direction:column; align-items:flex-start}}

/* ---- products ---- */
#products{background:#fff;
  --p0:none;
  --p1:none;
  --p2:none}
#products.section{position:relative; overflow:hidden; padding:76px 0 88px}
/* soft slanted backdrop, runs behind the title and the whole showcase */
#products::before{content:''; position:absolute; z-index:0; top:0; bottom:0; left:50%;
  width:min(880px,78vw); transform:translateX(-50%);
  background:linear-gradient(180deg,#eff2f8 0%,#f5f7fb 55%,rgba(250,251,253,0) 100%);
  clip-path:polygon(30% 0,90% 0,70% 100%,10% 100%)}
.phead{position:relative; z-index:1; text-align:center; margin:0 auto 46px}
.phead .tag{display:block; font-size:13px; font-weight:600; color:var(--blue); letter-spacing:.06em; margin-bottom:14px}
.phead h2{font-size:clamp(26px,2.7vw,38px); font-weight:700; line-height:1.15; letter-spacing:-.01em; margin:0}
.phead .desc{max-width:620px; margin:20px auto 0; font-size:15px}

.pshow{position:relative; overflow:hidden}
.pshow-inner{position:relative; z-index:1; max-width:var(--maxw); margin:0 auto; padding:0 40px;
  display:grid; grid-template-columns:1fr 1.5fr 1fr; gap:34px; align-items:center; min-height:440px}

/* faded neighbouring products, clipped by the section edges */
.ppeek{position:absolute; top:55px; width:330px; height:330px; opacity:.38;
  background-size:contain; background-position:center; background-repeat:no-repeat;
  pointer-events:none; z-index:0; will-change:transform,opacity}
.ppeek-l{left:-125px}
.ppeek-r{right:-125px}
.ppeek[data-p="0"],.pstage-img[data-p="0"],.pdots button[data-p="0"]{background-image:var(--p0)}
.ppeek[data-p="1"],.pstage-img[data-p="1"],.pdots button[data-p="1"]{background-image:var(--p1)}
.ppeek[data-p="2"],.pstage-img[data-p="2"],.pdots button[data-p="2"]{background-image:var(--p2)}
@media(max-width:1300px){.ppeek{display:none}}

/* category list: left aligned, corner-triangle marker on the active item */
.pcats{display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding-left:108px}
.pcats button{position:relative; display:block; text-align:left; background:none; border:0; cursor:pointer; font:inherit;
  font-size:13.5px; font-weight:600; line-height:1.4; letter-spacing:.01em; color:#b4b9c1;
  padding:5px 0; transition:color .3s ease}
.pcats button:hover{color:var(--gray)}
.pcats button:focus-visible,.pdots button:focus-visible{outline:2px solid var(--blue); outline-offset:4px; border-radius:4px}
.pcats button::before{content:''; position:absolute; left:-18px; top:50%; margin-top:-8px; width:0; height:0;
  border-top:8px solid var(--black); border-right:8px solid transparent;
  opacity:0; transform:translateX(-6px);
  transition:opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1)}
.pcats button.active{color:var(--black); font-weight:700}
.pcats button.active::before{opacity:1; transform:translateX(0)}

.pstage{position:relative; z-index:1; display:flex; align-items:center; justify-content:center; min-height:440px}
.pstage::before{content:''; position:absolute; z-index:0; left:50%; bottom:22px; width:44%; height:24px;
  transform:translateX(-50%); background:radial-gradient(closest-side,rgba(20,30,50,.16),rgba(20,30,50,0)); filter:blur(3px)}
.pstage-img{position:relative; width:100%; max-width:520px; height:440px;
  background-size:contain; background-position:center; background-repeat:no-repeat;
  will-change:transform,opacity}

.pinfo{display:flex; flex-direction:column; align-items:flex-start}
.pinfo h3{font-size:clamp(22px,2.1vw,28px); font-weight:700; line-height:1.15;
  letter-spacing:-.01em; margin:0; will-change:transform,opacity}
.pdesc{font-size:15px; color:#8b929c; line-height:1.75; margin:16px 0 0; max-width:340px;
  will-change:transform,opacity}
.pbtn{display:inline-flex; align-items:center; gap:10px; margin-top:26px;
  background:var(--black); color:#fff; border-radius:999px; padding:13px 22px 13px 24px;
  font-size:12.5px; font-weight:600; transition:background .25s ease, transform .25s ease}
.pbtn:hover{background:var(--blue); transform:translateX(3px)}
.pbtn .chev{width:6px; height:6px; margin-left:1px; flex:none;
  border-top:1.6px solid currentColor; border-right:1.6px solid currentColor; transform:rotate(45deg)}

/* thumbnail switcher: white discs, active one enlarged */
.pdots{position:relative; z-index:1; display:flex; align-items:center; justify-content:center; gap:24px;
  height:96px; margin-top:0}
.pdots button{width:46px; height:46px; border-radius:50%; cursor:pointer; padding:0; border:0;
  background-color:#fff; background-size:64%; background-position:center; background-repeat:no-repeat;
  box-shadow:0 0 0 5px rgba(255,255,255,.92), 0 6px 18px rgba(30,45,70,.09);
  transition:transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease}
.pdots button:hover{transform:translateY(-2px)}
.pdots button.active{transform:scale(1.3); background-size:76%;
  box-shadow:0 0 0 5px #fff, 0 8px 22px rgba(30,45,70,.15)}

@media(max-width:1000px){
  .pshow-inner{grid-template-columns:1fr 1.3fr; gap:30px}
  .pcats{grid-column:1 / -1; flex-direction:row; flex-wrap:wrap; justify-content:center; gap:4px 24px; padding-left:0}
  .pcats button::before{display:none}
}
@media(max-width:760px){
  #products.section{padding:52px 0 60px}
  .pshow-inner{grid-template-columns:1fr; gap:20px; min-height:0; padding:0 22px}
  .pstage{min-height:280px}
  .pstage-img{height:260px}
  .pinfo{align-items:center; text-align:center}
  .pdesc{max-width:none}
  .pdots{gap:16px}
}
/* ---- applications ---- */
#apps{background:#fff; color:var(--black)}
#apps .sechead h2{color:var(--black)}
#apps .sechead .desc{color:var(--gray)}
/* centred section header */
#apps .sechead{display:block; text-align:center; margin-bottom:56px}
#apps .sechead h2{max-width:none; margin:0 auto}
#apps .sechead .desc{max-width:620px; margin:20px auto 0}

/* full-bleed row of four application panels */
.appstrip{--a0:none; --a1:none;
  --a2:none; --a3:none;
  display:grid; grid-template-columns:repeat(4,1fr);
  height:clamp(340px,45.9vw,640px)}
.appcard{
  --vig:linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 30%,
        rgba(0,0,0,0) 56%, rgba(0,0,0,0) 66%, rgba(0,0,0,.36) 100%);
  --wipe:184%;
  position:relative; display:block; overflow:hidden; isolation:isolate;
  background-size:cover; background-position:center; background-repeat:no-repeat;
  text-decoration:none; color:#fff}
.appcard:nth-child(1){background-image:var(--vig), var(--a0)}
.appcard:nth-child(2){background-image:var(--vig), var(--a1)}
.appcard:nth-child(3){background-image:var(--vig), var(--a2)}
.appcard:nth-child(4){background-image:var(--vig), var(--a3)}

/* the dim, lifted by a clip-path wipe whose leading edge sits at the    */
/* angle of Mach's triangle (44.6/45.7 deg measured off images/logo-2.png, and  */
/* 45.0 deg measured off the mock-up). --wipe = 100 * panelH / panelW,   */
/* so 184% is exact while the strip height is still 45.9vw.              */
.appcard::before{content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:rgba(6,8,12,var(--dima,.5));
  -webkit-clip-path:polygon(0 0, 400% 0, calc(400% - var(--wipe)) 100%, calc(-1 * var(--wipe)) 100%);
          clip-path:polygon(0 0, 400% 0, calc(400% - var(--wipe)) 100%, calc(-1 * var(--wipe)) 100%);
  transition:clip-path .82s cubic-bezier(.5,.05,.2,1), background-color .7s ease}
/* only :hover wipes. the active panel keeps its dim, just lighter, so that */
/* hovering it too has something to lift.                                  */
.appcard:hover::before{
  -webkit-clip-path:polygon(calc(100% + var(--wipe)) 0, calc(500% + var(--wipe)) 0,
                            500% 100%, 100% 100%);
          clip-path:polygon(calc(100% + var(--wipe)) 0, calc(500% + var(--wipe)) 0,
                            500% 100%, 100% 100%)}

/* the light sweep that rides that edge (135deg = bands along a 45deg slash) */
.appcard::after{content:''; position:absolute; inset:-22% -100%; z-index:2; pointer-events:none;
  background:linear-gradient(135deg, rgba(255,255,255,0) 33%, rgba(155,205,255,.5) 50%,
             rgba(255,255,255,0) 67%);
  opacity:0; transform:translateX(-34%)}
.appcard.is-sweep::after,
.appcard:hover::after{animation:appSweep 1.05s cubic-bezier(.42,0,.25,1) both}
@keyframes appSweep{
  0%{opacity:0; transform:translateX(-34%)}
  16%{opacity:1}
  100%{opacity:0; transform:translateX(34%)}}
.apptxt{position:absolute; z-index:3; top:clamp(22px,7.2%,46px); left:clamp(18px,13.7%,52px);
  right:clamp(18px,13.7%,52px)}
.apptxt h4{font-family:'Archivo',sans-serif; font-size:clamp(15px,1.45vw,21px);
  font-weight:700; line-height:1.27; letter-spacing:.005em; text-transform:uppercase; color:#fff}
.apptxt .sub2{margin-top:9px; font-size:clamp(11px,.86vw,13px); font-weight:500;
  line-height:1.45; color:rgba(255,255,255,.62)}
.appcate{position:absolute; z-index:3; left:clamp(18px,13.7%,52px); bottom:clamp(22px,6.9%,40px);
  writing-mode:vertical-rl; transform:rotate(180deg);
  font-size:clamp(9px,1vw,13px); font-weight:600; letter-spacing:.22em;
  text-transform:uppercase; color:rgba(255,255,255,.8); white-space:nowrap}
.appnav{position:relative; overflow:hidden}

/* selection now rides the same wipe, so no flat brightness fade.    */
/* the active panel keeps a little dim so that hovering it still has  */
/* something for the wipe to lift (otherwise its wipe is a no-op).    */
.appcard.active{--dima:.22}
.appcard h4::after{content:''; display:block; width:34px; height:2px; margin-top:11px;
  background:var(--blue-light); transform:scaleX(0); transform-origin:left center;
  transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.appcard.active h4::after{transform:scaleX(1)}

/* past ~1394px the strip height caps at 640px while the panel keeps
   widening, so a single --wipe would flatten out; step it down instead */
@media(min-width:1400px){.appcard{--wipe:178%}}
@media(min-width:1500px){.appcard{--wipe:160%}}
@media(min-width:1800px){.appcard{--wipe:133%}}
@media(min-width:2200px){.appcard{--wipe:110%}}

@media(max-width:900px){
  .appstrip{grid-template-columns:repeat(2,1fr); height:auto; gap:2px}
  .appcard{aspect-ratio:4/5; --wipe:125%}
}
@media(max-width:560px){
  .appstrip{grid-template-columns:1fr}
  .appcard{aspect-ratio:16/11; --wipe:69%}
}
.appgrid{display:grid; grid-template-columns:1.7fr 1fr; gap:2px}
@media(max-width:900px){.appgrid{grid-template-columns:1fr}}
.apppanel{position:relative; min-height:240px; display:flex; align-items:flex-end; padding:30px;
  background:var(--black2); overflow:hidden; isolation:isolate}
.apppanel.big{min-height:498px}
.apppanel .grid-bg{position:absolute; inset:0; opacity:.5;
  background-image:linear-gradient(rgba(31,111,235,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(31,111,235,.16) 1px, transparent 1px);
  background-size:34px 34px; -webkit-mask-image:linear-gradient(to top, rgba(0,0,0,.9), transparent 80%)}
.apppanel .cut{position:absolute; top:0; right:-20%; width:70%; height:100%;
  background:linear-gradient(120deg, transparent 40%, rgba(31,111,235,.14) 70%, transparent 100%); transform:skewX(-14deg)}
.apppanel .ic{position:absolute; top:30px; left:30px; width:26px; height:26px; color:var(--blue-light); opacity:.9; transition:transform .35s}
.apppanel:hover .ic{transform:translate(3px,-3px)}
.apppanel h4{font-size:20px; font-weight:700; position:relative; z-index:2}
.apppanel .sub2{font-size:13px; color:rgba(255,255,255,.5); position:relative; z-index:2; margin-top:4px}
.apppanel .more{position:relative; z-index:2; display:flex; align-items:center; gap:6px; font-size:12.5px; font-weight:700;
  color:var(--blue-light); opacity:0; transform:translateY(8px); transition:opacity .35s ease, transform .35s ease; margin-top:12px}
.apppanel:hover .more{opacity:1; transform:translateY(0)}
.apppanel::before{content:''; position:absolute; right:0; bottom:0; width:0; height:0;
  border-bottom:70px solid var(--blue); border-left:70px solid transparent; opacity:0; transition:opacity .4s ease; z-index:0}
.apppanel:hover::before{opacity:.14}
.appside{display:flex; flex-direction:column; gap:2px}
.appside .apppanel{min-height:164px}
.apppanel:hover .grid-bg{opacity:.85; transition:opacity .4s}

/* ---- story ---- */
#story{position:relative; overflow:hidden;
  background:#e9edf3 none center center / cover no-repeat fixed}
/* the fixed background is unsupported / unstable on iOS Safari: fall back to a scrolling one */
@media(max-width:900px){#story{background-attachment:scroll}}
.storygrid{display:grid; grid-template-columns:minmax(0,597px) 1fr;
  gap:56px; align-items:center}
@media(max-width:900px){.storygrid{grid-template-columns:1fr}}
.story-l{display:flex; flex-direction:column; justify-content:center}
@media(max-width:900px){.story-l{padding:60px 0}}
.story-l .tag{font-size:13px;font-weight:700;color:var(--blue);margin-bottom:16px}
.story-l h2{font-size:clamp(28px,3.4vw,42px); font-weight:800; line-height:1.15; margin-bottom:22px}
.story-l p,
.story-l .story-copy{font-size:15px; line-height:1.65; max-width:500px; margin:0 0 34px; color:var(--gray)}
/* 简介超过约 5 行出现纵向滚动条 */
.story-l .story-copy{
  max-height:calc(1.65em * 5);
  overflow-x:hidden;
  overflow-y:auto;
  padding-right:8px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(31,111,235,.45) transparent;
}
.story-l .story-copy::-webkit-scrollbar{width:4px}
.story-l .story-copy::-webkit-scrollbar-thumb{background:rgba(31,111,235,.45); border-radius:2px}
.story-l .story-copy::-webkit-scrollbar-track{background:transparent}
.story-l .story-copy p{margin:0 0 .75em; max-width:none}
.story-l .story-copy p:last-child{margin-bottom:0}
.story-r{position:relative; display:flex}
.storypic{position:relative; z-index:1; display:block; width:100%;
  aspect-ratio:1.42; object-fit:cover}
.shtri{position:absolute; z-index:0; display:block; background:var(--blue)}
.shtri-a{left:100%; top:0; width:26.8%; aspect-ratio:189/198;
  clip-path:polygon(0 24.2%, 100% 0, 0 100%)}
.shtri-b{right:100%; top:39.9%; width:18.3%; aspect-ratio:129/168;
  clip-path:polygon(100% 0, 100% 100%, 0 19%)}
.shtri-c{left:23.5%; top:100%; width:24.2%; aspect-ratio:171/88;
  clip-path:polygon(0 0, 100% 0, 48% 100%)}
.storylink{display:inline-block; align-self:flex-start; font-size:15px; font-weight:600;
  color:var(--black); text-decoration:none; border-bottom:1px solid transparent;
  transition:color .3s ease, border-color .3s ease}
.storylink:hover{color:var(--blue); border-bottom-color:var(--blue)}
@media(max-width:900px){.story-r{clip-path:none}}
.story-r .word{font-size:13px; letter-spacing:.16em; font-weight:600; color:rgba(255,255,255,.55); margin-bottom:6px}
.story-r .brand{margin-top:40px; display:flex; align-items:center}
.story-r .brand img{display:block; width:auto; height:30px}
.stats{background:var(--black2); color:#fff}
.statrow{display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line-d)}
.statitem{padding:50px 30px; border-left:1px solid var(--line-d); text-align:left; position:relative; transition:background .3s ease}
.statitem:hover{background:rgba(31,111,235,.07)}
.statitem:first-child{border-left:none}
@media(max-width:800px){.statrow{grid-template-columns:1fr 1fr}.statitem{border-left:none;border-top:1px solid var(--line-d)}}
.statitem .n{font-family:'Archivo',sans-serif; font-size:38px; font-weight:800; line-height:1;
  color:var(--blue-light); transition:transform .3s ease}
/* the infinity sign comes from a fallback font (Archivo has no U+221E): give it an
   explicit line-height so it does not change the row height, and match its visual size */
.statitem .n.inf{font-size:46px; line-height:38px}
.statitem:hover .n{transform:translateX(4px)}
.statitem .l{font-size:16px; color:rgba(255,255,255,.55); margin-top:6px}
.statitem::after{content:''; position:absolute; left:30px; bottom:0; width:0; height:2px; background:var(--blue-light); transition:width .35s ease}
.statitem:hover::after{width:28px}
.story-r .brand img{transition:opacity .3s ease}
.story-r:hover .brand img{opacity:.85}

/* ---- projects ---- */
#projects{background-color:var(--black);
  background-image:linear-gradient(180deg, rgba(11,12,14,.92) 0%, rgba(11,12,14,.80) 42%, rgba(11,12,14,.90) 100%), none;
  background-size:cover; background-position:center 38%; background-repeat:no-repeat;
  color:#fff; border-top:1px solid var(--line-d)}
.projhead{max-width:var(--maxw); margin:0 auto; padding:0 48px; display:flex; align-items:flex-end; gap:20px}
.projhead-l{max-width:460px}
.projhead .tag{display:block; font-size:12px; font-weight:600; color:var(--blue-light); letter-spacing:.16em; margin-bottom:16px}
.projhead h2{font-family:'Archivo',sans-serif; font-weight:800;
  font-size:clamp(30px,3.6vw,46px); line-height:1.12; letter-spacing:-.02em; color:#fff; margin:0 0 22px}
.projhead p{font-size:14.5px; line-height:1.75; color:rgba(255,255,255,.6); margin:0}
.proj-arrow{flex:none; width:54px; height:54px; background:var(--blue); color:#fff;
  display:flex; align-items:center; justify-content:center;
  transition:background .25s ease}
.proj-arrow svg{width:20px; height:20px; transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.proj-arrow:hover{background:var(--blue-light)}
.proj-arrow:hover svg{transform:translate(3px,-3px)}

.projrail{display:flex; gap:26px; overflow-x:auto; scroll-snap-type:x proximity;
  margin-top:54px; padding:0 48px 12px;
  padding-left:max(48px, calc((100% - var(--maxw)) / 2 + 48px));
  scrollbar-width:none; -ms-overflow-style:none}
.projrail::-webkit-scrollbar{display:none}
.projcard{flex:0 0 min(430px, 78vw); scroll-snap-align:start; display:block}
.proj-img{position:relative; aspect-ratio:16/9; background:var(--black2);
  overflow:hidden; isolation:isolate}
.proj-img::before{content:''; position:absolute; inset:0; z-index:0;
  background-size:cover; background-position:center; background-repeat:no-repeat;
  transform:scale(1); transition:transform .7s cubic-bezier(.2,.8,.2,1)}
.proj-img::before{background-image:var(--proj-img, none)}
.proj-img .grid-bg{position:absolute; inset:0; opacity:.4;
  background-image:linear-gradient(rgba(31,111,235,.2) 1px,transparent 1px), linear-gradient(90deg,rgba(31,111,235,.2) 1px,transparent 1px);
  background-size:28px 28px; -webkit-mask-image:radial-gradient(circle at 50% 50%, rgba(0,0,0,.9), transparent 72%)}
.proj-img > svg{position:absolute; top:50%; left:50%; width:34px; height:34px; color:var(--blue-light);
  transform:translate(-50%,-50%); transition:transform .4s ease}

/* hover: the Mach triangle (same shape as the logo mark) masks the photo, with "Click More" on it */
.proj-img .projmask{position:absolute; left:50%; top:50%; z-index:2; width:62%; aspect-ratio:170/85;
  transform:translate(-50%,-50%) scale(.72); opacity:0; pointer-events:none;
  background:rgba(31,111,235,.78);
  -webkit-clip-path:polygon(0 23.5%, 100% 0, 44% 100%);
  clip-path:polygon(0 23.5%, 100% 0, 44% 100%);
  transition:opacity .3s ease, transform .5s cubic-bezier(.2,.8,.2,1)}
.projcard:hover .projmask{opacity:1; transform:translate(-50%,-50%) scale(1)}
.projmask-lbl{position:absolute; left:48%; top:41%; transform:translate(-50%,-50%);
  color:#fff; font-size:13px; font-weight:600; letter-spacing:.06em; white-space:nowrap}
.projmeta{margin-top:18px}
.projmeta h4{font-family:'Archivo',sans-serif; font-weight:700; font-size:17px;
  letter-spacing:-.01em; color:#fff; margin:0; text-transform:uppercase}
.projmeta .loc{display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3;
  overflow:hidden; font-size:14px; line-height:1.6; color:rgba(255,255,255,.45); margin-top:7px}
.projmeta .projaddr{display:flex; align-items:center; gap:8px; margin-top:9px;
  font-size:12px; font-weight:600; letter-spacing:.04em; color:var(--blue-light)}
.projmeta .projaddr i{width:5px; height:5px; flex:none; background:currentColor; transform:rotate(45deg)}
@media(max-width:900px){
  .projhead{padding:0 22px; flex-direction:column; align-items:flex-start}
  .proj-arrow{width:46px; height:46px}
  .projrail{gap:18px; margin-top:36px; padding-left:22px; padding-right:22px}
  .projcard{flex:0 0 80vw}
}

/* ---- footer ---- */
footer{background:var(--black); color:rgba(255,255,255,.6)}
.footgrid{display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr 1.2fr; gap:30px; padding:56px 0 36px}
@media(max-width:900px){.footgrid{grid-template-columns:1fr 1fr; row-gap:36px}}
.footgrid h5{color:#fff; font-size:13px; font-weight:700; margin:0 0 16px; font-family:'Inter',sans-serif}
.footgrid a{display:block; font-size:14px; color:rgba(255,255,255,.55); margin-bottom:10px; position:relative;
  transition:color .2s ease, padding-left .25s ease}
.footgrid a:hover{color:var(--blue-light); padding-left:14px}
.footgrid a::before{content:''; position:absolute; left:-2px; top:50%; width:0; height:0;
  border-top:4px solid transparent; border-bottom:4px solid transparent; border-left:6px solid var(--blue-light);
  transform:translateY(-50%) scale(0); transition:transform .25s cubic-bezier(.3,1.3,.5,1); transform-origin:left center}
.footgrid a:hover::before{transform:translateY(-50%) scale(1)}
.foot-logo{display:flex; align-items:center; margin-bottom:14px}
.foot-logo img{display:block; width:auto; height:36px}
.nl{display:flex; margin-top:14px; border:1px solid rgba(255,255,255,.2)}
.nl input{flex:1; background:none; border:none; padding:12px 14px; color:#fff; font-size:13px}
.nl button{background:var(--blue); border:none; color:#fff; width:44px; cursor:pointer}
.socials{display:flex; gap:14px; margin-top:20px}
.socials a{width:32px;height:32px;border:1px solid rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center}
.footbar{border-top:1px solid rgba(255,255,255,.12); padding:18px 0; display:flex; justify-content:space-between; font-size:12.5px}
@media(max-width:700px){.footbar{flex-direction:column; gap:10px}}

/* ---- intro splash ---- */
#intro{position:fixed; inset:0; z-index:9999; background-color:#07090d;
  overflow:hidden; display:flex; align-items:center; justify-content:center;
  transition:opacity .32s ease, visibility .32s;
  animation:introFallback .5s ease 2.5s forwards}
#intro .bg{position:absolute; inset:0; z-index:0; transform:scale(1);
  background-image:none; background-size:cover;
  background-position:50% 55%; background-repeat:no-repeat;
  transform-origin:50% 55%; backface-visibility:hidden;
  animation:introZoom .9s cubic-bezier(.2,.8,.2,1) both}
#intro::before{content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:radial-gradient(ellipse 62% 58% at 50% 50%, rgba(6,8,12,.26) 0%, rgba(6,8,12,.46) 62%, rgba(6,8,12,.66) 100%)}
#intro.done{opacity:0; visibility:hidden; pointer-events:none}
@keyframes introFallback{to{opacity:0; visibility:hidden}}
@keyframes introZoom{from{transform:scale(1.07)} to{transform:scale(1)}}
@keyframes introMark{from{opacity:0; transform:translateY(16px)} to{opacity:1; transform:none}}
#intro .mark{position:relative; z-index:2; flex:none; --lw:min(340px,70vw);
  width:var(--lw); height:calc(var(--lw) * 0.4452);
  animation:introMark .62s cubic-bezier(.2,.8,.2,1) .06s both}
#intro .lyr{position:absolute; display:block; height:auto}
#intro .txt{left:0; top:30.8%; width:100%}
#intro .tri{left:54.84%; top:0; width:32.42%; transform-origin:50% 50%;
  backface-visibility:hidden}
html.intro-on, html.intro-on body{overflow:hidden}
html.intro-on body > *:not(#intro){opacity:0}
html.intro-out body > *:not(#intro){opacity:1; transition:opacity .5s cubic-bezier(.4,0,.2,1) .05s}
@media(prefers-reduced-motion:reduce){
  #intro .bg, #intro .mark{animation:none}
  #intro .mark{opacity:1}
}

/* ================= unified system (page-wide overrides) ================= */
:root{--navy:#0b2a5b; --tint:#f4f6fa; --radius:2px}

/* one section-header pattern */
.sechead .tag,.phead .tag,.story-l .tag,.projhead .tag{display:block; font-size:12.5px; font-weight:700;
  color:var(--blue); letter-spacing:.03em; margin-bottom:16px}
.sechead h2,.phead h2,.story-l h2,.projhead h2{font-family:'Archivo',sans-serif;
  font-size:clamp(30px,3.4vw,44px); font-weight:800; line-height:1.12; letter-spacing:-.02em}
.section{padding:104px 0}
#products.section{padding:96px 0 56px}
#apps.section{padding-top:56px; padding-bottom:0}
#story.section{padding-top:56px; padding-bottom:88px}

/* one button family: same height, radius, type and chevron */
.pbtn,.storylink,.hero-link,.navcta,.btn-ghost{display:inline-flex; align-items:center; gap:12px; height:48px;
  padding:0 26px; margin:0; border:1px solid transparent; border-radius:var(--radius);
  font-family:'Inter',sans-serif; font-size:13px; font-weight:600; letter-spacing:.04em; line-height:1;
  white-space:nowrap; opacity:1; transform:none;
  transition:background .25s ease, color .25s ease, border-color .25s ease}
.pbtn .chev,.storylink .chev,.hero-link .chev,.btn-ghost .chev{display:block; width:7px; height:7px; flex:none;
  margin:0 2px 0 0; border-top:1.6px solid currentColor; border-right:1.6px solid currentColor;
  transform:rotate(45deg); transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.pbtn:hover .chev,.storylink:hover .chev,.hero-link:hover .chev,.btn-ghost:hover .chev{transform:translateX(4px) rotate(45deg)}
.pinfo .pbtn{margin-top:28px}

/* solid (primary) */
.pbtn,.storylink{background:var(--blue); color:#fff; border-color:var(--blue)}
.pbtn:hover,.storylink:hover{background:var(--blue-deep); border-color:var(--blue-deep); color:#fff; transform:none}
/* ghost on dark photo - hero CTA: plain box, centred label, no chevron */
.hero-link{background:transparent; color:#fff; border-color:var(--blue-light);
  height:58px; padding:0 40px; font-size:14px; justify-content:center}
.hero-link:hover{background:var(--blue); border-color:var(--blue); color:#fff}
/* ghost on light */
.btn-ghost{background:transparent; color:var(--black); border-color:rgba(11,12,14,.28)}
.btn-ghost:hover{background:var(--blue); border-color:var(--blue); color:#fff}
/* nav: ghost that follows the bar state */
.navcta{height:40px; padding:0 20px; font-size:12.5px; color:inherit; border-color:rgba(255,255,255,.55)}
.navcta:hover{background:var(--blue); border-color:var(--blue); color:#fff}
#nav.scrolled .navcta,#nav.menu-open .navcta{border-color:rgba(11,12,14,.24)}
#nav.scrolled .navcta:hover,#nav.menu-open .navcta:hover{border-color:var(--blue); color:#fff}
@media(max-width:900px){.navcta{display:none}}

/* stats: black band, continues the story section */
.stats{background:var(--black); color:#fff}
.statrow{border-top:none}
.statitem{border-left-color:var(--line-d)}
.statitem .sicon{display:block; width:40px; height:40px; object-fit:contain; margin-bottom:18px}
.statitem .n{color:var(--blue-light)}
.statitem .l{color:rgba(255,255,255,.55)}
.statitem:hover{background:rgba(31,111,235,.09)}
.statitem::after{background:var(--blue-light)}
@media(max-width:800px){.statitem{border-top-color:var(--line-d)}}

/* projects: light, same header layout as the other sections */
#projects{background:#fff; background-image:none; color:var(--black); border-top:1px solid var(--line)}
.projhead{padding:0 40px; justify-content:space-between; align-items:flex-end}
.projhead h2{color:var(--black)}
.projhead p{color:var(--gray)}
.projrail{padding-left:max(40px, calc((100% - var(--maxw)) / 2 + 40px)); padding-right:40px}
.proj-img{background:#e8ecf3}
.projmeta h4{color:var(--black)}
.projmeta .loc{color:var(--gray)}
@media(max-width:900px){
  .projhead{padding:0 28px; flex-direction:column; align-items:flex-start; gap:28px}
  .projrail{padding-left:28px; padding-right:28px; scroll-padding-left:28px}
}

/* footer: black band, same square corners as the buttons */
footer{background:var(--black); color:rgba(255,255,255,.68)}
.footbar{border-top-color:rgba(255,255,255,.16)}
.nl{border-radius:var(--radius); overflow:hidden; border-color:rgba(255,255,255,.3)}
.nl button{width:48px; transition:background .25s ease}
.nl button:hover{background:var(--blue-light)}
.socials a{border-radius:var(--radius); border-color:rgba(255,255,255,.3); transition:background .25s ease, border-color .25s ease}
.socials a:hover{background:var(--blue); border-color:var(--blue); color:#fff}
/* social buttons keep a flat hover: no Mach triangle, no indent shift */
.footgrid .socials a::before{display:none}
.footgrid .socials a:hover{padding-left:0}

/* ================= mobile refinements (kept last so they win the cascade) ================= */
@media(max-width:900px){
  /* section rhythm */
  .section{padding:64px 0}
  #products.section{padding:56px 0 28px}
  #apps.section{padding-top:56px; padding-bottom:0}
  #story.section{padding-top:48px; padding-bottom:56px}
  .sechead{margin-bottom:32px}
  .sechead h2,.phead h2,.story-l h2,.projhead h2{font-size:clamp(26px,7.2vw,34px)}
  #apps .sechead{margin-bottom:32px}
  #apps .sechead .desc,.phead .desc{font-size:14.5px}

  /* nav: menu panel scrolls on short screens, bigger tap targets */
  #mobmenu{padding:88px 22px 28px; max-height:100svh; overflow-y:auto; -webkit-overflow-scrolling:touch}
  #mobmenu a{padding:16px 0}
  .lang-trigger{padding:10px 4px}
  .lang-menu{right:-6px}

  /* hero */
  .hero-foot{bottom:76px}
  .hero-scrim{background:
    linear-gradient(to bottom, rgba(5,7,10,.62) 0%, rgba(5,7,10,.18) 26%, rgba(5,7,10,0) 44%),
    linear-gradient(to top, rgba(5,7,10,.92) 0%, rgba(5,7,10,.62) 38%, rgba(5,7,10,0) 72%)}
  #hero h1{font-size:clamp(30px,8vw,42px); margin-bottom:16px}
  #hero .copy-item p{font-size:16px; margin-bottom:24px}
  .hero-link{height:50px; padding:0 28px; font-size:13px}
  .hero-eyebrow{font-size:10.5px; line-height:1.5}
  .hero-btns button{padding:12px}
  .hero-btns svg{width:17px; height:17px}
  .hero-next{display:none}
  .hero-count .cur{font-size:30px}

  /* four advantages: tidy 2x2 grid */
  #keywords{padding:44px 0}
  .kwrow{flex-wrap:wrap; gap:28px 20px}
  .kwitem{flex:0 0 calc(50% - 10px); padding:16px 0 0; border-top:1px solid var(--line)}
  .kwitem::after{left:0; top:-1px; bottom:auto}
  .kwtri{display:none}
  .kwitem h3{font-size:17px}
  .kwitem p{font-size:13.5px}

  /* story: remove blue triangles that spill outside the image on narrow screens */
  .shtri-a,.shtri-b{display:none}
  .story-l{padding:0 0 12px}
  .story-l p,
  .story-l .story-copy{max-width:none; margin-bottom:26px}
  .storygrid{gap:36px}
  .shtri-c{width:30%}

  /* stats: 2x2 with real dividers */
  .statitem{padding:30px 20px}
  .statitem:nth-child(even){border-left:1px solid var(--line-d)}
  .statitem .sicon{width:34px; height:34px; margin-bottom:14px}
  .statitem .n{font-size:32px}
  .statitem .n.inf{font-size:38px; line-height:32px}
  .statitem .l{font-size:14px}

  /* projects */
  .projhead{gap:22px}
  .projmeta .loc{font-size:14px; line-height:1.62}

  /* footer */
  .footgrid{padding:44px 0 28px; row-gap:32px}
  .footgrid > div:first-child,.footgrid > div:last-child{grid-column:1 / -1}
  .nl input{min-width:0; font-size:16px}   /* 16px stops iOS zooming in on focus */
  .footbar{text-align:left}
}

@media(max-width:560px){
  .wrap{padding-left:24px; padding-right:24px}
  .hero-foot,.hero-meta{padding-left:24px; padding-right:24px}
  .hero-ctrl{max-width:none}
  .pstage-img{height:240px}
  .pdots{height:84px}
  .pdots button{width:42px; height:42px}
  .statitem{padding:26px 16px}
  .projrail{gap:14px}
  .projcard{flex-basis:84vw}
  .footgrid{grid-template-columns:1fr 1fr}
}

/* touch screens: no hover, so don't leave the application photos permanently dimmed */
@media(hover:none){
  .appcard{--dima:.16}
  .appcard.active{--dima:.06}
  .kwitem:hover,.statitem:hover .n,.kwitem:hover .num{transform:none}
}
/* ---- mobile: compact hero (~450px instead of the full screen) ---- */
@media(max-width:900px){
  #hero{min-height:450px}
  .hero-foot{bottom:64px; gap:18px; padding:0 24px}
  .hero-copy{margin-left:0; margin-bottom:0}
  .hero-eyebrow{font-size:10px; letter-spacing:.16em; margin-bottom:10px}
  #hero h1{font-size:clamp(26px,7vw,32px); line-height:1.08; margin-bottom:12px}
  #hero .copy-item p{font-size:14px; line-height:1.5; margin-bottom:14px; max-width:100%}
  .hero-link{height:46px; padding:0 24px; font-size:12.5px}
  .hero-count .cur{font-size:22px}
}
/* ---- footer gutters: the .footgrid/.footbar padding shorthand zeroes the
        side padding inherited from .wrap, so pin it to the 24px page gutter ---- */
@media(max-width:900px){
  .wrap.footgrid,.wrap.footbar{padding-left:24px; padding-right:24px}
}
@media(max-width:640px){
  .site-footer .wrap.footgrid,
  .site-footer .footgrid,
  .wrap.footgrid{padding:38px 20px 24px !important}
  .site-footer .wrap.footbar,
  .site-footer .footbar,
  .wrap.footbar{padding:16px 20px 76px !important}
}

/* Homepage content helpers (header/footer chrome lives in layout.css) */
body.home .site-main,
body.front-page .site-main {
  padding: 0;
  margin: 0;
}

body.home h1,
body.home h2,
body.home h3,
body.front-page h1,
body.front-page h2,
body.front-page h3 {
  font-family: "Archivo", sans-serif;
  letter-spacing: -0.01em;
}

.hero-slide:not([style*="background-image"]) {
  background-color: #141518;
}

.proj-img {
  background-color: #e8ecf3;
}

.appstrip {
  --a0: none;
  --a1: none;
  --a2: none;
  --a3: none;
}

#products:not([style*="--p0"]) {
  --p0: none;
  --p1: none;
  --p2: none;
}

#story{
  background-color: #e9edf3;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
#story:not([style*="background-image"]) {
  background-image: none;
}

.storypic {
  background-color: #d5dae3;
  width: 100%;
}

/* Intro bg：由 PHP 内联 background-image（ACF load_bg）覆盖下方 none */
#intro .bg {
  background-color: #07090d;
  background-size: cover;
  background-position: 50% 55%;
  background-repeat: no-repeat;
}

#intro .mark-fallback {
  position: relative;
  z-index: 2;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 8vw, 64px);
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
  animation: introMark 0.62s cubic-bezier(0.2, 0.8, 0.2, 1) 0.06s both;
}