/* MiSans cannot be redistributed as a webfont under Xiaomi's public licence.
   This bundled Noto Sans SC subset is SIL OFL-1.1 licensed and safe to ship. */
@font-face{font-family:"Zheniao Sans";src:url("assets/fonts/NotoSansSC-Zheniao.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

/* A single editorial grid carries every content block from the first section to the footer. */
:root{--content:1320px;--header-gutter:clamp(20px,4vw,60px);--gutter:max(var(--header-gutter),calc((100vw - var(--content))/2))}
.hero{width:calc(100% - var(--gutter) - var(--gutter));max-width:none}
.about,.product-section,.culture,.people{padding-left:var(--gutter);padding-right:var(--gutter)}
.about-grid,.numbers,.product-title,.product-cards,.culture-inner,.people-head,.people-layout,.learning-strip,.join-inner,.footer-shell{width:100%;max-width:var(--content);margin-left:auto;margin-right:auto}
.product-title,.product-cards{max-width:var(--content)}

/* One modern sans-serif family throughout: clean, youthful and legible. */
body,button,input,textarea,select{font-family:"Zheniao Sans","Noto Sans SC","HarmonyOS Sans SC","Microsoft YaHei",sans-serif}
html,body{overflow-x:hidden}
.hero h1,.about h2,.product-title h2,.culture h2,.people h2,.join h2,.footer-lead h2,.product-card h3,.people-layout article h3,.story-copy p,.learning-copy h3,.role-list h3,.social-text h3{font-family:"Zheniao Sans","Noto Sans SC","HarmonyOS Sans SC","Microsoft YaHei",sans-serif;font-weight:650;letter-spacing:-.055em}
.hero h1,.about h2,.product-title h2,.culture h2,.people h2,.join h2,.footer-lead h2{font-weight:600;line-height:1.14}
.hero h1,.about h2,.product-title h2,.culture h2,.people h2,.join h2{font-size:clamp(46px,4.7vw,68px)}
.story-copy p,.learning-copy h3{font-size:clamp(46px,4.7vw,68px);line-height:1.14}
.eyebrow,.section-kicker,.product-card span,.people-layout article span,.learning-copy>span,.roles-label,.footer-lead>a span,.footer-info span,.footer-bottom,.hero-mark strong,.hero-mark span{font-family:"Zheniao Sans","Noto Sans SC","HarmonyOS Sans SC","Microsoft YaHei",sans-serif}

/* Product heading is always a vertical editorial block; no desktop-only empty column. */
.product-title{display:block;padding:0 0 52px}
.product-title .section-kicker{margin-bottom:17px}
.product-title h2{max-width:760px;margin:0}
.product-title>p{max-width:420px;margin:20px 0 0}

/* One-column image rhythm: no content photography sits side by side in any browser. */
.hero{display:flex;flex-direction:column-reverse;min-height:0}
.hero-copy{min-height:0}
.hero-visual{width:100%;min-height:0;height:clamp(420px,40vw,540px);overflow:hidden}
.hero-visual>img{position:relative;display:block;width:100%;height:100%;object-fit:cover;object-position:center 60%}
.product-cards,.people-layout{display:block}
.product-card,.card-tall,.card-wide{width:100%;min-height:0;margin:0 0 18px}
.product-card img{position:relative;display:block;width:100%;height:auto;object-fit:contain}
.people-layout article{width:100%;min-height:0;margin:0 0 18px}
.people-layout article img{position:relative;display:block;width:100%;height:auto;object-fit:contain}
.story-copy{width:100%;min-height:520px;margin:0 0 18px}

/* The growth stories are deliberately calm: every image, card and line starts on one common grid. */
.people-layout{grid-template-columns:1.12fr 1fr .88fr;gap:18px}
.people-layout article,.story-copy{min-height:560px}
.story-main img{object-position:center 40%}
.story-note img{object-position:center 35%}
.learning-strip{display:block;margin-top:18px;min-height:0}
.learning-copy{background:#dce8ff;color:var(--blue-deep);padding:38px 42px;min-height:265px;display:flex;flex-direction:column;justify-content:space-between}
.learning-copy>span{font:10px Arial,sans-serif;letter-spacing:.14em}
.learning-copy h3{font-size:clamp(46px,4.7vw,68px);letter-spacing:-.055em;line-height:1.14;margin:25px 0}
.learning-copy p{font-size:14px;line-height:1.8;margin:0;max-width:520px}
.learning-photos{display:block;margin-top:18px}
.learning-photos img{display:block;width:100%;height:auto;object-fit:contain;margin:0 0 18px}

/* Recruitment is an opportunity board, not another product gallery. */
.join{display:block;min-height:0;background:#dce8ff;padding:110px var(--gutter)}
.join-inner{display:grid;grid-template-columns:.76fr 1.24fr;align-items:stretch;gap:42px}
.join-intro{display:flex;min-height:620px;padding:25px 0 26px;flex-direction:column;align-items:flex-start;justify-content:space-between;color:var(--blue-deep)}
.join-intro .section-kicker{color:var(--blue-deep)}
.join-intro h2{font-size:clamp(44px,5vw,70px);margin:36px 0 0}
.join-intro>p:not(.join-quote){font-size:16px;line-height:1.95;max-width:350px;margin:0;color:#31539c}
.join-quote{font-family:"Zheniao Sans","Noto Sans SC","HarmonyOS Sans SC","Microsoft YaHei",sans-serif;font-size:clamp(25px,2.5vw,38px);font-weight:650;line-height:1.2;letter-spacing:-.06em;margin:0;color:var(--blue-deep)}
.role-board{background:var(--cream);padding:30px 34px 34px;box-shadow:0 18px 45px rgba(24,60,150,.09)}
.roles-label{font:10px Arial,sans-serif;letter-spacing:.14em;margin:0 0 10px;color:var(--blue)}
.role-list{list-style:none;padding:0;margin:0}
.role-list li{display:grid;grid-template-columns:43px 1fr;gap:10px;padding:17px 0 16px;border-top:1px solid rgba(23,35,58,.14);transition:padding .22s,color .22s}
.role-list li:before{content:none!important;display:none!important}
.role-list li:last-child{border-bottom:1px solid rgba(23,35,58,.14)}
.role-list li:hover{padding-left:9px;color:var(--blue)}
.role-list li>span{font:10px Arial,sans-serif;letter-spacing:.12em;padding-top:8px;color:var(--pink)}
.role-list h3{font-size:clamp(22px,2.1vw,31px);line-height:1.12;letter-spacing:-.055em;margin:0}
.role-list h3 small{font:inherit;font-size:12px;font-weight:500;letter-spacing:0;margin-left:6px;color:#6c7381}
.role-list p{font-size:13px;line-height:1.6;color:#626a78;margin:6px 0 0}
.role-action{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:24px;padding:20px 21px;background:var(--ink);color:#fff}
.role-action p{font-size:12px;line-height:1.7;margin:0;color:#d6dce8}
.role-action .button{flex:0 0 auto;background:#fff;color:var(--ink)}
.site-footer{padding:75px var(--gutter) 21px}
.footer-lead h2{margin-top:0}
.socials{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.social-text{grid-column:1/-1}
.socials figure{width:100%;margin:0}

@media(max-width:760px){
  .about,.product-section,.culture,.people{padding-left:21px;padding-right:21px}
  .people-layout{display:block}
  .people-layout article{width:100%;min-height:0;margin:0 0 12px}
  .people-layout .story-main{min-height:0!important}
  .story-copy{width:100%;min-height:420px;margin:0 0 12px}
  .story-copy{padding:28px}
  .product-title{padding-bottom:36px}
  .learning-strip{margin-top:12px}
  .learning-copy{min-height:270px;padding:27px}
  .learning-copy h3{font-size:46px;margin:18px 0}
  .learning-photos{margin-top:12px}
  .learning-photos img{width:100%;height:360px;margin:0 0 12px}
  .join{padding:74px 21px}
  .join-inner{display:block}
  .join-intro{min-height:0;padding:0 0 48px}
  .join-intro h2{font-size:46px;margin:22px 0 28px}
  .join-intro>p:not(.join-quote){font-size:15px;line-height:1.85;margin:0 0 37px}
  .join-quote{font-size:28px}
  .role-board{padding:22px 20px 20px}
  .role-list li{grid-template-columns:37px 1fr;padding:16px 0}
  .role-list h3{font-size:25px}
  .role-list p{font-size:12px}
  .role-action{display:block;padding:19px}
  .role-action .button{margin-top:17px}
  .site-footer{padding:57px 21px 20px}
  .hero-visual{min-height:0}
  .product-card,.card-tall,.card-wide{min-height:0;margin-bottom:12px}
  .learning-photos img{height:auto;margin-bottom:12px}
  .socials figure{width:100%;margin:0}
}

/* Swipe galleries: compact, complete images with a soft kinetic transition. */
.carousel-toolbar{display:flex;align-items:center;justify-content:space-between;max-width:var(--content);margin:0 auto 14px;color:inherit}
.carousel-toolbar>span{font-size:10px;font-weight:700;letter-spacing:.14em}
.carousel-controls{display:flex;gap:7px}
.carousel-controls button{width:38px;height:38px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;padding:0;background:transparent;color:inherit;font-size:18px;line-height:1;cursor:pointer;transition:transform .24s,background .24s,color .24s}
.carousel-controls button:hover{background:var(--blue);border-color:var(--blue);color:#fff;transform:translateY(-2px)}
.carousel-track{display:flex!important;gap:18px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:4px 2px 18px;overscroll-behavior-inline:contain;cursor:grab}
.carousel-track::-webkit-scrollbar{display:none}
.carousel-track:active{cursor:grabbing}
.carousel-track>*{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;opacity:.68;transform:scale(.985);transform-origin:center;transition:transform .6s cubic-bezier(.2,.8,.2,1),opacity .45s ease,filter .45s ease;will-change:transform,opacity}
.carousel-track>*.is-active{opacity:1;transform:scale(1);filter:none}
.carousel-track.is-moving>*{filter:saturate(.9)}
.product-cards.carousel-track,.people-layout.carousel-track{width:100vw;max-width:none;margin-left:calc(-1 * var(--gutter));margin-right:calc(-1 * var(--gutter));padding-left:0;padding-right:0}
.product-cards.carousel-track .product-card{height:min(720px,72vh);min-height:560px;margin:0;background:#27304a;isolation:isolate}
.product-cards.carousel-track .product-card:before,.people-layout.carousel-track article:before,.learning-slide:before{content:"";position:absolute;inset:-36px;z-index:-2;background:var(--media) center/cover no-repeat;filter:blur(30px) saturate(1.13);transform:scale(1.08);opacity:.82}
.product-cards.carousel-track .product-card:after{z-index:-1;background:linear-gradient(0deg,rgba(10,18,38,.84),rgba(10,18,38,.08) 66%),rgba(12,22,44,.1)}
.product-cards.carousel-track .product-card img{width:100%;height:100%;object-fit:contain;background:transparent;z-index:-1}
.people-layout.carousel-track article,.people-layout.carousel-track .story-copy{height:min(640px,64vh);min-height:500px;margin:0}
.people-layout.carousel-track article{isolation:isolate}
.people-layout.carousel-track article:after{z-index:-1}
.people-layout.carousel-track article img{width:100%;height:100%;object-fit:contain;background:transparent;z-index:-1}
.people-layout.carousel-track .story-copy{padding:32px;display:flex}
.learning-photos.carousel-track{width:100vw;max-width:none;margin:18px calc(-1 * var(--gutter)) 0;padding-left:0;padding-right:0}
.learning-photos.carousel-track .learning-slide{position:relative;isolation:isolate;overflow:hidden;width:auto;height:min(560px,56vh);min-height:420px;margin:0;background:#f1f4fa}
.learning-photos.carousel-track .learning-slide img{display:block;width:100%;height:100%;object-fit:contain;position:relative;z-index:-1}
.learning-copy .carousel-controls{margin-top:18px}

@media(max-width:760px){
  .carousel-toolbar{margin-bottom:10px}
  .carousel-track{gap:12px;padding-bottom:14px}
  .carousel-track>*{flex-basis:100%}
  .product-cards.carousel-track,.people-layout.carousel-track{width:100vw;margin-left:-21px;margin-right:-21px}
  .product-cards.carousel-track .product-card{height:560px;min-height:560px}
  .people-layout.carousel-track article,.people-layout.carousel-track .story-copy{height:500px;min-height:500px}
  .learning-photos.carousel-track{width:100vw;margin:12px -21px 0}
.learning-photos.carousel-track .learning-slide{height:420px;min-height:420px}
}

/* Full-bleed photography: clear, editorial images — never a blurred copy stretched at the sides. */
.product-cards.carousel-track .product-card,.people-layout.carousel-track article,.people-layout.carousel-track .story-copy,.learning-photos.carousel-track .learning-slide{height:auto;min-height:0}
.product-cards.carousel-track .product-card{aspect-ratio:4/3}
.people-layout.carousel-track article,.people-layout.carousel-track .story-copy,.learning-photos.carousel-track .learning-slide{aspect-ratio:3/2}
.product-cards.carousel-track .product-card:before,.people-layout.carousel-track article:before,.learning-slide:before{display:none}
.product-cards.carousel-track .product-card img{position:absolute;inset:0;z-index:0;object-fit:cover;background:transparent}
.product-cards.carousel-track .product-card:after{z-index:1;background:linear-gradient(0deg,rgba(10,18,38,.78),rgba(10,18,38,.02) 62%)}
.product-cards.carousel-track .product-card>div{z-index:2}
.people-layout.carousel-track article img{position:absolute;inset:0;z-index:0;object-fit:cover;background:transparent}
.people-layout.carousel-track article:after{z-index:1;background:linear-gradient(0deg,rgba(15,25,47,.7),rgba(15,25,47,.02) 60%)}
.people-layout.carousel-track article div{z-index:2}
.learning-photos.carousel-track .learning-slide img{position:absolute;inset:0;z-index:0;object-fit:cover}
/* Portrait event photos become a cinematic wide frame: sharp portrait at centre, softly extended from the same image at both sides. */
.people-layout.carousel-track article.portrait-story{background:#344765;isolation:isolate}
.people-layout.carousel-track article.portrait-story:before{display:block;content:"";position:absolute;inset:-32px;background:var(--media) center 28%/cover no-repeat;filter:blur(28px) brightness(.7) saturate(.82);transform:scale(1.08);opacity:1;z-index:0}
.people-layout.carousel-track article.portrait-story img{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:contain;object-position:center 28%;background:transparent}
.people-layout.carousel-track article.portrait-story:after{z-index:2;background:linear-gradient(0deg,rgba(12,25,50,.62),rgba(12,25,50,.04) 58%)}
.people-layout.carousel-track article.portrait-story div{z-index:3}
/* The image rail follows the same 1220px editorial grid as every heading and body copy. */
.product-cards.carousel-track,.people-layout.carousel-track{width:100%;max-width:var(--content);margin-left:auto;margin-right:auto}
.learning-photos.carousel-track{width:100%;max-width:var(--content);margin:18px auto 0}
@media(max-width:760px){
  .product-cards.carousel-track,.people-layout.carousel-track{width:100%;margin-left:auto;margin-right:auto}
  .learning-photos.carousel-track{width:100%;margin:12px auto 0}
  .product-cards.carousel-track .product-card{aspect-ratio:4/5}
  .people-layout.carousel-track article,.people-layout.carousel-track .story-copy,.learning-photos.carousel-track .learning-slide{aspect-ratio:4/5}
  .people-layout.carousel-track article.portrait-story img{object-position:center 24%}
}
