@media (max-width:800px), (max-width:900px) and (max-height:500px){
  html,body{width:100%;max-width:100%;overflow-x:clip}
  body.mobile-menu-open{overflow:hidden}

  .nav{height:max(64px,calc(48px + env(safe-area-inset-top)));padding:max(env(safe-area-inset-top),8px) 16px 0;gap:12px}
  .nav__name{min-width:0;font-size:10px;letter-spacing:.2em;white-space:nowrap}
  .nav__name .brand-name__signature{width:72px;max-width:22vw}
  .nav>nav{display:none}
  .mobile-menu-toggle{display:grid;width:44px;height:44px;margin-left:auto;padding:0;place-content:center;gap:7px;border:1px solid rgba(255,255,255,.34);border-radius:0;background:rgba(5,6,6,.38);color:#fff;transition:color .25s ease,background .25s ease,border-color .25s ease}
  .mobile-menu-toggle:hover,.mobile-menu-toggle:focus-visible{color:#090a0a;background:#fff;border-color:#fff}
  .mobile-menu-toggle:active{color:#090a0a;background:#fff}
  .mobile-menu-toggle span{display:block;width:18px;height:1px;background:currentColor;transition:transform .3s ease}
  .mobile-menu{position:fixed;z-index:110;inset:0;visibility:hidden;pointer-events:none}
  .mobile-menu.is-open{visibility:visible;pointer-events:auto}
  .mobile-menu__backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.58);opacity:0;transition:opacity .35s ease}
  .mobile-menu.is-open .mobile-menu__backdrop{opacity:1}
  .mobile-menu__panel{position:absolute;inset:0 0 0 auto;width:min(88vw,390px);padding:max(22px,env(safe-area-inset-top)) 22px max(24px,env(safe-area-inset-bottom));display:flex;flex-direction:column;background:rgba(8,10,10,.94);border-left:1px solid rgba(255,255,255,.18);transform:translateX(100%);transition:transform .48s cubic-bezier(.16,1,.3,1);backdrop-filter:blur(22px)}
  .mobile-menu.is-open .mobile-menu__panel{transform:none}
  .mobile-menu__top{display:flex;min-height:44px;margin-bottom:auto;align-items:center;justify-content:space-between;font:8px var(--mono);letter-spacing:.16em;text-transform:uppercase}
  .mobile-menu__top button{min-width:76px;height:44px;border:1px solid rgba(255,255,255,.3);background:transparent;color:#fff;font:8px var(--mono);text-transform:uppercase;transition:color .25s ease,background .25s ease,border-color .25s ease,transform .3s cubic-bezier(.16,1,.3,1)}
  .mobile-menu__top button:hover,.mobile-menu__top button:focus-visible{color:#080a0a;background:#f1f2ed;border-color:#f1f2ed;transform:translateX(-3px)}
  .mobile-menu__top button:active{transform:translateX(-3px) scale(.96)}
  .mobile-menu__panel>a{display:flex;min-height:56px;align-items:center;justify-content:flex-end;text-align:right;border-bottom:1px solid rgba(255,255,255,.13);font:600 12vw/.9 var(--display);letter-spacing:-.025em;text-transform:uppercase;transition:color .25s ease,transform .35s cubic-bezier(.16,1,.3,1)}
  .mobile-menu__panel>a:hover,.mobile-menu__panel>a:focus-visible{color:#fff;transform:translateX(-7px)}
  .mobile-menu__panel>a:active{transform:translateX(-4px) scale(.985)}

  .hero{min-height:100dvh}
  .work{width:100%;max-width:100%;overflow:clip}
  .work .discipline{position:relative;width:100%;min-height:0;padding:56px 16px 48px;overflow:hidden;display:flex;flex-direction:column;gap:28px}
  #aigc{--mobile-section-bg:url("./assets/home/aigc/06.jpg")}
  #design{--mobile-section-bg:url("./assets/home/design/01.jpg")}
  #aigc::before,#design::before{content:"";position:absolute;z-index:0;inset:0;pointer-events:none;background-image:var(--mobile-section-bg);background-size:cover;background-position:center;filter:saturate(.62) contrast(1.08) brightness(.58);transform:scale(1.025)}
  #aigc::after,#design::after{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(3,4,4,.8) 0%,rgba(3,4,4,.66) 48%,rgba(3,4,4,.46) 100%)}
  .discipline__info,#music .discipline__info{position:relative;z-index:4;width:100%;min-height:300px;padding:0;display:flex;flex-direction:column;align-items:flex-start;background:none}
  .discipline h2{font-size:22vw;margin:22px 0 8px}
  .discipline h2 .title-zh{margin-top:12px;font-size:15px}
  .discipline__tags{margin-bottom:22px}
  .discipline__copy{font-size:11px;line-height:1.7}
  .discipline__info>a{margin-top:auto;min-height:44px}
  .discipline__info .arrows{display:none}

  .gallery-wrap{position:relative;z-index:3;width:100%;height:auto;margin:0;overflow:hidden;background:#050606}
  .gallery{position:relative;width:100%;height:auto;aspect-ratio:16/9;padding:0;overflow:hidden;touch-action:pan-y}
  .gallery figure{position:absolute;inset:0;width:100%;height:100%;min-width:0;margin:0;border:1px solid #292b2a;opacity:0;visibility:hidden;transform:translateX(12px);transition:opacity .5s ease,transform .65s cubic-bezier(.16,1,.3,1),visibility .5s}
  .gallery figure.is-active{opacity:1;visibility:visible;transform:none}
  .gallery figure>img{width:100%;height:100%;object-fit:cover;object-position:center;background:#050606;filter:saturate(.68) contrast(1.04) brightness(.82)}
  #aigc .gallery figcaption,#design .gallery figcaption{display:none}
  .gallery-wrap>.progress{display:none}
  .gallery-thumbs{display:none}
  .section-carousel-controls{position:relative;z-index:5;left:auto;right:auto;bottom:auto;width:100%;min-height:54px;margin:-20px 0 0;padding:5px;display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(255,255,255,.26);background:rgba(5,6,6,.74)}
  .section-carousel-controls>button{width:44px;height:44px;border:0;background:transparent;color:#fff;transition:color .25s ease,background .25s ease}
  .section-carousel-controls>button:hover,.section-carousel-controls>button:focus-visible{color:#090a0a;background:#fff}
  .section-carousel-controls>button:active{transform:scale(.94)}
  .section-carousel-pager{display:flex;min-width:130px;align-items:center;justify-content:center;gap:10px;font:8px var(--mono)}
  .section-carousel-pager i{position:relative;width:72px;height:1px;overflow:hidden;background:rgba(255,255,255,.28)}
  .section-carousel-pager i b{position:absolute;inset:0 auto 0 0;width:0;background:#fff}

  .work .discipline--film{min-height:90dvh;isolation:isolate}
  .discipline--film .discipline__info{min-height:300px}
  .film-player{position:absolute;z-index:0;inset:0;width:100%;height:100%;min-height:0;margin:0;overflow:hidden;border:0;aspect-ratio:auto;background:#050606;opacity:1;transform:none}
  .film-player>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;background:#050606;filter:saturate(.66) contrast(1.08) brightness(.62)}
  .film-player__shade{position:absolute;z-index:2;inset:0;background:linear-gradient(90deg,rgba(2,3,3,.82) 0%,rgba(3,4,4,.56) 58%,rgba(3,4,4,.18) 100%),linear-gradient(0deg,rgba(0,0,0,.72) 0%,transparent 48%,rgba(0,0,0,.28) 100%)}
  .film-player .film-launch{position:absolute;z-index:4;right:16px;bottom:max(16px,env(safe-area-inset-bottom));left:auto;top:auto;display:inline-flex!important;width:auto;min-width:96px;height:44px;padding:0 13px;align-items:center;justify-content:center;gap:10px;transform:none}
  .film-player .film-launch::after{display:none}
  .film-launch__label{display:block;order:0;margin:0}
  .film-launch__icon{display:block;order:1;width:auto;height:auto;margin:0;padding:0;border:0;background:transparent;color:inherit;line-height:1}

  #music{width:100%;min-height:90dvh;padding:56px 16px calc(96px + env(safe-area-inset-bottom));isolation:isolate}
  #music .discipline__info{min-height:300px}
  .sound-showcase{position:absolute;z-index:-1;inset:0;width:100%;height:100%;margin:0;overflow:hidden;transform:none}
  .sound-showcase video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:none}
  .home-sound-player{position:absolute;z-index:6;left:16px;right:16px;bottom:max(16px,env(safe-area-inset-bottom));width:auto;height:64px;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;padding:6px 8px}
  .home-sound-player button{width:44px;height:44px}
  .home-sound-timeline input{height:44px;top:0}

  .about{overflow:hidden}
}

@media (max-width:900px) and (max-height:500px) and (orientation:landscape){
  .hero{min-height:100dvh}
  .work .discipline{padding-top:72px}
  .discipline__info,#music .discipline__info{min-height:240px}
  .discipline h2{font-size:15vw}
  .gallery{height:auto;aspect-ratio:16/9}
  .work .discipline--film{min-height:max(100dvh,480px)}
  .film-player{right:0;width:auto;height:100%;min-height:0}
  #music{min-height:145dvh}
}

@media (min-width:801px) and (min-height:501px){.mobile-menu-toggle,.mobile-menu{display:none}}

@media (prefers-reduced-motion:reduce){.mobile-menu__backdrop,.mobile-menu__panel,.gallery figure{transition:none!important}}
