/* ==========================================================================
   SEYE — Home page  (Lanhu artboard 1920 x 7915)
   ========================================================================== */

/* ---------- HERO (0 .. 1030) ---------- */
.hero{position:relative;height:64.375rem;overflow:hidden;background:#8fa6c2}
.hero-bg{position:absolute;inset:0}
.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center top;transform:scale(1.06);transition:transform 1.6s cubic-bezier(.2,.8,.25,1)}
.hero.is-loaded .hero-bg img{transform:scale(1)}
/* the clip sits on top of its own poster frame and fades in once it plays */
.hero-video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;
  opacity:0;transition:opacity 1.2s ease .1s;
}
.hero-video.is-on{opacity:1}
/* the artboard has no scrim over its aerial photo, but the clip that replaces
   it runs through bright white lab frames — a left-weighted wash keeps the
   copy legible without flattening the footage */
.hero-shade{
  display:block;position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(94deg,rgba(10,28,22,.66) 0%,rgba(10,28,22,.52) 34%,rgba(10,28,22,.22) 58%,rgba(10,28,22,.04) 74%,rgba(10,28,22,0) 88%);
}

.hero-wrap{position:absolute;inset:0;z-index:4}
.hero-copy{padding-top:11.25rem;pointer-events:none}
.hero-copy>*{pointer-events:auto}
.hero-title{
  font-family:var(--serif);font-weight:600;color:#fff;
  font-size:7.4375rem;line-height:.958;letter-spacing:-.005em;
  margin-top:1.5625rem;text-shadow:0 2px 34px rgba(10,26,42,.34);
}
.hero-text{margin-top:3.0625rem;width:46.75rem;max-width:46.75rem;font-size:1.375rem;line-height:1.78;color:rgba(255,255,255,.95)}
.hero-btns{margin-top:4.4375rem;display:flex;gap:2.875rem;align-items:center}
.hero-btns .btn{--h:3.8125rem}

