/* 企业服务：一件可探索的立体织物 只作用于 #diagnosis */
.os-candidate #diagnosis.service-sculpture-module{
  --service-index:2;
  --service-title:var(--ink);
  --service-text:#39465b;
  --service-muted:#58657a;
  --service-blue:var(--accent);
  --service-focus:#1348b5;
  --service-contact-rule:#a1acbc;
  --service-hover:rgba(25,65,151,.03);
  --service-selected:rgba(25,65,151,.055);
  --service-slider-shadow:none;
  display:grid;
  grid-template-columns:minmax(340px,.78fr) minmax(0,1.22fr);
  grid-template-rows:minmax(0,1fr) auto;
  column-gap:clamp(20px,3vw,58px);
  min-height:calc(100svh - 56px);
  padding:clamp(96px,12vh,128px) var(--gut) 0;
  overflow:hidden;
  color:var(--ink);
  background:var(--page);
}
:root[data-theme="dark"] #diagnosis.service-sculpture-module{
  --service-title:#f5f7fb;
  --service-text:rgba(236,241,251,.88);
  --service-muted:rgba(203,215,235,.65);
  --service-blue:#8fb4ff;
  --service-focus:#9dbdff;
  --service-contact-rule:rgba(170,193,235,.34);
  --service-hover:rgba(109,150,235,.025);
  --service-selected:rgba(109,150,235,.045);
  --service-slider-shadow:0 0 18px rgba(90,143,255,.55);
}
.service-sculpture-module::before,
.service-sculpture-module::after{content:none}
.service-sculpture__copy{
  position:relative;
  z-index:3;
  align-self:center;
  padding-bottom:clamp(40px,6vh,72px);
}
.service-sculpture__copy .os-heading{
  max-width:8.6em;
  color:var(--service-title);
  font-size:clamp(42px,4.35vw,68px);
  line-height:1.2;
  letter-spacing:-.055em;
}
.service-sculpture__details{
  position:relative;
  min-height:222px;
  margin-top:clamp(38px,5vh,58px);
}
.service-sculpture__detail[hidden]{display:none}
.service-sculpture__detail h3{
  margin:0 0 17px;
  color:var(--service-blue);
  font-size:clamp(24px,2vw,30px);
  line-height:1.35;
  font-weight:600;
  letter-spacing:-.025em;
}
.service-sculpture__detail p{
  max-width:28em;
  margin:0;
  color:var(--service-text);
  font-size:clamp(16px,1.25vw,19px);
  line-height:1.85;
  text-wrap:pretty;
}
.service-sculpture__detail .service-sculpture__delivery{
  margin-top:15px;
  color:var(--service-muted);
  font-size:clamp(14px,1.03vw,16px);
}
.service-sculpture__contact{
  display:inline-flex;
  align-items:center;
  gap:28px;
  margin-top:26px;
  padding:13px 0 10px;
  border:0;
  border-bottom:1px solid var(--service-contact-rule);
  appearance:none;
  color:var(--ink);
  background:transparent;
  font:600 16px/1.5 var(--sans);
  cursor:pointer;
  transition:color .25s ease,border-color .25s ease,gap .35s ease;
}
.service-sculpture__contact:hover,.service-sculpture__contact:focus-visible{
  gap:38px;
  color:var(--service-focus);
  border-color:var(--service-blue);
}
.service-sculpture__stage{
  position:relative;
  z-index:1;
  align-self:stretch;
  min-width:0;
  min-height:clamp(510px,68vh,720px);
  margin:0 calc(var(--gut) * -1) 0 -3vw;
  cursor:grab;
  touch-action:pan-y;
  user-select:none;
  -webkit-user-select:none;
}
.service-sculpture__stage:active{cursor:grabbing}
:root[data-theme="dark"] .service-sculpture__stage::before{
  content:'';
  position:absolute;
  left:50%;
  top:49%;
  width:62%;
  aspect-ratio:1;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:radial-gradient(circle,rgba(67,118,237,.06),transparent 68%);
  filter:blur(30px);
  pointer-events:none;
}
.service-sculpture__canvas{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  opacity:0;
  transform-origin:52% 48%;
  transition:opacity 1.1s ease;
}
.service-sculpture__stage.is-ready .service-sculpture__canvas{opacity:1}
.service-sculpture__fallback{
  position:absolute;
  inset:8%;
  width:84%;
  height:84%;
  color:var(--service-blue);
  opacity:.5;
  transition:opacity .6s ease;
}
.service-sculpture__stage.is-ready .service-sculpture__fallback{opacity:0}
.service-sculpture__choices{
  position:relative;
  z-index:4;
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  border-top:1px solid var(--rule);
}
.service-sculpture__slider{
  position:absolute;
  left:0;
  top:-1px;
  width:20%;
  height:2px;
  pointer-events:none;
  transform:translateX(calc(var(--service-index,2) * 100%));
  transition:transform .75s cubic-bezier(.22,1,.36,1);
}
.service-sculpture__slider::after{
  content:'';
  position:absolute;
  left:18px;
  right:18px;
  top:0;
  height:2px;
  background:var(--service-blue);
  box-shadow:var(--service-slider-shadow);
}
/* 纽带落点到选中滑块之间的那一段顶边 和滑块同速移动 */
.service-sculpture__choices::before{
  content:'';
  position:absolute;
  z-index:1;
  top:-1px;
  left:var(--link-from,60%);
  right:var(--link-to,40%);
  height:1px;
  background:var(--service-blue);
  opacity:.55;
  pointer-events:none;
  transition:left .75s cubic-bezier(.22,1,.36,1),right .75s cubic-bezier(.22,1,.36,1);
}
.service-sculpture__choice{
  position:relative;
  min-height:96px;
  padding:24px 18px 28px;
  border:0;
  border-right:1px solid var(--rule);
  appearance:none;
  color:var(--service-muted);
  background:transparent;
  font:500 clamp(16px,1.28vw,20px)/1.4 var(--sans);
  letter-spacing:-.015em;
  cursor:pointer;
  transition:color .35s ease,background .35s ease;
}
.service-sculpture__choice:last-child{border-right:0}
.service-sculpture__choice:hover{color:var(--service-title);background:var(--service-hover)}
.service-sculpture__choice[aria-pressed="true"]{color:var(--service-title);background:var(--service-selected)}
.service-sculpture__choice:focus-visible,.service-sculpture__contact:focus-visible{outline:2px solid var(--service-focus);outline-offset:4px}
@media(min-width:1800px){
  .os-candidate #diagnosis.service-sculpture-module{padding-left:max(var(--gut),calc((100vw - 1560px)/2));padding-right:max(var(--gut),calc((100vw - 1560px)/2))}
}
@media(max-width:1050px) and (min-width:761px){
  .os-candidate #diagnosis.service-sculpture-module{grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);column-gap:0}
  .service-sculpture__copy .os-heading{font-size:43px}
  .service-sculpture__details{min-height:245px}
  .service-sculpture__stage{margin-left:-5vw;min-height:590px}
  .service-sculpture__choice{padding-left:8px;padding-right:8px}
}
@media(max-width:760px){
  .os-candidate #diagnosis.service-sculpture-module{
    display:flex;
    flex-direction:column;
    min-height:auto;
    padding:84px 0 0;
  }
  .service-sculpture__copy{align-self:stretch;padding:0 22px}
  /* 让右侧的一道弧线留在版面里 正文与五个切换状态共用这段呼吸空间 */
  .service-sculpture__details{padding-right:clamp(38px,11vw,60px)}
  .service-sculpture__copy .os-heading{max-width:none;font-size:clamp(36px,9.2vw,52px)}
  .service-sculpture__details{min-height:230px;margin-top:34px}
  .service-sculpture__detail h3{font-size:25px;margin-bottom:14px}
  .service-sculpture__detail p{font-size:17px;line-height:1.8}
  .service-sculpture__detail .service-sculpture__delivery{font-size:14px;margin-top:13px}
  .service-sculpture__contact{margin-top:18px;font-size:15px}
  .service-sculpture__stage{order:2;width:100%;min-height:0;height:420px;margin:10px 0 0}
  .service-sculpture__choices{order:3;width:100%;margin-left:0;grid-template-columns:repeat(5,minmax(0,1fr))}
  .service-sculpture__choice{min-height:82px;padding:22px 3px 24px;font-size:14px;white-space:nowrap}
  .service-sculpture__slider::after{left:5px;right:5px}
}
@media(max-width:380px){
  .service-sculpture__details{min-height:250px}
  .service-sculpture__stage{height:370px}
  .service-sculpture__choice{font-size:12px;padding-left:0;padding-right:0}
}
@media(prefers-reduced-motion:reduce){
  .service-sculpture__canvas,.service-sculpture__fallback,.service-sculpture__choice,.service-sculpture__slider,.service-sculpture__contact{transition:none!important}
  .service-sculpture__canvas{animation:none!important}
}
