/* This edition shares the same compact layout across its three entry pages. */
.info-mobile-heading{display:none}

@media (max-width:767px), (max-width:950px) and (max-height:500px) and (pointer:coarse){
 body[data-page="home"] #stage{height:100svh;height:100dvh}
 body[data-home-motion="dumbar"] #queue{right:12px;font-size:clamp(17px,calc(var(--home-title-size,30px) * .66),28px)}

 .site-nav a{padding-block:5px;margin-block:-5px}

 html[data-design-layout="20261026"] body[data-page="works"] .works-main{
  padding-top:max(108px,calc(var(--works-header-height,84px) + 26px));
 }
 html[data-design-layout="20261026"] body[data-page="works"] .work-card .work-caption{margin-top:12px}
 body[data-page="works"] .works-grid{row-gap:clamp(24px,5vw,36px)}
 body[data-page="works"] .work-caption :is(.work-title,.work-category,.work-lang-en,.work-lang-zh){
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
 }
 html[data-edition-id="20261029-gallery-fit"] body[data-page="works"] .work-card :is(.work-title,.work-category){
  line-height:1.15!important;
 }

 body[data-page="project"] :is(.project-hero,.project-hero-spacer){
  height:min(var(--project-cover-height),max(200px,58svh));
 }
 html[data-edition-id="20261029-gallery-fit"] body[data-page="project"] .project-intro{
  padding:22px max(12px,var(--project-margin)) clamp(24px,var(--project-intro-bottom-custom,40px),56px);
 }
 html[data-edition-id="20261029-gallery-fit"] .project-bilingual-body{
  grid-template-columns:minmax(0,1fr)!important;
  row-gap:clamp(20px,var(--intro-gap,24px),36px);
 }
 html[data-edition-id="20261029-gallery-fit"] .project-bilingual-col p+p{
  margin-top:clamp(12px,var(--intro-paragraph-gap,14px),22px);
 }
 html[data-edition-id="20261029-gallery-fit"] body[data-page="project"]{
  --project-title-baseline-shift:0px!important;
  --project-cn-baseline-shift:0px!important;
 }
 html[data-edition-id="20261029-gallery-fit"] body[data-page="project"] :is(.project-introduction:not(.is-bilingual),.project-bilingual-col.is-en p,.project-text h2,.project-text p){
  font-size:clamp(16px,calc(var(--project-title-size,30px) * .64),21px)!important;
  line-height:max(1.22,var(--project-title-line-height,1.22))!important;
 }
 html[data-edition-id="20261029-gallery-fit"] body[data-page="project"] .project-bilingual-col.is-cn p{
  font-size:clamp(16px,calc(var(--project-cn-size,29px) * .64),20.5px)!important;
  line-height:max(1.3,var(--project-cn-line-height,1.3))!important;
 }
 html[data-edition-id="20261029-gallery-fit"] body[data-page="project"] :is(.project-meta,.project-caption){
  font-size:clamp(13px,calc(var(--project-meta-size-custom,20px) * .68),14.5px)!important;
  line-height:1.35!important;
 }
 html[data-edition-id="20261029-gallery-fit"] .project-meta{width:100%;margin-top:22px}
 html[data-edition-id="20261029-gallery-fit"] .project-meta-row{grid-template-columns:clamp(78px,26%,112px) minmax(0,1fr)}
 .project-gallery{padding-inline:max(12px,var(--project-margin));gap:max(8px,var(--project-gap))}
 .project-gallery .project-block[data-layout="center"]{width:100%;margin-block:0}
 .project-text{padding-block:22px}
 .project-credits{padding:clamp(40px,10vw,64px) max(12px,var(--project-margin));gap:clamp(24px,6vw,40px)}
 .project-credit-row{grid-template-columns:clamp(76px,26%,112px) minmax(0,1fr);font-size:13px;line-height:1.35}
 html[data-source-revision="r3"] .project-ending .project-end-nav.is-similar-mode{
  margin-top:clamp(44px,10vw,72px);
 }
 html[data-source-revision="r3"] .project-ending .project-end-bottom{
  margin-top:clamp(32px,7vw,48px);
 }
 html[data-edition-id="20261029-gallery-fit"] body[data-page="project"] :is(.project-end-similar-heading,.project-end-nav,.project-next-label,.project-next-name){
  font-size:clamp(26px,7.5vw,36px)!important;
  line-height:1.05!important;
 }
 .project-end-similar-heading{overflow-wrap:anywhere}
 html[data-source-revision="r3"] .project-end-similar-meta{margin-top:10px}
 html[data-source-revision="r3"] .project-end-similar-card-title{
  font-size:clamp(14px,4vw,17px)!important;
  line-height:1.2!important;
 }

 html[data-edition-id="20261029-gallery-fit"] :is(.works-end-bottom,.project-ending .project-end-bottom,.home-end-bottom,.info-grid-footer) [data-footer-size]{
  font-size:clamp(12px,calc(var(--footer-font-size) * .54),15px)!important;
  line-height:1.35!important;
 }
 html[data-edition-id="20261029-gallery-fit"] :is(.works-end-bottom,.project-ending .project-end-bottom,.home-end-bottom) :is(.project-end-copyright,.project-end-copy)[data-footer-size],
 html[data-edition-id="20261029-gallery-fit"] .info-grid-footer>:first-child[data-footer-size]{
  font-size:clamp(13px,calc(var(--footer-font-size) * .52),16px)!important;
  line-height:1.25!important;
 }
 :is(.works-end-bottom,.project-ending .project-end-bottom,.home-end-bottom,.info-grid-footer) > *{min-width:0;overflow-wrap:anywhere}
 :is(.works-end-bottom,.project-ending .project-end-bottom,.home-end-bottom,.info-grid-footer) a{overflow-wrap:anywhere}

 html[data-edition-id="20261029-gallery-fit"] .info-content{
  padding-top:clamp(22px,5vw,40px);
 }
 html[data-edition-id="20261029-gallery-fit"] .info-side{display:none}
 html[data-edition-id="20261029-gallery-fit"] .info-mobile-heading{
  display:block;
  order:-2;
  margin:0 0 18px;
  font:700 clamp(18px,4vw,24px)/1.1 var(--info-side-font,var(--ndl-site-font,sans-serif));
  letter-spacing:var(--info-side-spacing,-.025em);
  text-align:right;
 }
 html[data-edition-id="20261029-gallery-fit"] .info-section{
  width:100%;
  margin-bottom:clamp(40px,10vw,68px);
  opacity:1!important;
 }
 html[data-edition-id="20261029-gallery-fit"] .info-section:last-of-type{margin-bottom:0}
 html[data-edition-id="20261029-gallery-fit"][data-info-about-mode] .info-about{
  display:flex;
  flex-direction:column;
  align-items:stretch;
 }
 html[data-edition-id="20261029-gallery-fit"] .info-about>.info-copy{top:auto}
 html[data-edition-id="20261029-gallery-fit"][data-info-about-mode="en-first"] .info-about>.info-cn,
 html[data-edition-id="20261029-gallery-fit"][data-info-about-mode="zh-first"] .info-about>.info-cn{
  margin-top:var(--info-bilingual-gap,16px)!important;
 }
 html[data-edition-id="20261029-gallery-fit"] .info-services .info-service-group:is(:first-of-type,:nth-of-type(2))>.info-pair,
 html[data-edition-id="20261029-gallery-fit"] :is(.info-contact,.info-awards) .info-pair,
 html[data-edition-id="20261029-gallery-fit"] .info-grid-footer{
  grid-template-columns:minmax(0,1fr);
  gap:18px;
 }
 html[data-edition-id="20261029-gallery-fit"] .info-services :is(.info-service-heading,.info-heading-translation){
  position:static;
  width:auto;
  margin:0 0 12px;
  white-space:normal;
 }
 html[data-edition-id="20261029-gallery-fit"] .info-services .info-service-heading{margin-bottom:18px}
 html[data-edition-id="20261029-gallery-fit"] .info-services .info-pair>.info-copy{padding-top:0}
 html[data-edition-id="20261029-gallery-fit"] .info-contact .info-line:empty + .info-line:empty{display:none}
 html[data-edition-id="20261029-gallery-fit"] .info-wechat-trigger{max-width:100%;overflow-wrap:anywhere}
 .info-about-source-break,.info-about-source-hyphen{display:none}
 html[data-edition-id="20261029-gallery-fit"] .info-grid-footer{
  width:100%;
  margin-top:clamp(44px,11vw,72px);
  opacity:1!important;
 }
 html[data-edition-id="20261029-gallery-fit"] .info-awards .info-cn{
  white-space:pre-wrap;
  overflow-wrap:anywhere;
 }
 html[data-edition-id="20261029-gallery-fit"] .info-sheet[data-fixed-title] .info-scroll{
  -webkit-mask-image:none!important;
  mask-image:none!important;
 }
}

