/* A website takes shape in one pinned scene. */
#cooperation-questions.hp-process {
  --hp-ink:#1D1D1F;--hp-orange:#c83e18;--hp-paper:#f3f2ed;
  --hp-stage-height:min(780px,calc(100svh - var(--hp-top,104px) - 86px));
  --hp-travel:clamp(700px,130svh,1400px);--hp-ease:cubic-bezier(.16,1,.3,1);
  position:relative;background:var(--hp-paper);color:var(--hp-ink);
  padding:clamp(40px,5vw,76px) clamp(24px,5.5vw,100px) 0;
  font-family:'DM Sans','Noto Sans TC',sans-serif;
}
/* One static brand relief follows the pinned process scene. */
.hp-stage {position:relative;isolation:isolate;}
.hp-stage::before {content:"";position:absolute;inset:2% 0 4% 7%;z-index:-1;pointer-events:none;background:url("assets/zayrt-process-emboss.svg") center/contain no-repeat;}
@media(max-width:600px){.hp-stage::before{inset:8% 0 12%;opacity:.8;}}
.hp-heading {display:flex;justify-content:center;margin:0 0 32px;}
.hp-heading h2 {font-size:clamp(30px,3.7vw,48px);font-weight:500;letter-spacing:-.035em;line-height:1.25;margin:0;}
.hp-body {display:grid;grid-template-columns:.7fr 1.3fr;align-items:center;gap:4%;min-height:0;}
.hp-story {min-width:0;}
.hp-copy {padding:24px 0;}
.hp-number {display:block;color:var(--hp-orange);font-size:clamp(46px,6vw,80px);font-weight:500;line-height:1;letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin-bottom:28px;}
.hp-copy h3 {font-size:clamp(30px,3.7vw,54px);font-weight:500;line-height:1.3;letter-spacing:-.035em;margin:0 0 18px;}
.hp-copy p {font-size:clamp(16px,1.5vw,20px);line-height:1.8;max-width:17em;color:#62645a;margin:0;text-wrap:balance;}
.hp-scene {position:relative;width:100%;aspect-ratio:1.36;max-height:100%;isolation:isolate;}
.hp-desktop {position:absolute;left:1%;top:50%;width:96%;transform:translateY(-50%);transform-origin:left center;overflow:hidden;border-radius:8px;background:#fffdf8;box-shadow:0 18px 34px -22px #1D1D1F80;transition:transform 950ms var(--hp-ease);}
.hp-browser-bar {display:flex;align-items:center;justify-content:space-between;height:28px;padding:0 12px;color:#686a61;font-size:9px;}
.hp-browser-dots {display:flex;gap:4px;}.hp-browser-dots i {width:4px;height:4px;background:#b6b8ad;border-radius:50%;}
.hp-browser-mark {width:19px;height:8px;border:1px solid #b6b8ad;}
.hp-screen {position:relative;aspect-ratio:8/5;overflow:hidden;}
.hp-wireframe {position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(115deg,#f4f1e9,#eeece4 70%,#faf8f1);box-shadow:10px 6px 18px -10px #1D1D1F47;transform-origin:12% 8%;transform:translate(-112%,-12%) rotate(-6deg);transition:transform 1100ms cubic-bezier(.65,0,.2,1);}
.hp-wireframe::after {content:"";position:absolute;inset:0;border-right:1px solid #fffdf8;pointer-events:none;}
.hp-process:not(.hp-enhanced) .hp-wireframe {display:none;}
.hp-wire-nav {position:absolute;inset:0 0 auto;display:flex;align-items:center;gap:4%;height:11%;padding:0 6%;background:#d8dbd080;}
.hp-wire-nav b {width:14%;height:38%;background:#aeb4a5;margin-right:auto;}
.hp-wire-nav span {width:8%;height:12%;background:#aeb4a5;}
.hp-wire-image {position:absolute;inset:18% 6% 28%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px solid #aeb4a5;color:#656c5d;font-size:12px;}
.hp-wire-image svg {width:14%;max-height:55px;fill:none;stroke:#8d9683;stroke-width:1.2;}
.hp-wire-copy {position:absolute;left:6%;right:6%;bottom:7%;display:flex;flex-direction:column;gap:7px;}
.hp-wire-copy b {font-size:clamp(11px,1.15vw,16px);font-weight:500;line-height:1.2;margin-bottom:2px;}
.hp-wire-copy i {width:61%;height:3px;background:#bbc1b2;}.hp-wire-copy i:last-child {width:43%;}
.hp-finished {position:absolute;inset:0;z-index:1;}
.hp-finished img {display:block;width:100%;height:100%;object-fit:contain;}
.hp-phone {container-type:inline-size;position:absolute;right:1%;top:50%;width:24%;aspect-ratio:10/19.5;transform:translateY(-42%);padding:5px;border-radius:20px;background:#1D1D1F;box-shadow:0 22px 30px -20px #1D1D1Fa6;transition:transform 950ms var(--hp-ease),opacity 650ms var(--hp-ease);}
.hp-phone-screen {position:relative;width:100%;height:100%;overflow:hidden;border-radius:15px;background:#1D1D1F;}
.hp-phone-photo {display:block;width:100%;height:100%;object-fit:cover;object-position:62% center;filter:brightness(.7);}
.hp-phone-screen::after {content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#1D1D1Fb3);pointer-events:none;}
.hp-phone-header {position:absolute;top:4%;left:7%;right:7%;display:flex;align-items:center;justify-content:space-between;}
.hp-phone-header img {display:block;width:38%;height:auto;}.hp-phone-header>span {width:12%;height:5px;border-block:1px solid #fffaf2;}
.hp-phone-copy {position:absolute;left:9%;right:8%;bottom:12%;color:#fffaf2;z-index:1;}
.hp-phone-copy strong {display:block;font-family:'Noto Serif TC',serif;font-size:clamp(11px,17cqw,29px);font-weight:500;line-height:1.5;}
.hp-phone-copy>span {display:block;font-size:clamp(5px,5.5cqw,9px);line-height:1.5;margin-top:10%;}
.hp-bottom {display:flex;justify-content:space-between;align-items:center;gap:clamp(24px,4vw,64px);margin-top:30px;}
.hp-nav {display:none;}
.hp-more {position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 9px;color:var(--hp-ink);font-size:clamp(23px,2.8vw,40px);font-weight:500;letter-spacing:-.035em;line-height:1.4;white-space:nowrap;text-decoration:none;border-bottom:2px solid var(--hp-orange);transition:color .35s;}
.hp-more::before {content:"";position:absolute;inset:0;z-index:-1;background:var(--hp-orange);transform:scaleY(0);transform-origin:center bottom;transition:transform .45s var(--hp-ease);}
.hp-more svg {flex:0 0 auto;width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.3;}
.hp-more:hover,.hp-more:focus-visible {color:#fffaf1;}
.hp-more:hover::before,.hp-more:focus-visible::before {transform:scaleY(1);}
.hp-more:focus-visible,.hp-nav button:focus-visible {outline:2px solid var(--hp-ink);outline-offset:6px;}
.hp-enhanced .hp-runway {height:calc(var(--hp-stage-height) + var(--hp-travel));}
.hp-enhanced .hp-stage {position:sticky;top:var(--hp-top,104px);height:var(--hp-stage-height);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(18px,3vh,32px);}
.hp-enhanced .hp-heading,.hp-enhanced .hp-bottom {margin:0;}
.hp-enhanced .hp-body {container-type:size;}
.hp-enhanced .hp-scene {width:min(100%,calc(100cqh * 1.36));justify-self:center;}
.hp-enhanced .hp-story {position:relative;align-self:stretch;overflow:hidden;}
.hp-enhanced .hp-copy {position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:0;transition:opacity 140ms ease;}
.hp-enhanced .hp-copy.is-active {opacity:1;transform:none;transition-delay:150ms;}
.hp-enhanced .hp-copy.is-before {opacity:0;transform:none;pointer-events:none;}
.hp-enhanced .hp-copy.is-after {opacity:0;transform:none;pointer-events:none;}
.hp-enhanced[data-home-process-stage="1"] .hp-wireframe {transform:translate(0,0) rotate(0);}
.hp-enhanced:not([data-home-process-stage="3"]) .hp-phone {opacity:0;transform:translate(38%,calc(-42% + 26px)) scale(.9);pointer-events:none;}
.hp-enhanced[data-home-process-stage="3"] .hp-desktop,.hp-process:not(.hp-enhanced) .hp-desktop {transform:translateY(-50%) scale(.81);}
.hp-enhanced .hp-nav {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;flex:1;}
.hp-nav button {position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;border:0;border-top:1px solid #1D1D1F3d;background:none;color:#65685c;padding:16px 0 0;font:inherit;font-size:clamp(14px,1.5vw,19px);text-align:left;cursor:pointer;transition:color .25s;white-space:nowrap;}
.hp-nav button::before {content:"";position:absolute;top:-1px;left:0;width:100%;height:2px;background:var(--hp-orange);transform:scaleX(0);transform-origin:left;transition:transform .65s var(--hp-ease);}
.hp-nav button>span {font-size:13px;font-variant-numeric:tabular-nums;}
.hp-nav button[aria-current="step"],.hp-nav button:hover {color:var(--hp-orange);}
.hp-nav button[aria-current="step"]::before {transform:scaleX(1);}
@media(max-width:1000px) {
  .hp-body {grid-template-columns:.68fr 1.32fr;gap:3%;}
  .hp-number {margin-bottom:22px;}.hp-copy h3 {font-size:32px;}
  .hp-enhanced .hp-nav {gap:16px;}.hp-more {font-size:25px;gap:15px;}
}
@media(max-width:600px) {
  #cooperation-questions.hp-process {padding-inline:24px;--hp-travel:110svh;}
  .hp-heading h2 {font-size:30px;}
  .hp-body {grid-template-columns:1fr;gap:12px;}
  .hp-enhanced .hp-body {grid-template-rows:minmax(140px,.8fr) minmax(190px,1.2fr);}
  .hp-enhanced .hp-stage {gap:20px;}
  .hp-enhanced .hp-story {text-align:center;}
  .hp-enhanced .hp-copy {align-items:center;}
  .hp-number {font-size:42px;margin-bottom:12px;}.hp-copy h3 {font-size:30px;margin-bottom:10px;}
  .hp-copy p {font-size:16px;line-height:1.65;max-width:20em;}
  .hp-scene {width:min(100%,360px);justify-self:center;}
  .hp-enhanced .hp-scene {width:min(100%,360px,calc((var(--hp-stage-height) - 330px) * 1.36));}
  .hp-browser-bar {height:21px;padding-inline:8px;font-size:7px;}
  .hp-phone {border-radius:12px;padding:3px;}.hp-phone-screen {border-radius:9px;}
  .hp-bottom {flex-direction:column;align-items:stretch;gap:18px;}
  .hp-enhanced .hp-nav {gap:18px;}
  .hp-nav button {flex-direction:row;align-items:center;gap:7px;font-size:14px;padding-top:12px;}
  .hp-nav button>span {font-size:11px;}
  .hp-more {align-self:center;font-size:25px;padding:11px 8px;gap:15px;}
}
@media(max-height:740px) and (min-width:601px) {
  .hp-enhanced .hp-stage {gap:16px;}
  .hp-heading h2 {font-size:32px;}.hp-number {font-size:50px;margin-bottom:16px;}
  .hp-copy h3 {font-size:34px;margin-bottom:12px;}
  .hp-nav button {padding-top:12px;gap:5px;}
  .hp-enhanced .hp-scene {width:min(100%,520px,calc(100cqh * 1.36));}
}
@media(prefers-reduced-motion:reduce) {.hp-process * {transition:none!important;}}