/* ---------- 01 / CERTIFICATES (1030 .. 1770) ---------- */
.s-cert{background:var(--cream);padding:4.3125rem 0 6.75rem}
.grid-cert{display:grid;grid-template-columns:55.1875rem 43.75rem;column-gap:10.0625rem;align-items:start}
.cert-left .eyebrow{color:#4b5f50}

.carousel{margin-top:2.6875rem;position:relative}
.carousel-viewport{width:55.1875rem;overflow:hidden}
.carousel-track{display:flex;gap:3.125rem;transition:transform .85s cubic-bezier(.22,.75,.2,1)}
.cert-card{flex:0 0 16.3125rem;width:16.3125rem}
.cert-frame{
  width:16.3125rem;height:22.4375rem;padding:.4375rem;border-radius:.25rem;
  background:linear-gradient(145deg,#e8d6b4 0%,#d3b689 26%,#eeddbc 52%,#c9a877 78%,#e3d0ab 100%);
  box-shadow:0 14px 30px -18px rgba(70,50,20,.6),inset 0 0 0 1px rgba(255,255,255,.5);
  transition:transform .55s cubic-bezier(.2,.8,.25,1),box-shadow .55s ease;
}
.cert-frame img{width:100%;height:100%;object-fit:cover;object-position:center top;border-radius:2px;background:#fff}
.cert-card:hover .cert-frame{transform:translateY(-10px) rotate(-.6deg);box-shadow:0 30px 48px -22px rgba(70,50,20,.65),inset 0 0 0 1px rgba(255,255,255,.6)}
.cert-title{font-family:var(--serif);font-size:1.625rem;font-weight:600;line-height:1.1;margin-top:1.1875rem;color:var(--green);transition:color .3s ease}
.cert-sub{font-family:var(--serif);font-size:1.1875rem;line-height:1.12;color:#54685a;margin-top:1.0625rem;max-width:16.375rem}

.carousel-dots{display:flex;gap:1rem;margin-top:.75rem}
.carousel-dots button{
  width:.75rem;height:.75rem;border-radius:50%;background:#c4cec4;cursor:pointer;position:relative;
  transition:background-color .35s ease,transform .35s ease;
}
/* keep the dot small but give it a comfortable 44px tap area on touch screens */
.carousel-dots button::before{
  content:"";position:absolute;left:50%;top:50%;width:2.75rem;height:2.75rem;
  margin:-1.375rem 0 0 -1.375rem;border-radius:50%;
}
.carousel-dots button:hover{background:#93a894;transform:scale(1.2)}
.carousel-dots button.active{background:var(--green)}

.cert-right{padding-top:4.25rem}
.cert-right .eyebrow{color:#54685a}
.cert-right .h2{margin-top:.75rem}
.cert-right .body-text{margin-top:1.0625rem;line-height:1.9;width:43.75rem}
.rule{height:1px;background:rgba(36,74,54,.3);margin-top:2rem}
.chips{display:flex;align-items:center;gap:0;margin-top:1.3125rem;flex-wrap:wrap}
.chips li{
  font-size:1.25rem;font-weight:600;letter-spacing:.04em;color:var(--green);
  padding:0 1.375rem;position:relative;transition:transform .35s ease,color .35s ease;
}
.chips li:first-child{padding-left:0}
.chips li+li::before{content:"|";position:absolute;left:-2px;color:rgba(36,74,54,.35);font-weight:400}
.chips li:hover{transform:translateY(-2px)}
.cert-right .btn{margin-top:2.9375rem;--h:3.375rem;width:17.25rem;padding:0;font-size:.9375rem}

/* ---------- 02 / QUALITY CONTROL (1770 .. 3032) ---------- */
.s-quality{background:var(--cream);padding:1.9375rem 0 2.375rem}
.grid-quality{display:grid;grid-template-columns:42.125rem 66.875rem;column-gap:0}
.q-left .h2{margin-top:2.625rem}
.q-left .body-text{margin-top:1.0625rem;line-height:1.9;width:43.75rem}

.q-right{display:grid;grid-template-columns:30.625rem 30.625rem;column-gap:5.625rem;align-content:start}
.q-stats{grid-column:2;padding-left:4.75rem;margin-top:-.5rem}
.q-stat{padding-bottom:.75rem;position:relative}
.q-stat::after{content:"";position:absolute;left:0;bottom:0;width:20.75rem;height:1px;background:rgba(36,74,54,.28)}
.q-stat+.q-stat{margin-top:2.75rem}
.q-stat-val{font-family:var(--serif);font-size:2.125rem;font-weight:600;line-height:1;color:var(--green)}
.q-stat-lab{font-size:.9375rem;color:#4b5f50;margin-top:1.125rem}
.q-btn-row{grid-column:2;margin-top:4.3125rem;display:flex;justify-content:flex-end;padding-right:3rem}
.q-btn-row .btn{--h:4.8125rem;width:27.5625rem;padding:0}

/* ---------- quality loop (artboard: 3 rows, 1683 wide, rows 299 / 303 apart) ---------- */
.q-flow-wrap{margin-top:6rem;padding-top:5.75rem}
.q-flow{position:relative;height:43.625rem;margin:0 3rem 0 .8125rem}

.qf-row{position:absolute;left:0;right:0;height:0}
.qf-row-1{top:0}
.qf-row-2{top:18.6875rem}
.qf-row-3{top:37.625rem}

.qf-line{position:absolute;left:0;right:0;top:0;border-top:1px solid rgba(36,74,54,.45)}
.qf-row-1 .qf-line{right:4.1875rem}
.qf-row-2 .qf-line{left:4.1875rem;right:4.1875rem}
.qf-row-3 .qf-line{left:4.1875rem}

/* the path drops down on the right after row 1 and climbs back on the left
   after row 2 — two big S-bends, drawn as bordered boxes (r = 67px) */
.qf-turn{position:absolute;width:4.1875rem;display:block}
.qf-turn-r{
  right:0;top:0;height:18.6875rem;
  border-top:1px solid rgba(36,74,54,.45);
  border-right:1px solid rgba(36,74,54,.45);
  border-bottom:1px solid rgba(36,74,54,.45);
  border-top-right-radius:4.1875rem;
  border-bottom-right-radius:4.1875rem;
}
.qf-turn-l{
  left:0;top:18.6875rem;height:18.9375rem;
  border-left:1px solid rgba(36,74,54,.45);
  border-top:1px solid rgba(36,74,54,.45);
  border-bottom:1px solid rgba(36,74,54,.45);
  border-top-left-radius:4.1875rem;
  border-bottom-left-radius:4.1875rem;
}

.qf-dot{
  position:absolute;top:-.5625rem;width:1.125rem;height:1.125rem;border-radius:50%;
  background:var(--green);transform:translateX(-50%);
}
.qf-arrow{
  position:absolute;top:-1.125rem;width:1.5rem;height:2.25rem;
  fill:none;stroke:rgba(36,74,54,.75);stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round;transform:translateX(-50%);
}
.qf-arrow-l{transform:translateX(-50%) scaleX(-1)}

.qf-photo{
  position:absolute;top:-4.0625rem;width:8.125rem;height:8.125rem;border-radius:50%;
  overflow:hidden;transform:translateX(-50%);background:var(--cream-2);
}
.qf-photo img{width:100%;height:100%;object-fit:cover}

.qf-label,.qf-cap{
  position:absolute;width:max-content;text-align:center;
  font-size:1.5rem;line-height:1.28;color:var(--green);transform:translateX(-50%);
}
.qf-label{bottom:1.875rem}
.qf-cap{top:5rem}

/* narrow screens: the serpentine cannot scale, so it becomes a plain list */
.q-flow-list{display:none}

/* ---------- quality loop · motion ----------
   入场时整条回路按蛇形顺序“画”出来：row1 左→右 → 右侧弯道向下 → row2 右→左
   → 左侧弯道向下 → row3 左→右。节点 / 箭头 / 文案 / 圆形照片的延迟由 main.js
   按它在这一行里的水平位置算出来（--qf-d），所以观感是笔尖一路扫过去。
   触发沿用 .reveal 的 .in（IntersectionObserver），只播一次。
   静止态一律写成“完成态”，入场前才用 :not(.in) 压回起点，动画结束不带 fill 保持，
   这样 hover 的 transform 不会被动画锁死。 */
.qf-row-1{--qf-start:.35s;--qf-dur:.7s}
.qf-row-2{--qf-start:1.4s;--qf-dur:.85s}
.qf-row-3{--qf-start:2.6s;--qf-dur:.7s}

.qf-line{transform-origin:0 50%}
.qf-row-2 .qf-line{transform-origin:100% 50%}

.qf-dot{transition:transform .35s cubic-bezier(.2,.8,.25,1),box-shadow .4s ease}
.qf-label,.qf-cap{transition:color .3s ease}
.qf-photo{transition:box-shadow .45s ease}
.qf-photo img{transition:transform 1.1s cubic-bezier(.2,.8,.25,1)}

/* 入场前的起点 */
.q-flow:not(.in) .qf-line{transform:scaleX(0)}
.q-flow:not(.in) .qf-turn{clip-path:inset(0 0 100% 0)}
.q-flow:not(.in) .qf-dot{opacity:0;transform:translateX(-50%) scale(.25)}
.q-flow:not(.in) .qf-arrow{opacity:0}
.q-flow:not(.in) .qf-label,
.q-flow:not(.in) .qf-cap{opacity:0;transform:translateX(-50%) translateY(.7rem)}
.q-flow:not(.in) .qf-photo{opacity:0;transform:translateX(-50%) scale(.86)}

.q-flow.in .qf-line{
  animation:qf-draw-x var(--qf-dur,.8s) cubic-bezier(.22,.8,.24,1) var(--qf-start,0s) both;
}
.q-flow.in .qf-turn-r{animation:qf-wipe .45s cubic-bezier(.4,0,.3,1) 1s both}
.q-flow.in .qf-turn-l{animation:qf-wipe .45s cubic-bezier(.4,0,.3,1) 2.2s both}
.q-flow.in .qf-dot{
  animation:qf-pop .55s cubic-bezier(.3,1.4,.5,1) var(--qf-d,0s) backwards;
}
.q-flow.in .qf-arrow{animation:qf-fade .5s ease var(--qf-d,0s) backwards}
.q-flow.in .qf-label,
.q-flow.in .qf-cap{
  animation:qf-rise .65s cubic-bezier(.2,.8,.25,1) var(--qf-d,0s) backwards;
}
.q-flow.in .qf-photo{
  animation:qf-photo-in .85s cubic-bezier(.2,.8,.25,1) var(--qf-d,0s) backwards;
}

@keyframes qf-draw-x{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes qf-wipe{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes qf-pop{
  0%{opacity:0;transform:translateX(-50%) scale(.25)}
  55%{opacity:1}
  100%{opacity:1;transform:translateX(-50%) scale(1)}
}
@keyframes qf-rise{
  0%{opacity:0;transform:translateX(-50%) translateY(.7rem)}
  100%{opacity:1;transform:translateX(-50%)}
}
@keyframes qf-photo-in{
  0%{opacity:0;transform:translateX(-50%) scale(.86)}
  100%{opacity:1;transform:translateX(-50%) scale(1)}
}
@keyframes qf-fade{from{opacity:0}to{opacity:1}}

/* 画完之后，沿线缓慢流过一道微光，暗示‘这条回路一直在转’ */
.qf-line::after{
  content:"";position:absolute;top:-1px;left:0;right:0;height:2px;opacity:0;
  background:linear-gradient(90deg,rgba(36,74,54,0),rgba(36,74,54,.5) 50%,rgba(36,74,54,0));
  transform:translateX(-100%);
}
.q-flow.in .qf-line::after{animation:qf-sweep 6.5s linear 3.6s infinite}
.qf-row-2 .qf-line::after{animation-name:qf-sweep-r;animation-delay:4.4s}
.qf-row-3 .qf-line::after{animation-delay:5.2s}
@keyframes qf-sweep{
  0%{opacity:0;transform:translateX(-100%)}
  10%{opacity:.55}
  72%{opacity:.4}
  100%{opacity:0;transform:translateX(100%)}
}
@keyframes qf-sweep-r{
  0%{opacity:0;transform:translateX(100%)}
  10%{opacity:.55}
  72%{opacity:.4}
  100%{opacity:0;transform:translateX(-100%)}
}

/* 悬停某一步的文案 → 点亮它在线上那个节点（或那张圆形照片） */
.qf-dot.is-lit{transform:translateX(-50%) scale(1.55);box-shadow:0 0 0 .45rem rgba(36,74,54,.1)}
.qf-photo.is-lit{box-shadow:0 0 0 .5rem rgba(36,74,54,.12)}
.qf-photo.is-lit img{transform:scale(1.06)}
.qf-label:hover,.qf-cap:hover{color:#1d3628}
.qf-label,.qf-cap{cursor:default}

/* 手机端看不见蛇形图，退化成列表时逐条淡入 */
.q-flow-list li{opacity:0;transform:translateY(.55rem)}
.q-flow-list.in li{
  animation:qf-li-in .55s cubic-bezier(.2,.8,.25,1) var(--qf-d,0s) both;
}
@keyframes qf-li-in{from{opacity:0;transform:translateY(.55rem)}to{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){
  .q-flow .qf-line,.q-flow .qf-turn,.q-flow .qf-dot,.q-flow .qf-arrow,
  .q-flow .qf-label,.q-flow .qf-cap,.q-flow .qf-photo,
  .q-flow-list li{animation:none!important;opacity:1!important;clip-path:none!important}
  .q-flow .qf-line{transform:none!important}
  .q-flow .qf-dot,.q-flow .qf-label,.q-flow .qf-cap,.q-flow .qf-photo,
  .q-flow .qf-arrow{transform:translateX(-50%)!important}
  .q-flow .qf-arrow-l{transform:translateX(-50%) scaleX(-1)!important}
  .q-flow .qf-line::after{display:none}
  .q-flow .qf-dot.is-lit,.q-flow .qf-photo.is-lit{transform:translateX(-50%)!important}
}

/* ---------- 03 / SOURCING (3032 .. 4202) ---------- */
.s-sourcing{background:var(--green);padding:4.4375rem 0 4.75rem;position:relative;overflow:hidden}
.s-sourcing::before{
  content:"";position:absolute;left:-10rem;top:-10rem;width:38.75rem;height:38.75rem;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.055),transparent 68%);pointer-events:none;
}
.src-head{display:flex;justify-content:space-between;align-items:flex-start;position:relative}
.src-head-l .h2{margin-top:1.4375rem}
.src-head-l .body-text{margin-top:1.75rem;line-height:1.9;width:58.125rem}
.src-head .btn{--h:4.8125rem;width:27.5625rem;padding:0;margin-top:4.6875rem;margin-right:3rem;flex:0 0 27.5625rem}
.src-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:4.1875rem;margin-top:3.1875rem}
.src-card{
  position:relative;height:43.6875rem;border-radius:.875rem;overflow:hidden;
  box-shadow:0 30px 60px -34px rgba(0,0,0,.7);transform:translateZ(0);
}
.src-card img{width:100%;height:100%;object-fit:cover;transition:transform 1.3s cubic-bezier(.2,.8,.25,1),filter .6s ease}
.src-card::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(10,30,20,0) 34%,rgba(10,30,20,.24) 58%,rgba(12,32,22,.85) 100%);
  transition:opacity .55s ease;
}
.src-card:hover img{transform:scale(1.08)}
.src-card-body{position:absolute;left:2.25rem;right:2.25rem;bottom:2.375rem;z-index:2;color:#fff}
.src-card-body h3{font-family:var(--serif);font-size:2.375rem;font-weight:600;line-height:1.14;letter-spacing:-.005em;text-shadow:0 2px 20px rgba(0,0,0,.4);transition:transform .5s cubic-bezier(.2,.8,.25,1)}
.src-card-body p{font-size:1.0625rem;line-height:1.65;color:rgba(255,255,255,.9);margin-top:1rem;max-width:26.25rem;opacity:.95;transition:opacity .5s ease}
.src-card:hover .src-card-body h3{transform:translateY(-4px)}

/* ---------- 04 / PRODUCT SOLUTIONS (4202 .. 5760) ---------- */
.s-solutions{background:var(--cream);padding:4.875rem 0 2.625rem}
.sol-head{display:flex;justify-content:space-between;align-items:flex-start}
.sol-head-l .h2{margin-top:3.25rem}
.sol-head-l .body-text{margin-top:2.125rem;line-height:1.9;width:38.75rem}
.sol-head-r{display:flex;flex-direction:column;align-items:flex-end;padding-top:5.25rem;padding-right:3rem}
.sol-head-r .btn{--h:4.8125rem;width:27.5625rem;padding:0;font-size:1rem}
.sol-tag{font-size:1.25rem;color:#4b5f50;margin-top:7.0625rem}

.sol-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:1.625rem;row-gap:1.625rem;margin-top:4.0625rem}
.sol-card{display:block}
.sol-img{width:100%;height:27.125rem;overflow:hidden;border-radius:.25rem;position:relative}
.sol-img img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s cubic-bezier(.2,.8,.25,1),filter .6s ease}
.sol-img::after{content:"";position:absolute;inset:0;background:rgba(20,45,32,0);transition:background-color .5s ease}
.sol-card:hover .sol-img img{transform:scale(1.07)}
.sol-card:hover .sol-img::after{background:rgba(20,45,32,.12)}
.sol-row{display:flex;align-items:center;justify-content:space-between;padding:.9375rem 0 0;height:3.75rem}
.sol-row span{font-size:1.875rem;font-weight:500;color:var(--green);transition:transform .45s cubic-bezier(.2,.8,.25,1)}
.sol-row .arrow{width:2.75rem;height:2.75rem;fill:none;stroke:var(--green);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .45s cubic-bezier(.2,.8,.25,1)}
.sol-card:hover .sol-row .arrow{transform:translateX(10px)}

.s-solutions .wrap::after{content:"";display:block;width:109rem;height:1px;background:rgba(36,74,54,.28);margin:3.0625rem 0 0 5rem}

/* ---------- 05 / HOW WE WORK (5760 .. 6611) ---------- */
.s-process{background:var(--cream);padding:2.3125rem 0 6.6875rem}
.how-head{display:flex;justify-content:space-between;align-items:flex-start}
.how-head-l .h2{margin-top:3.3125rem}
.how-head-l .body-text{margin-top:1.3125rem;line-height:1.9;width:29.375rem}
.how-head .btn{--h:4.875rem;width:27.5625rem;padding:0;font-size:1rem;margin-top:6.25rem;margin-right:3rem;flex:0 0 27.5625rem}

.steps{position:relative;margin-top:3.25rem}
.steps-line{position:absolute;left:3.25rem;width:105.125rem;top:8.6875rem;height:2px;background:rgba(36,74,54,.22)}
.steps-line span{display:block;height:100%;width:0;background:var(--green);transition:width 1.6s cubic-bezier(.2,.8,.25,1)}
.steps-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:7rem;position:relative}
.step{position:relative}
.step-num{
  font-family:var(--serif);font-size:7.1875rem;font-weight:600;line-height:1;color:var(--green);
  display:block;letter-spacing:-.02em;margin-top:-.15625rem;
}
.step-dot{
  display:block;width:1.0625rem;height:1.0625rem;border-radius:50%;background:var(--green);
  margin-top:1.125rem;margin-left:3.21875rem;position:relative;
  transition:transform .45s cubic-bezier(.2,.8,.25,1),box-shadow .45s ease;
}
.step:nth-child(2) .step-dot{margin-left:3.46875rem}
.step:nth-child(3) .step-dot{margin-left:3.71875rem}
.step:nth-child(4) .step-dot{margin-left:3.90625rem}
.step-dot::after{content:"";position:absolute;inset:-.4375rem;border-radius:50%;border:1px solid rgba(36,74,54,.35);opacity:0;transform:scale(.6);transition:opacity .45s ease,transform .45s ease}
.step:hover .step-dot{transform:scale(1.25);box-shadow:0 0 0 6px rgba(36,74,54,.09)}
.step:hover .step-dot::after{opacity:1;transform:scale(1)}
.step h3{font-family:var(--serif);font-size:2.6875rem;font-weight:600;line-height:1.15;color:var(--green);margin-top:2.625rem}
html[lang="en"] .step h3{white-space:nowrap}
.step p{font-size:1.35625rem;line-height:2.34375rem;color:#4a6052;margin-top:.46875rem;width:24.375rem;max-width:24.375rem}

/* ==========================================================================
   Responsive  < 1024px
   ========================================================================== */
@media (max-width:1023.98px){
  html{font-size:16px}

  .hero{height:auto;min-height:34rem;padding:6.5rem 0 3.5rem}
  .hero .wrap{position:relative}
  .hero-wrap{position:static;padding-top:0}
  .hero-copy{padding:0 1.25rem}
  .hero-title{font-size:clamp(2.25rem,9vw,3.75rem);margin-top:1rem}
  .hero-text{margin-top:1.25rem;width:auto;max-width:32rem;font-size:1rem;line-height:1.7}
  .hero-btns{margin-top:1.75rem;gap:1rem;flex-wrap:wrap}
  .hero-btns .btn{--h:3rem;font-size:.875rem;padding:0 1.5rem}
  /* the hero photo is bright here → keep a strong, even scrim so the copy stays readable */
  .hero-shade{display:block;position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,24,38,.66) 0%,rgba(9,24,38,.6) 45%,rgba(9,24,38,.72) 100%)}
  .hero-text{color:#fff;text-shadow:0 1px 10px rgba(6,18,29,.55)}
  .hero-copy{position:relative;z-index:3}

  .s-cert,.s-quality,.s-sourcing,.s-solutions,.s-process{padding:3rem 0}
  .grid-cert,.grid-quality,.q-right,.src-cards{display:block;width:auto;margin-left:0;padding:0 1.25rem}
  /* 02 / quality control — the serpentine is swapped for a plain list */
  .q-flow{display:none}
  .q-flow-wrap{margin-top:2.5rem;padding:0 1.25rem}
  .q-flow-list{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:1.25rem;row-gap:.875rem;margin:0;
  }
  .q-flow-list li{
    position:relative;padding-left:1.0625rem;
    font-size:.9375rem;line-height:1.5;color:var(--green);
  }
  .q-flow-list li::before{
    content:"";position:absolute;left:0;top:.46em;
    width:.4375rem;height:.4375rem;border-radius:50%;background:var(--green);
  }
  .sol-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1rem;row-gap:1.25rem;width:auto;margin-left:0;padding:0 1.25rem}
  .sol-grid .sol-card{margin-bottom:0}
  .cert-left,.cert-right,.q-left,.q-right,.sol-card,.src-card,.step{margin-bottom:2rem}
  .cert-right{padding-top:1.5rem}
  .cert-right .h2,.q-left .h2,.sol-head-l .h2,.how-head-l .h2{margin-top:1.25rem}
  .spec-h2,.h2{font-size:clamp(1.75rem,6.4vw,2.5rem);letter-spacing:.015em}
  .h2.xl{font-size:clamp(1.875rem,7vw,2.75rem)}
  .body-text,.cert-right .body-text,.q-left .body-text,.sol-head-l .body-text,.how-head-l .body-text{width:auto;font-size:1rem;line-height:1.75}
  /* the desktop rule pins this one to 58.125rem, which the section's
     overflow:hidden then clips on anything narrower than 1024 */
  .src-head-l .body-text{width:auto;max-width:100%}
  .q-photo{margin-top:2rem;width:100%;height:24rem}
  .q-stats{padding-left:0;margin-top:2rem}
  .q-stat::after{width:100%}
  .q-item .q-num{width:3rem;height:2.75rem;font-size:1.25rem}
  .q-item h3{font-size:1.25rem;margin-top:.75rem;min-height:2.36em}
  .q-item p{font-size:.875rem;line-height:1.65;margin-top:.625rem}
  .q-btn-row{justify-content:flex-start;padding-right:0;margin-top:2rem}
  .q-btn-row .btn,.src-head .btn,.sol-head-r .btn,.how-head .btn{--h:3.25rem;width:100%;flex:1 1 auto;font-size:.875rem;margin:1.5rem 0 0}
  .sol-head,.src-head,.how-head{display:block}
  .sol-head-r{align-items:flex-start;padding:0}
  .sol-tag{margin-top:1rem;font-size:.9375rem}
  .src-card{height:26rem;margin-bottom:1rem}
  .src-card-body h3{font-size:1.75rem}
  .sol-img{height:11rem}
  .sol-row span{font-size:1.25rem}
  .sol-row .arrow{width:1.75rem;height:1.75rem}
  .carousel-viewport{width:100%}
  /* three certificates per page at every small width — the card derives its
     width from the viewport so one page step lands exactly on a card edge */
  .carousel-track{gap:.75rem}
  .cert-card{flex:0 0 calc((100% - 1.5rem)/3);width:calc((100% - 1.5rem)/3)}
  .cert-frame{width:auto;height:auto;aspect-ratio:261/359;padding:.25rem;border-radius:.1875rem}
  .cert-frame img{border-radius:2px}
  .cert-title{font-size:.8125rem;line-height:1.25;margin-top:.625rem;min-height:2.5em}
  .cert-sub{font-size:.75rem;line-height:1.4;margin-top:.25rem;max-width:none}
  .carousel-dots{margin-top:.875rem}
  .chips li{font-size:1rem;padding:0 .75rem}
  .steps-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.25rem;row-gap:1.75rem}
  .step{margin-bottom:0}
  .steps-line{display:none}
  .step-num{font-size:4rem}
  .step-dot{margin-left:0}
  .step:nth-child(2) .step-dot,.step:nth-child(3) .step-dot,.step:nth-child(4) .step-dot{margin-left:0}
  .step h3{font-size:1.5rem;margin-top:.75rem;white-space:normal!important}
  .step p{font-size:.9375rem;line-height:1.7;width:auto;max-width:none}
  .s-solutions .wrap::after{width:auto;margin:2rem 1.25rem 0}
  .hero-bg img{transform:none}
}

@media (min-width:640px) and (max-width:1023.98px){
  .sol-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sol-img{height:14rem}
  .steps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:639.98px){
  html{font-size:14px}

  /* 03 / sourcing — the three cards turn into a swipeable rail: one full card
     plus the next one peeking at 50% tells the thumb there is more to the
     right. Card width = (track − gap) / 1.5 so 1.5 cards land inside the
     padded track exactly. */
  .src-cards{
    display:flex;flex-wrap:nowrap;align-items:stretch;gap:1rem;
    /* 与上方正文共用同一份页面边距：左右各 1.25rem，卡片在右边距线处裁切 */
    width:auto;margin-inline:0;padding:0 0 .25rem;
    overflow-x:auto;overflow-y:hidden;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
  }
  .src-cards::-webkit-scrollbar{display:none}
  .src-card{
    flex:0 0 calc((100% - 1rem)/1.5);
    height:24rem;margin-bottom:0;
    scroll-snap-align:start;
    /* 甩动时靠右的卡片带着入场位移进场会闪，位移取消、只留淡入 */
    transform:none;
    transition-delay:0s!important;
  }
  .src-card-body{left:.9375rem;right:.9375rem;bottom:.9375rem}
  .src-card-body h3{font-size:1.3125rem;line-height:1.16}
  .src-card-body p{font-size:.8125rem;line-height:1.5;margin-top:.5rem;max-width:none}

  /* 05 / how we work — the four dots are redundant next to the big numerals */
  .step-dot{display:none}
  .step h3{margin-top:1rem}
}