@media(max-width:480px){
 html[data-edition-id="20261029-gallery-fit"] body[data-page="works"] .works-end-bottom.project-end-bottom,
 html[data-edition-id="20261029-gallery-fit"] .project-ending .project-end-bottom,
 html[data-edition-id="20261029-gallery-fit"] .home-end-bottom{
  grid-template-columns:minmax(0,1fr);
  gap:12px;
 }
}

@media (min-width:768px) and (max-width:950px) and (max-height:500px) and (pointer:coarse){
 body[data-page="works"] .works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (hover:none) and (pointer:coarse){
 html[data-edition-id="20261029-gallery-fit"] .project-ending:has(.project-end-nav.is-similar-mode) .project-end-bottom{
  margin-top:clamp(32px,7vw,64px);
 }
 html[data-edition-id="20261029-gallery-fit"] .project-end-similar .project-end-similar-reel{
  --similar-card-size:clamp(160px,44vw,220px);
  --similar-frost-base:clamp(24px,8vw,42px);
  max-height:none;
  opacity:1;
  margin-top:20px;
  padding-bottom:18px;
  transform:none;
  pointer-events:auto;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
 }
 html[data-edition-id="20261029-gallery-fit"] .project-end-similar-card-title{
  font-size:clamp(14px,4vw,18px);
  line-height:1.2;
 }
}

/* Native touch scrolling keeps recommendations usable with motion disabled and removes scrolling blur overlays. */
html[data-edition-id="20261029-gallery-fit"] .project-end-similar-reel[data-native-scroll]{
 overflow-x:auto;
 overflow-y:hidden;
 touch-action:pan-x pan-y;
 scrollbar-width:none;
 -webkit-mask-image:none!important;
 mask-image:none!important;
}
html[data-edition-id="20261029-gallery-fit"] .project-end-similar-reel[data-native-scroll]::before,
html[data-edition-id="20261029-gallery-fit"] .project-end-similar-reel[data-native-scroll]::after,
html[data-edition-id="20261029-gallery-fit"] .project-end-similar-reel[data-native-scroll] .project-end-similar-frost{
 display:none!important;
}
html[data-edition-id="20261029-gallery-fit"] .project-end-similar-reel[data-native-scroll] .project-end-similar-group{
 padding-inline:max(12px,var(--project-margin,16px));
}
html[data-edition-id="20261029-gallery-fit"] .project-end-similar-reel[data-native-scroll]::-webkit-scrollbar{display:none}
